/* ===== SmartStories marketing site =====
   Colors and radii pulled directly from lib/utils/theme.dart and
   public/download.html — do not invent new brand values here. */

:root {
  --primary: #FF5722;
  --secondary: #FFC107;
  --ydt-start: #42A5F5;
  --ydt-end: #1976D2;
  --surface: #f9f6f1;
  --card-bg: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --text-muted: #999999;
  --border-light: #f0f0f0;
  --beginner: #64B5F6;
  --intermediate: #81C784;
  --expert: #E57373;
  --card-radius: 16px;
  --btn-radius: 12px;
  --shadow-soft: 0 8px 40px rgba(0, 0, 0, 0.08);
  --shadow-btn: 0 6px 20px rgba(0, 0, 0, 0.15);

  /* ---- motion / craftsmanship tokens (additive, no brand values) ---- */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 0.25s;
  --dur-base: 0.6s;
  --dur-slow: 1s;
  --nav-h: 68px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--surface);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.container-narrow { max-width: 760px; }

/* ---------- FILM GRAIN / NOISE TEXTURE ---------- */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- PRELOADER ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  transition: opacity var(--dur-base) var(--ease-out-expo), visibility var(--dur-base) var(--ease-out-expo);
}

.preloader-mark {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: preloader-pulse 1.1s var(--ease-spring) infinite;
}

.preloader--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes preloader-pulse {
  0%, 100% { transform: scale(0.92); opacity: 0.85; }
  50% { transform: scale(1.04); opacity: 1; }
}

/* ---------- SCROLL REVEAL (progressive enhancement) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
}

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    transition: opacity var(--dur-base) var(--ease-out-expo), transform var(--dur-base) var(--ease-out-expo);
    transition-delay: var(--reveal-delay, 0s);
  }
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.track-grid .reveal:nth-child(2) { --reveal-delay: 0.1s; }
.who-grid .reveal:nth-child(2) { --reveal-delay: 0.1s; }
.why-grid .reveal:nth-child(2) { --reveal-delay: 0.08s; }
.why-grid .reveal:nth-child(3) { --reveal-delay: 0.16s; }
.demo-grid .reveal:nth-child(2) { --reveal-delay: 0.12s; }
.pricing-grid .reveal:nth-child(2) { --reveal-delay: 0.12s; }
.steps .reveal:nth-child(2) { --reveal-delay: 0.06s; }
.steps .reveal:nth-child(3) { --reveal-delay: 0.12s; }
.steps .reveal:nth-child(4) { --reveal-delay: 0.18s; }
.steps .reveal:nth-child(5) { --reveal-delay: 0.24s; }
.faq-list .reveal:nth-child(2) { --reveal-delay: 0.05s; }
.faq-list .reveal:nth-child(3) { --reveal-delay: 0.1s; }
.faq-list .reveal:nth-child(4) { --reveal-delay: 0.15s; }

/* ---------- CUSTOM CURSOR (fine pointers only) ---------- */
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
  pointer-events: none;
  z-index: 70;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(0.6);
  transition: opacity var(--dur-fast) ease, transform var(--dur-fast) var(--ease-out-expo), border-color var(--dur-fast) ease;
}

.cursor-ring.is-active { opacity: 0.9; }
.cursor-ring.is-pressed { transform: translate3d(-50%, -50%, 0) scale(0.4); }

@media (hover: none), (pointer: coarse) {
  .cursor-ring { display: none; }
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 246, 241, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border-light);
  transition: transform var(--dur-base) var(--ease-out-expo), box-shadow var(--dur-fast) ease, background var(--dur-fast) ease;
}

