/* =========================================================================
   PlateIQ — Landing Page Styles
   Premium dark health-tech. Accent: cyan/mint #00E5B0. Secondary: amber #FFA033.
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg:            #0A0E12;
  --bg-2:          #0C1217;
  --bg-3:          #0E151B;
  --surface:       #1A2228;
  --surface-2:     #141B21;
  --surface-hi:    #202A31;
  --line:          rgba(255, 255, 255, 0.06);
  --line-2:        rgba(255, 255, 255, 0.10);

  --accent:        #00E5B0;
  --accent-deep:   #0a8f7a;
  --accent-dim:    rgba(0, 229, 176, 0.14);
  --accent-glow:   rgba(0, 229, 176, 0.35);
  --amber:         #FFA033;
  --amber-dim:     rgba(255, 160, 51, 0.14);
  --violet:        #8E7DFF;

  --ink:           #F5F7FA;
  --ink-soft:      #C7D1D9;
  --muted:         #9AA7B2;
  --muted-2:       #6B7882;

  --radius:        20px;
  --radius-sm:     14px;
  --radius-lg:     28px;

  --maxw:          1180px;
  --gut:           clamp(20px, 5vw, 48px);

  --ease:          cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card:   0 24px 60px -28px rgba(0, 0, 0, 0.85);
  --shadow-phone:  0 50px 120px -40px rgba(0, 0, 0, 0.9);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink-soft);
  line-height: 1.6;
  font-size: 17px;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

::selection { background: var(--accent); color: #04130f; }

/* ---------- Atmospheric background ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 700px at 12% -8%, rgba(0, 229, 176, 0.10), transparent 60%),
    radial-gradient(720px 620px at 96% 4%, rgba(142, 125, 255, 0.07), transparent 60%),
    radial-gradient(820px 700px at 80% 86%, rgba(255, 160, 51, 0.055), transparent 62%),
    var(--bg);
}
/* faint dot grid texture */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 85%);
}

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}
section { position: relative; }
.section-pad { padding-block: clamp(72px, 11vw, 140px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 7px 14px 7px 11px;
  border: 1px solid var(--accent-dim);
  border-radius: 999px;
  background: rgba(0, 229, 176, 0.05);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.h-section {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  margin-block: 18px 0;
}
.lead {
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  color: var(--muted);
  max-width: 56ch;
}
.grad-ink {
  background: linear-gradient(105deg, #fff 0%, var(--accent) 58%, var(--accent-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 650;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  border-radius: 13px;
  padding: 14px 24px;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  color: #04130f;
  background: linear-gradient(135deg, #2bf3c2 0%, var(--accent) 42%, var(--accent-deep) 100%);
  box-shadow: 0 12px 34px -12px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 46px -14px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,.4);
}
.btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-2);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--accent-dim);
  transform: translateY(-2px);
}
.btn-sm { padding: 10px 18px; font-size: 0.9rem; border-radius: 11px; }

/* App-store style pill badges */
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 10px 18px 10px 16px;
  border-radius: 13px;
  background: #0f161c;
  border: 1px solid var(--line-2);
  color: var(--ink);
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.store-badge:hover {
  transform: translateY(-2px);
  border-color: var(--accent-dim);
  background: #131b22;
}
.store-badge svg { width: 24px; height: 24px; flex: none; }
.store-badge > span { display: inline-flex; flex-direction: column; justify-content: center; }
.store-badge .s-top { font-size: 10.5px; color: var(--muted); letter-spacing: .04em; line-height: 1.2; }
.store-badge .s-big { font-size: 16px; font-weight: 650; line-height: 1.2; letter-spacing: -0.02em; }

