/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f0fbff;
  --bg2: #edfaf3;
  --bg3: #e8f8ff;
  --surface: #ffffff;
  --surface2: #e0f5fd;
  --border: rgba(6,148,162,0.14);
  --accent: #0670a0;
  --accent2: #0887c4;
  --accent-glow: rgba(6,112,160,0.22);
  --gold: #f59e0b;
  --green: #047857;
  --green2: #059669;
  --mint: #d1fae5;
  --sky: #e0f2fe;
  --text: #0c2d3a;
  --text2: #3d6b7a;
  --text3: #7ab3c0;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(6,112,160,0.10);
  --shadow-lg: 0 8px 48px rgba(6,112,160,0.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; }
a { text-decoration: none; color: inherit; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =====================
   BUTTONS
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #0670a0, #0887c4);
  color: #fff;
  box-shadow: 0 4px 18px rgba(6,112,160,0.3);
}
.btn-primary:hover { background: linear-gradient(135deg, #054f7a, #0670a0); transform: translateY(-1px); box-shadow: 0 6px 28px rgba(6,112,160,0.38); }
.btn-outline {
  background: transparent;
  color: var(--accent2);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover { background: rgba(6,112,160,0.1); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text2);
}
.btn-ghost:hover { color: var(--text); background: var(--surface2); }
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 10px; }

/* =====================
   HEADER
   ===================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(240,251,255,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  color: var(--text);
  flex-shrink: 0;
}
.logo-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
}
.logo-rx {
  display: inline-flex;
  align-items: center;
}
.logo-rx-svg {
  height: 2.2em;
  width: auto;
  display: inline-block;
  vertical-align: -0.65em;
  margin: 0 1px 0 1px;
}
/* SVG Rx logo — color classes */
.rx-r        { fill: #0c2d3a; }
.rx-x-letter { fill: #0670a0; }

/* Footer override — light on dark background */
.footer .rx-r        { fill: #e0f7ff; }
.footer .rx-x-letter { fill: #67e8f9; }

.logo-dot {
  font-size: 0.6em;
  font-weight: 500;
  color: var(--green);
  letter-spacing: 0;
  vertical-align: 0.12em;
}
.logo-light .logo-text { color: var(--text2); }

/* Footer logo overrides */
.footer .logo .logo-text { color: rgba(255,255,255,0.85); }
.footer .logo .logo-dot { color: #6ee7b7; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav a {
  padding: 6px 14px;
  border-radius: 6px;
  color: var(--text2);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s;
}
.nav a:hover { color: var(--text); background: var(--surface2); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text2);
  border-radius: 2px;
  transition: all 0.3s;
}

/* =====================
   HERO
   ===================== */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
  background: linear-gradient(150deg, #e0f7ff 0%, #e8fff5 50%, #d4f5ff 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 15% 85%, rgba(52,211,153,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 85% 15%, rgba(14,165,233,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% -10%, rgba(6,112,160,0.14) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid rgba(6,112,160,0.2);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  color: var(--text2);
  margin-bottom: 28px;
  box-shadow: 0 2px 12px rgba(6,112,160,0.1);
}
.stars { color: var(--gold); letter-spacing: 2px; }
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent2), #6ee7b7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px;
  color: var(--text2);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-sub strong { color: var(--text); }
.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  border: 1px solid rgba(6,112,160,0.15);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 4px 24px rgba(6,112,160,0.1);
}
.stat {
  flex: 1;
  min-width: 140px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid rgba(6,112,160,0.1);
}
.stat:last-child { border-right: none; }
.stat-num { font-size: 22px; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 12px; color: var(--text3); margin-top: 2px; }

/* =====================
   SECTIONS
   ===================== */
.section { padding: 90px 0; }
.section-alt { background: linear-gradient(160deg, #e0f7ff 0%, #d4fae8 100%); }
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.15;
}
.section-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent2), #6ee7b7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub {
  color: var(--text2);
  font-size: 17px;
  max-width: 540px;
  margin-bottom: 52px;
}

/* =====================
   STEPS
   ===================== */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 220px;
  background: #fff;
  border: 1.5px solid rgba(6,148,162,0.12);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.2s;
  box-shadow: 0 2px 16px rgba(6,112,160,0.07);
}
.step:hover { border-color: var(--accent); box-shadow: 0 6px 28px rgba(6,112,160,0.13); transform: translateY(-2px); }
.step-num {
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 16px;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--text2); font-size: 15px; }
.step-arrow {
  font-size: 28px;
  color: var(--text3);
  align-self: center;
  padding-top: 20px;
}

