/* =========================================================
   DNAHelper — marketing site
   Palette inspired by the mockup: soft mint hero, deep forest
   green buttons, cream/white cards, accent yellow/blue/peach.
   ========================================================= */

:root {
  /* Mint + greens */
  --mint-50:  #F3FAF4;
  --mint-100: #E8F3EA;   /* hero background base */
  --mint-200: #D6EADB;
  --mint-300: #BCDCC5;

  --leaf-300: #8EC39B;
  --leaf-500: #4BA368;
  --leaf-600: #2F7D4B;
  --leaf-700: #1F5A35;
  --leaf-900: #10341E;   /* near-black green, for primary btn */

  /* Neutrals */
  --ink-900: #0E1812;
  --ink-800: #1C2A22;
  --ink-700: #2D3B33;
  --ink-600: #4B594F;
  --ink-500: #6B7A70;
  --ink-400: #9AA8A0;
  --ink-300: #CDD6D0;
  --ink-200: #E6EBE7;
  --ink-100: #F2F6F3;

  --bg:       #FFFFFF;
  --bg-soft:  #F6FAF7;
  --white:    #FFFFFF;
  --cream:    #FBFBF8;

  /* Accents from mockup */
  --yellow:   #E4A928;
  --yellow-bg:#FFF4D1;
  --blue:     #3E82C4;
  --blue-bg:  #E2EEFA;
  --peach:    #E88B6A;
  --peach-bg: #FCE1D6;
  --purple:   #7C5BD0;
  --purple-bg:#ECE4FB;

  --shadow-sm: 0 1px 2px rgba(14, 24, 18, 0.05);
  --shadow-md: 0 10px 30px rgba(14, 40, 22, 0.08);
  --shadow-lg: 0 30px 70px rgba(14, 40, 22, 0.16);
  --shadow-ring: 0 0 0 1px rgba(14,40,22,0.06);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-2xl: 40px;

  --max: 1200px;
  --max-narrow: 820px;

  --t-fast: 160ms cubic-bezier(.4,0,.2,1);
  --t-med:  260ms cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-800);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { color: var(--ink-900); margin: 0; letter-spacing: -0.025em; }

.serif {
  font-family: 'Instrument Serif', 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--leaf-700);
}
.italic { font-style: italic; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--max-narrow); }
.center { text-align: center; }

.section { padding: 110px 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; }
.section-head h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 18px;
  color: var(--ink-600);
  margin: 0;
}
.section-sub.light { color: rgba(255,255,255,0.72); }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leaf-700);
  background: var(--mint-200);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow.light {
  color: var(--mint-200);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
  line-height: 1;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--leaf-900);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(16,52,30,0.18);
}
.btn-primary:hover {
  background: var(--leaf-700);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(16,52,30,0.24);
}

.btn-light {
  background: var(--white);
  color: var(--ink-900);
}
.btn-light:hover {
  background: var(--mint-100);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--ink-300);
}
.btn-ghost:hover {
  border-color: var(--ink-900);
  background: var(--white);
  transform: translateY(-1px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med), background var(--t-med);
}
.site-header.scrolled {
  border-bottom-color: var(--ink-200);
  background: rgba(255,255,255,0.92);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--leaf-600);
  font-weight: 600;
}
.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--mint-100);
  color: var(--leaf-600);
}
.logo-text {
  color: var(--ink-900);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nav {
  display: flex;
  gap: 2px;
  align-items: center;
}
.nav a {
  color: var(--ink-700);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14.5px;
  transition: background var(--t-fast), color var(--t-fast);
}
.nav a:hover {
  background: var(--mint-100);
  color: var(--leaf-700);
}
.nav-login {
  color: var(--ink-700) !important;
}

.header-cta { display: flex; align-items: center; gap: 10px; }

/* ==========================================================
   Language picker
   ========================================================== */
.lang-picker { position: relative; }

.lp-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--mint-100);
  color: var(--ink-800);
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
  border: 1px solid transparent;
}
.lp-trigger:hover { background: var(--mint-200); }
.lp-trigger[aria-expanded="true"] {
  background: var(--white);
  border-color: var(--ink-200);
  box-shadow: var(--shadow-sm);
}
.lp-trigger .lp-flag { font-size: 15px; line-height: 1; }
.lp-trigger .lp-label { letter-spacing: 0.04em; }
.lp-trigger svg { color: var(--ink-500); }

