/* QuoteBoost homepage: dark, premium, animated. (Legal pages use style.css.) */

@font-face {
  font-family: "Poppins";
  font-weight: 600;
  font-display: swap;
  src: url("fonts/Poppins-SemiBold.woff2") format("woff2"), url("fonts/Poppins-SemiBold.ttf") format("truetype");
}
@font-face {
  font-family: "Poppins";
  font-weight: 700;
  font-display: swap;
  src: url("fonts/Poppins-Bold.woff2") format("woff2"), url("fonts/Poppins-Bold.ttf") format("truetype");
}

:root {
  --bg: #07080f;
  --bg-2: #0b0d18;
  --card: rgba(255, 255, 255, 0.035);
  --card-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f4f5ff;
  --muted: #a6abca;
  --dim: #70758f;
  --indigo: #5b6cf0;
  --violet: #9333ea;
  --gold: #f5b731;
  --green: #34d399;
  --grad: linear-gradient(120deg, #8c98ff 0%, #a35cff 50%, #d36cf6 100%);
  --grad-solid: linear-gradient(135deg, #5b6cf0, #9333ea);
  --radius: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, .display { font-family: "Poppins", system-ui, sans-serif; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid #a5b0ff; outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.grad-text {
  background: var(--grad);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
/* Hero: slide up without fading, so it's visible (and measured as shown) from the first frame */
.rise { animation: rise 0.9s var(--ease) both; animation-delay: calc(var(--d, 0) * 80ms); }
@keyframes rise { from { transform: translateY(16px); } to { transform: none; } }

/* ---- nav ---- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7, 8, 15, 0.72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand span { font: 700 20px/1 "Poppins", system-ui, sans-serif; letter-spacing: -0.02em; }
.brand span b { color: #aeb7ff; font-weight: 700; }
.nav-links { display: flex; gap: 30px; font-size: 15px; color: var(--muted); }
.nav-links a { text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { font-size: 14px; font-weight: 600; text-decoration: none; padding: 10px 16px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line-2); white-space: nowrap; transition: background 0.2s; }
.nav-cta:hover { background: rgba(255, 255, 255, 0.1); }

/* ---- hero ---- */
.hero { position: relative; padding: 150px 0 90px; text-align: center; isolation: isolate; }
.aurora { position: absolute; inset: -10% 0 auto; height: 900px; z-index: -1; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }  /* fade out, no hard edge */
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; animation: drift 18s ease-in-out infinite alternate; will-change: transform; }
.aurora i:nth-child(1) { width: 560px; height: 560px; left: 8%; top: 4%; background: #4f46e5; }
.aurora i:nth-child(2) { width: 520px; height: 520px; right: 6%; top: 10%; background: #9333ea; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 380px; height: 380px; left: 42%; top: 36%; background: #c026d3; opacity: 0.32; animation-delay: -11s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.08); } 100% { transform: translate(-30px, 50px) scale(0.95); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 30%, transparent 75%); }

.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; font-size: 14px; color: #d6daff; background: rgba(91, 108, 240, 0.12); border: 1px solid rgba(140, 152, 255, 0.28); }
.badge svg { width: 14px; height: 14px; color: var(--gold); }
.hero h1 { font-size: clamp(40px, 7vw, 86px); line-height: 1.03; letter-spacing: -0.04em; margin: 26px auto 22px; }
.hero .lede { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 40em; margin: 0 auto; }

.stores { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px 12px 16px; border-radius: 18px; text-decoration: none; text-align: left; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2); transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s; }
.store:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.24); }
.store svg { width: 26px; height: 26px; flex-shrink: 0; }
.store small { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; }
.store strong { display: block; font: 600 16px/1.3 "Poppins", system-ui, sans-serif; }
.store.primary { background: var(--grad-solid); border-color: transparent; box-shadow: 0 12px 40px -10px rgba(124, 92, 255, 0.7); }
.store.primary small { color: rgba(255, 255, 255, 0.82); }
.perks { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 14px; color: var(--muted); }
.perks span { display: inline-flex; align-items: center; gap: 7px; }
.perks svg { width: 16px; height: 16px; color: var(--green); }

/* ---- phone demo ---- */
.stage { position: relative; margin: 70px auto 0; width: min(100%, 860px); height: 640px; }
.phone { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 300px; height: 620px; border-radius: 52px; padding: 11px; background: linear-gradient(160deg, #2a2d42, #12131d 40%, #1d1f2e); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 120px -20px rgba(91, 108, 240, 0.55), 0 30px 60px -30px #000; }
.phone::after { content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #000; z-index: 3; }
.screen { position: relative; height: 100%; border-radius: 42px; overflow: hidden; background: radial-gradient(120% 70% at 50% 0%, #1b1f3d 0%, #0d0f1c 60%); text-align: left; }
.app-bar { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 58px 0 12px; font: 600 14px/1 "Poppins", system-ui, sans-serif; }
.app-bar img { width: 20px; height: 20px; }
.scene { position: absolute; inset: 92px 16px 18px; transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.scene-type, .scene-design, .scene-post { opacity: 0; transform: translateY(12px) scale(0.98); pointer-events: none; }
.screen[data-step="type"] .scene-type,
.screen[data-step="design"] .scene-design,
.screen[data-step="post"] .scene-post { opacity: 1; transform: none; }

.field-label { font-size: 12px; color: var(--muted); margin: 6px 2px 8px; font-weight: 600; }
.field { min-height: 156px; padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: #e8eaff; }
.caret { display: inline-block; width: 2px; height: 1em; margin-left: 1px; vertical-align: -2px; background: #aeb7ff; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.stars { display: flex; gap: 6px; margin: 16px 2px; }
.stars svg { width: 26px; height: 26px; color: rgba(255, 255, 255, 0.18); transition: color 0.25s, transform 0.25s var(--ease); }
.stars svg.on { color: var(--gold); transform: scale(1.12); }
.demo-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 16px; background: var(--grad-solid); font: 600 15px/1 "Poppins", system-ui, sans-serif; transition: transform 0.2s, filter 0.2s; }
.demo-btn svg { width: 16px; height: 16px; }
.demo-btn.press { transform: scale(0.95); filter: brightness(1.2); }

.scene-design { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.skeleton { position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.skeleton::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(174, 183, 255, 0.18) 50%, transparent 80%); transform: translateX(-100%); animation: sweep 1.3s ease-in-out infinite; }
.skeleton i { position: absolute; left: 18%; right: 18%; height: 10px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); }
.skeleton i:nth-child(1) { top: 12%; height: 18px; left: 22%; right: 22%; }
.skeleton i:nth-child(2) { top: 34%; left: 10%; right: 10%; height: 44%; border-radius: 14px; }
.skeleton i:nth-child(3) { bottom: 8%; left: 10%; right: 50%; }
@keyframes sweep { to { transform: translateX(100%); } }
.designing { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #cdd2ff; }
.designing svg { width: 16px; height: 16px; color: var(--gold); animation: spin 2.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.scene-post img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.6); }
.post-actions { display: flex; gap: 10px; margin-top: 14px; }
.post-actions span { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; height: 44px; border-radius: 14px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line); }
.post-actions span.share { background: var(--grad-solid); border-color: transparent; }
.post-actions svg { width: 15px; height: 15px; }
.toast { position: absolute; left: 50%; bottom: 74px; transform: translate(-50%, 12px); opacity: 0; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; white-space: nowrap; font-size: 12px; font-weight: 600; background: rgba(15, 18, 34, 0.92); border: 1px solid var(--line-2); transition: opacity 0.4s, transform 0.4s var(--ease); }
.toast svg { width: 14px; height: 14px; color: var(--green); }
.screen.shared .toast { opacity: 1; transform: translate(-50%, 0); }

/* floating chips around the phone */
.chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 18px; text-align: left; background: rgba(22, 25, 46, 0.92); border: 1px solid var(--line-2); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.7); animation: float 6s ease-in-out infinite; }
.chip small { display: block; font-size: 11px; color: var(--muted); letter-spacing: 0.02em; }
.chip strong { display: block; font-size: 14px; font-weight: 600; }
.chip .ico { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; }
.chip .ico svg { width: 18px; height: 18px; }
.chip-1 { left: 0; top: 70px; }
.chip-1 .ico { background: rgba(245, 183, 49, 0.16); color: var(--gold); }
.chip-2 { right: 0; top: 150px; animation-delay: -1.5s; max-width: 250px; }
.chip-2 .ico { background: rgba(147, 51, 234, 0.2); color: #d8b4fe; }
.chip-2 strong { transition: opacity 0.3s; }
.chip-3 { left: 30px; bottom: 120px; animation-delay: -3s; }
.chip-3 .ico { background: rgba(91, 108, 240, 0.2); color: #aeb7ff; }
.swatches { display: flex; gap: 5px; margin-top: 4px; }
.swatches i { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.chip-4 { right: 24px; bottom: 60px; animation-delay: -4.5s; }
.chip-4 .ico { background: rgba(52, 211, 153, 0.16); color: var(--green); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---- marquee ---- */
.made-for { padding: 30px 0 10px; text-align: center; }
.made-for p { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin-bottom: 20px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.track { display: flex; width: max-content; gap: 14px; animation: scroll 40s linear infinite; }
.track.reverse { animation-direction: reverse; }

@keyframes scroll { to { transform: translateX(-50%); } }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-size: 15px; color: #d4d7ee; background: var(--card); border: 1px solid var(--line); white-space: nowrap; }

/* ---- sections ---- */
.section { padding: 120px 0; position: relative; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #aeb7ff; margin-bottom: 16px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.08; }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 18px; }

/* before -> after */
.transform { display: grid; grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr); align-items: center; gap: 10px; max-width: 980px; margin: 0 auto; }
.review-card { padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: #0f766e; }
.review-head strong { display: block; font-size: 15px; }
.review-head small { display: block; color: var(--dim); font-size: 13px; }
.mini-stars { display: flex; gap: 3px; margin-bottom: 12px; color: var(--gold); }
.mini-stars svg { width: 16px; height: 16px; }
.review-card p { color: #d9dcf2; font-size: 17px; line-height: 1.6; }
.review-card .plain { margin-top: 18px; font-size: 13px; color: var(--dim); }
.arrow { position: relative; height: 2px; background: linear-gradient(90deg, transparent, rgba(174, 183, 255, 0.6), transparent); }
.arrow::after { content: ""; position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #c4b5fd; box-shadow: 0 0 16px 4px rgba(167, 139, 250, 0.8); animation: travel 2.4s var(--ease) infinite; }
@keyframes travel { from { transform: translateX(0); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } to { transform: translateX(110px); opacity: 0; } }
.arrow-label { position: absolute; left: 50%; top: -42px; transform: translateX(-50%); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--grad-solid); box-shadow: 0 10px 30px -6px rgba(124, 92, 255, 0.8); }
.arrow-label svg { width: 20px; height: 20px; }
.post-card { position: relative; }
.post-card::before { content: ""; position: absolute; inset: 10% 6%; background: var(--grad-solid); filter: blur(60px); opacity: 0.45; z-index: -1; }
.post-card img { width: 100%; border-radius: 20px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8); }
.ticks { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 50px; }
.ticks span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 15px; color: #dfe2f7; }
.ticks svg { width: 16px; height: 16px; color: var(--green); }

/* bento features */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.cell { position: relative; overflow: hidden; padding: 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: border-color 0.3s, transform 0.4s var(--ease); }
.cell:hover { border-color: var(--line-2); transform: translateY(-3px); }
.cell::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(140, 152, 255, 0.1), transparent 40%); opacity: 0; transition: opacity 0.3s; }
.cell:hover::after { opacity: 1; }
.cell h3 { font-size: 22px; margin-bottom: 10px; }
.cell p { color: var(--muted); font-size: 15px; max-width: 34em; }
.span-4 { grid-column: span 4; }
.span-3 { grid-column: span 3; }
.span-2 { grid-column: span 2; }
.visual { margin-top: 26px; min-height: 150px; display: flex; align-items: center; justify-content: center; }

.ai-line { font: 700 clamp(26px, 3.4vw, 40px)/1.15 "Poppins", system-ui, sans-serif; letter-spacing: -0.03em; min-height: 2.4em; display: flex; align-items: center; justify-content: center; text-align: center; }
.ai-sub { margin-top: 8px; font-size: 13px; color: var(--dim); text-align: center; }
.visual.col { flex-direction: column; }

.brand-demo { display: flex; align-items: center; gap: 18px; }
.logo-tile { width: 70px; height: 70px; border-radius: 20px; display: grid; place-items: center; font: 700 22px/1 "Poppins", system-ui, sans-serif; background: linear-gradient(135deg, #9d174d, #be185d); box-shadow: 0 12px 30px -10px rgba(190, 24, 93, 0.8); }
.pop { display: flex; gap: 8px; }
.pop i { width: 30px; height: 30px; border-radius: 50%; transform: scale(0); animation: pop 3.2s var(--ease) infinite; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.15); }
.pop i:nth-child(2) { animation-delay: 0.15s; }
.pop i:nth-child(3) { animation-delay: 0.3s; }
.pop i:nth-child(4) { animation-delay: 0.45s; }
@keyframes pop { 0%, 8% { transform: scale(0); } 22%, 80% { transform: scale(1); } 92%, 100% { transform: scale(0); } }

.fan { position: relative; width: 210px; height: 170px; }
.fan img { position: absolute; top: 0; left: 50%; width: 104px; border-radius: 12px; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.8); transition: transform 0.6s var(--ease); }
.fan img:nth-child(1) { transform: translateX(-118%) rotate(-10deg) translateY(14px); }
.fan img:nth-child(2) { transform: translateX(-50%); z-index: 2; }
.fan img:nth-child(3) { transform: translateX(18%) rotate(10deg) translateY(14px); }
.cell:hover .fan img:nth-child(1) { transform: translateX(-132%) rotate(-14deg) translateY(10px); }
.cell:hover .fan img:nth-child(3) { transform: translateX(32%) rotate(14deg) translateY(10px); }

.editor { width: 100%; max-width: 230px; display: grid; gap: 12px; }
.slider { height: 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); position: relative; }
.slider i { position: absolute; inset: 0; border-radius: inherit; background: var(--grad-solid); transform-origin: left center; animation: slide 4s ease-in-out infinite alternate; }
.slider:nth-child(2) i { animation-delay: -1.3s; }
.slider:nth-child(3) i { animation-delay: -2.6s; }
@keyframes slide { from { transform: scaleX(0.22); } to { transform: scaleX(0.86); } }
.stickers { display: flex; justify-content: space-around; font-size: 28px; margin-top: 4px; }
.stickers span { animation: bob 3s ease-in-out infinite; }
.stickers span:nth-child(2) { animation-delay: -1s; }
.stickers span:nth-child(3) { animation-delay: -2s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-8px) rotate(6deg); } }

.share-sheet { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; width: 100%; max-width: 260px; }
.app { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.app i { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; transition: transform 0.3s var(--ease); }
.app i svg { width: 24px; height: 24px; color: #fff; }
.cell:hover .app i { transform: translateY(-4px); }
.cell:hover .app:nth-child(2) i { transition-delay: 0.05s; }
.cell:hover .app:nth-child(3) i { transition-delay: 0.1s; }
.cell:hover .app:nth-child(4) i { transition-delay: 0.15s; }

.history { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: 100%; }
.history img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; opacity: 0.9; transition: transform 0.4s var(--ease), opacity 0.3s; }
.cell:hover .history img { opacity: 1; }
.cell:hover .history img:nth-child(odd) { transform: translateY(-6px); }

.sizes { display: flex; align-items: flex-end; gap: 18px; }
.size { position: relative; overflow: hidden; border-radius: 14px; border: 1px solid var(--line-2); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, 0.8); transition: transform 0.4s var(--ease); }
.size img { width: 100%; height: 100%; object-fit: cover; }
.size b { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; background: rgba(7, 8, 15, 0.75); backdrop-filter: blur(6px); }
.size.p { width: 100px; height: 125px; }
.size.s { width: 112px; height: 112px; }
.size.l { width: 136px; height: 109px; }
.cell:hover .size.p { transform: translateY(-6px) rotate(-3deg); }
.cell:hover .size.l { transform: translateY(-6px) rotate(3deg); }

/* gallery */
.gallery .track { gap: 18px; animation-duration: 60s; }
.gallery .marquee + .marquee { margin-top: 18px; }
.gallery img { width: 220px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; border: 1px solid var(--line); }
.note { text-align: center; color: var(--dim); font-size: 13px; margin-top: 26px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; position: relative; }
.step { padding: 32px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.step .num { font: 700 46px/1 "Poppins", system-ui, sans-serif; letter-spacing: -0.04em; }
.step h3 { font-size: 21px; margin: 18px 0 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* comparison */
.compare-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 18px 20px; text-align: center; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare th { font: 600 15px/1.3 "Poppins", system-ui, sans-serif; color: #dfe2f7; vertical-align: bottom; }
.compare th small { display: block; margin-top: 4px; font: 400 12px/1.3 system-ui, sans-serif; color: var(--dim); }
.compare td:first-child, .compare th:first-child { text-align: left; color: #dfe2f7; position: sticky; left: 0; background: #0d0f1b; }
.compare .us { background: linear-gradient(180deg, rgba(91, 108, 240, 0.16), rgba(147, 51, 234, 0.1)); }
.compare th.us { color: #fff; }
.compare th.us .brandmark { display: inline-flex; align-items: center; gap: 8px; }
.compare th.us img { width: 24px; height: 24px; }
.yes, .no, .part { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; }
.yes svg, .no svg { width: 22px; height: 22px; }
.yes { color: var(--green); }
.no { color: #5c6080; }
.part { color: #fbbf24; }
.compare .us strong { color: #fff; }
.foot { text-align: center; color: var(--dim); font-size: 13px; margin-top: 18px; }

/* pricing */
.price { position: relative; max-width: 560px; margin: 0 auto; padding: 2px; border-radius: 30px; overflow: hidden; }
.price::before { content: ""; position: absolute; inset: -60%; background: conic-gradient(from 0deg, #5b6cf0, #9333ea, #d36cf6, #f5b731, #5b6cf0); animation: spin 8s linear infinite; }
.price-inner { position: relative; padding: 46px 40px; border-radius: 28px; background: #0c0e1a; text-align: center; }
.amount { font: 700 76px/1 "Poppins", system-ui, sans-serif; letter-spacing: -0.04em; margin: 10px 0 4px; }
.amount small { font-size: 22px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.price-inner > p { color: var(--muted); }
.price ul { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 14px; text-align: left; }
.price li { display: flex; gap: 12px; align-items: flex-start; color: #dfe2f7; }
.price li svg { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.price .stores { margin-top: 0; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: var(--card); border: 1px solid var(--line); transition: border-color 0.3s, background 0.3s; }
.faq details[open] { background: var(--card-2); border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; font: 600 17px/1.4 "Poppins", system-ui, sans-serif; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; border-radius: 2px; background: #aeb7ff; transition: transform 0.3s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); }
.faq a { color: #aeb7ff; }

/* final cta */
.final { position: relative; overflow: hidden; text-align: center; padding: 90px 30px; border-radius: 36px; background: radial-gradient(80% 120% at 50% 0%, rgba(124, 92, 255, 0.45), transparent 60%), linear-gradient(180deg, #11142a, #0b0d18); border: 1px solid var(--line-2); }
.final h2 { font-size: clamp(32px, 5vw, 58px); line-height: 1.06; max-width: 14ch; margin: 0 auto; }
.final p { color: var(--muted); font-size: 18px; margin: 18px auto 0; max-width: 32em; }

/* footer */
.footer { padding: 70px 0 50px; border-top: 1px solid var(--line); margin-top: 120px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.footer p { color: var(--dim); font-size: 14px; margin-top: 14px; max-width: 26em; }
.footer h4 { margin: 0 0 14px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.footer ul a { text-decoration: none; color: var(--muted); transition: color 0.2s; }
.footer ul a:hover { color: var(--text); }
.copyright { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--dim); font-size: 13px; }

/* ---- responsive ---- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .chip-1, .chip-3 { left: -10px; }
  .chip-2, .chip-4 { right: -10px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .span-4, .span-3 { grid-column: span 2; }
  .span-2 { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .container { padding: 0 16px; }
  br.wide { display: none; }
  .hero { padding: 120px 0 60px; }
  .stage { margin-top: 50px; }
  .phone { width: 280px; height: 580px; }
  .chip { display: none; }  /* no room beside the phone; the demo speaks for itself */
  .stage { height: 600px; }
  .section { padding: 84px 0; }
  .section-head { margin-bottom: 40px; }
  .transform { grid-template-columns: minmax(0, 1fr); gap: 50px; }
  .arrow { width: 2px; height: 70px; margin: 0 auto; background: linear-gradient(180deg, transparent, rgba(174, 183, 255, 0.6), transparent); }
  .arrow::after { left: 50%; margin-left: -5px; top: 0; animation-name: travel-v; }
  @keyframes travel-v { from { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } to { transform: translateY(60px); opacity: 0; } }
  .arrow-label { top: 50%; left: 50%; transform: translate(-50%, -50%); }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .span-4, .span-3, .span-2 { grid-column: auto; }
  .cell { padding: 24px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .gallery img { width: 170px; }
  .price-inner { padding: 36px 22px; }
  .final { padding: 64px 20px; border-radius: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .pop i { transform: scale(1); }
}
