/* ============================================================
   Wobble - Marketing Website
   Warm pastel design language lifted from the mascot + apps.
   Cream backgrounds, bold phone frames, colour-tinted sections.
   ============================================================ */

/* ---------- Self-hosted fonts (variable, full weight axis) ----------
   Fredoka + Quicksand are variable fonts: one woff2 per unicode subset
   covers every weight we use, so we declare a weight range. Served from
   /assets/fonts to avoid a render-blocking Google Fonts request. */
@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/fredoka-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/fredoka-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Quicksand";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/quicksand-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Quicksand";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/quicksand-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Design tokens ---------- */
:root {
  /* Brand (app-matched) */
  --primary: #9DC49C;
  --primary-dark: #6B9E6A;
  --primary-light: #C5DCC0;
  --primary-container: #E8F5E8;
  --sage-hero: #A8C69F;
  --sage-hero-ink: #3E5A3C;

  /* Accents - full pastel rainbow */
  --accent-yellow: #F5C430;
  --accent-yellow-light: #FFF3C4;
  --accent-yellow-soft: #FFF8D9;
  --accent-peach: #E8B89A;
  --accent-peach-light: #FFE4CC;
  --accent-peach-soft: #FFF0E0;
  --accent-mint: #B8E0C8;
  --accent-mint-light: #D8F0DF;
  --accent-mint-soft: #E8F8F1;
  --accent-teal: #A5D4DC;
  --accent-teal-light: #C8E4EA;
  --accent-teal-soft: #E6F7F9;
  --accent-rose: #E8B8D4;
  --accent-rose-light: #F5D4E3;
  --accent-rose-soft: #FCE8F1;
  --accent-lavender: #C8B8E0;
  --accent-lavender-light: #DDD0EF;
  --accent-lavender-soft: #F0E8FC;

  /* Surfaces - warmer, cream-forward */
  --background: #FFF8ED;         /* warm cream (mascot-inspired) */
  --background-alt: #FCF0DA;     /* slightly deeper peachy cream */
  --surface: #FFFFFF;
  --surface-warm: #FFF8ED;
  --surface-variant: #FCEED6;
  --cream: #FFF2DC;
  --cream-deep: #F9E5BE;

  /* Dark (phones, footer) */
  --phone-frame: #2B2420;
  --phone-frame-light: #3D332D;
  --dark: #2C2826;

  /* Ink */
  --text-primary: #2C2826;
  --text-secondary: #6B5D50;
  --text-hint: #9A8570;
  --outline: #E8D9BC;
  --outline-variant: #F2E6CD;

  /* Shadows - warmer, softer */
  --shadow-sm: 0 2px 10px rgba(107, 93, 80, 0.08);
  --shadow-md: 0 8px 24px rgba(107, 93, 80, 0.1);
  --shadow-lg: 0 16px 48px rgba(107, 93, 80, 0.14);
  --shadow-pillowy: 0 22px 70px -10px rgba(67, 53, 40, 0.28);
  --shadow-phone: 0 32px 80px -16px rgba(43, 36, 32, 0.45);

  /* Radii */
  --r-chip: 6px;
  --r-card: 16px;
  --r-squish: 24px;
  --r-pillow: 32px;
  --r-pill: 999px;

  /* Type */
  --font-heading: "Fredoka", "Quicksand", system-ui, sans-serif;
  --font-body: "Quicksand", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: 20px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Type ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
h1 { font-size: clamp(2.1rem, 5vw, 4rem); font-weight: 600; line-height: 1.05; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.75rem); font-weight: 600; line-height: 1.15; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.1rem; font-weight: 700; line-height: 1.4; }

p { margin: 0 0 1rem; }
.lead { font-size: clamp(1rem, 1.5vw, 1.2rem); color: var(--text-secondary); line-height: 1.6; }
.eyebrow {
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--primary-dark);
  display: inline-block; margin-bottom: 0.75rem;
}