.lp-loading {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid var(--leaf-500);
  border-top-color: transparent;
  animation: lp-spin 0.8s linear infinite;
}
@keyframes lp-spin { to { transform: rotate(360deg); } }

.lp-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 280px;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  z-index: 200;
  overflow: hidden;
}

.lp-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  margin-bottom: 4px;
  border-radius: 10px;
  background: var(--ink-100);
  color: var(--ink-500);
}
.lp-search input {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 13px;
  color: var(--ink-900);
  outline: none;
  padding: 2px 0;
}
.lp-search input::placeholder { color: var(--ink-400); }

ul[role="listbox"] {
  list-style: none;
  margin: 0;
  padding: 4px;
  max-height: 360px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--ink-300) transparent;
}
ul[role="listbox"]::-webkit-scrollbar { width: 6px; }
ul[role="listbox"]::-webkit-scrollbar-thumb { background: var(--ink-300); border-radius: 3px; }

.lp-item {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 0;
  background: transparent;
  color: var(--ink-800);
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: background var(--t-fast), color var(--t-fast);
}
.lp-item:hover { background: var(--mint-100); color: var(--ink-900); }
.lp-item.is-selected {
  background: var(--mint-100);
  color: var(--leaf-700);
  font-weight: 600;
}
.lp-item.is-selected svg { color: var(--leaf-600); }
.lp-item .lp-flag { font-size: 16px; line-height: 1; flex-shrink: 0; }
.lp-item .lp-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lp-empty {
  padding: 16px 10px;
  text-align: center;
  color: var(--ink-500);
  font-size: 13px;
}

/* RTL tweaks */
html[dir="rtl"] .lp-item { text-align: right; }
html[dir="rtl"] .lp-panel { right: auto; left: 0; }
html[dir="rtl"] body {
  font-family: 'Inter', 'Segoe UI', Tahoma, sans-serif;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border-radius: 10px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink-800);
  border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--ink-200);
  background: var(--white);
}
.mobile-nav[hidden] { display: none !important; }
.mobile-nav a {
  padding: 12px 10px;
  border-radius: 10px;
  font-weight: 500;
  color: var(--ink-800);
}
.mobile-nav a.btn { margin-top: 8px; }

/* ==========================================================
   HERO — mint rounded card with portrait + DNA helix
   ========================================================== */
.hero {
  padding: 28px 0 80px;
}
.hero-card {
  position: relative;
  background: linear-gradient(160deg, #EFF8F1 0%, #DFEEE3 55%, #D0E6D7 100%);
  border-radius: var(--radius-2xl);
  padding: 72px 64px 72px;
  overflow: hidden;
  border: 1px solid rgba(47,125,75,0.06);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
}
.blob-1 { width: 420px; height: 420px; background: #BCDCC5; top: -120px; right: -80px; }
.blob-2 { width: 280px; height: 280px; background: #F3E3C4; bottom: -120px; left: -60px; opacity: 0.5; }
.blob-3 { width: 240px; height: 240px; background: #CFE0F2; top: 45%; left: 35%; opacity: 0.35; }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  z-index: 1;
}

.hero-copy h1 {
  font-size: clamp(48px, 6.6vw, 86px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--ink-900);
  margin: 8px 0 24px;
}
.hero-copy h1 .serif {
  color: var(--leaf-700);
  font-size: 1.02em;
  font-style: italic;
}

.lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-600);
  margin: 0 0 36px;
  max-width: 500px;
}
.lead strong { color: var(--ink-900); font-weight: 700; }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }

.hero-trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  color: var(--ink-700);
  font-size: 14px;
  font-weight: 500;
}
.hero-trust li {
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-trust .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--leaf-500);
}

/* --- Hero visual: portrait + helix panel --- */
.hero-visual {
  position: relative;
  min-height: 520px;
}
.portrait-frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin-left: auto;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
  background: #EFF6F1;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,0.6);
}
.portrait {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* DNA helix floating panel below the portrait */
.helix-panel {
  position: absolute;
  left: 50%;
  bottom: -52px;
  transform: translateX(-50%);
  width: min(380px, 92%);
  background: var(--white);
  border-radius: 20px;
  padding: 18px 22px 22px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
}
.helix-svg { width: 100%; height: auto; display: block; }

.node {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border-radius: 999px;
  padding: 6px 12px 6px 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-800);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--ink-200);
  animation: floaty 5s ease-in-out infinite;
}
.node-icon {
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
}
.node-health   { top: -14px; left: 28px;  animation-delay: 0s; }
.node-traits   { top: -14px; right: 34px; animation-delay: -1.7s; }
.node-ancestry { bottom: -14px; left: 50%; transform: translateX(-50%); animation-delay: -3.2s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.node-ancestry { animation-name: floatyCentered; }
@keyframes floatyCentered {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-6px); }
}

/* ==========================================================
   Steps
   ========================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--mint-300);
}
.step-icon {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  margin-bottom: 20px;
}
.wrap-green  { background: var(--mint-100); color: var(--leaf-700); }
.wrap-yellow { background: var(--yellow-bg); color: #8A6100; }
.wrap-blue   { background: var(--blue-bg); color: #24577F; }
.wrap-purple { background: var(--purple-bg); color: #4A2E95; }
.wrap-peach  { background: var(--peach-bg); color: #8E3B1D; }

.step h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.step p  { margin: 0; color: var(--ink-600); }

/* ==========================================================
   Soft section (insights, testimonials)
   ========================================================== */
.section-soft { background: var(--bg-soft); }

.insights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.insight-card {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.insight-icon {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  margin-bottom: 16px;
}
.insight-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.25;
}
.insight-card p {
  font-size: 14.5px;
  color: var(--ink-600);
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================
   Hero privacy badge
   ========================================================== */
.hero-privacy {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid rgba(47,125,75,0.15);
  border-radius: 16px;
  padding: 12px 18px 12px 14px;
  margin-bottom: 18px;
  box-shadow: 0 6px 16px rgba(16,52,30,0.06);
  max-width: 460px;
}
.hp-badge {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--mint-100);
  color: var(--leaf-600);
  flex-shrink: 0;
}
.hero-privacy strong {
  display: block;
  color: var(--ink-900);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2px;
}
.hero-privacy span {
  display: block;
  color: var(--ink-600);
  font-size: 13px;
  line-height: 1.3;
}

/* ==========================================================
   Privacy section
   ========================================================== */
