/* ============ NutriTech marketing site ============ */
/* Brand: green #00e676 on near-black, matching app + logo */

:root {
  --bg: #06090f;
  --surface: #0e141d;
  --surface-2: #131b27;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f2f5f9;
  --text-dim: #96a0b5;
  --text-faint: #5c6575;
  --green: #00e676;
  --green-soft: rgba(0, 230, 118, 0.12);
  --teal: #2dd4bf;
  --blue: #6c8cff;
  --purple: #a78bfa;
  --amber: #fbbf24;
  --pink: #f472b6;
  --radius: 20px;
  --radius-lg: 28px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 750; margin-bottom: 0.6rem; }
h3 { font-size: 1.15rem; font-weight: 650; }

.center { text-align: center; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.9rem;
}

.lead { font-size: 1.15rem; color: var(--text-dim); margin: 1.1rem 0 1.8rem; }
.lead-sm { font-size: 1.02rem; color: var(--text-dim); margin: 0.8rem 0 1.4rem; }
.grad-text {
  background: linear-gradient(100deg, #e8d44d, #7fdc6a 55%, var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.98rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  font-family: inherit;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(120deg, #00e676, #00c765);
  color: #04140b;
  box-shadow: 0 6px 24px rgba(0, 230, 118, 0.25);
}
.btn-primary:hover { box-shadow: 0 8px 32px rgba(0, 230, 118, 0.4); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.04); }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.9rem; }
.btn-full { display: block; text-align: center; margin-top: auto; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 9, 15, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.7rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.logo-img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; gap: 1.4rem; margin-left: auto; }
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 550;
}
.nav-links a:hover { color: var(--text); }

