:root {
  --bg: #0b1020;
  --bg-2: #0f1630;
  --ink: #e8ecf8;
  --muted: #9aa6c4;
  --faint: #5b6787;
  --line: rgba(148, 163, 255, 0.14);
  --card: rgba(22, 30, 60, 0.55);
  --blue: #60a5fa;
  --violet: #8b5cf6;
  --pink: #f472b6;
  --cyan: #22d3ee;
  --grad: linear-gradient(100deg, #60a5fa 0%, #8b5cf6 45%, #f472b6 100%);
  --radius: 22px;
  --max: 1180px;
  --display: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body);
  font-size: 17px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.08; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0; }
section { position: relative; padding: clamp(72px, 10vw, 140px) clamp(16px, 4vw, 40px); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; color: var(--blue);
  font-weight: 600; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px;
}
.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section-head .sub { color: var(--muted); margin-top: 18px; font-size: 1.1rem; }

/* texture + cursor glow */
.noise { position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.cursor-glow { position: fixed; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.16), transparent 62%); transform: translate(-50%, -50%);
  left: -600px; top: -600px; transition: opacity .3s; }

/* nav */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(var(--max), calc(100% - 24px)); display: flex; align-items: center; gap: 28px;
  padding: 10px 12px 10px 18px; border-radius: 18px; border: 1px solid var(--line);
  background: rgba(11, 16, 32, 0.62); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: background .3s, box-shadow .3s;
}
.nav.scrolled { background: rgba(11, 16, 32, 0.88); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.links { display: flex; gap: 26px; margin-left: auto; }
.links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 0.95rem; transition: color .2s; }
.links a:hover { color: var(--ink); }
.menu { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; padding: 10px; }
.menu span { display: block; height: 2px; background: var(--ink); margin: 6px 0; border-radius: 2px; transition: transform .3s; }

/* buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 14px; font-weight: 600; text-decoration: none; font-size: 1rem;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s; will-change: transform;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px rgba(139, 92, 246, 0.35), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { box-shadow: 0 16px 44px rgba(139, 92, 246, 0.55), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: rgba(255,255,255,0.03); }
.btn-ghost:hover { background: rgba(255,255,255,0.07); }
.btn-sm { padding: 10px 16px; font-size: 0.92rem; border-radius: 12px; }
.btn-lg { padding: 18px 34px; font-size: 1.1rem; }

/* hero */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-top: 120px; overflow: hidden; }
#sphere { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .9; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; z-index: 0; animation: drift 18s ease-in-out infinite alternate; }
.b1 { width: 520px; height: 520px; background: #3b2a8f; top: -120px; left: -140px; }
.b2 { width: 460px; height: 460px; background: #0e4f7a; bottom: -160px; right: -120px; animation-delay: -6s; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.08); } }
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); font-weight: 800; }
.hero h1 .line { white-space: nowrap; }
.lead { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.25rem); margin: 26px 0 34px; max-width: 34em; }
.lead strong { color: var(--ink); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-points { list-style: none; padding: 0; margin: 34px 0 0; display: flex; gap: 22px; flex-wrap: wrap; color: var(--muted); font-size: 0.95rem; }
.hero-points li::before { content: "✓"; color: var(--cyan); margin-right: 8px; font-weight: 700; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); animation: pulse 2s infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 12px rgba(52, 211, 153, 0); } }

/* phone mockup */
.hero-phone { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: min(330px, 78vw); aspect-ratio: 1080 / 2246; border-radius: 46px; padding: 12px;
  background: linear-gradient(145deg, #2a3358, #10152b 60%); border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 100px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.6), inset 0 0 0 2px rgba(255,255,255,.04);
  transform-style: preserve-3d; transition: transform .2s ease-out;
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #f1f3f9; }
.screen { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.03); transition: opacity .7s ease, transform 1.2s ease; }
.screen.active { opacity: 1; transform: scale(1); }
.notch { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 18px; height: 18px; border-radius: 50%; background: #05070f; box-shadow: inset 0 0 0 3px #1b2140; }
.float-card {
  position: absolute; padding: 10px 14px; border-radius: 14px; font-size: .85rem; font-weight: 600; white-space: nowrap;
  background: rgba(15, 22, 48, .82); border: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0,0,0,.35); animation: bob 6s ease-in-out infinite; display: flex; align-items: center; gap: 8px;
}
.fc1 { top: 14%; left: -6%; }
.fc2 { top: 46%; right: -10%; animation-delay: -2s; }
.fc3 { bottom: 12%; left: -10%; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-12px); } }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot.ok { background: #34d399; } .dot.warn { background: #f87171; } .dot.info { background: var(--cyan); }

/* marquee */
.marquee { padding: 26px 0; border-block: 1px solid var(--line); overflow: hidden; background: rgba(255,255,255,.015);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.track { display: flex; gap: 46px; width: max-content; animation: marquee 48s linear infinite; }
.track span { font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--faint); white-space: nowrap; }
.track span:nth-child(3n) { color: var(--muted); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* stats */
.stats { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-block: 70px; }
.stat { text-align: center; padding: 26px 12px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.stat b { display: block; font-family: var(--display); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .95rem; }

/* story */
.story-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .3; transition: opacity .5s; padding-left: 26px; border-left: 2px solid var(--line); }
.step.on { opacity: 1; border-left-color: var(--violet); }
.step .num { font-family: var(--display); font-weight: 800; font-size: .95rem; color: var(--violet); letter-spacing: .1em; margin-bottom: 12px; }
.step h3 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin-bottom: 14px; }
.step p { color: var(--muted); font-size: 1.08rem; max-width: 30em; }
.story-phone { position: relative; }
.sticky { position: sticky; top: calc(50vh - min(330px, 78vw) * 1.04); margin: 0 auto; }
.progress { position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); width: 120px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.progress i { display: block; height: 100%; width: 20%; background: var(--grad); transition: width .4s; }

/* bento */
.bento { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card, .feat, .role {
  position: relative; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); padding: 28px; overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s;
}
.card:hover, .feat:hover, .role:hover { transform: translateY(-4px); border-color: rgba(139, 92, 246, .45); }
.spot::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(139, 92, 246, .18), transparent 45%); }
.spot:hover::before { opacity: 1; }
.card.big { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px;
  background: radial-gradient(circle at 80% 0%, rgba(96,165,250,.22), transparent 55%), var(--card); }
