/* =========================================
   SYMPTYM — STYLESHEET
   ========================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #0d1b3e;
  --navy-2:  #152246;
  --navy-3:  #1e2f5e;
  --cyan:    #2ee8ff;
  --cyan-2:  #00c2d4;
  --white:   #ffffff;
  --off:     #f4f6fb;
  --muted:   #8a9bbf;
  --border:  rgba(255,255,255,0.08);
  --font-h:  'Sora', sans-serif;
  --font-b:  'Inter', sans-serif;
  --ease:    cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-b);
  background: var(--white);
  color: var(--navy);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---- UTILITIES ---- */
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; position: relative; }
.gradient-text { background: linear-gradient(135deg, var(--cyan) 0%, #4f9fff 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.highlight { color: var(--cyan); font-weight: 700; }
.break-lg { display: none; }
@media(min-width:768px){ .break-lg { display: inline; } }

/* ---- REVEAL ANIMATIONS ---- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal--delay-1 { transition-delay: 0.12s; }
.reveal--delay-2 { transition-delay: 0.24s; }
.reveal--delay-3 { transition-delay: 0.36s; }
.reveal--delay-4 { transition-delay: 0.48s; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-h); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 12px 24px; border-radius: 100px; border: none; cursor: pointer;
  text-decoration: none; transition: all 0.3s var(--ease); white-space: nowrap;
}
.btn svg { transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translate(2px, -2px); }

.btn--primary {
  background: var(--navy); color: var(--white);
  box-shadow: 0 4px 24px rgba(13,27,62,0.25);
}
.btn--primary:hover { background: var(--navy-3); box-shadow: 0 8px 40px rgba(13,27,62,0.4); transform: translateY(-2px); }

.btn--nav {
  background: var(--navy); color: var(--white); font-size: 0.8rem; padding: 10px 20px;
}
.btn--nav:hover { background: var(--navy-3); transform: translateY(-1px); }

.btn--white {
  background: var(--white); color: var(--navy);
  box-shadow: 0 4px 32px rgba(0,0,0,0.2);
  font-size: 1rem; padding: 16px 36px;
}
.btn--white:hover { transform: translateY(-3px); box-shadow: 0 12px 48px rgba(0,0,0,0.3); }

/* ---- SECTION LABELS ---- */
.section-label {
  font-family: var(--font-h); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.15em; color: var(--cyan-2); text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-h); font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800; line-height: 1.05; color: var(--navy); margin-bottom: 20px;
}
.section-sub {
  font-size: 1.05rem; color: var(--muted); line-height: 1.7; margin-bottom: 64px;
  max-width: 620px;
}

/* =========================================
   NAV
   ========================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 24px;
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.nav.scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.nav__inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.nav__logo { text-decoration: none; }
.logo-text {
  font-family: var(--font-h); font-size: 1.4rem; font-weight: 800;
  color: var(--navy); letter-spacing: -0.03em;
}
.nav__actions { display: flex; align-items: center; gap: 10px; }

.btn--demo {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(13,27,62,0.2);
  font-size: 0.8rem; padding: 9px 20px;
}
.btn--demo:hover {
  background: rgba(13,27,62,0.06);
  border-color: var(--navy);
  transform: translateY(-1px);
}

/* =========================================
   HERO
   ========================================= */
.hero {
  min-height: 100vh; background: var(--off);
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 48px;
  padding: 120px 64px 80px;
  position: relative; overflow: hidden;
}
.hero__bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(13,27,62,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,27,62,0.04) 1px, transparent 1px);
  background-size: 48px 48px; pointer-events: none;
}
.hero__orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none; animation: floatOrb 8s ease-in-out infinite;
}
.hero__orb--1 { width: 500px; height: 500px; background: rgba(46,232,255,0.1); top: -100px; right: -100px; animation-delay: 0s; }
.hero__orb--2 { width: 350px; height: 350px; background: rgba(79,159,255,0.08); bottom: 0; left: -80px; animation-delay: 3s; }
.hero__orb--3 { width: 250px; height: 250px; background: rgba(46,232,255,0.06); top: 40%; left: 40%; animation-delay: 5s; }
@keyframes floatOrb { 0%,100%{ transform: translateY(0) scale(1); } 50%{ transform: translateY(-30px) scale(1.05); } }

.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(46,232,255,0.12); border: 1px solid rgba(46,232,255,0.25);
  border-radius: 100px; padding: 6px 14px; margin-bottom: 28px;
  font-size: 0.78rem; font-weight: 600; color: var(--cyan-2); letter-spacing: 0.04em;
}
.badge__dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:0.5; transform:scale(1.5); } }