/* =====================
   FEATURES GRID
   ===================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.feature-card {
  background: #fff;
  border: 1.5px solid rgba(6,112,160,0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.2s;
  box-shadow: 0 2px 16px rgba(6,112,160,0.06);
}
.feature-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(6,112,160,0.13); }
.feature-icon { font-size: 32px; margin-bottom: 16px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text2); font-size: 15px; line-height: 1.65; }

/* =====================
   PEPTIDES GRID
   ===================== */
.peptides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.peptide-card {
  background: #fff;
  border: 1.5px solid rgba(6,112,160,0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.2s;
  position: relative;
  box-shadow: 0 2px 16px rgba(6,112,160,0.06);
}
.peptide-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(6,112,160,0.13); }
.peptide-card.featured {
  border-color: var(--accent);
  background: linear-gradient(160deg, #fff 0%, #e8f9f4 100%);
  box-shadow: 0 4px 32px rgba(6,112,160,0.18);
}
.peptide-tag {
  display: inline-block;
  background: rgba(6,112,160,0.1);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.peptide-popular {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gold);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
}
.peptide-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.peptide-desc { color: var(--text2); font-size: 14px; line-height: 1.65; margin-bottom: 20px; }
.peptide-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.peptide-benefits li {
  font-size: 14px;
  color: var(--text2);
  padding-left: 20px;
  position: relative;
}
.peptide-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* =====================
   RESULTS
   ===================== */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.result-card {
  background: #fff;
  border: 1.5px solid rgba(6,112,160,0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 2px 16px rgba(6,112,160,0.06);
}
.result-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.result-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent), #67e8f9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.result-name { font-weight: 700; font-size: 15px; }
.result-protocol { font-size: 12px; color: var(--accent2); }
.result-card p { color: var(--text2); font-size: 14px; line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.result-stat {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  background: rgba(34,197,94,0.1);
  padding: 4px 12px;
  border-radius: 100px;
  display: inline-block;
}

/* =====================
   PRICING
   ===================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.pricing-card {
  background: #fff;
  border: 1.5px solid rgba(6,148,162,0.12);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: all 0.2s;
  box-shadow: 0 2px 16px rgba(6,112,160,0.07);
}
.pricing-card:hover { border-color: var(--accent); box-shadow: 0 8px 32px rgba(6,112,160,0.13); }
.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(160deg, #fff 0%, #e0f5fb 100%);
  box-shadow: 0 8px 40px rgba(6,112,160,0.2);
  transform: scale(1.02);
}
.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.plan-name { font-size: 14px; font-weight: 700; color: var(--text2); text-transform: uppercase; letter-spacing: 1px; }
.plan-price { display: flex; align-items: baseline; gap: 2px; }
.price-num { font-size: 42px; font-weight: 800; color: var(--text); }
.price-per { font-size: 16px; color: var(--text2); }
.plan-desc { color: var(--text2); font-size: 14px; line-height: 1.6; }
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.plan-features li { font-size: 14px; color: var(--text2); }
.pricing-card .btn { margin-top: 8px; width: 100%; justify-content: center; }
.pricing-note { text-align: center; margin-top: 32px; color: var(--text3); font-size: 13px; }

/* =====================
   FAQ
   ===================== */
.faq-container { max-width: 720px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 48px; }
.faq-item {
  background: #fff;
  border: 1.5px solid rgba(6,148,162,0.12);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
  box-shadow: 0 2px 12px rgba(6,112,160,0.06);
}
.faq-item[open] { border-color: var(--accent); }
.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  color: var(--accent2);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 24px 20px;
  color: var(--text2);
  font-size: 15px;
  line-height: 1.7;
}

/* =====================
   CTA BANNER
   ===================== */
.cta-banner {
  background: linear-gradient(135deg, #0670a0 0%, #0887c4 50%, #34d399 100%);
  border-top: none;
  border-bottom: none;
  padding: 80px 0;
}
.cta-inner h2, .cta-inner p { color: #fff; }
.cta-inner p { opacity: 0.85; }
.cta-inner {
  text-align: center;
}
.cta-inner h2 { font-size: 2.4rem; font-weight: 800; margin-bottom: 12px; }
.cta-inner p { color: var(--text2); font-size: 18px; margin-bottom: 32px; }

/* =====================
   FOOTER
   ===================== */
.footer { background: #052e3a; padding: 64px 0 0; color: #a8d8e0; }
.footer-inner {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand {
  flex: 2;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-brand p { color: rgba(168,216,224,0.75); font-size: 14px; max-width: 300px; line-height: 1.7; }
.footer-trust { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-trust span {
  font-size: 12px;
  color: rgba(168,216,224,0.7);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 4px 10px;
  border-radius: 6px;
}
.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 120px;
}
.footer-col h4 { font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: rgba(168,216,224,0.7); transition: color 0.15s; }
.footer-col a:hover { color: #6ee7b7; }
.footer-bottom {
  padding: 24px 0;
}
.footer-bottom p { font-size: 13px; color: rgba(168,216,224,0.5); margin-bottom: 4px; }
.disclaimer { font-size: 11px !important; line-height: 1.6; max-width: 800px; }

/* Footer logo — handled in logo-rx / logo-dot rules above */
.footer .logo { color: #fff; }

/* =====================
   LOGIN PAGE
   ===================== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  background: linear-gradient(150deg, #e0f7ff 0%, #e8fff5 50%, #d4f5ff 100%);
  position: relative;
  overflow: hidden;
}
.auth-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 10% 90%, rgba(14,165,233,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 90% 10%, rgba(52,211,153,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(6,112,160,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.auth-card {
  background: #fff;
  border: 1.5px solid rgba(6,148,162,0.14);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  width: 100%;
  max-width: 460px;
  position: relative;
  z-index: 1;
  box-shadow: 0 12px 60px rgba(6,112,160,0.15);
}
.auth-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}
.auth-tabs {
  display: flex;
  background: #e0f7f4;
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 32px;
}
.auth-tab {
  flex: 1;
  text-align: center;
  padding: 9px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text2);
  transition: all 0.2s;
  border: none;
  background: none;
}
.auth-tab.active {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 2px 8px rgba(6,112,160,0.15);
}
.auth-form { display: flex; flex-direction: column; gap: 18px; }
.auth-form-panel { display: none; }
.auth-form-panel.active { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text2); }
.form-group input {
  background: #f8f5ff;
  border: 1.5px solid rgba(6,112,160,0.18);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--text);
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}
.form-group input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(6,112,160,0.15);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.forgot-link {
  font-size: 13px;
  color: var(--accent2);
  text-align: right;
  display: block;
  margin-top: -8px;
  transition: color 0.15s;
}
.forgot-link:hover { color: var(--accent); }
.auth-submit {
  width: 100%;
  justify-content: center;
  padding: 13px;
  font-size: 15px;
  margin-top: 4px;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text3);
  font-size: 13px;
  margin: 4px 0;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.oauth-btn {
  width: 100%;
  justify-content: center;
  background: #f8f5ff;
  border: 1.5px solid rgba(6,112,160,0.18);
  color: var(--text);
  padding: 12px;
  font-size: 14px;
  border-radius: 8px;
}
.oauth-btn:hover { border-color: var(--accent); background: #e0f5fb; }
.auth-footer-text {
  text-align: center;
  font-size: 13px;
  color: var(--text3);
  margin-top: 8px;
}
.auth-footer-text a { color: var(--accent2); }
.auth-footer-text a:hover { color: var(--accent); }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text2);
}
.form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  accent-color: var(--accent);
  cursor: pointer;
  margin-top: 2px;
}
.form-check a { color: var(--accent2); }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 768px) {
  .nav, .header-actions { display: none; }
  .hamburger { display: flex; }
  .header-inner { gap: 0; }

  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
    gap: 4px;
    z-index: 99;
  }
  .nav.open + .header-actions {
    display: flex;
    position: absolute;
    top: 68px;
    right: 24px;
  }

  .step-arrow { display: none; }
  .steps { flex-direction: column; }
  .hero { padding: 64px 0 56px; }
  .hero-stats { max-width: 100%; }
  .stat { min-width: 50%; }
  .pricing-card.featured { transform: none; }
  .auth-card { padding: 36px 24px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { gap: 24px; }
}
