/* ================================================================
   LIMITLESS HUMAN — Stylesheet (Figma Make Design)
   Palette: Rich Black, Steel Blue, Cool Silver, Volt Yellow, Sage
   Font: Plus Jakarta Sans
   ================================================================ */

/* --- Reset & Base --- */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }

:root {
  /* Brand Palette */
  --rich-black: #121D28;
  --steel-blue: #3A5568;
  --brand-slate: #4A6175;
  --muted-navy: #586D80;
  --cool-silver: #8BC3DD;
  --sage: #AFD08E;
  --volt-yellow: #F3FF69;
  --pale-mint: #F2F9F5;
  --brand-text-dark: #2C3E50;
  --brand-text-light: #E8EEF2;
  --border-gray: #E5E7EB;
  --inactive-gray: #9CA3AF;
  --inactive-border: #D1D5DB;
  --white: #ffffff;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #121D28 0%, #3A5568 100%);
  --gradient-card-header: linear-gradient(135deg, #AFD08E 0%, #8BC3DD 100%);
  --gradient-label: linear-gradient(135deg, #E5F3A3 0%, #9BC7DC 100%);
  --gradient-final-cta: radial-gradient(circle at center, #3A5568 0%, #121D28 100%);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
  --shadow-xl: 0 25px 50px rgba(0,0,0,0.12);

  /* Easing */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);

  /* Spacing */
  --section-py: 6rem;
  --container-px: clamp(1.25rem, 4vw, 1.5rem);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 5rem;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--rich-black);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(139,195,221,0.25);
  color: var(--rich-black);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--pale-mint); }
::-webkit-scrollbar-thumb { background: var(--muted-navy); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--steel-blue); }

/* --- Utilities --- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 var(--container-px); }
.container-narrow { max-width: 960px; margin: 0 auto; padding: 0 var(--container-px); }

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


/* ================================================================
   REVEAL ANIMATIONS
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ================================================================
   NAVIGATION
   ================================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem var(--container-px);
}

.nav-logo {
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: color 0.3s ease;
}
.nav-logo span {
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s ease;
}
.nav.scrolled .nav-logo {
  color: var(--brand-text-dark);
}
.nav.scrolled .nav-logo span {
  color: var(--brand-slate);
}

.nav-cta {
  font-size: 15px;
  font-weight: 600;
  color: var(--rich-black);
  background: var(--volt-yellow);
  padding: 0.75rem 1.75rem;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.nav-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(243,255,105,0.3);
}


/* ================================================================
   BUTTONS
   ================================================================ */
.btn-primary {
  font-size: 16px;
  font-weight: 600;
  color: var(--rich-black);
  background: var(--volt-yellow);
  padding: 1rem 2rem;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(243,255,105,0.3);
}

.btn-ghost {
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.3s ease;
}
.btn-ghost:hover { opacity: 0.7; }


/* ================================================================
   HERO
   ================================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem var(--container-px);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Hero Content */
.hero-eyebrow {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--cool-silver);
  font-weight: 400;
  max-width: 580px;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

/* Hero Visual */
.hero-visual {
  position: relative;
}


/* ================================================================
   PROTOCOL CARD
   ================================================================ */
.protocol-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  max-width: 420px;
  margin-left: auto;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: var(--shadow-xl);
}

.protocol-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: var(--gradient-card-header);
}
.protocol-card__badge {
  font-size: 14px;
  font-weight: 600;
  color: var(--rich-black);
}
.protocol-card__id {
  font-size: 13px;
  font-weight: 500;
  color: var(--rich-black);
  opacity: 0.7;
}

.protocol-card__body {
  padding: 1.5rem;
}
.protocol-card__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--rich-black);
  margin-bottom: 4px;
}
.protocol-card__subtitle {
  font-size: 14px;
  color: var(--muted-navy);
  margin-bottom: 1.5rem;
}

.protocol-card__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-gray);
}

.metric {
  text-align: center;
}
.metric__value {
  font-size: 32px;
  font-weight: 800;
  color: var(--rich-black);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.metric__label {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted-navy);
}

/* Phases */
.protocol-card__phases {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.phase {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
}
.phase__info { flex: 1; }
.phase__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--rich-black);
}
.phase__name--inactive { color: var(--inactive-gray); }
.phase__weeks {
  font-size: 12px;
  color: var(--inactive-gray);
}

.phase__status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 12px;
  font-weight: 600;
  color: var(--inactive-border);
}
.phase__status--active { color: var(--sage); }

.phase__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--inactive-border);
  background: transparent;
}
.phase__dot--active {
  border-color: var(--sage);
  background: var(--sage);
}


/* ================================================================
   SECTION LABELS & HEADERS
   ================================================================ */
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1rem;
}

.section-label--gradient {
  background: var(--gradient-label);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--rich-black);
  margin-bottom: 1rem;
}
.section-header p {
  font-size: 20px;
  color: var(--muted-navy);
}


/* ================================================================
   PROBLEM / REALITY SECTION
   ================================================================ */
.problem {
  padding: var(--section-py) 0;
  background: var(--pale-mint);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.problem-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.625rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--rich-black);
  margin-bottom: 1.5rem;
}
.problem-text p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted-navy);
}

.problem-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.problem-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.problem-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.problem-card__icon {
  color: var(--steel-blue);
  margin-bottom: 0.75rem;
  display: block;
}

.problem-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--rich-black);
  margin-bottom: 0.5rem;
}
.problem-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted-navy);
}


/* ================================================================
   PROCESS / HOW IT WORKS
   ================================================================ */