/* ---------- hero ---------- */
.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4.5rem 1.4rem 3rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.hero-cta { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.hero-stats {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}
.hero-stats li { color: var(--text-dim); font-size: 0.92rem; }
.hero-stats strong { display: block; font-size: 1.5rem; color: var(--text); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.glow {
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(closest-side, rgba(0, 230, 118, 0.16), transparent 70%);
  filter: blur(20px);
  z-index: 0;
}
.phone {
  position: relative;
  z-index: 1;
  width: min(320px, 88vw);
  background: linear-gradient(170deg, #0c121c, #090d15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 42px;
  padding: 1.6rem 1.3rem 1.4rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.phone-header { display: flex; flex-direction: column; margin-bottom: 0.8rem; }
.phone-title { font-size: 1.4rem; font-weight: 750; }
.phone-date { color: var(--text-dim); font-size: 0.85rem; }
.ring-wrap { position: relative; width: 200px; margin: 0.4rem auto; }
.ring { display: block; }
.ring-progress { filter: drop-shadow(0 0 10px rgba(0, 230, 118, 0.45)); }
.ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ring-score { font-size: 3rem; font-weight: 800; line-height: 1; }
.ring-name { font-size: 0.62rem; letter-spacing: 0.22em; color: var(--amber); font-weight: 700; margin-top: 0.3rem; }
.phone-energy { text-align: center; color: var(--text-dim); font-size: 0.95rem; margin: 0.2rem 0 1rem; }
.mini-rings { display: flex; justify-content: space-around; margin-bottom: 1.1rem; }
.mini { text-align: center; }
.mini p { font-size: 0.75rem; color: var(--text-dim); margin-top: 0.35rem; }
.mini-ring {
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.05rem;
  margin: 0 auto;
}
.mini-teal  { border: 4px solid var(--teal);  border-right-color: rgba(255,255,255,0.08); }
.mini-blue  { border: 4px solid var(--blue);  border-bottom-color: rgba(255,255,255,0.08); }
.mini-amber { border: 4px solid rgba(255,255,255,0.08); border-top-color: var(--amber); }
.phone-card {
  display: flex; gap: 0.7rem; align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.7rem 0.9rem;
}
.phone-card-icon { font-size: 1.3rem; }
.phone-card strong { font-size: 0.9rem; }
.phone-card p { font-size: 0.75rem; color: var(--text-dim); }

/* ---------- sections ---------- */
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4.5rem 1.4rem;
}
.section-narrow { max-width: 760px; }

/* ---------- features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: 2.4rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(0, 230, 118, 0.3); }
.card-icon {
  display: inline-flex;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  font-size: 1.35rem;
  border-radius: 14px;
  margin-bottom: 0.9rem;
}
.icon-green  { background: rgba(0, 230, 118, 0.12); }
.icon-purple { background: rgba(167, 139, 250, 0.14); }
.icon-teal   { background: rgba(45, 212, 191, 0.13); }
.icon-blue   { background: rgba(108, 140, 255, 0.14); }
.icon-pink   { background: rgba(244, 114, 182, 0.13); }
.card p { color: var(--text-dim); font-size: 0.95rem; margin-top: 0.4rem; }

/* ---------- dna ---------- */
.dna-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.8rem;
  align-items: center;
}
.trait-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.chip b { color: var(--text); margin-left: 0.3rem; }
.insight-card {
  background: linear-gradient(160deg, rgba(167, 139, 250, 0.09), var(--surface));
  border: 1px solid rgba(167, 139, 250, 0.35);
  border-left: 4px solid var(--purple);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.insight-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 0.6rem;
}
.insight-card p { color: var(--text-dim); font-size: 0.95rem; margin-top: 0.6rem; }
.insight-note { font-style: italic; font-size: 0.82rem !important; color: var(--text-faint); }

/* ---------- quiz ---------- */
.quiz-card {
  max-width: 640px;
  margin: 2.2rem auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  min-height: 320px;
}
.quiz-progress {
  height: 6px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1.6rem;
}
.quiz-progress-bar {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #e8d44d, var(--green));
  transition: width 0.35s ease;
}
.quiz-start { text-align: center; padding: 1.5rem 0.5rem; }
.quiz-start p { color: var(--text-dim); margin-bottom: 1.4rem; }
.quiz-start-emoji { font-size: 2.2rem; margin-bottom: 0.8rem !important; }
.quiz-question h3 { font-size: 1.25rem; margin-bottom: 1.2rem; }
.quiz-options { display: grid; gap: 0.7rem; }
.quiz-option {
  text-align: left;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.85rem 1.1rem;
  color: var(--text);
  font-size: 0.98rem;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}
.quiz-option:hover { border-color: var(--green); background: var(--green-soft); }
.quiz-option:active { transform: scale(0.99); }
.quiz-back {
  margin-top: 1.2rem;
  background: none; border: none;
  color: var(--text-faint);
  font-size: 0.88rem;
  cursor: pointer;
  font-family: inherit;
}
.quiz-back:hover { color: var(--text-dim); }
.quiz-result { text-align: center; padding: 0.5rem 0.2rem; }
.quiz-result-emoji { font-size: 2.6rem; }
.quiz-result h3 { font-size: 1.5rem; margin: 0.7rem 0 0.2rem; }
.quiz-result .plan-name { color: var(--green); }
.quiz-result-sub { color: var(--text-dim); margin-bottom: 1.2rem; }
.quiz-reasons {
  list-style: none;
  text-align: left;
  margin: 0 auto 1.5rem;
  max-width: 420px;
  display: grid;
  gap: 0.5rem;
}
.quiz-reasons li {
  color: var(--text-dim);
  font-size: 0.93rem;
  padding-left: 1.5rem;
  position: relative;
}
.quiz-reasons li::before {
  content: "✓";
  color: var(--green);
  font-weight: 800;
  position: absolute;
  left: 0;
}
.quiz-result .btn { margin: 0.2rem 0.3rem; }

/* ---------- pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: 2.4rem;
  align-items: stretch;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.price-card.featured {
  border-color: rgba(0, 230, 118, 0.5);
  background: linear-gradient(170deg, rgba(0, 230, 118, 0.07), var(--surface));
}
.price-card.recommended {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green), 0 12px 44px rgba(0, 230, 118, 0.18);
}
.badge {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(120deg, #00e676, #00c765);
  color: #04140b;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}
.badge.badge-reco { background: linear-gradient(120deg, #e8d44d, #00e676); }
.price { font-size: 1.1rem; color: var(--text-dim); margin-top: 0.7rem; }
.price span { font-size: 2.1rem; font-weight: 800; color: var(--text); }
.price-sub { color: var(--text-faint); font-size: 0.85rem; margin-bottom: 1.1rem; }
.price-card ul { list-style: none; display: grid; gap: 0.55rem; margin-bottom: 1.6rem; }
.price-card li {
  color: var(--text-dim);
  font-size: 0.92rem;
  padding-left: 1.5rem;
  position: relative;
}
.price-card li::before {
  content: "✓";
  color: var(--green);
  font-weight: 800;
  position: absolute;
  left: 0;
}

/* ---------- faq ---------- */
details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.1rem 1.3rem;
  margin-top: 0.8rem;
}
details:first-of-type { margin-top: 2rem; }
summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute;
  right: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--green);
  font-size: 1.3rem;
  font-weight: 600;
}
details[open] summary::after { content: "–"; }
details p { color: var(--text-dim); font-size: 0.95rem; margin-top: 0.8rem; }

