/* ============================================================
   Quizly — Design System
   Colors, typography & components ported from the original brand
   ============================================================ */

:root {
  /* Brand colors (HSL from original design system) */
  --yellow: hsl(45 100% 55%);
  --yellow-soft: hsl(45 100% 62%);
  --orange: hsl(25 100% 55%);
  --pink: hsl(340 85% 60%);
  --purple: hsl(280 70% 55%);
  --blue: hsl(200 80% 55%);
  --green: hsl(150 70% 45%);

  --bg: hsl(270 50% 98%);
  --bg-2: hsl(280 40% 95%);
  --ink: hsl(270 80% 10%);
  --ink-2: hsl(270 20% 40%);
  --card: hsl(0 0% 100%);
  --border: hsl(270 30% 88%);

  /* Gradients */
  --grad-hero: linear-gradient(135deg, hsl(45 100% 55%) 0%, hsl(25 100% 55%) 50%, hsl(340 85% 60%) 100%);
  --grad-cta: linear-gradient(135deg, hsl(45 100% 55%) 0%, hsl(25 100% 60%) 100%);
  --grad-purple: linear-gradient(135deg, hsl(280 70% 55%) 0%, hsl(300 60% 50%) 100%);
  --grad-section: linear-gradient(180deg, hsl(270 50% 98%) 0%, hsl(280 40% 95%) 100%);
  --grad-emotion: linear-gradient(120deg, hsl(280 70% 55%) 0%, hsl(340 85% 60%) 100%);

  --shadow-sm: 0 4px 14px hsl(270 60% 30% / .08);
  --shadow: 0 14px 40px hsl(270 60% 30% / .12);
  --shadow-lg: 0 30px 70px hsl(270 60% 25% / .18);
  --glow: 0 0 50px hsl(45 100% 55% / .5);

  --r-sm: 14px;
  --r: 22px;
  --r-lg: 32px;
  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Nunito', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
  font-weight: 600;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }

/* Typographic helpers */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
  padding: 9px 18px; border-radius: 999px;
}
h1, h2, h3 { font-weight: 900; line-height: 1.05; letter-spacing: -0.02em; }
.h2 { font-size: clamp(30px, 4.6vw, 54px); text-align: center; }
.lead { font-size: clamp(17px, 1.7vw, 21px); color: var(--ink-2); font-weight: 600; }

.text-grad {
  background: var(--grad-hero);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hl {
  display: inline-block; background: var(--purple); color: #fff;
  padding: 2px 16px; border-radius: 16px; transform: rotate(-1.5deg);
}
.hl-y { background: var(--yellow); color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 800; font-size: 18px; padding: 18px 34px; border-radius: 999px;
  transition: transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .22s, filter .22s;
  white-space: nowrap; line-height: 1;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--grad-cta); color: var(--ink); box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-3px) scale(1.03); box-shadow: var(--glow); }
.btn-purple { background: var(--purple); color: #fff; box-shadow: 0 14px 30px hsl(280 70% 45% / .4); }
.btn-purple:hover { transform: translateY(-3px) scale(1.03); filter: brightness(1.06); }
.btn-ghost { background: hsl(0 0% 100% / .14); color: #fff; border: 2px solid hsl(0 0% 100% / .45); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: hsl(0 0% 100% / .24); transform: translateY(-3px); }
.btn-white { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn-white:hover { transform: translateY(-3px) scale(1.03); box-shadow: var(--shadow-lg); }
.btn-lg { font-size: 20px; padding: 22px 42px; }

/* Cards */
.card {
  background: var(--card); border-radius: var(--r-lg); padding: 28px;
  box-shadow: var(--shadow-sm); border: 2px solid transparent;
  transition: transform .3s cubic-bezier(.34,1.4,.64,1), box-shadow .3s, border-color .3s;
}
.card-hover:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--yellow); }

/* Pulse glow used on hero CTA */
@keyframes pulseGlow {
  0%,100% { box-shadow: 0 0 22px hsl(45 100% 55% / .45), var(--shadow); }
  50% { box-shadow: 0 0 50px hsl(45 100% 55% / .8), var(--shadow); }
}
.pulse { animation: pulseGlow 2.4s ease-in-out infinite; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
.float { animation: float 4s ease-in-out infinite; }

@keyframes floatSlow { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-24px) rotate(6deg); } }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes wiggle { 0%,100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float, .pulse { animation: none; }
}