.process {
  padding: var(--section-py) 0;
  background: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

/* Connecting line */
.steps__line {
  position: absolute;
  top: 48px;
  left: 16.67%;
  right: 16.67%;
  height: 2px;
  background: rgba(139,195,221,0.3);
}

.step {
  text-align: center;
  position: relative;
}
.step__number {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 4px solid var(--cool-silver);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step:hover .step__number {
  transform: scale(1.05);
  box-shadow: 0 0 0 8px rgba(139,195,221,0.15);
}
.step__number span {
  font-size: 36px;
  font-weight: 800;
  color: var(--steel-blue);
}

.step h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--rich-black);
  margin-bottom: 0.75rem;
}
.step p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted-navy);
}


/* ================================================================
   WHY US
   ================================================================ */
.why-us {
  padding: var(--section-py) 0;
  background: var(--brand-slate);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.why-us .section-header h2 {
  color: var(--white);
}
.why-us .section-header p {
  color: var(--brand-text-light);
  max-width: 800px;
  margin: 0 auto;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.pillar:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-4px);
}

.pillar__icon {
  color: #9BC7DC;
  margin-bottom: 1rem;
}

.pillar h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.pillar p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--brand-text-light);
}


/* ================================================================
   CONSULTATION CTA
   ================================================================ */
.consult {
  padding: var(--section-py) 0;
  background: var(--pale-mint);
}

.consult-card {
  background: var(--white);
  border-radius: 24px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  box-shadow: var(--shadow-lg);
}

.consult-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.625rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--rich-black);
  margin-bottom: 1.5rem;
}
.consult-content > p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted-navy);
  margin-bottom: 2rem;
}

.consult-includes {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.consult-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.consult-item svg { flex-shrink: 0; margin-top: 2px; }
.consult-item span {
  font-size: 16px;
  color: var(--rich-black);
}

.consult-pricing {
  margin-bottom: 2rem;
}
.consult-price {
  font-size: 52px;
  font-weight: 800;
  color: var(--rich-black);
  line-height: 1;
}
.consult-price-note {
  font-size: 16px;
  color: var(--muted-navy);
}

/* Consult Visual */
.consult-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.consult-stat {
  background: var(--pale-mint);
  border-radius: 12px;
  padding: 1.5rem;
}
.consult-stat__value {
  font-size: 48px;
  font-weight: 800;
  color: var(--steel-blue);
  line-height: 1;
  display: inline;
}
.consult-stat__unit {
  font-size: 48px;
  font-weight: 800;
  color: var(--steel-blue);
  display: inline;
}
.consult-stat__label {
  font-size: 15px;
  color: var(--muted-navy);
  margin-top: 0.25rem;
}

.consult-quote {
  background: var(--white);
  border-left: 4px solid var(--sage);
  border-radius: 12px;
  padding: 1.5rem;
}
.consult-quote p {
  font-size: 17px;
  font-style: italic;
  line-height: 1.6;
  color: var(--rich-black);
  margin-bottom: 0.75rem;
}
.consult-quote cite {
  font-style: normal;
  font-size: 14px;
  color: var(--muted-navy);
}


/* ================================================================
   FAQ
   ================================================================ */
.faq {
  padding: var(--section-py) 0;
  background: var(--white);
}

.faq-items {
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-bottom: 1px solid var(--border-gray);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: opacity 0.3s ease;
}
.faq-question:hover { opacity: 0.7; }
.faq-question span {
  font-size: 19px;
  font-weight: 700;
  color: var(--rich-black);
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--steel-blue);
  transition: transform 0.4s var(--ease-out-expo);
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease-out-quart);
}
.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}
.faq-answer__inner {
  overflow: hidden;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted-navy);
  padding-bottom: 0;
  opacity: 0;
  transition: padding 0.4s var(--ease-out-quart), opacity 0.3s ease;
}
.faq-item.open .faq-answer__inner {
  padding-bottom: 1.5rem;
  opacity: 1;
}


/* ================================================================
   FINAL CTA
   ================================================================ */
.final-cta {
  padding: var(--section-py) 0;
  background: var(--gradient-final-cta);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta h2 {
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.final-cta p {
  font-size: 20px;
  line-height: 1.6;
  color: var(--cool-silver);
  max-width: 700px;
  margin: 0 auto 2.5rem;
}
.final-cta .btn-primary {
  font-size: 17px;
  font-weight: 700;
}


/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  padding: 3rem 0;
  background: var(--rich-black);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.footer-copy {
  font-size: 14px;
  color: var(--cool-silver);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.footer-links a {
  font-size: 14px;
  color: var(--cool-silver);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: var(--volt-yellow);
}

.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted-navy);
  max-width: 900px;
}


/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 968px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-visual {
    max-width: 420px;
    margin: 0 auto;
  }
  .protocol-card {
    margin-left: auto;
    margin-right: auto;
  }

  .nav-logo {
    font-size: 22px;
  }
  .nav-cta {
    font-size: 12px;
    padding: 0.5rem 1rem;
  }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 420px;
    margin: 0 auto;
  }
  .steps__line { display: none; }

  .pillars {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .consult-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2rem;
  }

  .footer-top {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 600px) {
  :root {
    --section-py: 4rem;
  }

  .hero {
    padding: 6rem 0 3rem;
  }
  .hero-inner {
    padding: 3rem var(--container-px);
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero-sub {
    font-size: 16px;
  }

  .protocol-card__metrics {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .metric__value {
    font-size: 24px;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .consult-card { padding: 1.5rem; }
  .consult-price { font-size: 40px; }

  .pillar { padding: 1.5rem; }

  .final-cta h2 { font-size: 1.75rem; }
  .final-cta p { font-size: 17px; }
}

/* --- Focus Visible --- */
:focus-visible {
  outline: 2px solid var(--cool-silver);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  html { scroll-behavior: auto; }
}