/* Gradient accent text */
.gradient-text {
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--accent-peach) 50%, var(--accent-yellow) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ---------- Layout helpers ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section-sm { padding: clamp(2.5rem, 5vw, 4rem) 0; }

/* Section background variants - rotate through pastels */
.bg-cream    { background: var(--cream); }
.bg-peach    { background: var(--accent-peach-soft); }
.bg-mint     { background: var(--accent-mint-soft); }
.bg-yellow   { background: var(--accent-yellow-soft); }
.bg-teal     { background: var(--accent-teal-soft); }
.bg-rose     { background: var(--accent-rose-soft); }
.bg-lavender { background: var(--accent-lavender-soft); }
.bg-warm     { background: var(--background-alt); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border: none; border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 1rem; font-weight: 700;
  transition: transform 160ms, box-shadow 160ms, background 160ms;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary-dark); color: white; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--dark); color: white; }
.btn-ghost { background: transparent; color: var(--primary-dark); }
.btn-ghost:hover { background: rgba(107, 158, 106, 0.12); box-shadow: none; transform: translateY(0); }
.btn-light { background: white; color: var(--text-primary); box-shadow: var(--shadow-sm); }
.btn-yellow { background: var(--accent-yellow); color: var(--dark); }
.btn-yellow:hover { background: #E8B620; color: var(--dark); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 237, 0.88);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--outline-variant);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem var(--gutter);
  max-width: var(--container); margin: 0 auto;
}
.nav-brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-heading); font-weight: 600;
  font-size: 1.3rem; letter-spacing: -0.02em;
}
.nav-brand img { width: 36px; height: 36px; }
.nav-links { display: flex; gap: 0.2rem; align-items: center; }
.nav-link {
  padding: 0.55rem 0.9rem; border-radius: var(--r-pill);
  font-size: 0.92rem; font-weight: 600; color: var(--text-secondary);
  transition: background 160ms, color 160ms;
}
.nav-link:hover { background: var(--accent-peach-soft); color: var(--text-primary); }
.nav-link.active { color: var(--primary-dark); background: var(--primary-container); }
.nav-menu-btn {
  display: none; border: none; background: var(--accent-peach-soft); padding: 0.5rem 0.7rem;
  font-size: 1.4rem; color: var(--text-primary); border-radius: 12px; line-height: 1;
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-menu-btn { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface); padding: 1rem var(--gutter);
    box-shadow: var(--shadow-lg); gap: 0.25rem;
    border-bottom-left-radius: var(--r-squish);
    border-bottom-right-radius: var(--r-squish);
    max-height: calc(100vh - 60px); overflow-y: auto;
  }
  .nav.open .nav-link, .nav.open .btn {
    text-align: left; width: 100%; justify-content: flex-start;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at top right, rgba(245, 196, 48, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(232, 184, 212, 0.18) 0%, transparent 45%),
    linear-gradient(180deg, var(--sage-hero) 0%, #94B68B 100%);
  border-bottom-left-radius: clamp(30px, 5vw, 60px);
  border-bottom-right-radius: clamp(30px, 5vw, 60px);
  overflow: hidden;
  color: white;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,0.1);
}
.hero::before { width: 320px; height: 320px; top: -80px; right: -60px; }
.hero::after { width: 200px; height: 200px; bottom: -60px; left: -40px; background: rgba(245, 196, 48, 0.2); }
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center;
  padding: clamp(3rem, 9vw, 7rem) 0 clamp(4rem, 9vw, 7rem);
}
.hero h1 { color: white; margin-bottom: 1rem; }
.hero .lead { color: rgba(255,255,255,0.94); font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 540px; margin-bottom: 2rem; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.22); color: white;
  padding: 0.45rem 1.1rem; border-radius: var(--r-pill);
  font-size: 0.82rem; font-weight: 700;
  margin-bottom: 1.5rem; backdrop-filter: blur(8px);
}
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-actions .btn-primary { background: white; color: var(--text-primary); }
.hero-actions .btn-primary:hover { background: var(--accent-yellow); }
.hero-actions .btn-ghost { color: white; background: rgba(255,255,255,0.15); }
.hero-actions .btn-ghost:hover { background: rgba(255,255,255,0.25); color: white; }

