:root {
  --bg: #06090f;
  --bg-2: #0c1422;
  --fg: #f4f7fb;
  --mute: #98a3b3;
  --accent: #1170B1;
  --accent-2: #4FB6E8;
  --card: rgba(255,255,255,0.04);
  --stroke: rgba(255,255,255,0.08);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { color: var(--fg); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%); background: rgba(6,9,15,0.55);
  border-bottom: 1px solid var(--stroke); }
nav .row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em; font-size: 18px; color: var(--fg); }
.logo .dot { width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 6px 24px rgba(79,182,232,0.45); }
nav ul { list-style: none; display: flex; gap: 22px; padding: 0; margin: 0; }
nav ul a { color: var(--mute); font-size: 14px; font-weight: 500; }
nav ul a:hover { color: var(--fg); }
.pill { background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 14px;
  box-shadow: 0 10px 30px rgba(17,112,177,0.45); transition: transform .25s ease; display: inline-block; }
.pill:hover { transform: translateY(-1px); color: white; }
@media (max-width: 720px) { nav ul { display: none; } }

header.hero { position: relative; padding: 80px 0 60px; text-align: center; isolation: isolate; }
header.hero::before, header.hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(110px); z-index: -1; opacity: 0.55;
  animation: drift 14s ease-in-out infinite alternate;
}
header.hero::before { background: var(--accent); width: 520px; height: 520px; top: -160px; left: -180px; }
header.hero::after { background: var(--accent-2); width: 460px; height: 460px; bottom: -200px; right: -160px; animation-delay: -7s; }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(60px, 40px) scale(1.1); } }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px;
  border-radius: 999px; background: var(--card); border: 1px solid var(--stroke);
  color: var(--mute); font-size: 12px; letter-spacing: 1.6px; font-weight: 700; }
.eyebrow .ping { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(79,182,232,0.6); animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(79,182,232,0.6); }
                 100% { box-shadow: 0 0 0 14px rgba(79,182,232,0); } }
h1 { font-size: clamp(40px, 7vw, 84px); line-height: 0.95; letter-spacing: -0.04em;
  font-weight: 900; margin: 18px 0 16px; }
h1 .grad, h2 .grad { background: linear-gradient(120deg, var(--accent-2), #d8efff, var(--accent-2));
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; animation: shimmer 6s ease-in-out infinite; }
@keyframes shimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.sub { color: var(--mute); font-size: clamp(16px, 2.2vw, 20px); max-width: 620px; margin: 0 auto 32px; }
.cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn { padding: 14px 22px; border-radius: 14px; font-weight: 700; font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease; display: inline-flex; align-items: center; gap: 8px; }
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: white;
  box-shadow: 0 16px 40px rgba(17,112,177,0.5); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 22px 56px rgba(17,112,177,0.6); color: white; }
.btn.ghost { background: var(--card); border: 1px solid var(--stroke); color: var(--fg); }
.btn.ghost:hover { background: rgba(255,255,255,0.07); }

.fan { position: relative; height: 460px; margin: 60px auto 0; max-width: 760px; perspective: 1400px; }
.fan .card { position: absolute; left: 50%; top: 50%; width: 220px; height: 310px;
  border-radius: 28px; transform-origin: center bottom; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), inset 0 0 0 2px rgba(255,255,255,0.55);
  background: #111; opacity: 0;
  animation: cardIn 1.1s cubic-bezier(.2,.9,.25,1) both, float 6s ease-in-out infinite alternate;
}
.fan .card img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes cardIn {
  from { opacity: 0; transform: translate(-50%, -160%) rotate(var(--start, -22deg)) scale(0.6); }
  to   { opacity: 1; transform: translate(-50%, -50%) translateX(var(--x, 0)) rotate(var(--r, 0deg)) scale(1); }
}
@keyframes float { from { translate: 0 0; } to { translate: 0 -8px; } }
.fan .card:nth-child(1) { --r: -22deg; --x: -260px; --start: -38deg; animation-delay: 0s, 1.1s; }
.fan .card:nth-child(2) { --r: -12deg; --x: -150px; --start: -28deg; animation-delay: .12s, 1.22s; }
.fan .card:nth-child(3) { --r:  -4deg; --x:  -50px; --start: -16deg; animation-delay: .24s, 1.34s; }
.fan .card:nth-child(4) { --r:   4deg; --x:   50px; --start:  16deg; animation-delay: .36s, 1.46s; }
.fan .card:nth-child(5) { --r:  12deg; --x:  150px; --start:  28deg; animation-delay: .48s, 1.58s; }
.fan .card:nth-child(6) { --r:  22deg; --x:  260px; --start:  38deg; animation-delay: .60s, 1.70s; }
@media (max-width: 720px) {
  .fan { height: 360px; }
  .fan .card { width: 150px; height: 210px; }
  .fan .card:nth-child(1) { --x: -160px; }
  .fan .card:nth-child(2) { --x:  -95px; }
  .fan .card:nth-child(3) { --x:  -32px; }
  .fan .card:nth-child(4) { --x:   32px; }
  .fan .card:nth-child(5) { --x:   95px; }
  .fan .card:nth-child(6) { --x:  160px; }
}

