@import url("colors_and_type.css");

/* ============================================================
   Winday Quiz — Landing Page styles
   ============================================================ */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* ----- Responsive base scaling -----
   Below 1440px: design baseline — pixel-identical to review.
   Above 1440px: container max-width grows so the layout
   feels right on big displays, hero stage and ticker cards
   widen with it, and a couple of selective px caps lift.
   Root font-size and paddings stay put — preventing the
   "everything is huge" problem. */
:root {
  --wq-container: 1280px;
  --wq-stage-max: 560px;
  --wq-ticker-card: 220px;
}
@media (min-width: 1441px) {
  :root {
    --wq-container: clamp(1280px, 86vw, 1680px);
    --wq-stage-max: clamp(560px, 38vw, 720px);
    --wq-ticker-card: clamp(220px, 16vw, 300px);
  }
  /* Lift hero & section heading caps a notch on bigger screens */
  .wq-h1 { font-size: clamp(72px, 6vw, 110px); }
  .wq-section-head .title { font-size: clamp(52px, 4.2vw, 76px); }
  .wq-final h2 { font-size: clamp(56px, 4.4vw, 80px); }
  .wq-sub { font-size: clamp(19px, 1.5vw, 26px); max-width: 720px; }
  .wq-section-head .lede { font-size: clamp(19px, 1.5vw, 26px); max-width: 820px; }

  /* Body copy / labels / buttons — scale text size while
     leaving paddings & layout proportions untouched. */
  .wq-nav-link { font-size: clamp(15px, 1.15vw, 20px); }
  .wq-nav-cta  { font-size: clamp(15px, 1.15vw, 20px); padding: 12px 22px; }
  .wq-logo-text { font-size: clamp(19px, 1.4vw, 26px); }
  .wq-logo img { height: clamp(32px, 2.4vw, 44px); }

  .wq-cta { font-size: clamp(16px, 1.2vw, 22px); padding: 14px 26px; }
  .wq-cta.lg { font-size: clamp(17px, 1.3vw, 24px); padding: 18px 32px; }
  .wq-form-input { font-size: clamp(16px, 1.2vw, 22px); }
  .wq-form-meta { font-size: clamp(14px, 1vw, 18px); }

  .wq-eyebrow,
  .wq-final-eyebrow { font-size: clamp(13px, 1vw, 18px); padding: 8px 18px; }

  .wq-benefit h3 { font-size: clamp(24px, 2vw, 34px); }
  .wq-benefit p  { font-size: clamp(16px, 1.25vw, 21px); }
  .wq-benefit .ic-tile { width: clamp(48px, 3.6vw, 64px); height: clamp(48px, 3.6vw, 64px); }

  .wq-step h4 { font-size: clamp(24px, 2vw, 34px); }
  .wq-step p  { font-size: clamp(16px, 1.25vw, 21px); }
  .wq-step .num { width: clamp(44px, 3.4vw, 60px); height: clamp(44px, 3.4vw, 60px); font-size: clamp(18px, 1.5vw, 26px); }

  .wq-use-pill { font-size: clamp(16px, 1.25vw, 21px); padding: 14px 24px; }

  .wq-show-card .label { font-size: clamp(11px, 0.85vw, 15px); }

  .wq-hero-strip { font-size: clamp(14px, 1.15vw, 19px); }
  .wq-final p    { font-size: clamp(19px, 1.55vw, 28px); }

  .wq-footer { font-size: clamp(14px, 1.05vw, 18px); }
}