/* ---------- download ---------- */
.download { text-align: center; }
.download-logo { width: 84px; height: 84px; border-radius: 22px; margin-bottom: 1.2rem; box-shadow: 0 0 34px rgba(0, 230, 118, 0.35); }
.store-buttons { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; margin-top: 1.4rem; }
.store-btn {
  display: inline-block;
  background: #10161f;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text);
  text-decoration: none;
  font-weight: 650;
  padding: 0.85rem 1.7rem;
  border-radius: 14px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.store-btn:hover { border-color: var(--green); transform: translateY(-1px); }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  text-align: center;
}
.footer-logo { font-size: 1.05rem; }
.footer-inner nav { display: flex; gap: 1.4rem; flex-wrap: wrap; justify-content: center; }
.footer-inner nav a { color: var(--text-dim); text-decoration: none; font-size: 0.92rem; }
.footer-inner nav a:hover { color: var(--text); }
.footer-note { color: var(--text-faint); font-size: 0.85rem; }

/* ---------- fitness panel ---------- */
.fitness-panel {
  background: linear-gradient(160deg, rgba(0, 230, 118, 0.07), var(--surface));
  border: 1px solid rgba(0, 230, 118, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  text-align: center;
}
.panel-title {
  font-weight: 750;
  font-size: 1.15rem;
  text-align: left;
  margin-bottom: 0.4rem;
}
.ring-wrap-sm { width: 150px; }
.ring-score-sm { font-size: 2.1rem; }
.ring-name-green { color: var(--green); }
.ring-green { filter: drop-shadow(0 0 10px rgba(0, 230, 118, 0.45)); }
.panel-status { color: var(--text-dim); font-size: 0.93rem; margin: 0.6rem 0 1.2rem; }
.panel-status strong { color: var(--text); }
.builder {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
}
.builder-title {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 0.7rem;
}
.builder-chips { display: flex; justify-content: center; gap: 0.45rem; flex-wrap: wrap; margin-bottom: 0.9rem; }
.chip-sm { padding: 0.3rem 0.75rem; font-size: 0.82rem; }
.chip-active { background: rgba(255, 255, 255, 0.14); color: var(--text); }
.builder-btn {
  display: block;
  background: linear-gradient(120deg, #00e676, #00c765);
  color: #04140b;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 999px;
  padding: 0.65rem 1rem;
}

/* ---------- privacy ---------- */
.privacy-grid { grid-template-columns: repeat(4, 1fr); }
.legal-links-inline { color: var(--text-faint); font-size: 0.92rem; margin-top: 2rem; }
.legal-links-inline a { color: var(--green); text-decoration: none; }
.legal-links-inline a:hover { text-decoration: underline; }

/* ---------- pricing: two-tier ---------- */
.pricing-grid-two {
  grid-template-columns: 0.85fr 1.15fr;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- legal pages ---------- */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.4rem 4rem;
}
.legal h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); margin-bottom: 0.4rem; }
.legal .updated { color: var(--text-faint); font-size: 0.9rem; margin-bottom: 2.2rem; }
.legal h2 {
  font-size: 1.25rem;
  color: var(--green);
  margin: 2.4rem 0 0.7rem;
}
.legal p, .legal li { color: var(--text-dim); font-size: 0.98rem; }
.legal p { margin-bottom: 0.9rem; }
.legal ul { padding-left: 1.3rem; margin-bottom: 0.9rem; display: grid; gap: 0.5rem; }
.legal strong { color: var(--text); }
.legal a { color: var(--green); }
.back-link {
  display: inline-block;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem;
  margin-bottom: 1.6rem;
}
.back-link:hover { color: var(--text); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 3rem; text-align: center; }
  .hero-cta, .hero-stats { justify-content: center; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .privacy-grid { grid-template-columns: 1fr 1fr; }
  .dna-split { grid-template-columns: 1fr; }
  #fitness .fitness-panel { order: 1; max-width: 420px; margin: 0 auto; }
  .pricing-grid, .pricing-grid-two { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .price-card.featured { order: -1; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .feature-grid, .privacy-grid { grid-template-columns: 1fr; }
  .section { padding: 3.2rem 1.2rem; }
}