/* ============================ HEADER ============================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.header.scrolled { background: hsl(0 0% 100% / .9); backdrop-filter: blur(14px); box-shadow: 0 6px 24px hsl(270 60% 30% / .1); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 26px; }
.brand img { height: 42px; width: auto; }
.brand .brand-name { color: #fff; transition: color .3s; }
.header.scrolled .brand .brand-name { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 14px; border-radius: 12px; font-weight: 800; font-size: 15px;
  color: hsl(0 0% 100% / .92); transition: background .2s, color .3s;
}
.nav a:hover { background: hsl(0 0% 100% / .15); }
.header.scrolled .nav a { color: var(--ink); }
.header.scrolled .nav a:hover { background: var(--bg-2); }
.header .nav-cta { margin-left: 8px; padding: 11px 22px; font-size: 15px; }
.burger { display: none; padding: 8px; border-radius: 10px; color: #fff; }
.header.scrolled .burger { color: var(--ink); }
.burger svg { width: 28px; height: 28px; }

.mobile-menu {
  display: none; position: fixed; inset: 76px 0 auto 0; z-index: 99;
  background: var(--card); box-shadow: var(--shadow); padding: 14px;
  flex-direction: column; gap: 4px; max-height: 0; overflow: hidden;
  transition: max-height .35s ease;
}
.mobile-menu.open { display: flex; max-height: 560px; }
.mobile-menu a { padding: 14px 16px; border-radius: 14px; font-weight: 800; color: var(--ink); }
.mobile-menu a:hover { background: var(--bg-2); }

/* ============================ HERO ============================ */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background: var(--grad-hero); background-size: 180% 180%;
  animation: heroShift 16s ease infinite; overflow: hidden; padding-top: 90px;
}
@keyframes heroShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(8px); opacity: .35; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 24px; position: relative; z-index: 3; width: 100%; }
.hero h1 { font-size: clamp(36px, 5.4vw, 68px); color: #fff; margin-bottom: 22px; text-shadow: 0 4px 24px hsl(25 100% 30% / .25); }
.hero .sub { font-size: clamp(19px, 2vw, 26px); color: #fff; font-weight: 800; margin-bottom: 18px; max-width: 30ch; }
.hero .checks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 32px; }
.hero .checks span { display: inline-flex; align-items: center; gap: 7px; color: hsl(0 0% 100% / .92); font-weight: 700; font-size: 17px; white-space: nowrap; }
.hero .checks i { color: var(--yellow); font-style: normal; font-size: 19px; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; }
.hero .fineprint { color: hsl(0 0% 100% / .82); font-weight: 700; font-size: 15px; }
.hero-fox {
  position: absolute; z-index: 2; right: max(3%, calc(50% - 600px));
  bottom: -48px; width: min(46vw, 520px); display: flex; justify-content: center;
}
.hero-cutout {
  position: relative; z-index: 2; width: 100%;
  filter: drop-shadow(0 26px 34px hsl(25 100% 22% / .38));
}
.hero-sticker {
  position: absolute; z-index: 3; bottom: 2%; left: 50%; transform: translateX(-50%) rotate(-2deg);
  background: var(--yellow); color: var(--ink); font-weight: 900; font-size: 17px;
  padding: 11px 22px; border-radius: 999px; white-space: nowrap;
  box-shadow: var(--shadow); border: 2px solid #fff;
}
.hero-ring {
  position: absolute; inset: 6% 8%; border-radius: 50%;
  background: radial-gradient(circle, hsl(0 0% 100% / .28), transparent 62%);
}
.floaty { position: absolute; z-index: 2; font-size: 40px; pointer-events: none; animation: floatSlow 6s ease-in-out infinite; filter: drop-shadow(0 6px 10px hsl(25 100% 25% / .25)); }

.wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; z-index: 4; }
.wave svg { width: 100%; height: clamp(38px, 4.5vw, 60px); display: block; }