body {
  margin: 0;
  background: hsl(var(--background));
  background-image:
    radial-gradient(ellipse 90% 50% at 50% 0%, hsl(228 97% 61% / 0.08) 0%, transparent 60%),
    url("../assets/bg-particles.png");
  background-attachment: fixed;
  background-size: auto, 600px 600px;
  background-repeat: no-repeat, repeat;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

/* ----- Top nav ----- */
.wq-nav {
  position: sticky; top: 0; z-index: 50;
  background: hsl(var(--background) / 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid hsl(var(--border) / 0.5);
}
.wq-nav-inner {
  max-width: var(--wq-container); margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; gap: 24px;
}
.wq-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: hsl(var(--foreground)); }
.wq-logo:hover { text-decoration: none; }
.wq-logo img { height: 32px; width: auto; }
.wq-logo-text {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 18px; letter-spacing: -0.02em;
  color: hsl(var(--foreground));
}
.wq-logo-text .text-gradient { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.wq-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 9999px;
  background: hsl(228 97% 61% / 0.1);
  color: hsl(var(--primary));
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.wq-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: hsl(var(--primary)); animation: pulse-glow 2s infinite; }
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 hsl(var(--primary) / 0.5); }
  50% { box-shadow: 0 0 0 6px hsl(var(--primary) / 0); }
}
.wq-nav-spacer { flex: 1; }
.wq-nav-link {
  font-size: 14px; color: hsl(var(--muted-foreground));
  text-decoration: none; padding: 8px 12px; border-radius: 10px;
  transition: var(--transition-fast);
}
.wq-nav-link:hover { color: hsl(var(--foreground)); background: hsl(var(--secondary) / 0.7); text-decoration: none; }
.wq-nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 12px;
  background: var(--gradient-primary); color: white;
  font-size: 14px; font-weight: 700;
  border: none; cursor: pointer;
  box-shadow: 0 0 0 3px #B0D0FF, var(--shadow-md), inset 0 1px 0 hsl(0 0% 100% / 0.2);
  transition: var(--transition-fast);
}
.wq-nav-cta:hover { transform: translateY(-1px); box-shadow: 0 0 0 3px #B0D0FF, var(--shadow-glow); }

/* ----- Section scaffold ----- */
.wq-section { padding: 96px 24px; }
.wq-container { max-width: var(--wq-container); margin: 0 auto; }

.wq-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 9999px;
  background: hsl(228 97% 61% / 0.08);
  color: hsl(var(--primary));
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid hsl(228 97% 61% / 0.15);
}
.wq-eyebrow.accent {
  background: hsl(42 100% 62% / 0.18);
  color: #C48A0E;
  border-color: hsl(42 100% 62% / 0.35);
}

/* ----- Hero ----- */
.wq-hero {
  position: relative;
  padding: 56px 24px 80px;
  overflow: hidden;
}
.wq-hero-inner {
  max-width: var(--wq-container); margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 960px) {
  .wq-hero-inner { grid-template-columns: 1fr; gap: 48px; }
}
.wq-h1 {
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin: 20px 0 20px;
  text-wrap: balance;
}
.wq-h1 .squiggle {
  position: relative; display: inline-block;
  background: var(--gradient-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.wq-h1 .squiggle::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -10px;
  height: 8px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 8' preserveAspectRatio='none'><path d='M2 6 Q 50 0 100 4 T 198 6' stroke='url(%23g)' stroke-width='3' stroke-linecap='round' fill='none'/><defs><linearGradient id='g' x1='0' y1='0' x2='200' y2='0'><stop offset='0' stop-color='%23498CFF'/><stop offset='1' stop-color='%23493BFF'/></linearGradient></defs></svg>");
  background-size: 100% 100%;
}
.wq-h1 .accent {
  position: relative;
  color: #C48A0E;
  background: hsl(42 100% 62% / 0.25);
  padding: 0 12px; border-radius: 14px;
  display: inline-block;
}
.wq-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: hsl(var(--muted-foreground));
  max-width: 540px;
  margin: 0 0 32px;
}