/* Hero visual - phone mockups cluster */
.hero-visual {
  position: relative; height: 580px;
}
.phone {
  position: absolute;
  width: 260px; height: 540px;
  border-radius: 44px;
  background: linear-gradient(145deg, var(--phone-frame-light) 0%, var(--phone-frame) 100%);
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,0.05),
    var(--shadow-phone);
  padding: 10px;
  overflow: hidden;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 36px;
  background: var(--surface);
  overflow: hidden;
  position: relative;
}
.phone-1 { top: 20px; left: -20px; transform: rotate(-6deg); z-index: 1; }
.phone-2 { top: 50px; right: -10px; transform: rotate(4deg); z-index: 2; }

/* Phone screen mock content */
.mock-header {
  background: var(--sage-hero); height: 180px;
  border-bottom-left-radius: 30px; border-bottom-right-radius: 30px;
  padding: 40px 20px 20px; color: white;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.mock-header .mock-hi { font-size: 0.7rem; opacity: 0.9; font-weight: 600; }
.mock-header .mock-name { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 600; letter-spacing: -0.02em; }
.mock-body { padding: 16px; background: var(--surface-warm); min-height: calc(100% - 180px); }
.mock-card {
  background: var(--surface);
  border-radius: 14px; padding: 12px; margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 2px 6px rgba(107, 93, 80, 0.05);
}
.mock-bubble {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.mock-card-text { flex: 1; min-width: 0; }
.mock-card-title { font-size: 0.75rem; font-weight: 800; margin-bottom: 2px; color: var(--text-primary); }
.mock-card-sub { font-size: 0.65rem; color: var(--text-secondary); }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; text-align: center; padding-top: 2rem; padding-bottom: 2rem; }
  .hero-visual { height: 420px; transform: scale(0.75); margin: -3rem auto -4rem; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
}
@media (max-width: 560px) {
  .hero-visual { display: none; }
  .hero-inner { padding-bottom: 3rem; }
}

/* ---------- Cards & features ---------- */
.card {
  background: var(--surface);
  border-radius: var(--r-squish);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 240ms, transform 240ms;
  border: 1px solid var(--outline-variant);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--primary); }

.card-tinted-peach    { background: linear-gradient(180deg, var(--accent-peach-soft) 0%, var(--surface) 100%); border-color: var(--accent-peach-light); }
.card-tinted-mint     { background: linear-gradient(180deg, var(--accent-mint-soft) 0%, var(--surface) 100%); border-color: var(--accent-mint-light); }
.card-tinted-yellow   { background: linear-gradient(180deg, var(--accent-yellow-soft) 0%, var(--surface) 100%); border-color: var(--accent-yellow-light); }
.card-tinted-teal     { background: linear-gradient(180deg, var(--accent-teal-soft) 0%, var(--surface) 100%); border-color: var(--accent-teal-light); }
.card-tinted-rose     { background: linear-gradient(180deg, var(--accent-rose-soft) 0%, var(--surface) 100%); border-color: var(--accent-rose-light); }
.card-tinted-lavender { background: linear-gradient(180deg, var(--accent-lavender-soft) 0%, var(--surface) 100%); border-color: var(--accent-lavender-light); }
.card-tinted-sage     { background: linear-gradient(180deg, var(--primary-container) 0%, var(--surface) 100%); border-color: var(--primary-light); }

.icon-bubble {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; margin-bottom: 1.1rem;
}
.bubble-primary  { background: var(--primary-container); }
.bubble-peach    { background: var(--accent-peach-light); }
.bubble-mint     { background: var(--accent-mint-light); }
.bubble-yellow   { background: var(--accent-yellow-light); }
.bubble-teal     { background: var(--accent-teal-light); }
.bubble-rose     { background: var(--accent-rose-light); }
.bubble-lavender { background: var(--accent-lavender-light); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 1rem; }
}