.hero__headline {
  font-family: var(--font-h); font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -0.03em;
  color: var(--navy); margin-bottom: 24px;
}
.hero__sub {
  font-size: 1.1rem; color: var(--muted); line-height: 1.75; margin-bottom: 40px;
}
.hero__cta { margin-bottom: 48px; }
.hero__scroll-hint {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.75rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase;
}
.scroll-line { width: 40px; height: 1px; background: var(--muted); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100%{width:40px;opacity:1;} 50%{width:60px;opacity:0.5;} }

/* Phone Mockup */
.hero__visual { display: flex; justify-content: center; align-items: center; }
.phone-mockup {
  width: 260px; height: 480px;
  background: var(--navy); border-radius: 40px;
  box-shadow: 0 40px 100px rgba(13,27,62,0.35), 0 0 0 1px rgba(255,255,255,0.1) inset;
  padding: 20px; position: relative;
  animation: phoneFloat 6s ease-in-out infinite;
}
@keyframes phoneFloat { 0%,100%{transform:translateY(0) rotate(-2deg);} 50%{transform:translateY(-16px) rotate(-2deg);} }
.phone-screen { background: var(--navy-2); border-radius: 28px; height: 100%; display: flex; flex-direction: column; overflow: hidden; }
.phone-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 8px; }
.phone-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.phone-time { color: var(--white); font-family: var(--font-h); font-size: 0.75rem; font-weight: 700; letter-spacing: -0.02em; }
.phone-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; gap: 20px; }

/* AI Wave */
.ai-wave { display: flex; align-items: center; gap: 4px; height: 60px; }
.wave-bar {
  width: 4px; border-radius: 2px; background: var(--cyan);
  animation: waveAnim 1.2s ease-in-out infinite;
}
.wave-bar:nth-child(1){height:12px;animation-delay:0s;}
.wave-bar:nth-child(2){height:28px;animation-delay:0.1s;}
.wave-bar:nth-child(3){height:44px;animation-delay:0.2s;}
.wave-bar:nth-child(4){height:36px;animation-delay:0.3s;}
.wave-bar:nth-child(5){height:56px;animation-delay:0.4s;}
.wave-bar:nth-child(6){height:36px;animation-delay:0.5s;}
.wave-bar:nth-child(7){height:44px;animation-delay:0.6s;}
.wave-bar:nth-child(8){height:28px;animation-delay:0.7s;}
.wave-bar:nth-child(9){height:12px;animation-delay:0.8s;}
@keyframes waveAnim { 0%,100%{transform:scaleY(0.4);opacity:0.5;} 50%{transform:scaleY(1);opacity:1;} }

.phone-label { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.06em; }
.phone-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chip {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px; padding: 5px 12px; font-size: 0.7rem; color: var(--white);
  font-family: var(--font-h); font-weight: 500;
}

/* =========================================
   STATS BAR
   ========================================= */
.stats-bar { background: var(--navy); padding: 64px 24px; }
.stats-bar__inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 32px;
}
.stat-item {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  flex: 1; padding: 0 16px;
}
.stat-value {
  display: inline-flex; align-items: baseline; justify-content: center; gap: 4px;
  white-space: nowrap;
}
.stat-num {
  display: inline; font-family: var(--font-h); font-size: 3rem; font-weight: 800;
  color: var(--cyan); line-height: 1; letter-spacing: -0.04em;
}
.stat-suffix { font-family: var(--font-h); font-size: 1.4rem; font-weight: 700; color: var(--cyan); }
.stat-item p { margin-top: 8px; font-size: 0.85rem; color: var(--muted); max-width: 200px; line-height: 1.5; text-align: center; }
.stat-divider { width: 1px; height: 60px; background: rgba(255,255,255,0.1); flex-shrink: 0; }

/* =========================================
   PROBLEM
   ========================================= */
.problem { background: var(--white); }
.problem__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-top: 48px; }
.problem-item { display: flex; gap: 20px; margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(13,27,62,0.08); }
.problem-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.problem-item__num { font-family: var(--font-h); font-size: 0.7rem; font-weight: 700; color: var(--cyan-2); letter-spacing: 0.1em; min-width: 28px; padding-top: 3px; }
.problem-item p { font-size: 1rem; color: var(--navy); line-height: 1.65; }

.problem__card {
  background: var(--navy); border-radius: 24px; padding: 40px; position: relative; overflow: hidden;
  box-shadow: 0 24px 80px rgba(13,27,62,0.2);
}
.problem__card::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46,232,255,0.15) 0%, transparent 70%);
}
.card-stat { margin-bottom: 24px; }
.card-label { font-family: var(--font-h); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; color: var(--cyan); text-transform: uppercase; display: block; margin-bottom: 10px; }
.card-headline { font-family: var(--font-h); font-size: 1.25rem; font-weight: 700; color: var(--white); line-height: 1.4; }
.card-text { font-size: 0.95rem; color: var(--muted); line-height: 1.65; }
.card-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 24px 0; }
.card-mission { font-family: var(--font-h); font-size: 1.05rem; font-weight: 600; color: var(--white); line-height: 1.6; }