/* Email capture */
.wq-form {
  display: flex; gap: 8px;
  background: white;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-lg), var(--shadow-inner-highlight);
  max-width: 520px;
}
.wq-form-input {
  flex: 1;
  padding: 12px 16px;
  border: none; outline: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 16px;
  color: hsl(var(--foreground));
}
.wq-form-input::placeholder { color: hsl(var(--muted-foreground)); }
.wq-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  background: var(--gradient-primary);
  color: white;
  border: none; border-radius: 12px;
  font-family: var(--font-sans); font-weight: 700; font-size: 15px;
  cursor: pointer; white-space: nowrap;
  box-shadow: 0 0 0 3px #B0D0FF, var(--shadow-md), inset 0 1px 0 hsl(0 0% 100% / 0.25);
  transition: var(--transition-fast);
}
.wq-cta:hover { transform: translateY(-1px); box-shadow: 0 0 0 3px #B0D0FF, var(--shadow-glow); }
.wq-cta:active { transform: translateY(0); }
.wq-cta.lg { padding: 16px 28px; font-size: 16px; border-radius: 14px; }
.wq-form-meta {
  margin-top: 12px;
  font-size: 13px;
  color: hsl(var(--muted-foreground));
  display: flex; align-items: center; gap: 8px;
}
.wq-form-meta .ok { color: hsl(var(--success)); }
.wq-form.success { border-color: hsl(var(--success) / 0.4); box-shadow: 0 0 0 4px hsl(var(--success) / 0.08), var(--shadow-lg); }
.wq-form.error { border-color: hsl(var(--destructive) / 0.5); }

/* Hero stage – stacked quiz cards animation */
.wq-stage {
  position: relative;
  aspect-ratio: 1 / 1.05;
  width: 100%;
  max-width: var(--wq-stage-max);
  margin-left: auto;
}
.wq-stage-glow {
  position: absolute; inset: -8% -8%;
  background:
    radial-gradient(circle at 30% 30%, hsl(228 97% 61% / 0.18), transparent 60%),
    radial-gradient(circle at 70% 70%, hsl(42 100% 62% / 0.18), transparent 60%);
  filter: blur(40px);
  z-index: 0;
}
.wq-stage-card {
  position: absolute;
  left: 50%;
  top: 0;
  width: 62%;
  aspect-ratio: 1 / 1.5;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-2xl), 0 0 0 1px hsl(0 0% 100% / 0.6) inset;
  /* Hidden until JS positions them; prevents flash of stacked cards
     in the top-left of the stage on first paint. */
  opacity: 0;
  transition: transform 1.2s var(--ease-smooth), opacity 1.2s var(--ease-smooth);
}
.wq-stage-card img { width: 100%; height: 100%; object-fit: cover; }

