:root {
  --bg: #0b0b0f;
  --bg-2: #111118;
  --card: #15151d;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f4f6;
  --muted: #a1a1ad;
  --red: #ff4433;
  --orange: #ff9900;
  --violet: #8b7cf6;
  --grad: linear-gradient(120deg, var(--red), var(--orange));
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; max-width: 18ch; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 1.125rem; max-width: 52ch; margin-top: 20px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 0.8rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px var(--orange); }
.dot.violet { background: var(--violet); box-shadow: 0 0 12px var(--violet); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 24px; border-radius: 999px; font: 600 0.95rem var(--body);
  background: var(--grad); color: #1a0b00; border: 0; cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(255, 90, 40, .6); }
.btn-sm { padding: 10px 18px; font-size: .85rem; }
.btn-lg { padding: 18px 34px; font-size: 1.05rem; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: rgba(255,255,255,.3); box-shadow: none; }
.btn-violet { background: var(--violet); color: #0f0b24; }
.btn-violet:hover { box-shadow: 0 10px 30px -8px rgba(139, 124, 246, .7); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px max(16px, calc((100% - 1160px) / 2));
  background: rgba(11, 11, 15, .72); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font: 500 1.1rem var(--display); }
.brand b { font-weight: 700; }
.brand img { height: 26px; width: auto; }
.foot .brand img { height: 20px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--muted); font-size: .92rem; transition: color .2s; }
.nav-links a:hover { color: var(--text); }

/* Glow */
.glow { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .5; pointer-events: none; }
.glow-a { width: 480px; height: 480px; background: var(--red); top: -160px; left: -140px; opacity: .28; }
.glow-b { width: 420px; height: 420px; background: var(--orange); top: 120px; right: -120px; opacity: .18; }
.glow-c { width: 520px; height: 520px; background: var(--violet); top: 40px; right: -160px; opacity: .2; }

/* Hero */
.hero { position: relative; padding: clamp(56px, 9vw, 120px) 0 clamp(56px, 8vw, 100px); overflow: hidden; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero .lead { margin-top: 24px; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 36px; margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--line); }
.facts dt { font: 500 .72rem var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.facts dd { margin: 4px 0 0; font: 600 1rem var(--display); }

.code-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 30px 80px -30px rgba(255, 80, 40, .35); overflow: hidden; }
.code-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.code-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3a46; }
.code-bar i:nth-child(1) { background: var(--red); }
.code-bar i:nth-child(2) { background: var(--orange); }
.code-bar span { margin-left: 10px; font: 400 .78rem var(--mono); color: var(--muted); }
.code-card pre { padding: 22px; font: 400 .85rem/1.75 var(--mono); overflow-x: auto; }
.c { color: #5d5d6b; } .k { color: #ff7a66; } .f { color: #ffb84d; } .p { color: #c9c9d4; } .s { color: #8ddc9b; }
.caret { display: inline-block; width: 8px; height: 1em; margin-left: 3px; background: var(--orange); vertical-align: text-bottom; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Marquee */
.marquee { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 18px 0; }
.track { display: flex; gap: 56px; width: max-content; animation: slide 32s linear infinite; }
.track span { font: 500 .95rem var(--mono); color: var(--muted); white-space: nowrap; }
.track span::before { content: "“"; color: var(--red); margin-right: 10px; font-size: 1.2em; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Sections */
.section { position: relative; padding: clamp(64px, 9vw, 112px) 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.card {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px;
  transition: transform .25s, border-color .25s;
}
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--grad); opacity: 0; transition: opacity .25s; z-index: 0; mix-blend-mode: soft-light; pointer-events: none; }
.card:hover { transform: translateY(-4px); border-color: rgba(255, 120, 60, .5); }
.card:hover::after { opacity: .18; }
.card .num { font: 500 .8rem var(--mono); color: var(--orange); }
.card h3 { margin: 14px 0 10px; }
.card p { color: var(--muted); font-size: .95rem; }

/* Aline */
.aline { background: linear-gradient(180deg, var(--bg), #0e0c18 50%, var(--bg)); overflow: hidden; }
.aline-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.aline-title { display: flex; align-items: center; gap: 16px; }
.aline-title img { border-radius: 14px; box-shadow: 0 0 0 1px var(--line), 0 10px 30px -10px var(--violet); }
.ticks { list-style: none; padding: 0; margin-top: 28px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; color: var(--muted); font-size: .98rem; }
.ticks li::before { content: "✦"; position: absolute; left: 0; color: var(--violet); }
.ticks b { color: var(--text); font-weight: 600; }
.price { color: var(--muted); font-size: .95rem; }
.price b { color: var(--text); font-family: var(--display); }

.phone-wrap { position: relative; height: 620px; }
.shot { position: absolute; width: 270px; height: auto; border-radius: 34px; border: 1px solid rgba(255,255,255,.14); background: #14111f; box-shadow: 0 40px 90px -30px rgba(139, 124, 246, .55); }
.shot-front { left: 18%; top: 0; transform: rotate(-3deg); z-index: 2; }
.shot-back { right: 2%; top: 56px; transform: rotate(4deg); opacity: .92; }
.chip { position: absolute; padding: 8px 14px; border-radius: 999px; font: 500 .78rem var(--mono); background: var(--card); border: 1px solid var(--line); box-shadow: 0 10px 30px -10px #000; }
.chip-1 { top: 8px; right: 4%; z-index: 3; }
.chip-2 { bottom: 40px; left: 4%; z-index: 3; color: #d8d3f7; }

/* Steps */
.steps { list-style: none; padding: 0; margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { padding-top: 22px; border-top: 2px solid var(--line); position: relative; }
.steps li::before { content: ""; position: absolute; top: -2px; left: 0; width: 44px; height: 2px; background: var(--grad); }
.steps span { font: 500 .8rem var(--mono); color: var(--orange); }
.steps h3 { margin: 10px 0 8px; }
.steps p { color: var(--muted); font-size: .93rem; }

/* Stack */
.stack { background: var(--bg-2); border-block: 1px solid var(--line); }
.stack-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.stack-grid div { padding: 24px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); }
.stack-grid h3 { font: 500 .8rem var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--orange); margin-bottom: 10px; }
.stack-grid p { color: var(--muted); font-size: .93rem; }

/* CTA */
.cta-final { text-align: center; overflow: hidden; }
.cta-final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% 100%, rgba(255, 90, 40, .22), transparent 70%); }
.cta-final .wrap { position: relative; display: grid; justify-items: center; }
.cta-final h2 { max-width: 20ch; margin-top: 20px; }
.cta-final .lead { margin-bottom: 32px; }
.big-logo { height: 56px; width: auto; }

.footer { border-top: 1px solid var(--line); padding: 28px 0; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.foot p { color: var(--muted); font-size: .85rem; }

.foot-right { display: inline-flex; align-items: center; gap: 16px; }
.social-icon { display: inline-flex; color: var(--muted); transition: color .2s; }
.social-icon:hover { color: var(--orange); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero-grid, .aline-grid { grid-template-columns: 1fr; gap: 48px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps, .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .cards, .steps, .stack-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; gap: 24px; }
  .phone-wrap { height: 560px; } .shot { width: 230px; } .shot-front { left: 0; } .shot-back { right: 0; }
  .chip-2 { left: 0; }
  .footer { padding: 44px 0 52px; }
  .foot { flex-direction: column; align-items: flex-start; gap: 24px; }
  .foot-right { flex-wrap: wrap; gap: 14px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .track, .caret { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