/* =========================================
   PLATFORM
   ========================================= */
.platform { background: var(--off); }
.platform__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.platform-card {
  background: var(--navy); border-radius: 20px; padding: 32px 28px;
  position: relative; overflow: hidden; cursor: default;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.platform-card::before {
  content: attr(data-num); position: absolute; top: 16px; right: 20px;
  font-family: var(--font-h); font-size: 0.7rem; font-weight: 700;
  color: rgba(255,255,255,0.25); letter-spacing: 0.06em;
}
.platform-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(13,27,62,0.35); }
.platform-card__icon { font-size: 1.8rem; margin-bottom: 20px; display: block; }
.platform-card h3 { font-family: var(--font-h); font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.platform-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.7; }
.platform-card__line { width: 32px; height: 2px; background: var(--cyan); border-radius: 2px; margin-top: 24px; transition: width 0.4s var(--ease); }
.platform-card:hover .platform-card__line { width: 56px; }

/* =========================================
   DIAGNOSIS FLOW
   ========================================= */
.diagnosis { background: var(--white); }
.flow-track { position: relative; margin-top: 40px; }
.flow-line {
  position: absolute; top: 14px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--navy));
}
.flow-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.flow-step { padding: 40px 20px 0 0; }
.flow-step__num { font-family: var(--font-h); font-size: 0.65rem; font-weight: 700; color: var(--muted); letter-spacing: 0.1em; margin-bottom: 10px; }
.flow-step h4 { font-family: var(--font-h); font-size: 0.9rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.flow-step p { font-size: 0.8rem; color: var(--muted); line-height: 1.6; }
.flow-step--accent h4 { color: var(--cyan-2); }
.flow-step--accent .flow-step__num { color: var(--cyan-2); }

/* Diagnosis info boxes */
.diagnosis-info-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}
.diagnosis-info-box {
  background: var(--off);
  border: 1px solid rgba(13,27,62,0.08);
  border-radius: 20px;
  padding: 32px 32px 32px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.diagnosis-info-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(13,27,62,0.1);
  border-color: rgba(46,232,255,0.35);
}
.diagnosis-info-box__icon {
  font-size: 1.8rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.diagnosis-info-box p {
  font-size: 0.95rem;
  color: #3a4a6b;
  line-height: 1.75;
}

@media (max-width: 768px) {
  .diagnosis-info-boxes { grid-template-columns: 1fr; }
}

/* =========================================
   NUTRITION & EXERCISE
   ========================================= */
.nutrex { background: var(--off); }
.nutrex__grid { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 0; margin-top: 48px; }
.nutrex-card { padding: 16px 40px 16px 0; }
.nutrex-card:last-child { padding: 16px 0 16px 40px; }
.nutrex-card__num { font-family: var(--font-h); font-size: 0.7rem; font-weight: 700; color: var(--muted); letter-spacing: 0.1em; margin-bottom: 20px; }
.nutrex-card h3 { font-family: var(--font-h); font-size: clamp(1.3rem, 2.5vw, 1.9rem); font-weight: 700; color: var(--navy); line-height: 1.25; margin-bottom: 20px; }
.nutrex-card p { font-size: 0.95rem; color: #4a5568; line-height: 1.75; margin-bottom: 24px; }
.nutrex-card__tag { display: inline-block; background: rgba(46,232,255,0.1); border: 1px solid rgba(46,232,255,0.25); border-radius: 100px; padding: 4px 14px; font-family: var(--font-h); font-size: 0.72rem; font-weight: 600; color: var(--cyan-2); letter-spacing: 0.04em; }
.nutrex-divider { background: rgba(13,27,62,0.1); }

/* =========================================
   ABOUT THE FOUNDER
   ========================================= */
.about { background: var(--white); }
.about__grid {
  display: grid; grid-template-columns: 420px 1fr;
  gap: 80px; align-items: start; margin-top: 56px;
}

/* Image */
.about__image-wrap { display: flex; flex-direction: column; gap: 24px; }
.about__img-frame {
  position: relative; border-radius: 28px; overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 32px 80px rgba(13,27,62,0.18);
}
.about__img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  display: block; transition: transform 0.6s var(--ease);
}
.about__img-frame:hover .about__img { transform: scale(1.03); }
.about__img-glow {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,27,62,0.35) 0%, transparent 55%);
  pointer-events: none;
}