.nav.nav-scrolled {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.nav.nav-hidden {
  transform: translateY(-100%);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform var(--dur-fast) var(--ease-spring);
}

.brand:hover { transform: translateY(-1px); }

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.brand-name {
  font-weight: 800;
  font-size: 18px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.brand-name .accent { color: var(--primary); }

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.nav-links a {
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width var(--dur-fast) var(--ease-out-expo);
}

.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  display: flex;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.lang-opt {
  padding: 6px 12px;
  color: var(--text-muted);
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease;
}

.lang-opt.active {
  background: var(--primary);
  color: #fff;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--btn-radius);
  font-weight: 700;
  padding: 12px 22px;
  transition: transform var(--dur-fast) var(--ease-spring), box-shadow var(--dur-fast) ease;
  will-change: transform;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn);
}

.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 96px 0 108px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  z-index: -1;
  pointer-events: none;
}

.hero::before {
  width: 420px;
  height: 420px;
  background: #fff;
  top: -180px;
  right: -120px;
}

.hero::after {
  width: 320px;
  height: 320px;
  background: #111;
  opacity: 0.12;
  bottom: -160px;
  left: -100px;
}

@media (prefers-reduced-motion: no-preference) {
  .hero::before { animation: drift-a 16s ease-in-out infinite; }
  .hero::after { animation: drift-b 20s ease-in-out infinite; }
}

@keyframes drift-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 30px) scale(1.08); }
}

@keyframes drift-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, -20px) scale(1.05); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.badge-free {
  display: inline-block;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 20px;
}

.js .badge-free {
  opacity: 0;
  transform: translateY(10px);
  animation: hero-in var(--dur-base) var(--ease-out-expo) forwards;
  animation-delay: 0.05s;
}

.hero-title {
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.hero-title .word {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.hero-title .word > span {
  display: inline-block;
}

.js .hero-title .word > span {
  transform: translateY(110%);
  animation: word-in var(--dur-base) var(--ease-out-expo) forwards;
  animation-delay: calc(var(--word-i, 0) * 0.045s + 0.1s);
}

@keyframes word-in {
  to { transform: translateY(0); }
}

.hero-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 480px;
  margin-bottom: 32px;
}

.js .hero-subtitle {
  opacity: 0;
  transform: translateY(14px);
  animation: hero-in var(--dur-base) var(--ease-out-expo) forwards;
  animation-delay: 0.32s;
}

.js .store-buttons {
  opacity: 0;
  transform: translateY(14px);
  animation: hero-in var(--dur-base) var(--ease-out-expo) forwards;
  animation-delay: 0.42s;
}

@keyframes hero-in {
  to { opacity: 1; transform: translateY(0); }
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.web-try-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: underline;
  text-decoration-color: var(--border-light, #e0e0e0);
  text-underline-offset: 3px;
}

.web-try-link:hover {
  color: var(--primary);
}

.store-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #111;
  color: #fff;
  border-radius: 14px;
  padding: 12px 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  transition: transform var(--dur-fast) var(--ease-spring), box-shadow var(--dur-fast) ease;
  will-change: transform;
}

.store-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.18) 40%, transparent 60%);
  transform: translateX(-120%);
}

@media (prefers-reduced-motion: no-preference) {
  .store-btn:hover::before {
    transform: translateX(120%);
    transition: transform 0.7s var(--ease-out-expo);
  }
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.store-btn-text { text-align: left; line-height: 1.2; }
.store-btn-text small { font-size: 10px; color: #bbb; display: block; }
.store-btn-text strong { font-size: 15px; }

.hero-art {
  display: flex;
  justify-content: center;
}

.js .hero-art {
  opacity: 0;
  animation: hero-in var(--dur-slow) var(--ease-out-expo) forwards;
  animation-delay: 0.2s;
}

.hero-icon-frame {
  width: 220px;
  height: 220px;
  border-radius: 48px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-icon-frame {
    animation: float-y 5s var(--ease-spring) infinite;
  }
}

@keyframes float-y {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(1.2deg); }
}

.hero-icon-frame img {
  border-radius: 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ---------- SECTIONS ---------- */
.section { padding: 96px 0; position: relative; }
.section-alt { background: #fff; }

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 44px;
}

/* ---------- TRACK CARDS ---------- */
.track-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.track-card {
  border-radius: var(--card-radius);
  padding: 32px;
  color: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform var(--dur-fast) var(--ease-spring), box-shadow var(--dur-fast) ease;
  will-change: transform;
}

.track-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
}

.track-ss { background: linear-gradient(135deg, var(--primary), var(--secondary)); }

/* Combined word-count stat under the two track cards */
.combined-stat {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 10px 14px;
  text-align: center;
  margin-top: 32px;
}

.combined-stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.combined-stat-label {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ---------- WHO IT'S FOR ---------- */
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.who-col {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--card-radius);
  padding: 28px;
}

.who-col h3 { font-size: 17px; margin-bottom: 16px; }

.who-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.who-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--text-secondary);
}