.micro {
  font-size: 0.86rem;
  color: var(--muted-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.micro svg { width: 15px; height: 15px; color: var(--accent); }

/* =======================================================================
   NAV
   ======================================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 14, 18, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner {
  height: 66px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.brand .iq { color: var(--accent); }
.brand .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  margin-left: 3px;
  box-shadow: 0 0 12px var(--accent-glow);
  animation: pulse-dot 2.6s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.82); }
}
.nav-links {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.93rem;
  color: var(--muted);
  font-weight: 500;
  position: relative;
  transition: color .2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  height: 2px; width: 0;
  background: var(--accent);
  border-radius: 2px;
  transition: width .25s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { margin-left: 6px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  width: 42px; height: 42px;
  color: var(--ink);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px var(--gut) 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 14, 18, 0.96);
  backdrop-filter: blur(16px);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 13px 6px;
  color: var(--ink-soft);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 12px; }

/* =======================================================================
   PHONE MOCKUP
   ======================================================================= */
.phone {
  position: relative;
  width: 280px;
  border-radius: 44px;
  padding: 11px;
  background: linear-gradient(160deg, #2a343c 0%, #11171c 46%, #05080a 100%);
  box-shadow:
    var(--shadow-phone),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.08),
    inset 0 2px 1px rgba(255, 255, 255, 0.16);
}
.phone::before { /* side button */
  content: "";
  position: absolute;
  right: -2px; top: 130px;
  width: 3px; height: 56px;
  border-radius: 3px;
  background: linear-gradient(#3a464f, #1c2329);
}
.phone-screen {
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  /* App-like dark placeholder so a slow/failed image still looks like a phone
     screen instead of broken alt text. */
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(0,229,176,.10), transparent 60%),
    linear-gradient(180deg, #0f1419 0%, #0a0e12 100%);
  aspect-ratio: 1280 / 2856;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}
.phone-screen img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  /* Hide the broken-image glyph + alt text if the image hasn't loaded;
     the dark gradient above shows through instead. */
  color: transparent;
  font-size: 0;
}
.phone .island {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 92px; height: 26px;
  background: #05080a;
  border-radius: 16px;
  z-index: 3;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.phone .island::after { /* camera dot */
  content: "";
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #1b3a3a, #04100e 70%);
  box-shadow: inset 0 0 0 1px rgba(0,229,176,.25);
}
/* glow halo behind a phone */
.phone-glow { position: relative; }
.phone-glow::before {
  content: "";
  position: absolute;
  inset: -14% -22%;
  z-index: -1;
  background: radial-gradient(closest-side, var(--accent-glow), transparent 72%);
  opacity: .5;
  filter: blur(8px);
}

/* =======================================================================
   HERO
   ======================================================================= */
.hero {
  padding-top: clamp(48px, 8vw, 86px);
  padding-bottom: clamp(56px, 8vw, 96px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 4.65rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin-top: 22px;
}
.hero h1 .b2 { display: block; color: var(--accent); }
.hero .h1-sub {
  display: block;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: -0.02em;
  margin-top: 16px;
}
.hero .lead { margin-top: 22px; }
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.hero-badges { margin-top: 22px; }
.hero-micro { margin-top: 16px; }

/* overlapping phones */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 540px;
}
.hero-visual .phone.front {
  width: 268px;
  z-index: 2;
  transform: rotate(-2deg);
}
.hero-visual .phone.back {
  position: absolute;
  width: 216px;
  right: -6px;
  bottom: -14px;
  z-index: 1;
  transform: rotate(6deg);
  opacity: .92;
  filter: saturate(.96);
}
.float-chip {
  position: absolute;
  z-index: 4;
  background: rgba(20, 27, 33, 0.86);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 11px 14px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 11px;
}
.float-chip .ic {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--accent-dim);
  color: var(--accent);
  flex: none;
}
.float-chip .ic.amber { background: var(--amber-dim); color: var(--amber); }
.float-chip .ic svg { width: 18px; height: 18px; }
.float-chip span { display: block; }
.float-chip .ttl { font-size: 0.74rem; color: var(--muted); line-height: 1.25; }
.float-chip .val { font-size: 0.96rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.float-chip.fc-1 { top: 30px; left: -8px; animation: floaty 6s ease-in-out infinite; }
.float-chip.fc-2 { bottom: 64px; right: -14px; animation: floaty 6.8s ease-in-out infinite .8s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* =======================================================================
   SOCIAL PROOF STRIP
   ======================================================================= */
.proof {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}
.proof-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 46px);
  padding-block: 26px;
  text-align: center;
}
.proof .stars { display: inline-flex; gap: 3px; color: var(--amber); }
.proof .stars svg { width: 18px; height: 18px; }
.proof-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.proof-item strong { color: var(--ink); font-weight: 700; }
.proof-divider { width: 1px; height: 26px; background: var(--line-2); }
.proof-platform { color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.proof-platform svg { width: 17px; height: 17px; color: var(--ink-soft); }

/* =======================================================================
   PROBLEM -> SOLUTION
   ======================================================================= */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.problem-copy p { margin-top: 18px; color: var(--muted); }
.problem-copy p strong { color: var(--ink); font-weight: 650; }
.compare {
  display: grid;
  gap: 16px;
}
.compare-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-2);
  padding: 22px 24px;
}
.compare-card.old { opacity: .92; }
.compare-card.new {
  border-color: var(--accent-dim);
  background:
    linear-gradient(180deg, rgba(0,229,176,.05), transparent 60%),
    var(--surface);
  box-shadow: var(--shadow-card);
}
.compare-card .tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.compare-card.old .tag { color: var(--muted-2); }
.compare-card.new .tag { color: var(--accent); }
.compare-card ul { margin-top: 14px; display: grid; gap: 11px; }
.compare-card li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.96rem;
  color: var(--ink-soft);
}
.compare-card li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.compare-card.old li svg { color: var(--muted-2); }
.compare-card.new li svg { color: var(--accent); }
.compare-card.old li { color: var(--muted); }