/* ---------- Section heads ---------- */
.section-head { text-align: center; max-width: 740px; margin: 0 auto 2.5rem; }
.section-head.left { text-align: left; margin: 0 0 2.5rem; max-width: none; }

/* ---------- Split sections ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.split.flip > :first-child { order: 2; }
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split.flip > :first-child { order: 0; }
}

/* Decorative phone frame for split sections */
.phone-frame {
  background: linear-gradient(145deg, var(--phone-frame-light) 0%, var(--phone-frame) 100%);
  border-radius: 48px; padding: 12px;
  box-shadow: var(--shadow-phone);
  max-width: 320px; margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.05);
}
.phone-frame .phone-screen {
  height: 600px;
  border-radius: 38px;
}

/* ---------- Pill list / checkmarks ---------- */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex; gap: 0.75rem; align-items: flex-start;
  padding: 0.55rem 0; font-size: 1rem;
}
.check-list li::before {
  content: "✓"; flex-shrink: 0; display: inline-flex;
  align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--primary-container); color: var(--primary-dark);
  font-weight: 800; font-size: 0.85rem;
}

/* ---------- Stats row ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.5rem); background: white; border-radius: var(--r-pillow);
  box-shadow: var(--shadow-lg);
  margin-top: -4rem; position: relative; z-index: 5;
  border: 1px solid var(--outline-variant);
}
.stat { text-align: center; padding: 0.5rem 0.25rem; }
.stat-num {
  font-family: var(--font-heading); font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 3rem); color: var(--primary-dark);
  line-height: 1;
}
.stat-label {
  font-size: clamp(0.75rem, 1.1vw, 0.9rem); color: var(--text-secondary);
  font-weight: 600; margin-top: 0.4rem;
}
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: -3rem; }
  .stat-num { font-size: 2rem; }
}

/* ---------- Callout / CTA section ---------- */
.cta {
  background:
    radial-gradient(circle at top right, rgba(245, 196, 48, 0.3) 0%, transparent 50%),
    radial-gradient(circle at bottom left, rgba(232, 184, 154, 0.35) 0%, transparent 55%),
    linear-gradient(135deg, var(--sage-hero) 0%, var(--primary-dark) 100%);
  border-radius: var(--r-pillow);
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem);
  color: white; text-align: center;
  position: relative; overflow: hidden;
}
.cta::before, .cta::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,0.08);
}
.cta::before { width: 300px; height: 300px; top: -100px; left: -100px; }
.cta::after { width: 200px; height: 200px; bottom: -80px; right: -60px; background: rgba(245,196,48,0.15); }
.cta h2 { color: white; position: relative; z-index: 1; margin-bottom: 1rem; }
.cta p { color: rgba(255,255,255,0.94); position: relative; z-index: 1; font-size: clamp(1rem, 1.5vw, 1.15rem); margin-bottom: 1.75rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta .btn-primary { background: white; color: var(--text-primary); position: relative; z-index: 1; }
.cta .btn-primary:hover { background: var(--accent-yellow); }

/* ---------- Feature list with big title ---------- */
.feature-group { margin-bottom: 4rem; }
.feature-group:last-child { margin-bottom: 0; }
.feature-group-head {
  display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 2rem;
}
.feature-group-head .icon-bubble { margin-bottom: 0; width: 52px; height: 52px; border-radius: 14px; font-size: 1.5rem; flex-shrink: 0; }
@media (max-width: 640px) {
  .feature-group-head h2 { font-size: 1.5rem; }
}

/* ---------- Tutorial / video cards ---------- */
.video-card {
  background: var(--surface); border-radius: var(--r-squish);
  overflow: hidden; transition: transform 240ms, box-shadow 240ms;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--outline-variant);
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.video-thumb {
  aspect-ratio: 16 / 9; background: var(--surface-variant);
  position: relative; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.video-thumb-peach    { background: linear-gradient(135deg, var(--accent-peach-soft) 0%, var(--accent-peach) 100%); }
.video-thumb-mint     { background: linear-gradient(135deg, var(--accent-mint-soft) 0%, var(--accent-mint) 100%); }
.video-thumb-yellow   { background: linear-gradient(135deg, var(--accent-yellow-soft) 0%, var(--accent-yellow) 100%); }
.video-thumb-teal     { background: linear-gradient(135deg, var(--accent-teal-soft) 0%, var(--accent-teal) 100%); }
.video-thumb-sage     { background: linear-gradient(135deg, var(--primary-container) 0%, var(--primary) 100%); }
.video-thumb-rose     { background: linear-gradient(135deg, var(--accent-rose-soft) 0%, var(--accent-rose) 100%); }
.video-thumb-lavender { background: linear-gradient(135deg, var(--accent-lavender-soft) 0%, var(--accent-lavender) 100%); }
.play-btn {
  width: 68px; height: 68px; border-radius: 50%; background: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  font-size: 1.5rem; color: var(--primary-dark);
}
.video-meta { padding: 1.25rem 1.5rem 1.5rem; }
.video-dur {
  display: inline-block; background: var(--cream-deep);
  padding: 0.2rem 0.7rem; border-radius: var(--r-pill);
  font-size: 0.75rem; font-weight: 700; color: var(--dark);
  margin-bottom: 0.5rem;
}

/* ---------- Roadmap timeline ---------- */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(180deg, var(--primary-dark), var(--accent-peach) 30%, var(--accent-yellow) 60%, var(--outline) 85%);
}
.timeline-item { position: relative; padding-bottom: 2.5rem; }
.timeline-item::before {
  content: ""; position: absolute; left: -2rem; top: 6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: white; border: 3px solid var(--primary-dark);
  box-shadow: 0 0 0 4px var(--primary-container);
}
.timeline-item.soon::before { border-color: var(--accent-yellow); box-shadow: 0 0 0 4px var(--accent-yellow-light); }
.timeline-item.coming::before { border-color: var(--outline); box-shadow: 0 0 0 4px var(--surface-variant); background: white; }
.timeline-date { font-size: 0.8rem; font-weight: 800; color: var(--primary-dark); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.35rem; }
.timeline-item.soon .timeline-date { color: #B38F12; }
.timeline-item.coming .timeline-date { color: var(--text-hint); }

/* ---------- Testimonials ---------- */
.quote {
  background: linear-gradient(180deg, var(--cream) 0%, var(--surface) 100%);
  border-radius: var(--r-squish);
  padding: 1.75rem;
  border-left: 4px solid var(--primary);
  font-size: 1.05rem; line-height: 1.6; color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}
.quote:nth-child(2) {
  background: linear-gradient(180deg, var(--accent-peach-soft) 0%, var(--surface) 100%);
  border-left-color: var(--accent-peach);
}
.quote:nth-child(3) {
  background: linear-gradient(180deg, var(--accent-yellow-soft) 0%, var(--surface) 100%);
  border-left-color: var(--accent-yellow);
}
.quote cite {
  display: block; font-style: normal; font-weight: 700;
  margin-top: 1rem; color: var(--text-secondary); font-size: 0.9rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark); color: rgba(255,255,255,0.78);
  padding: 4rem 0 2rem; margin-top: 0;
  border-top-left-radius: clamp(30px, 5vw, 60px);
  border-top-right-radius: clamp(30px, 5vw, 60px);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand img { width: 40px; height: 40px; margin-bottom: 1rem; }
.footer-brand h3 { color: white; margin-bottom: 0.75rem; font-size: 1.4rem; }
.footer-brand p { font-size: 0.95rem; max-width: 340px; }
.footer h4 { color: white; font-family: var(--font-body); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; font-weight: 800; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 0.5rem; }
.footer a { color: rgba(255,255,255,0.72); font-size: 0.95rem; transition: color 160ms; }
.footer a:hover { color: var(--accent-yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem; color: rgba(255,255,255,0.5); gap: 1rem;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.75rem; }
}

/* ---------- Badges / chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.8rem; border-radius: var(--r-pill);
  font-size: 0.8rem; font-weight: 700;
}
.badge-success { background: var(--primary-container); color: var(--primary-dark); }
.badge-warn { background: var(--accent-yellow-light); color: #8F7012; }
.badge-info { background: var(--accent-teal-light); color: #2F7A82; }
.badge-new { background: var(--accent-peach-light); color: #A96628; }

/* ---------- Integration preview ---------- */
.browser-mock {
  background: var(--surface); border-radius: var(--r-squish);
  box-shadow: var(--shadow-pillowy);
  overflow: hidden; transform: rotate(-1deg);
  transition: transform 400ms;
  border: 1px solid var(--outline-variant);
}
.browser-mock:hover { transform: rotate(0deg); }
.browser-bar {
  background: var(--cream-deep);
  padding: 0.75rem 1rem;
  display: flex; align-items: center; gap: 0.6rem;
  border-bottom: 1px solid var(--outline);
}
.browser-dot { width: 12px; height: 12px; border-radius: 50%; }
.browser-dot:nth-child(1) { background: #FF6058; }
.browser-dot:nth-child(2) { background: #FFBE2E; }
.browser-dot:nth-child(3) { background: #28C840; }
.browser-url {
  margin-left: 0.75rem; flex: 1;
  background: white; padding: 0.4rem 0.9rem; border-radius: var(--r-pill);
  font-size: 0.8rem; color: var(--text-secondary); font-family: monospace;
}
.browser-viewport { padding: 0; min-height: 380px; background: var(--cream); }
@media (max-width: 640px) {
  .browser-mock { transform: rotate(0deg); }
}

/* ---------- Pricing ---------- */
.price-card {
  background: var(--surface); border-radius: var(--r-squish);
  padding: 2.25rem 1.75rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform 240ms, box-shadow 240ms;
  border: 1px solid var(--outline-variant);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.featured {
  background: linear-gradient(180deg, var(--primary-container) 0%, var(--surface) 60%);
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-md); transform: translateY(-8px);
}
@media (max-width: 720px) {
  .price-card.featured { transform: none; }
}
.price-tier { font-family: var(--font-heading); font-weight: 600; font-size: 1.5rem; margin-bottom: 0.5rem; }
.price-sub { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 1.5rem; }
.price-amount { display: flex; align-items: baseline; gap: 0.3rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.price-amount .price-big { font-family: var(--font-heading); font-weight: 600; font-size: 2.4rem; color: var(--text-primary); }
.price-amount .price-unit { color: var(--text-secondary); font-size: 0.9rem; }
.price-card .check-list { flex: 1; margin-bottom: 1.5rem; }
.price-card .btn { width: 100%; justify-content: center; }

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--surface); border-radius: var(--r-card);
  padding: 1.1rem 1.4rem; margin-bottom: 0.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--outline-variant);
  transition: border-color 200ms;
}
.faq-item[open] { border-color: var(--primary); }
.faq-item summary {
  font-weight: 700; font-size: 1rem; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between;
  align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--font-heading); font-size: 1.5rem;
  color: var(--primary-dark); transition: transform 200ms;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 0.75rem; color: var(--text-secondary); font-size: 0.95rem; }

/* ---------- Tiny utilities ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.flex { display: flex; } .gap-1 { gap: 0.75rem; } .gap-2 { gap: 1.5rem; }
.hidden-mobile { } @media (max-width: 720px) { .hidden-mobile { display: none; } }

/* ---------- Tiny polish ---------- */
::selection { background: var(--accent-yellow); color: var(--dark); }