/* trust marquee under hero */
.ticker { background: var(--ink); color: #fff; overflow: hidden; padding: 14px 0; }
.ticker-track { display: flex; gap: 48px; white-space: nowrap; width: max-content; animation: scrollX 28s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { font-weight: 800; font-size: 17px; display: inline-flex; align-items: center; gap: 12px; opacity: .92; }
.ticker .dot { color: var(--yellow); }
@keyframes scrollX { to { transform: translateX(-50%); } }

/* ============================ generic section bg variants ============================ */
.bg-section { background: var(--grad-section); }
.bg-card { background: var(--card); }
.bg-soft-pink { background: hsl(340 85% 60% / .05); }

/* ForWho */
.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 44px 0; }
.aud-card { text-align: center; }
.aud-ico { width: 64px; height: 64px; border-radius: 20px; background: var(--grad-cta); display: grid; place-items: center; margin: 0 auto 16px; color: var(--ink); }
.aud-ico svg { width: 32px; height: 32px; }
.aud-card p { font-size: 18px; font-weight: 800; }
.usecase-box { background: hsl(280 70% 55% / .08); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 52px); }
.usecase-box h3 { text-align: center; font-size: clamp(22px, 3vw, 32px); margin-bottom: 26px; }
.usecase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.usecase { display: flex; align-items: center; gap: 16px; background: var(--card); border-radius: var(--r); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.usecase .em { font-size: 30px; flex-shrink: 0; }
.usecase p { font-weight: 700; }

/* Pains */
.pain-list { max-width: 760px; margin: 0 auto 40px; display: flex; flex-direction: column; gap: 16px; }
.pain { display: flex; align-items: center; gap: 18px; background: var(--card); border-radius: var(--r); padding: 20px 24px; box-shadow: var(--shadow-sm); border-left: 6px solid var(--pink); transition: transform .25s; }
.pain:hover { transform: translateX(6px); }
.pain .em { font-size: 30px; flex-shrink: 0; }
.pain p { font-size: clamp(16px,1.6vw,20px); font-weight: 700; }
.pain-cta { text-align: center; }
.pain-banner { display: inline-block; background: var(--grad-purple); color: #fff; padding: 18px 30px; border-radius: var(--r); font-size: clamp(18px,2vw,24px); font-weight: 900; box-shadow: var(--shadow); transition: transform .25s; }
.pain-banner:hover { transform: scale(1.04); }
.pain-banner .y { color: var(--yellow); }

/* Solution */
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }
.feat { display: flex; align-items: center; gap: 18px; }
.feat-ico { width: 54px; height: 54px; border-radius: 16px; background: hsl(280 70% 55% / .16); color: var(--purple); display: grid; place-items: center; flex-shrink: 0; }
.feat-ico svg { width: 26px; height: 26px; }
.feat p { font-weight: 800; font-size: 18px; }
.solution-hl { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sol-pill { display: flex; gap: 16px; align-items: flex-start; border-radius: var(--r-lg); padding: 28px; }
.sol-pill.a { background: hsl(45 100% 55% / .14); }
.sol-pill.b { background: hsl(340 85% 60% / .12); }
.sol-pill svg { width: 32px; height: 32px; color: var(--green); flex-shrink: 0; }
.sol-pill p { font-size: 20px; font-weight: 900; }

/* How it works timeline */
.timeline { position: relative; max-width: 880px; margin: 0 auto; }
.timeline .spine { position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; transform: translateX(-50%); background: linear-gradient(var(--yellow), var(--orange), var(--pink)); border-radius: 4px; }
.step { display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center; gap: 18px; margin-bottom: 26px; }
.step .bubble { background: var(--card); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow); border: 2px solid var(--bg-2); transition: border-color .3s, transform .3s; }
.step .bubble:hover { border-color: var(--yellow); transform: translateY(-4px); }
.step .bubble .em { font-size: 34px; display: block; margin-bottom: 8px; }
.step .bubble p { font-weight: 800; font-size: 17px; }
.step .num { width: 60px; height: 60px; border-radius: 50%; background: var(--grad-cta); color: var(--ink); display: grid; place-items: center; font-size: 24px; font-weight: 900; box-shadow: var(--shadow); z-index: 2; justify-self: center; }
.step.left .bubble { text-align: right; }
.step.left .spacer, .step.right .spacer { display: block; }
.step.right .bubble { grid-column: 3; text-align: left; }
.tl-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 40px; }
.tl-badge { display: inline-flex; align-items: center; gap: 12px; padding: 14px 26px; border-radius: 999px; font-weight: 900; font-size: 18px; }
.tl-badge.p { background: hsl(280 70% 55% / .12); color: var(--purple); }
.tl-badge.b { background: hsl(200 80% 55% / .14); color: hsl(200 80% 40%); }
.tl-badge svg { width: 24px; height: 24px; }

