:root {
  --bg: #0b0f14; --surface: #161d26; --surface-2: #1e2730; --border: #2a3540;
  --text: #eef3f8; --muted: #93a1b0; --accent: #4c8bf5; --accent-2: #a371f7;
  --green: #2ea043; --amber: #d29922; --red: #f85149;
  --grad: linear-gradient(135deg, #4c8bf5 0%, #a371f7 100%);
  --radius: 18px;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.bg-glow { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 400px at 80% -5%, rgba(76,139,245,.22), transparent 70%),
    radial-gradient(500px 400px at 10% 8%, rgba(163,113,247,.18), transparent 70%),
    radial-gradient(700px 500px at 50% 110%, rgba(76,139,245,.10), transparent 70%);
}

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 30px; backdrop-filter: blur(12px); background: rgba(11,15,20,.7); border-bottom: 1px solid var(--border); }
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.brand { font-size: 23px; font-weight: 800; letter-spacing: -.5px; }
.brand span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 13px;
  border: 1px solid var(--border); background: var(--surface-2); color: var(--text); font-weight: 700; font-size: 15px;
  font-family: inherit; cursor: pointer; transition: transform .15s, box-shadow .25s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 17px 32px; font-size: 17px; }
.btn-primary { background: var(--grad); border: none; color: #fff; box-shadow: 0 10px 30px -8px rgba(76,139,245,.6); }
.btn-primary:hover { box-shadow: 0 16px 40px -8px rgba(76,139,245,.7); }
.btn-ghost { background: transparent; }
.btn-ghost:hover { border-color: var(--accent); }

/* hero */
.hero { max-width: 1200px; margin: 0 auto; padding: 80px 30px 60px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; }
.pill { display: inline-block; padding: 7px 15px; border-radius: 30px; background: var(--surface-2);
  border: 1px solid var(--border); color: #b9c6f5; font-weight: 700; font-size: 13px; margin-bottom: 22px; }
.hero h1 { font-size: 56px; line-height: 1.05; margin: 0 0 22px; font-weight: 800; letter-spacing: -1.5px; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 30px; max-width: 520px; line-height: 1.6; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 18px; margin-top: 24px; color: var(--muted); font-size: 14px; font-weight: 600; flex-wrap: wrap; }
.hero-meta span { color: #7fd28c; }

/* browser mockup */
.hero-visual { position: relative; }
.browser { border-radius: 16px; overflow: hidden; border: 1px solid var(--border);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.02);
  transform: perspective(1400px) rotateY(-9deg) rotateX(3deg); transition: transform .5s; }
.hero-visual:hover .browser { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #0e141b; border-bottom: 1px solid var(--border); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #39424d; }
.browser-bar i:nth-child(1){ background:#ff5f57;} .browser-bar i:nth-child(2){ background:#febc2e;} .browser-bar i:nth-child(3){ background:#28c840;}
.browser-bar span { margin-left: 12px; color: var(--muted); font-size: 12px; }
.browser img { width: 100%; }

.floating-card { position: absolute; background: rgba(22,29,38,.92); backdrop-filter: blur(8px);
  border: 1px solid var(--border); border-radius: 13px; padding: 13px 16px; font-size: 13px; color: var(--muted);
  box-shadow: 0 20px 50px -16px rgba(0,0,0,.7); font-weight: 600; animation: float 5s ease-in-out infinite; }
.floating-card b { color: var(--text); font-size: 17px; }
.fc1 { top: 14%; left: -34px; } .fc2 { bottom: 16%; right: -30px; animation-delay: 1.5s; }
@keyframes float { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-10px);} }

/* stats */
.stats { max-width: 1100px; margin: 10px auto 0; padding: 30px; display: grid; grid-template-columns: repeat(4,1fr); gap: 20px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.stat { text-align: center; }
.stat .num { font-size: 42px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* sections */
.section { max-width: 1150px; margin: 0 auto; padding: 90px 30px; }
.section-head { text-align: center; margin-bottom: 50px; }
.section-head h2 { font-size: 38px; margin: 0 0 12px; letter-spacing: -1px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px;
  transition: transform .25s, border-color .25s, box-shadow .25s; }
.card:hover { transform: translateY(-5px); border-color: rgba(76,139,245,.5); box-shadow: 0 24px 50px -24px rgba(76,139,245,.45); }
.card .ic { font-size: 32px; margin-bottom: 16px; }
.card h3 { margin: 0 0 10px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* screens */
.screens-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.shot { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: var(--surface);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); transition: transform .25s; }
.shot:hover { transform: translateY(-6px) scale(1.01); }
.shot img { width: 100%; border-bottom: 1px solid var(--border); }
.shot figcaption { padding: 14px 16px; color: var(--muted); font-size: 14px; font-weight: 600; }

/* timeline */
.timeline { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 4px; }
.tl { display: flex; gap: 20px; padding: 18px 0; align-items: flex-start; }
.tl span { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 18px; box-shadow: 0 10px 24px -8px rgba(76,139,245,.6); }
.tl b { font-size: 18px; } .tl p { margin: 4px 0 0; color: var(--muted); }

/* who */
.who-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.who-grid div { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 24px;
  text-align: center; font-weight: 700; transition: border-color .2s; }
.who-grid div:hover { border-color: rgba(163,113,247,.5); }

/* final */
.final { text-align: center; max-width: 760px; margin: 0 auto; padding: 100px 30px;
  background: radial-gradient(700px 300px at 50% 50%, rgba(76,139,245,.12), transparent 70%); }
.final h2 { font-size: 40px; margin: 0 0 14px; letter-spacing: -1px; }
.final p { color: var(--muted); font-size: 18px; margin: 0 0 28px; }
.hint { margin-top: 18px; color: var(--muted); font-size: 14px; }

footer { border-top: 1px solid var(--border); padding: 36px 30px; text-align: center; }
.muted { color: var(--muted); font-size: 14px; margin-top: 8px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 50px; text-align: center; }
  .hero h1 { font-size: 38px; } .hero-actions, .hero-meta { justify-content: center; }
  .browser { transform: none; } .floating-card { display: none; }
  .stats, .cards, .screens-grid, .who-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .section-head h2 { font-size: 30px; }
}