.who-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ---------- WHY SMART STORIES ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-item {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.why-icon { font-size: 28px; display: block; margin-bottom: 14px; }
.why-item h4 { font-size: 16px; margin-bottom: 6px; }
.why-item p { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }

/* ---------- SOCIAL PROOF (placeholder) ---------- */
.proof-block { text-align: center; }
.proof-block .section-title,
.proof-block .section-subtitle { margin-left: auto; margin-right: auto; }
.proof-block .section-subtitle { margin-bottom: 0; }

/* ---------- FINAL CTA ---------- */
.final-cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 88px 0;
  text-align: center;
  color: #fff;
}

.final-cta .section-title { color: #fff; margin-left: auto; margin-right: auto; }

.final-cta .section-subtitle {
  color: rgba(255, 255, 255, 0.92);
  margin: 0 auto 32px;
  text-align: center;
}

.final-cta .store-buttons { justify-content: center; margin-bottom: 18px; }

.final-cta .web-try-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration-color: rgba(255, 255, 255, 0.4);
}

.final-cta .web-try-link:hover { color: #fff; }
.track-ydt { background: linear-gradient(135deg, var(--ydt-start), var(--ydt-end)); }

.track-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.track-card h3 { font-size: 22px; margin-bottom: 10px; }
.track-card p { font-size: 15px; color: rgba(255, 255, 255, 0.92); margin-bottom: 20px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }

.tag {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
}

/* ---------- HOW IT WORKS ---------- */
.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 640px;
}

.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--card-bg);
  border-radius: var(--card-radius);
  padding: 20px 22px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: transform var(--dur-fast) var(--ease-spring), box-shadow var(--dur-fast) ease, border-color var(--dur-fast) ease;
  border: 1px solid transparent;
}

.step:hover {
  transform: translateX(4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  border-color: var(--border-light);
}

.step-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: transform var(--dur-fast) var(--ease-spring);
}

.step:hover .step-num { transform: scale(1.1) rotate(-6deg); }

.step h4 { font-size: 16px; margin-bottom: 4px; }
.step p { font-size: 15px; line-height: 1.5; color: var(--text-secondary); }

/* ---------- DEMO / REAL SCREENSHOTS ---------- */
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  justify-items: center;
}

.demo-card { text-align: center; perspective: 900px; }

.device-shot {
  --tilt: -10deg;
  width: 150px;
  margin: 0 auto 18px;
  transform: rotateY(var(--tilt)) rotateX(3deg);
  transform-style: preserve-3d;
  transition: transform var(--dur-base) var(--ease-spring);
}

.demo-ydt .device-shot { --tilt: 10deg; }

/* The physical phone casing: real bezel thickness + notch cutout, since
   the screenshot alone is too thin at this display size to read as a device. */
.device-bezel {
  background: linear-gradient(160deg, #2a2a2e, #0a0a0c);
  padding: 10px 6px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.24),
    0 4px 10px rgba(0, 0, 0, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: box-shadow var(--dur-base) ease;
}

.device-bezel img {
  width: 100%;
  display: block;
  border-radius: 21px;
}

@media (prefers-reduced-motion: no-preference) {
  .device-shot { animation: device-float 6s var(--ease-spring) infinite; }
  .demo-ydt .device-shot { animation-delay: 0.6s; }
}

@keyframes device-float {
  0%, 100% { transform: rotateY(var(--tilt)) rotateX(3deg) translateY(0); }
  50% { transform: rotateY(var(--tilt)) rotateX(3deg) translateY(-12px); }
}

.device-shot:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-10px) scale(1.06);
  animation-play-state: paused;
}