section { padding: 100px 0; position: relative; }
section h2 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.02; letter-spacing: -0.03em;
  font-weight: 900; margin: 0 0 14px; }
section p.lead { color: var(--mute); font-size: 18px; max-width: 580px; margin: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 820px) { .row2 { grid-template-columns: 1fr; gap: 40px; } }

.grid4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.tile { position: relative; aspect-ratio: 1/1; border-radius: 22px; overflow: hidden;
  background: var(--card); border: 1px solid var(--stroke); transition: transform .35s ease;
  opacity: 0; translate: 0 30px; }
.tile.in { opacity: 1; translate: 0 0; transition: opacity .7s ease, translate .7s cubic-bezier(.2,.9,.25,1); }
.tile:nth-child(2).in { transition-delay: .08s; }
.tile:nth-child(3).in { transition-delay: .16s; }
.tile:nth-child(4).in { transition-delay: .24s; }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s ease; }
.tile:hover img { transform: scale(1.06); }
.tile .tag { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; border-radius: 999px;
  background: rgba(6,9,15,0.6); backdrop-filter: blur(8px); font-size: 11px; font-weight: 700; letter-spacing: 1.4px; color: var(--fg); }

.ba { position: relative; aspect-ratio: 4/5; border-radius: 28px; overflow: hidden; cursor: ew-resize;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6); border: 1px solid var(--stroke); user-select: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .after-wrap { position: absolute; inset: 0; width: 50%; overflow: hidden; }
.ba .after-wrap img { width: 100%; }
.ba .handle { position: absolute; top: 0; bottom: 0; width: 3px; background: white; left: 50%;
  transform: translateX(-50%); box-shadow: 0 0 0 6px rgba(255,255,255,0.15); }
.ba .handle::after { content: "↔"; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%); background: white; color: var(--accent);
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 900; font-size: 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.35); }
.ba .tag { position: absolute; top: 14px; padding: 6px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 800; letter-spacing: 1.4px; color: white; }
.ba .tag.before { left: 14px; background: rgba(0,0,0,0.55); }
.ba .tag.after { right: 14px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 820px) { .features { grid-template-columns: 1fr; } }
.feat { padding: 26px; background: var(--card); border: 1px solid var(--stroke); border-radius: 22px;
  transition: transform .3s ease, border-color .3s ease, background .3s ease; }
.feat:hover { transform: translateY(-4px); border-color: rgba(79,182,232,0.4); background: rgba(79,182,232,0.05); }
.feat .icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); margin-bottom: 14px; font-size: 22px; }
.feat h3 { margin: 0 0 6px; font-size: 18px; }
.feat p { margin: 0; color: var(--mute); font-size: 14.5px; line-height: 1.55; }

.cta-card { padding: 60px 40px; text-align: center; border-radius: 36px;
  background: linear-gradient(135deg, rgba(17,112,177,0.2), rgba(79,182,232,0.12));
  border: 1px solid var(--stroke); position: relative; overflow: hidden; }
.cta-card::before { content: ""; position: absolute; inset: -100px; background:
  radial-gradient(circle at 30% 30%, rgba(79,182,232,0.35), transparent 60%),
  radial-gradient(circle at 70% 70%, rgba(17,112,177,0.35), transparent 60%);
  animation: drift 14s ease-in-out infinite alternate; z-index: -1; }
.cta-card h2 { margin: 0 0 12px; }
.cta-card p { color: var(--mute); margin: 0 0 28px; }

footer { padding: 40px 0 60px; border-top: 1px solid var(--stroke); color: var(--mute); font-size: 14px; }
footer .row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; align-items: center; }
footer a { color: var(--mute); margin-right: 18px; }
footer a:hover { color: var(--fg); }

.reveal { opacity: 0; translate: 0 26px; transition: opacity .8s ease, translate .8s cubic-bezier(.2,.9,.25,1); }
.reveal.in { opacity: 1; translate: 0 0; }