/* =======================================================================
   FEATURE ROWS
   ======================================================================= */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
  padding-block: clamp(46px, 7vw, 80px);
}
.feature-row + .feature-row { border-top: 1px solid var(--line); }
.feature-row.reverse .feature-visual { order: 2; }
.feature-row.reverse .feature-copy { order: 1; }
.feature-num {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--accent);
  text-transform: uppercase;
}
.feature-copy h3 {
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
  margin-top: 12px;
}
.feature-copy p { margin-top: 16px; color: var(--muted); max-width: 46ch; }
.feature-copy p em { color: var(--ink-soft); font-style: normal; }
.feature-visual { display: flex; justify-content: center; }
.feature-visual .phone { width: 256px; }

/* sample itemized card decoration for Per-Item feature */
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.feature-tags span {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line-2);
  color: var(--ink-soft);
}
.feature-tags span .v { color: var(--accent); }

/* =======================================================================
   "AND MORE" GRID
   ======================================================================= */
.more-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 44px;
}
.more-card {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface-2);
  padding: 22px 20px;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.more-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-dim);
  background: var(--surface);
}
.more-card .ic {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--accent-dim);
  color: var(--accent);
  margin-bottom: 14px;
}
.more-card .ic.amber { background: var(--amber-dim); color: var(--amber); }
.more-card .ic.violet { background: rgba(142,125,255,.14); color: var(--violet); }
.more-card .ic svg { width: 21px; height: 21px; }
.more-card h4 { font-size: 1.02rem; font-weight: 700; }
.more-card p { margin-top: 7px; font-size: 0.88rem; color: var(--muted); line-height: 1.5; }

/* =======================================================================
   HOW IT WORKS
   ======================================================================= */
.how { background: var(--bg-2); border-block: 1px solid var(--line); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 50px;
  counter-reset: step;
}
.step {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-2);
  padding: 30px 26px 28px;
  overflow: hidden;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 14px; right: 18px;
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: rgba(255,255,255,.04);
  line-height: 1;
}
.step .s-ic {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent-dim), transparent);
  border: 1px solid var(--accent-dim);
  color: var(--accent);
  margin-bottom: 20px;
}
.step .s-ic svg { width: 24px; height: 24px; }
.step h4 { font-size: 1.22rem; }
.step p { margin-top: 9px; color: var(--muted); font-size: 0.95rem; }
.how-cta { margin-top: 40px; display: flex; justify-content: center; }

/* =======================================================================
   PERSONAS
   ======================================================================= */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 50px;
}
.persona {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-2);
  padding: 30px 28px 32px;
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.persona::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--p-accent, var(--accent));
}
.persona::after {
  content: "";
  position: absolute;
  top: -40%; right: -30%;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--p-glow, rgba(0,229,176,.12)), transparent 70%);
  pointer-events: none;
}
.persona:hover { transform: translateY(-5px); border-color: var(--line-2); }
.persona .p-emoji {
  font-size: 1.5rem;
  width: 48px; height: 48px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-2);
}
.persona h3 { font-size: 1.38rem; margin-top: 18px; color: var(--p-accent, var(--ink)); }
.persona .p-pitch { margin-top: 12px; color: var(--muted); font-size: 0.95rem; }
.persona ul { margin-top: 20px; display: grid; gap: 13px; }
.persona li { display: flex; gap: 11px; font-size: 0.92rem; color: var(--ink-soft); align-items: flex-start; }
.persona li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--p-accent, var(--accent)); }
.persona li b { color: var(--ink); font-weight: 650; }

/* =======================================================================
   AI COACH SPOTLIGHT
   ======================================================================= */
.coach {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(680px 520px at 78% 30%, rgba(0,229,176,.08), transparent 64%),
    var(--bg-2);
}
.coach-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
}
.coach-visual {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 18px;
}
.coach-visual .phone { width: 234px; }
.coach-visual .phone.b { display: none; }
.coach-copy p { margin-top: 18px; color: var(--muted); }
.coach-copy p strong { color: var(--ink); font-weight: 650; }
.coach-copy .punch {
  margin-top: 22px;
  font-size: 1.05rem;
  color: var(--ink-soft);
  font-weight: 500;
  border-left: 2px solid var(--accent);
  padding-left: 16px;
}
.coach-copy .punch em { font-style: italic; color: var(--accent); }
.coach-copy .btn { margin-top: 30px; }