/* AI prompt floater */
.wq-stage-prompt {
  position: absolute;
  left: -8px; top: 8%;
  background: white;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: var(--shadow-float);
  border: 1px solid hsl(var(--border) / 0.5);
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
  z-index: 5;
  animation: floatY 5s ease-in-out infinite;
  max-width: 240px;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.wq-stage-prompt .ai-dot {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gradient-primary);
  display: grid; place-items: center; flex-shrink: 0;
  color: white;
}
.wq-stage-prompt .typed { color: hsl(var(--foreground)); font-weight: 500; }
.wq-stage-prompt .typed::after {
  content: '|'; color: hsl(var(--primary)); margin-left: 2px;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.wq-stage-tag {
  position: absolute;
  background: white;
  border-radius: 9999px;
  padding: 8px 14px 8px 8px;
  box-shadow: var(--shadow-float);
  border: 1px solid hsl(var(--border) / 0.5);
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700;
  z-index: 5;
}
.wq-stage-tag .ic {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  color: white;
}
.wq-stage-tag.t1 { right: -12px; top: 30%; animation: floatY 6s 0.5s ease-in-out infinite; }
.wq-stage-tag.t1 .ic { background: hsl(var(--success)); }
.wq-stage-tag.t2 { right: 4%; bottom: 8%; animation: floatY 5.5s 1s ease-in-out infinite; }
.wq-stage-tag.t2 .ic { background: var(--gradient-accent); color: #6B4A0A; }

/* Hero benefit-strip */
.wq-hero-strip {
  margin-top: 28px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px;
  font-size: 13px; color: hsl(var(--muted-foreground));
}
.wq-hero-strip .item { display: inline-flex; align-items: center; gap: 8px; }
.wq-hero-strip .check {
  width: 18px; height: 18px; border-radius: 50%;
  background: hsl(var(--success) / 0.15); color: hsl(var(--success));
  display: grid; place-items: center;
}

/* ----- Section heads ----- */
.wq-section-head { text-align: center; margin-bottom: 64px; }
.wq-section-head .title {
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 16px 0 16px;
  text-wrap: balance;
}
.wq-section-head .title .text-gradient { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.wq-section-head .lede {
  font-size: 18px; color: hsl(var(--muted-foreground));
  max-width: 620px; margin: 0 auto;
  line-height: 1.5;
}

/* ----- Benefits ----- */
.wq-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) { .wq-benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .wq-benefits { grid-template-columns: 1fr; } }
.wq-benefit {
  background: white;
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-md), var(--shadow-inner-highlight);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  display: flex; flex-direction: column; gap: 16px;
  min-height: 240px;
}
.wq-benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-float-lg), var(--shadow-inner-highlight); }
.wq-benefit .ic-tile {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
}
.wq-benefit.b1 .ic-tile { background: hsl(228 97% 61% / 0.12); color: hsl(var(--primary)); }
.wq-benefit.b2 .ic-tile { background: hsl(42 100% 62% / 0.22); color: #C48A0E; }
.wq-benefit.b3 .ic-tile { background: hsl(152 69% 45% / 0.14); color: hsl(var(--success)); }
.wq-benefit.b4 .ic-tile { background: hsl(264 84% 66% / 0.14); color: #7340E3; }
.wq-benefit.b5 .ic-tile { background: hsl(320 85% 60% / 0.14); color: #E73DA0; }
.wq-benefit.b6 .ic-tile { background: hsl(195 85% 55% / 0.14); color: #1D9BCC; }
.wq-benefit h3 {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 22px; line-height: 1.2; letter-spacing: -0.02em;
  margin: 0;
}
.wq-benefit p {
  margin: 0; font-size: 15px; line-height: 1.55;
  color: hsl(var(--muted-foreground));
}

/* ----- How it works ----- */
.wq-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
@media (max-width: 880px) { .wq-steps { grid-template-columns: 1fr; } }
.wq-step {
  background: white;
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow-md), var(--shadow-inner-highlight);
  position: relative;
  display: flex; flex-direction: column; gap: 16px;
}
.wq-step .num {
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--gradient-primary);
  color: white;
  font-family: var(--font-heading); font-weight: 700; font-size: 18px;
  display: grid; place-items: center;
  box-shadow: var(--shadow-glow);
}
.wq-step h4 {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 22px; letter-spacing: -0.02em; margin: 0;
}
.wq-step p {
  margin: 0; color: hsl(var(--muted-foreground)); font-size: 15px; line-height: 1.55;
}
.wq-step .visual {
  margin-top: 8px; height: 140px; border-radius: 16px;
  background: hsl(var(--secondary));
  border: 1px solid hsl(var(--border) / 0.4);
  position: relative; overflow: hidden;
}

/* Step 1 visual: input chips */
.wq-vis-chips { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.wq-vis-chips .row { display: flex; gap: 6px; flex-wrap: wrap; }
.wq-vis-chip {
  padding: 6px 10px; border-radius: 9999px;
  background: white; border: 1px solid hsl(var(--border));
  font-size: 12px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px;
  box-shadow: var(--shadow-sm);
}
.wq-vis-chip.active { background: hsl(228 97% 61% / 0.1); border-color: hsl(228 97% 61% / 0.3); color: hsl(var(--primary)); }
.wq-vis-chip.accent { background: hsl(42 100% 62% / 0.18); border-color: hsl(42 100% 62% / 0.4); color: #8a5e07; }

/* Step 2 visual: AI shimmer */
.wq-vis-ai { padding: 14px; }
.wq-vis-ai .line { height: 8px; border-radius: 4px; background: hsl(var(--secondary)); margin-bottom: 8px; position: relative; overflow: hidden; }
.wq-vis-ai .line::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, hsl(228 97% 61% / 0.4) 50%, transparent 100%);
  animation: shimmer 1.6s infinite;
}
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.wq-vis-ai .line.w1 { width: 90%; }
.wq-vis-ai .line.w2 { width: 70%; }
.wq-vis-ai .line.w3 { width: 80%; animation-delay: .2s; }
.wq-vis-ai .line.w4 { width: 55%; }
.wq-vis-ai .badge {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  padding: 4px 10px; border-radius: 9999px;
  background: var(--gradient-primary); color: white;
  text-transform: uppercase;
}

/* Step 3 visual: share targets */
.wq-vis-share { padding: 16px; display: flex; align-items: center; justify-content: space-around; height: 100%; }
.wq-vis-share .target {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 11px; color: hsl(var(--muted-foreground));
}
.wq-vis-share .icon {
  width: 44px; height: 44px; border-radius: 14px;
  background: white; border: 1px solid hsl(var(--border));
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
  color: hsl(var(--foreground));
}

/* ----- Showcase ----- */
.wq-showcase {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) { .wq-showcase { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .wq-showcase { grid-template-columns: repeat(2, 1fr); } }
.wq-show-card {
  position: relative;
  aspect-ratio: 2/3;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid hsl(var(--border) / 0.5);
  background: hsl(var(--secondary));
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  cursor: pointer;
}
.wq-show-card:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow-float-lg); z-index: 2; }
.wq-show-card:nth-child(even):hover { transform: translateY(-6px) rotate(1deg); }
.wq-show-card img { width: 100%; height: 100%; object-fit: cover; }
.wq-show-card .label {
  position: absolute; left: 10px; bottom: 10px;
  background: white; color: hsl(var(--foreground));
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 9999px;
  box-shadow: var(--shadow-md);
}

/* ----- Use cases strip ----- */
.wq-uses {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.wq-use-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  background: white;
  border: 1px solid hsl(var(--border));
  border-radius: 9999px;
  font-size: 15px; font-weight: 500;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}
.wq-use-pill:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: hsl(228 97% 61% / 0.3); }
.wq-use-pill .ic { color: hsl(var(--primary)); display: grid; place-items: center; }
.wq-use-pill:nth-child(2) .ic { color: #C48A0E; }
.wq-use-pill:nth-child(3) .ic { color: hsl(var(--success)); }
.wq-use-pill:nth-child(4) .ic { color: #7340E3; }
.wq-use-pill:nth-child(5) .ic { color: #E73DA0; }
.wq-use-pill:nth-child(6) .ic { color: hsl(var(--primary)); }

/* ----- Final CTA ----- */
.wq-final {
  position: relative;
  padding: 96px 24px;
  overflow: hidden;
}
.wq-final-card {
  max-width: var(--wq-container); margin: 0 auto;
  background:
    radial-gradient(ellipse 60% 80% at 80% 100%, hsl(42 100% 62% / 0.18), transparent 60%),
    radial-gradient(ellipse 60% 80% at 0% 0%, hsl(228 97% 61% / 0.4), transparent 60%),
    linear-gradient(135deg, #2433D9 0%, #4159F8 50%, #5B6EFF 100%);
  border-radius: 36px;
  padding: 80px 48px;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}
.wq-final-card::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("../assets/bg-particles.png");
  background-size: 400px;
  opacity: 0.25;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.wq-final-inner {
  position: relative; z-index: 1;
  max-width: 640px; margin: 0 auto;
  text-align: center;
}
.wq-final h2 {
  font-family: var(--font-heading); font-weight: 700;
  color: white;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.05; letter-spacing: -0.02em;
  margin: 16px 0 16px;
  text-wrap: balance;
}
.wq-final h2 .accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.wq-final p {
  font-size: 18px; line-height: 1.5;
  color: hsl(0 0% 100% / 0.85);
  margin: 0 0 36px;
}
.wq-final .wq-form { background: hsl(0 0% 100% / 0.12); border-color: hsl(0 0% 100% / 0.2); backdrop-filter: blur(10px); margin: 0 auto; }
.wq-final .wq-form-input { color: white; }
.wq-final .wq-form-input::placeholder { color: hsl(0 0% 100% / 0.6); }
.wq-final .wq-cta {
  background: var(--gradient-accent);
  color: #4A2D00;
  font-weight: 700;
  box-shadow: 0 0 0 3px hsl(42 100% 80%), 0 8px 24px hsl(42 100% 50% / 0.4), inset 0 1px 0 hsl(0 0% 100% / 0.3);
}
.wq-final .wq-form-meta { color: hsl(0 0% 100% / 0.7); justify-content: center; }
.wq-final .wq-form.success { box-shadow: 0 0 0 4px hsl(42 100% 62% / 0.3), var(--shadow-2xl); }
.wq-final-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 9999px;
  background: hsl(0 0% 100% / 0.15);
  color: white;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid hsl(0 0% 100% / 0.25);
}

/* ----- Footer ----- */
.wq-footer {
  padding: 40px 24px;
  text-align: center;
  font-size: 13px;
  color: hsl(var(--muted-foreground));
  border-top: 1px solid hsl(var(--border) / 0.5);
}
.wq-footer .row {
  max-width: var(--wq-container); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  flex-wrap: wrap;
}
.wq-social { display: flex; gap: 10px; align-items: center; }
.wq-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #EFF3FF;
  color: hsl(var(--primary));
  transition: var(--transition-fast);
  text-decoration: none;
}
.wq-social a:hover {
  background: hsl(var(--primary));
  color: white;
  transform: translateY(-2px);
  text-decoration: none;
}

/* ----- Sticky mobile CTA ----- */
.wq-sticky {
  position: fixed; bottom: 12px; left: 12px; right: 12px;
  z-index: 60;
  background: white;
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  box-shadow: var(--shadow-2xl);
  padding: 8px;
  display: none;
  align-items: center; gap: 8px;
  animation: rise .5s var(--ease-spring);
}
@keyframes rise { from { transform: translateY(80px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@media (max-width: 720px) {
  .wq-sticky.active { display: flex; }
  .wq-sticky .wq-form-input { padding: 10px 12px; font-size: 16px; min-width: 0; flex: 1; }
  .wq-sticky .wq-cta { padding: 10px 14px; font-size: 14px; }
}

/* ----- Reveal animation ----- */
.wq-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-smooth), transform .8s var(--ease-smooth); }
.wq-reveal.in { opacity: 1; transform: translateY(0); }

/* Use-case pills: CSS-based staggered reveal */
.wq-uses .wq-use-pill {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease-smooth), transform .5s var(--ease-smooth);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.wq-uses.in .wq-use-pill {
  opacity: 1;
  transform: translateY(0);
}

/* ----- Showcase ticker ----- */
.wq-ticker {
  display: flex; gap: 16px;
  animation: ticker 60s linear infinite;
  width: max-content;
}
.wq-ticker-wrap { overflow: hidden; mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent); }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.wq-ticker .wq-show-card {
  width: var(--wq-ticker-card); flex-shrink: 0;
}

@media (max-width: 720px) {
  .wq-section { padding: 64px 20px; }
  .wq-hero { padding: 32px 20px 56px; }
  .wq-final { padding: 64px 16px; }
  .wq-final-card { padding: 56px 24px; border-radius: 28px; }
  .wq-nav-link { display: none; }
  .wq-form { flex-direction: column; }
  .wq-form .wq-cta { width: 100%; justify-content: center; }
}