/* Tags */
.about__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.about__tag {
  background: var(--off); border: 1px solid rgba(13,27,62,0.1);
  border-radius: 100px; padding: 6px 14px;
  font-family: var(--font-h); font-size: 0.72rem; font-weight: 600;
  color: var(--navy); letter-spacing: 0.02em;
  transition: background 0.25s, border-color 0.25s;
}
.about__tag:hover { background: rgba(46,232,255,0.1); border-color: rgba(46,232,255,0.35); }

/* Content */
.about__content { padding-top: 12px; }
.about__name {
  font-family: var(--font-h); font-size: 2.2rem; font-weight: 800;
  color: var(--navy); letter-spacing: -0.03em; margin-bottom: 6px; line-height: 1.1;
}
.about__role {
  font-family: var(--font-h); font-size: 0.82rem; font-weight: 600;
  color: var(--cyan-2); letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 28px;
}
.about__divider { width: 48px; height: 3px; background: var(--cyan); border-radius: 2px; margin-bottom: 28px; }
.about__bio {
  font-size: 1.05rem; color: #3a4a6b; line-height: 1.85;
  margin-bottom: 20px;
}
.about__bio:last-child { margin-bottom: 0; }
.about__bio strong { color: var(--navy); font-weight: 700; }

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
  background: var(--navy); text-align: center; padding: 140px 24px;
  position: relative; overflow: hidden;
}
.cta-orb { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.cta-orb--1 { width: 500px; height: 500px; background: rgba(46,232,255,0.12); top: -150px; left: 50%; transform: translateX(-50%); }
.cta-orb--2 { width: 300px; height: 300px; background: rgba(79,159,255,0.1); bottom: -100px; right: 10%; }
.cta-container { position: relative; z-index: 1; }
.cta-title { font-family: var(--font-h); font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; color: var(--white); line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 24px; }
.cta-sub { font-size: 1.1rem; color: var(--muted); line-height: 1.75; margin-bottom: 48px; }

/* =========================================
   FOOTER
   ========================================= */
.footer { background: #080f22; padding: 48px 24px; }
.footer__inner { max-width: 1160px; margin: 0 auto; text-align: center; }
.footer__logo { font-family: var(--font-h); font-size: 1.5rem; font-weight: 800; color: var(--white); letter-spacing: -0.03em; display: block; margin-bottom: 8px; }
.footer__tagline { font-size: 0.85rem; color: var(--muted); margin-bottom: 24px; }
.footer__copy { font-size: 0.75rem; color: rgba(138,155,191,0.5); }

/* =========================================
   RESPONSIVE — TABLET
   ========================================= */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding: 120px 32px 80px; text-align: center; }
  .hero__badge { margin: 0 auto 28px; }
  .hero__cta { display: flex; justify-content: center; }
  .hero__scroll-hint { justify-content: center; }
  .hero__visual { display: flex; margin-top: 40px; }
  .phone-mockup { width: 220px; height: 400px; }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__img-frame { max-width: 360px; margin: 0 auto; }
  .platform__grid { grid-template-columns: repeat(2, 1fr); }
  .flow-steps { grid-template-columns: 1fr 1fr; }
  .flow-line { display: none; }
  .flow-step { padding: 20px; background: var(--off); border-radius: 16px; margin-bottom: 12px; }
  .problem__grid { grid-template-columns: 1fr; }
}

/* =========================================
   RESPONSIVE — MOBILE
   ========================================= */
@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .nav { padding: 0 16px; }
  .nav__inner { height: 60px; }
  .logo-text { font-size: 1.2rem; }
  .btn--nav { padding: 8px 16px; font-size: 0.75rem; }
  .btn--demo { padding: 7px 14px; font-size: 0.72rem; }

  .hero { padding: 100px 20px 60px; }
  .hero__headline { font-size: 2.4rem; }
  .hero__sub { font-size: 0.95rem; }
  .phone-mockup { width: 200px; height: 370px; }
  .about__name { font-size: 1.8rem; }
  .about__bio { font-size: 0.95rem; }

  .stats-bar__inner { flex-direction: column; gap: 32px; }
  .stat-divider { width: 60px; height: 1px; flex-shrink: 0; }
  .stat-item { padding: 0; flex: none; width: 100%; }
  .stat-num { font-size: 2.5rem; }
  .stat-item p { max-width: 220px; margin: 8px auto 0; }

  .problem__grid { grid-template-columns: 1fr; }
  .platform__grid { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: 1fr; }

  .nutrex__grid { grid-template-columns: 1fr; }
  .nutrex-divider { display: none; }
  .nutrex-card { padding: 0 0 32px; border-bottom: 1px solid rgba(13,27,62,0.1); }
  .nutrex-card:last-child { padding: 32px 0 0; border-bottom: none; }

  .cta-section { padding: 100px 20px; }
  .section-title { font-size: 2rem; }
  .section-sub { font-size: 0.9rem; }
  .container { padding: 0 20px; }
}