/* =======================================================================
   TESTIMONIALS
   ======================================================================= */
.tcols {
  columns: 3;
  column-gap: 18px;
  margin-top: 50px;
}
.tcard {
  break-inside: avoid;
  margin-bottom: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-2);
  padding: 24px 24px 22px;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.tcard:hover { transform: translateY(-4px); border-color: var(--line-2); }
.tcard .quote-mark { color: var(--accent); font-size: 2.2rem; line-height: .6; font-weight: 800; }
.tcard h4 { font-size: 1.06rem; margin-top: 14px; color: var(--ink); }
.tcard p { margin-top: 10px; color: var(--muted); font-size: 0.94rem; }
.tcard .who {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.tcard .who img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--accent-dim);
}
.tcard .who .nm { font-size: 0.92rem; font-weight: 700; color: var(--ink); }
.tcard .who .loc { font-size: 0.82rem; color: var(--muted-2); }
.tcard .stars { display: flex; gap: 2px; color: var(--amber); margin-top: 2px; }
.tcard .stars svg { width: 14px; height: 14px; }

/* =======================================================================
   PRICING
   ======================================================================= */
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 20px;
  margin-top: 52px;
  max-width: 920px;
  margin-inline: auto;
}
.pcard {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-2);
  padding: 34px 32px 36px;
}
.pcard.pro {
  border-color: var(--accent-dim);
  background:
    radial-gradient(520px 320px at 80% -10%, rgba(0,229,176,.12), transparent 60%),
    var(--surface);
  box-shadow: var(--shadow-card);
}
.pcard .p-name { font-size: 0.86rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pcard.pro .p-name { color: var(--accent); }
.pcard .p-price { display: flex; align-items: baseline; gap: 8px; margin-top: 16px; }
.pcard .p-price .amt { font-size: 2.6rem; font-weight: 800; color: var(--ink); letter-spacing: -.04em; }
.pcard .p-price .per { color: var(--muted); font-size: 0.95rem; }
.pcard .p-sub { color: var(--muted); font-size: 0.92rem; margin-top: 4px; min-height: 1.2em; }
.pcard ul { margin-top: 24px; display: grid; gap: 13px; }
.pcard li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.95rem; color: var(--ink-soft); }
.pcard li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--accent); }
.pcard li b { color: var(--ink); font-weight: 700; }
.pcard .btn { width: 100%; margin-top: 28px; }
.best-badge {
  position: absolute;
  top: 22px; right: 26px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #04130f;
  background: linear-gradient(135deg, #2bf3c2, var(--accent));
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 8px 22px -8px var(--accent-glow);
}
/* annual / monthly toggle row inside pro */
.plan-rows { margin-top: 22px; display: grid; gap: 10px; }
.plan-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,.02);
}
.plan-row.featured { border-color: var(--accent); background: rgba(0,229,176,.06); }
.plan-row .pl-left .lbl { font-weight: 700; color: var(--ink); font-size: 0.98rem; }
.plan-row .pl-left .note { font-size: 0.8rem; color: var(--muted); margin-top: 2px; }
.plan-row .pl-left .note b { color: var(--accent); font-weight: 700; }
.plan-row .pl-right { text-align: right; }
.plan-row .pl-right .big { font-weight: 800; color: var(--ink); font-size: 1.05rem; }
.plan-row .pl-right .small { font-size: 0.78rem; color: var(--muted-2); }
.price-foot {
  margin-top: 30px;
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
}
.price-foot strong { color: var(--ink-soft); font-weight: 650; }

/* =======================================================================
   FAQ
   ======================================================================= */
.faq-list {
  max-width: 800px;
  margin: 46px auto 0;
  display: grid;
  gap: 12px;
}
.faq-item {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface-2);
  overflow: hidden;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.faq-item.open { border-color: var(--accent-dim); background: var(--surface); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  padding: 21px 24px;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 650;
  letter-spacing: -.01em;
}
.faq-q .chev {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-2);
  color: var(--accent);
  transition: transform .3s var(--ease), background .25s;
}
.faq-q .chev svg { width: 15px; height: 15px; }
.faq-item.open .chev { transform: rotate(180deg); background: var(--accent-dim); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
}
.faq-a-inner { padding: 0 24px 22px; color: var(--muted); font-size: 0.97rem; }

/* =======================================================================
   FINAL CTA
   ======================================================================= */