.section-privacy {
  padding: 110px 0;
}
.privacy-card {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
  background: linear-gradient(135deg, #F5FBF6 0%, #E3F0E7 100%);
  border-radius: var(--radius-2xl);
  padding: 72px 64px;
  border: 1px solid rgba(47,125,75,0.08);
  position: relative;
  overflow: hidden;
}
.privacy-card::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(75,163,104,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.privacy-left { position: relative; }
.privacy-left h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.1;
  margin-bottom: 18px;
}
.privacy-lead {
  font-size: 17px;
  color: var(--ink-600);
  line-height: 1.6;
  margin: 0 0 28px;
  max-width: 440px;
}

.privacy-right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}
.privacy-point {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  padding: 22px 22px 20px;
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.privacy-point:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.pp-icon {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--mint-100);
  color: var(--leaf-700);
  margin-bottom: 14px;
}
.privacy-point h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.25;
}
.privacy-point p {
  font-size: 14px;
  color: var(--ink-600);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================
   Dark section — Gamechanger
   ========================================================== */
.section-dark {
  background: var(--leaf-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: '';
  position: absolute; top: -120px; right: -120px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(75,163,104,0.25) 0%, transparent 60%);
  pointer-events: none;
}
.section-dark::after {
  content: '';
  position: absolute; bottom: -150px; left: -120px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(62,130,196,0.16) 0%, transparent 60%);
  pointer-events: none;
}
.section-dark > * { position: relative; z-index: 1; }
.section-dark h2 { color: var(--white); }
.section-dark h2 .serif { color: var(--mint-200); }

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.value-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  transition: transform var(--t-med), background var(--t-med), border-color var(--t-med);
}
.value-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.16);
}
.value-card h3 {
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}
.value-card p {
  color: rgba(255,255,255,0.72);
  margin: 0;
  font-size: 14.5px;
}
.value-icon {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  margin-bottom: 16px;
  color: var(--white);
}
.value-icon.heart { background: linear-gradient(135deg,#E0617D,#C13554); }
.value-icon.leaf  { background: linear-gradient(135deg,#5FC282,#2F7D4B); }
.value-icon.pill  { background: linear-gradient(135deg,#5FA3E0,#3E82C4); }
.value-icon.run   { background: linear-gradient(135deg,#E4A928,#CC8A0E); }
.value-icon.moon  { background: linear-gradient(135deg,#7C5BD0,#5A3BA8); }
.value-icon.spark { background: linear-gradient(135deg,#E88B6A,#D06341); }

/* ==========================================================
   Stats bar
   ========================================================== */
.stats-bar {
  background: var(--mint-100);
  padding: 56px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(38px, 4.2vw, 60px);
  font-weight: 400;
  color: var(--leaf-700);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 13px;
  color: var(--ink-600);
  margin-top: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ==========================================================
   Pricing
   ========================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.price-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.price-card.featured {
  background: var(--leaf-900);
  color: var(--white);
  border-color: var(--leaf-900);
  box-shadow: var(--shadow-lg);
}
.price-card.featured h3 { color: var(--white); }
.price-card.featured .price-sub { color: rgba(255,255,255,0.72); }
.price-card.featured .amount { color: var(--white); }
.price-card.featured .per { color: rgba(255,255,255,0.55); }
.price-card.featured .price-features li { color: rgba(255,255,255,0.92); }
.price-card.featured .price-features svg { color: var(--mint-200); }

.featured-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--leaf-500);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(75,163,104,0.35);
}

.price-card h3 { font-size: 22px; font-weight: 700; }
.price-sub {
  font-size: 14.5px;
  color: var(--ink-600);
  margin: 8px 0 28px;
}
.price { margin-bottom: 28px; }
.amount {
  font-family: 'Instrument Serif', serif;
  font-size: 60px;
  font-weight: 400;
  color: var(--ink-900);
  letter-spacing: -0.02em;
  line-height: 1;
}
.per {
  margin-left: 6px;
  color: var(--ink-500);
  font-size: 16px;
}
.price-features { list-style: none; padding: 0; margin: 0 0 32px; }
.price-features li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--ink-700);
}
.price-features svg { color: var(--leaf-600); flex-shrink: 0; }

.pricing-note {
  text-align: center;
  margin-top: 28px;
  color: var(--ink-500);
  font-size: 14px;
}

/* ==========================================================
   Testimonials
   ========================================================== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.quote {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px 24px;
  margin: 0;
  border: 1px solid var(--ink-200);
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.quote:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.quote-mark {
  font-family: 'Instrument Serif', serif;
  font-size: 72px;
  line-height: 0.6;
  color: var(--mint-300);
  position: absolute;
  top: 18px; left: 22px;
}
.quote blockquote {
  position: relative;
  margin: 24px 0 20px;
  font-size: 16px;
  color: var(--ink-800);
  line-height: 1.55;
  font-weight: 500;
}
.quote figcaption {
  display: flex; gap: 12px; align-items: center;
  font-size: 14px; color: var(--ink-600);
  padding-top: 16px;
  border-top: 1px dashed var(--ink-200);
}
.avatar {
  display: block;
  width: 42px; height: 42px;
  border-radius: 50%;
}
.quote figcaption strong {
  display: block;
  color: var(--ink-900);
  font-weight: 600;
}
.quote figcaption span { font-size: 13px; color: var(--ink-500); }

/* ==========================================================
   FAQ
   ========================================================== */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  padding: 2px 26px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.faq details[open] {
  border-color: var(--mint-300);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-weight: 600;
  color: var(--ink-900);
  font-size: 17px;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.chev {
  display: inline-block;
  width: 10px; height: 10px;
  border-right: 2px solid var(--ink-500);
  border-bottom: 2px solid var(--ink-500);
  transform: rotate(45deg);
  transition: transform var(--t-fast);
  margin-right: 2px;
}
.faq details[open] .chev { transform: rotate(-135deg); }
.faq details p {
  margin: 0 0 22px;
  color: var(--ink-600);
  max-width: 680px;
}

/* ==========================================================
   Final CTA
   ========================================================== */
.final-cta { padding: 80px 0 120px; }
.cta-box {
  background: linear-gradient(135deg, var(--leaf-700) 0%, var(--leaf-900) 100%);
  border-radius: var(--radius-2xl);
  padding: 80px 40px;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute; top: -150px; right: -150px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 60%);
}
.cta-box::after {
  content: '';
  position: absolute; bottom: -150px; left: -150px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 {
  color: var(--white);
  font-size: clamp(32px, 4.2vw, 54px);
  margin-bottom: 18px;
}
.cta-box h2 .serif { color: var(--mint-200); }
.cta-box p {
  color: rgba(255,255,255,0.88);
  font-size: 19px;
  max-width: 560px;
  margin: 0 auto 32px;
}
.cta-micro {
  margin-top: 22px !important;
  font-size: 14px !important;
  color: rgba(255,255,255,0.72) !important;
}

/* ==========================================================
   Footer
   ========================================================== */
.site-footer {
  background: var(--ink-900);
  color: var(--ink-300);
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-tag {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-400);
  max-width: 260px;
}
.site-footer .logo { color: var(--white); }
.site-footer .logo-mark { background: rgba(255,255,255,0.06); color: var(--mint-200); }
.site-footer .logo-text { color: var(--white); }
.site-footer h4 {
  color: var(--white);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 18px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { padding: 6px 0; }
.site-footer ul a {
  color: var(--ink-400);
  font-size: 15px;
  transition: color var(--t-fast);
}
.site-footer ul a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: var(--ink-500);
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1024px) {
  .hero-card { padding: 48px 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: auto; padding-bottom: 70px; }
  .portrait-frame { margin: 0 auto; max-width: 380px; }
  .insights-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .privacy-card {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 56px 40px;
  }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .header-cta { gap: 6px; }
  .header-cta .btn-primary { display: none; }
  .menu-toggle { display: flex; }
  .mobile-nav:not([hidden]) { display: flex; }
  .lang-picker-mobile { margin-top: 8px; width: 100%; }
  .lang-picker-mobile .lp-trigger { width: 100%; justify-content: space-between; padding: 14px 16px; font-size: 14px; }
  .lang-picker-mobile .lp-panel { width: 100%; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .steps { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 56px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero { padding: 16px 0 56px; }
  .hero-card { padding: 40px 24px; border-radius: 28px; }
  .hero-copy h1 { font-size: 44px; }
  .lead { font-size: 17px; }
  .hero-cta .btn { flex: 1; }
  .portrait-frame { max-width: 320px; }
  .helix-panel { bottom: -44px; padding: 14px 18px 18px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .price-card { padding: 36px 26px; }
  .cta-box { padding: 44px 20px; }
  .privacy-card { padding: 44px 24px; border-radius: 28px; }
  .privacy-right { grid-template-columns: 1fr; }
  .hero-privacy { padding: 10px 14px 10px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