/* Team */
.team-row { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px, 4vw, 48px); }
.member { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.member .ph { width: clamp(120px, 14vw, 168px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: var(--shadow); border: 4px solid #fff; transition: transform .3s; }
.member:hover .ph { transform: translateY(-8px) scale(1.04) rotate(-2deg); }
.member .ph img { width: 100%; height: 100%; object-fit: cover; }
.member b { font-size: 20px; font-weight: 900; }

/* Themes */
.themes { background: var(--grad-cta); }
.themes h2, .themes .note { color: var(--ink); }
.themes-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.theme { background: var(--card); border-radius: var(--r); padding: 18px 12px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.theme:hover { transform: translateY(-6px) scale(1.03); box-shadow: var(--shadow); }
.theme .ico { font-size: 32px; margin-bottom: 8px; }
.theme h4 { font-size: 15px; font-weight: 900; line-height: 1.15; margin-bottom: 3px; }
.theme p { font-size: 12px; color: var(--ink-2); font-weight: 700; }
.themes .note { text-align: center; margin-top: 30px; font-size: clamp(16px,1.8vw,20px); font-weight: 800; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; background: var(--card); border-radius: var(--r-lg); padding: 34px 28px; box-shadow: var(--shadow-sm); border: 2px solid transparent; transition: transform .3s, box-shadow .3s, border-color .3s; display: flex; flex-direction: column; }
.plan:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--yellow); }
.plan.pop { border-color: var(--yellow); transform: scale(1.04); box-shadow: var(--shadow); }
.plan.pop:hover { transform: scale(1.04) translateY(-8px); }
.plan .tag { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--grad-cta); color: var(--ink); padding: 7px 20px; border-radius: 999px; font-weight: 900; font-size: 14px; box-shadow: var(--shadow-sm); }
.plan .gift { width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; margin: 0 auto 22px; box-shadow: var(--shadow-sm); }
.plan .gift svg { width: 38px; height: 38px; color: #fff; }
.gift.pink { background: linear-gradient(135deg, hsl(340 85% 66%), hsl(340 85% 56%)); }
.gift.orange { background: linear-gradient(135deg, hsl(25 100% 60%), hsl(25 100% 52%)); }
.gift.blue { background: linear-gradient(135deg, hsl(200 80% 62%), hsl(200 80% 52%)); }
.plan h3 { text-align: center; font-size: 22px; margin-bottom: 8px; }
.plan .price { text-align: center; margin-bottom: 24px; }
.plan .price b { font-size: clamp(36px, 4vw, 50px); font-weight: 900; }
.plan .price .pink { color: var(--pink); } .plan .price .orange { color: var(--orange); } .plan .price .blue { color: hsl(200 80% 48%); }
.plan .price .note { font-size: 18px; color: var(--ink-2); font-weight: 800; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.plan li { display: flex; gap: 14px; align-items: flex-start; font-weight: 700; }
.plan li .fi { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.plan li .fi svg { width: 17px; height: 17px; color: #fff; }
.fi.pink { background: hsl(340 85% 60%); } .fi.orange { background: hsl(25 100% 55%); } .fi.blue { background: hsl(200 80% 52%); }
.plan .desc { font-size: 14px; color: var(--ink-2); font-style: italic; text-align: center; margin-top: 16px; }
.price-cta { text-align: center; margin-top: 40px; }

/* Emotions / reviews */
.emotions { position: relative; background: var(--grad-emotion); color: #fff; overflow: hidden; }
.emotions .h2, .emotions .lead { color: #fff; }
.emotions .lead { opacity: .94; max-width: 46ch; margin: 0 auto 36px; }
.quote-card { max-width: 760px; margin: 0 auto 36px; background: hsl(0 0% 100% / .12); backdrop-filter: blur(6px); border-radius: var(--r-lg); padding: clamp(28px,4vw,52px); text-align: center; }
.quote-card p { font-size: clamp(18px,2vw,24px); font-weight: 800; }
.quote-card .pop { display: inline-block; background: var(--yellow); color: var(--ink); padding: 12px 28px; border-radius: var(--r); font-size: clamp(24px,3vw,34px); font-weight: 900; transform: rotate(-2deg); margin: 18px 0; }
/* chat-bubble testimonials */
.reviews-rail { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 820px; margin: 0 auto; }
.chat {
  background: hsl(270 30% 16%); color: hsl(0 0% 96%); border-radius: 22px 22px 22px 6px;
  padding: 20px 22px; box-shadow: var(--shadow); position: relative; text-align: left; font-weight: 600;
}
.chat p { font-size: 16px; line-height: 1.5; }
.chat .meta { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 13px; opacity: .6; }
.chat .stars { color: var(--yellow); letter-spacing: 2px; }

/* Good-vibes photo gallery */
.vibes { background: var(--card); overflow: hidden; }
.vibes .marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.vibes-track { display: flex; gap: 22px; width: max-content; animation: scrollX 42s linear infinite; }
.vibes:hover .vibes-track { animation-play-state: paused; }
.vibe-card { width: clamp(220px, 26vw, 300px); aspect-ratio: 3/4; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); flex-shrink: 0; position: relative; }
.vibe-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.vibe-card:hover img { transform: scale(1.06); }

/* Bonus */
.bonus-badge { display: inline-block; background: var(--pink); color: #fff; padding: 9px 20px; border-radius: 999px; font-weight: 900; font-size: 14px; letter-spacing: .06em; margin-bottom: 16px; }
.bonus-card { max-width: 960px; margin: 0 auto; background: var(--card); border-radius: var(--r-lg); padding: clamp(28px,4vw,52px); box-shadow: var(--shadow); border: 2px solid hsl(45 100% 55% / .3); }
.bonus-inner { display: grid; grid-template-columns: 1fr 300px; gap: 36px; align-items: center; }
.bonus-feats { display: flex; flex-direction: column; gap: 22px; }
.bonus-feat { display: flex; align-items: center; gap: 18px; }
.bonus-feat .bi { width: 56px; height: 56px; border-radius: 18px; background: var(--grad-cta); color: var(--ink); display: grid; place-items: center; flex-shrink: 0; }
.bonus-feat .bi svg { width: 26px; height: 26px; }
.bonus-feat p { font-weight: 800; font-size: 17px; }
.reel-frame { aspect-ratio: 9/16; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: var(--bg-2); }
.reel-frame iframe { width: 100%; height: 100%; border: 0; }
.bonus-note { text-align: center; margin-top: 28px; }
.bonus-note span { display: inline-block; background: hsl(280 70% 55% / .12); color: var(--purple); padding: 12px 24px; border-radius: 16px; font-weight: 900; }

/* Instagram reviews — separate cards in a responsive grid */
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ig-item { background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); position: relative; transition: transform .3s, box-shadow .3s; }
.ig-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.ig-item .frame { aspect-ratio: 9/16; }
.ig-item iframe { width: 100%; height: 100%; border: 0; }
.ig-link { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; background: hsl(0 0% 100% / .92); display: grid; place-items: center; box-shadow: var(--shadow-sm); opacity: 0; transition: opacity .2s; }
.ig-item:hover .ig-link { opacity: 1; }
.ig-link svg { width: 18px; height: 18px; }

/* Demo */
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 760px; margin: 0 auto 36px; }
.demo-card { display: flex; align-items: center; gap: 18px; border-radius: var(--r-lg); padding: 26px; }
.demo-card.b { background: hsl(200 80% 55% / .1); } .demo-card.o { background: hsl(25 100% 55% / .1); }
.demo-card .di { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.di.blue { background: var(--blue); } .di.orange { background: var(--orange); }
.demo-card .di svg { width: 26px; height: 26px; }
.demo-card p { font-weight: 800; }
.demo-free { text-align: center; margin-bottom: 30px; }
.demo-free .row { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; font-size: 19px; }
.demo-free .row svg { width: 24px; height: 24px; color: var(--green); }
.demo-free .muted { color: var(--ink-2); font-weight: 700; margin-top: 8px; }

/* Contact form */
.contact { background: var(--grad-hero); background-size: 180% 180%; animation: heroShift 16s ease infinite; }
.contact .h2, .contact .lead { color: #fff; }
.contact .lead { opacity: .92; }
.form-card { max-width: 560px; margin: 36px auto 0; background: var(--card); border-radius: var(--r-lg); padding: clamp(28px,4vw,46px); box-shadow: var(--shadow-lg); }
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 900; font-size: 16px; margin-bottom: 8px; }
.field input { width: 100%; height: 56px; border-radius: var(--r-sm); border: 2px solid var(--border); padding: 0 18px; font-family: inherit; font-size: 17px; font-weight: 700; color: var(--ink); transition: border-color .2s, box-shadow .2s; background: var(--bg); }
.field input:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 4px hsl(45 100% 55% / .2); }
.form-card .btn { width: 100%; }
.form-ok { text-align: center; padding: 30px 10px; }
.form-ok .em { font-size: 56px; }
.form-ok h3 { font-size: 26px; margin: 12px 0 8px; }
.form-ok p { color: var(--ink-2); font-weight: 700; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--bg-2); border-radius: var(--r); overflow: hidden; transition: background .2s; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 26px; font-weight: 900; font-size: clamp(17px,2vw,21px); text-align: left; }
.faq-q .chev { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: var(--card); display: grid; place-items: center; transition: transform .3s; }
.faq-q .chev svg { width: 18px; height: 18px; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a div { padding: 0 26px 24px; color: var(--ink-2); font-weight: 700; font-size: 18px; }

/* Final CTA */
.final { background: var(--grad-purple); color: #fff; text-align: center; }
.final .h2 { color: #fff; margin-bottom: 32px; }

/* Footer */
.footer { background: var(--ink); color: hsl(0 0% 100% / .8); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer .brand img { height: 44px; }
.footer .brand .brand-name { color: #fff; }
.footer-col h4 { color: #fff; font-size: 18px; margin-bottom: 16px; font-weight: 900; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.footer-nav a { color: hsl(0 0% 100% / .7); font-size: 15px; font-weight: 700; transition: color .2s; }
.footer-nav a:hover { color: #fff; }
.footer .tagline { font-size: 15px; opacity: .65; margin-top: 14px; max-width: 26ch; }
.socials { display: flex; gap: 12px; }
.socials a { width: 46px; height: 46px; border-radius: 50%; background: hsl(0 0% 100% / .1); display: grid; place-items: center; transition: background .2s, transform .2s; }
.socials a:hover { background: var(--grad-cta); color: var(--ink); transform: translateY(-3px); }
.socials svg { width: 22px; height: 22px; }
.footer-bottom { border-top: 1px solid hsl(0 0% 100% / .15); padding-top: 24px; text-align: center; font-size: 14px; opacity: .6; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 24px);
  background: hsl(0 84% 60%); color: #fff; font-weight: 800; font-size: 15px;
  padding: 14px 24px; border-radius: 999px; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; z-index: 9998;
  max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: block; }
  .header .nav-cta { display: none; }
  .themes-grid { grid-template-columns: repeat(4, 1fr); }
  .ig-grid { grid-template-columns: repeat(2, 1fr); max-width: 680px; margin: 0 auto; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-fox { position: static; order: -1; max-width: 300px; width: auto; margin: 0 auto; right: auto; bottom: auto; }
  .hero-cutout { width: 260px; }
  .aud-grid { grid-template-columns: 1fr; }
  .aud-card { display: flex; align-items: center; gap: 16px; text-align: left; }
  .aud-ico { margin: 0; }
  .usecase-grid, .feat-grid, .solution-hl, .price-grid, .demo-grid, .reviews-rail { grid-template-columns: 1fr; }
  .ig-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .plan.pop { transform: none; }
  .plan.pop:hover { transform: translateY(-8px); }
  .bonus-inner { grid-template-columns: 1fr; }
  .reel-frame { max-width: 280px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer .brand { justify-content: center; }
  .footer-col { display: flex; flex-direction: column; align-items: center; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .socials { justify-content: center; }
  .themes-grid { grid-template-columns: repeat(3, 1fr); }
  /* timeline single column */
  .timeline .spine { left: 30px; }
  .step { grid-template-columns: 56px 1fr; gap: 16px; }
  .step .num { grid-column: 1; grid-row: 1; width: 56px; height: 56px; }
  .step .bubble, .step.left .bubble, .step.right .bubble { grid-column: 2; text-align: left; }
  .step .spacer { display: none !important; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  .hero .checks { gap: 6px 14px; }
  .themes-grid { grid-template-columns: repeat(2, 1fr); }
  .btn { font-size: 16px; padding: 16px 26px; }
  .btn-lg { font-size: 18px; padding: 18px 30px; }
}