.legal { padding: 80px 0 100px; max-width: 760px; margin: 0 auto; }
.legal h1 { font-size: clamp(34px, 5vw, 56px); margin: 0 0 8px; }
.legal .meta { color: var(--mute); margin: 0 0 36px; font-size: 14px; }
.legal h2 { font-size: 20px; margin: 32px 0 10px; }
.legal p, .legal li { color: #c8d2dd; font-size: 15.5px; line-height: 1.7; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--accent-2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* utility */
.center { text-align: center; max-width: 720px; margin: 0 auto; }
p.lead.center { margin: 12px auto 0; }
.bullets { list-style: none; padding: 0; margin: 22px 0 0; }
.bullets li { color: #c8d2dd; padding-left: 28px; position: relative; margin: 8px 0; }
.bullets li::before { content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 16px;
  border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px rgba(79,182,232,0.5); }
.bullets li::after { content: "✓"; position: absolute; left: 3px; top: 5px; font-size: 11px; font-weight: 900; color: white; }

/* marquee */
.marquee-wrap { padding: 20px 0 60px; 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); }
.marquee { overflow: hidden; }
.marquee .track { display: flex; gap: 18px; width: max-content; animation: scroll 40s linear infinite; }
.marquee img { width: 200px; height: 280px; object-fit: cover; border-radius: 22px;
  border: 1px solid var(--stroke); box-shadow: 0 18px 50px rgba(0,0,0,0.4); flex: 0 0 auto; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee:hover .track { animation-play-state: paused; }

/* steps */
.how { padding-top: 60px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 28px; border-radius: 24px; background: var(--card); border: 1px solid var(--stroke);
  position: relative; transition: transform .3s ease, border-color .3s ease; }
.step:hover { transform: translateY(-4px); border-color: rgba(79,182,232,0.4); }
.step .num { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-weight: 900; font-size: 18px; margin-bottom: 14px; color: white;
  box-shadow: 0 12px 28px rgba(17,112,177,0.45); }
.step h3 { margin: 0 0 8px; font-size: 19px; }
.step p { margin: 0; color: var(--mute); font-size: 14.5px; line-height: 1.6; }

/* templates */
.tpl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 50px; }
@media (max-width: 820px) { .tpl-grid { grid-template-columns: 1fr; } }
.tpl { position: relative; aspect-ratio: 4/5; border-radius: 28px; overflow: hidden; display: block;
  border: 1px solid var(--stroke); background: #111; transition: transform .35s ease; color: var(--fg);
  opacity: 0; translate: 0 30px; }
.tpl.in { opacity: 1; translate: 0 0; transition: opacity .8s ease, translate .8s cubic-bezier(.2,.9,.25,1); }
.tpl:nth-child(2).in { transition-delay: .08s; }
.tpl:nth-child(3).in { transition-delay: .16s; }
.tpl:nth-child(4).in { transition-delay: .24s; }
.tpl:hover { transform: translateY(-6px); }
.tpl img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s ease; }
.tpl:hover img { transform: scale(1.06); }
.tpl .meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 22px 24px;
  background: linear-gradient(to top, rgba(6,9,15,0.92), rgba(6,9,15,0.6) 70%, transparent); }
.tpl .meta .tag { display: inline-block; padding: 5px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.12); backdrop-filter: blur(8px);
  font-size: 11px; font-weight: 800; letter-spacing: 1.4px; margin-bottom: 10px; }
.tpl .meta h4 { margin: 0 0 4px; font-size: 18px; }
.tpl .meta p { margin: 0; color: var(--mute); font-size: 13.5px; line-height: 1.5; }

/* together */
.together { padding-top: 40px; }
.cinematic { position: relative; aspect-ratio: 3/4; border-radius: 32px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55); border: 1px solid var(--stroke); }
.cinematic .kenburns { position: absolute; inset: 0; }
.cinematic .kenburns img { width: 100%; height: 100%; object-fit: cover; display: block;
  animation: kb 10s ease-in-out infinite alternate; transform-origin: 60% 40%; }
@keyframes kb { from { transform: scale(1) translate(0,0); } to { transform: scale(1.12) translate(-2%, 2%); } }
.cinematic::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(6,9,15,0.55)); pointer-events: none; }
.cinematic .badge { position: absolute; left: 18px; bottom: 18px; padding: 7px 12px;
  border-radius: 999px; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-size: 11px; font-weight: 900; letter-spacing: 1.6px; color: white; }

/* strip */
.strip { padding-top: 40px; padding-bottom: 80px; }

/* CTA rings */
.cta-card { position: relative; }
.cta-card .rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; z-index: 0; }
.cta-card .rings span { position: absolute; width: 220px; height: 220px; border-radius: 50%;
  border: 1px solid rgba(79,182,232,0.35); animation: ringPulse 3.4s ease-out infinite; }
.cta-card .rings span:nth-child(2) { animation-delay: 1.1s; }
.cta-card .rings span:nth-child(3) { animation-delay: 2.2s; }
@keyframes ringPulse {
  from { transform: scale(0.6); opacity: 0.6; }
  to   { transform: scale(2.2); opacity: 0; }
}
.cta-card h2, .cta-card p, .cta-card a { position: relative; z-index: 1; }