.device-shot:hover .device-bezel {
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.3),
    0 6px 14px rgba(0, 0, 0, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.demo-label { font-size: 14px; font-weight: 600; color: var(--text-secondary); }

.demo-video-wrap { display: flex; flex-direction: column; align-items: center; margin-bottom: 56px; }

#demo .device-shot-video {
  --tilt: 0deg;
  width: 230px;
  transform: rotateX(0deg);
  animation: none;
}

#demo .device-shot-video:hover { transform: translateY(-6px) scale(1.03); }

.device-shot-video .device-bezel video {
  width: 100%;
  aspect-ratio: 9 / 16;
  display: block;
  border-radius: 21px;
  background: #000;
  object-fit: cover;
}

@media (max-width: 640px) {
  #demo .device-shot-video { width: 180px; }
}

/* Overrides the generic .device-shot width at narrow widths (below), which
   would otherwise win on source order alone since both select this element. */
@media (max-width: 480px) {
  #demo .device-shot-video { width: 160px; }
}

/* ---------- PRICING ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.price-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--card-radius);
  padding: 32px;
  position: relative;
  transition: transform var(--dur-fast) var(--ease-spring), box-shadow var(--dur-fast) ease;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.price-card-premium {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-soft);
}

.best-value-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
}

.price-card h3 { font-size: 18px; margin-bottom: 14px; }

.price-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.price-amount { font-size: 30px; font-weight: 800; }
.price-period { font-size: 13px; color: var(--text-secondary); }

.price-savings {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 18px;
}

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.feature-list li { font-size: 15px; line-height: 1.5; color: var(--text-secondary); }
.feature-list li span { color: var(--text-primary); }

.pricing-highlight {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  max-width: 720px;
  margin: 28px auto 0;
  padding: 16px 24px;
  background: rgba(255, 87, 34, 0.06);
  border: 1px solid rgba(255, 87, 34, 0.16);
  border-radius: var(--card-radius);
  text-align: center;
}

.pricing-highlight-badge { font-size: 14px; font-weight: 700; color: var(--text-primary); }
.pricing-highlight p { font-size: 14px; color: var(--text-secondary); }

.pricing-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 24px;
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}

.faq-item:hover {
  border-color: rgba(255, 87, 34, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-primary);
  font-family: inherit;
}

.faq-icon {
  font-size: 20px;
  color: var(--primary);
  transition: transform var(--dur-fast) var(--ease-spring);
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-fast) ease;
}

.faq-answer p {
  padding: 0 22px 18px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* ---------- FOOTER ---------- */
.footer {
  background: #111;
  color: #ccc;
  padding: 56px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.6fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin-top: 12px; font-size: 14px; color: #999; max-width: 300px; }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

.footer-links a { position: relative; width: fit-content; }
.footer-links a:hover { color: #fff; }

.footer-stores {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: flex-end;
}

.footer-stores a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast) ease, transform var(--dur-fast) var(--ease-spring);
}

.footer-stores a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  font-size: 12px;
  color: #777;
  padding: 20px 0;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }

  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .store-buttons { justify-content: center; }
  .hero-art { order: -1; }
  .hero-icon-frame { width: 160px; height: 160px; border-radius: 36px; }

  .track-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }

  .final-cta .store-buttons { flex-direction: column; align-items: center; }

  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-links { align-items: center; }
  .footer-links a { margin: 0 auto; }
  .footer-stores { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 30px; }
  .section-title { font-size: 24px; }
  .device-shot { width: 130px; }
}

/* Never trap content invisible if motion is off or JS fails */
@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .js .badge-free,
  .js .hero-title .word > span,
  .js .hero-subtitle,
  .js .store-buttons,
  .js .hero-art {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