.final {
  text-align: center;
  overflow: hidden;
}
.final-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--accent-dim);
  background:
    radial-gradient(700px 420px at 50% -20%, rgba(0,229,176,.16), transparent 64%),
    linear-gradient(180deg, rgba(0,229,176,.04), transparent),
    var(--surface);
  padding: clamp(46px, 7vw, 86px) clamp(24px, 5vw, 64px);
  box-shadow: var(--shadow-card);
}
.final-card h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
.final-card .lead { margin: 18px auto 0; }
.final-card .hero-cta,
.final-card .badges { justify-content: center; }
.final-card .badges { margin-top: 28px; }
.final-card .hero-cta { margin-top: 30px; }
.final-card .micro { margin-top: 18px; }

/* =======================================================================
   FOOTER
   ======================================================================= */
.footer {
  border-top: 1px solid var(--line);
  padding-block: 46px 38px;
  background: var(--bg-2);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}
.footer .brand { font-size: 1.2rem; }
.footer-tag { color: var(--muted); font-size: 0.92rem; margin-top: 12px; max-width: 34ch; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h5 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted-2); font-weight: 700; }
.footer-col ul { margin-top: 14px; display: grid; gap: 10px; }
.footer-col a { font-size: 0.92rem; color: var(--muted); transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--muted-2);
}
.footer-langs { display: inline-flex; align-items: center; gap: 8px; }
.footer-langs svg { width: 15px; height: 15px; color: var(--muted); }

/* =======================================================================
   SCROLL REVEAL
   ======================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* =======================================================================
   RESPONSIVE
   ======================================================================= */
@media (max-width: 1024px) {
  .more-grid { grid-template-columns: repeat(2, 1fr); }
  .tcols { columns: 2; }
}

@media (max-width: 860px) {
  .nav-links, .nav .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: 0; margin-bottom: 8px; }
  .hero-visual .phone.back { display: none; }
  .hero-visual .phone.front { transform: none; }
  .float-chip.fc-1 { left: 0; }
  .float-chip.fc-2 { right: 0; }

  .problem-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 30px; }
  .feature-row .feature-visual { order: -1 !important; }
  .feature-row .feature-copy { order: 0 !important; }

  .steps { grid-template-columns: 1fr; }
  .persona-grid { grid-template-columns: 1fr; }
  .coach-grid { grid-template-columns: 1fr; }
  .coach-visual { order: -1; }
  .price-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .more-grid { grid-template-columns: 1fr; }
  .tcols { columns: 1; }
  .proof-divider { display: none; }
  .hero-cta .btn, .final-card .btn { flex: 1 1 100%; }
  .footer-cols { gap: 32px; }
}

/* Very small phones (≤380px, e.g. iPhone SE 1st-gen): prevent the grid items
   that hold phone mockups from blowing past the viewport. Grid/flex children
   default to min-width:auto and can't shrink below their content; min-width:0
   lets them, and we cap the mockup width so nothing overflows. */
@media (max-width: 380px) {
  .coach-grid > *, .hero-grid > *, .feature-row > *, .problem-grid > * { min-width: 0; }
  .coach-visual .phone, .feature-visual .phone, .hero-visual .phone { max-width: 72vw; }
  .h-section, .coach-copy p, .feature-copy p, .lead, .problem-copy p { overflow-wrap: anywhere; }
  /* long CTA labels (e.g. "Get Your First Coach Analysis Free") must wrap,
     not force the layout wider than the screen */
  .btn { white-space: normal; max-width: 100%; flex-wrap: wrap; text-align: center; }
}

/* ===================================================================
   Language switcher (added for 6-language i18n) + studio credit
==================================================================== */
.nav-right { display: inline-flex; align-items: center; gap: 14px; }

.lang-wrap { display: inline-flex; align-items: center; gap: 6px; }
.lang-ic { width: 16px; height: 16px; color: var(--muted); flex: none; }

.lang-select {
  appearance: none;
  -webkit-appearance: none;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.2;
  padding: 7px 28px 7px 10px;
  min-height: 38px;
  box-sizing: border-box;
  cursor: pointer;
  transition: border-color .2s, color .2s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239AA7B2' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 13px;
}
.lang-select:hover { border-color: var(--accent-glow); color: var(--ink); }
.lang-select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lang-select option { background: var(--bg-2); color: var(--ink); }

.footer-studio { margin-top: 10px; font-size: 0.9rem; color: var(--muted-2); }
.footer-studio a { color: var(--accent); font-weight: 600; }
.footer-studio a:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .nav-right { gap: 8px; }
  .lang-wrap .lang-ic { display: none; }
  .lang-select { padding: 6px 26px 6px 9px; font-size: 0.86rem; }
}