.card.wide { grid-column: span 2; }
.ico { font-size: 2rem; margin-bottom: 14px; }
.card h3 { margin-bottom: 8px; }
.card p, .feat p { color: var(--muted); font-size: .98rem; }
.chips { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: .8rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); background: rgba(255,255,255,.03); }

/* why */
.why-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat h3 { margin-bottom: 10px; font-size: 1.15rem; }

/* how */
.how-steps { list-style: none; padding: 0; margin: 0 auto; max-width: var(--max); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.how-steps li { position: relative; padding: 34px 28px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(139,92,246,.10), rgba(22,30,60,.4)); }
.how-steps span { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--grad); font-family: var(--display); font-weight: 800; margin-bottom: 18px; }
.how-steps h3 { margin-bottom: 8px; }
.how-steps p { color: var(--muted); }

/* trust */
.trust-card { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center;
  padding: clamp(28px, 5vw, 60px); border-radius: 30px; border: 1px solid var(--line);
  background: radial-gradient(circle at 0% 100%, rgba(34,211,238,.14), transparent 50%), radial-gradient(circle at 100% 0%, rgba(244,114,182,.12), transparent 50%), var(--bg-2); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.checks li { color: var(--muted); padding-left: 36px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center;
  background: rgba(52, 211, 153, .15); color: #34d399; font-weight: 800; font-size: .85rem; }
.checks b { color: var(--ink); }

/* roles */
.role-row { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.role b { display: block; font-family: var(--display); font-size: 1.1rem; margin-bottom: 6px; }
.role span { color: var(--muted); font-size: .92rem; }

/* faq */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
details { border: 1px solid var(--line); border-radius: 16px; background: var(--card); padding: 4px 22px; transition: border-color .3s; }
details[open] { border-color: rgba(139, 92, 246, .45); }
summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; color: var(--violet); transition: transform .3s; line-height: 1; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding-bottom: 20px; }

/* cta */
.cta-card { position: relative; max-width: var(--max); margin: 0 auto; text-align: center; padding: clamp(56px, 9vw, 110px) 24px; border-radius: 34px; overflow: hidden;
  border: 1px solid rgba(139, 92, 246, .4); background: radial-gradient(circle at 50% 120%, rgba(139,92,246,.45), transparent 60%), var(--bg-2); }
#cta-sphere { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.cta-card > * { position: relative; }
.cta-card h2 { margin-bottom: 18px; }
.cta-card p { color: var(--muted); margin-bottom: 34px; font-size: 1.1rem; }
.cta-card .small { margin: 22px 0 0; font-size: .95rem; }

/* footer */
.foot { max-width: var(--max); margin: 0 auto; padding: 50px clamp(16px, 4vw, 40px) 60px; border-top: 1px solid var(--line); display: grid; gap: 12px; color: var(--faint); font-size: .9rem; }
.foot .tm { font-size: .8rem; }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .cta-row, .hero-points { justify-content: center; }
  .lead { margin-inline: auto; }
  .hero-phone { margin-top: 30px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .role-row { grid-template-columns: repeat(2, 1fr); }
  .trust-card { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  #sphere { opacity: .35; }
  .eyebrow { justify-content: center; }
  .links { position: fixed; inset: 70px 12px auto 12px; flex-direction: column; gap: 4px; padding: 14px; border-radius: 16px; border: 1px solid var(--line);
    background: rgba(11,16,32,.96); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: .25s; }
  .links.open { opacity: 1; pointer-events: auto; transform: none; }
  .links a { padding: 12px; }
  .menu { display: block; margin-left: auto; }
  .nav > .btn { display: none; }
  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .story-phone { order: -1; position: sticky; top: 76px; z-index: 3; height: 46vh; margin-bottom: 10px; }
  .story-phone .phone { width: auto; height: 100%; }
  .sticky { position: relative; top: 0; }
  .step { min-height: 52vh; }
  .float-card { display: none; }
  .bento, .why-grid, .how-steps, .role-row { grid-template-columns: 1fr; }
  .card.big, .card.wide { grid-column: auto; grid-row: auto; min-height: 0; }
  .stats { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
