:root {
  --bg: #060d16;
  --surface: rgba(255,255,255,.04);
  --line: rgba(255,255,255,.10);
  --ink: #e9f1f8;
  --muted: #92a6b8;
  --cyan: #38e1ff;
  --violet: #8b7bff;
  --grad: linear-gradient(90deg, var(--cyan), var(--violet));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.65 "Segoe UI Variable", "Segoe UI", "Avenir Book", "Nunito Sans", Arial, sans-serif;
}
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 740px; }
h1, h2, h3, .brand { font-family: "Segoe UI Variable Display", "Century Gothic", "Trebuchet MS", Arial, sans-serif; line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); margin: .3em 0; }
h2 { font-size: 1.9rem; margin: 4rem 0 1.4rem; }
h3 { margin: .6rem 0 .4rem; font-size: 1.12rem; }
a { color: var(--cyan); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ambient background */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .35; }
.o1 { width: 520px; height: 520px; background: #1f8bff; top: -160px; left: -120px; }
.o2 { width: 460px; height: 460px; background: #7a4dff; top: 30%; right: -160px; }
.grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .35;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
}

/* header */
.site-header { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); background: rgba(6,13,22,.65); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; }
nav { display: flex; align-items: center; gap: 22px; }
nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
nav a:hover { color: #fff; }

/* buttons */
.btn {
  display: inline-block; background: var(--grad); color: #04101b; font-weight: 700;
  padding: 13px 24px; border-radius: 10px; border: 0; text-decoration: none; cursor: pointer; font-size: 1rem;
  box-shadow: 0 0 28px rgba(56,225,255,.25); transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 38px rgba(56,225,255,.45); }
.btn.small { padding: 7px 16px; font-size: .9rem; color: #04101b; }
nav a.btn { color: #04101b; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--cyan); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 1.6rem 0; }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 24px; }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 560px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--cyan); margin: 0; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 2s infinite; }
.stats { display: flex; gap: 28px; list-style: none; padding: 0; margin: 2rem 0 0; flex-wrap: wrap; }
.stats b { display: block; font-size: 1.5rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { font-size: .85rem; color: var(--muted); }

.hero-visual { position: relative; }
.panel { background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid var(--line); border-radius: 16px; padding: 18px; backdrop-filter: blur(10px); box-shadow: 0 20px 60px rgba(0,0,0,.45), 0 0 60px rgba(56,225,255,.08); }
.panel-top { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; color: var(--muted); font: .8rem ui-monospace, Consolas, monospace; }
.panel-top i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.panel-top i:nth-child(2) { background: #febc2e; }
.panel-top i:nth-child(3) { background: #28c840; margin-right: 8px; }
.row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.row em { font-style: normal; color: #4be39a; font: .85rem ui-monospace, Consolas, monospace; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; margin: 18px 0 8px; }
.bars i { flex: 1; height: var(--h); border-radius: 5px 5px 0 0; background: linear-gradient(180deg, var(--cyan), rgba(139,123,255,.35)); transform-origin: bottom; animation: grow 1.2s ease-out both; }
.bars i:nth-child(2) { animation-delay: .08s; } .bars i:nth-child(3) { animation-delay: .16s; } .bars i:nth-child(4) { animation-delay: .24s; }
.bars i:nth-child(5) { animation-delay: .32s; } .bars i:nth-child(6) { animation-delay: .4s; } .bars i:nth-child(7) { animation-delay: .48s; }
.saved { margin: 0; text-align: right; font-size: .85rem; color: var(--cyan); }
.chip { position: absolute; padding: 6px 14px; border-radius: 999px; font-size: .85rem; background: rgba(6,13,22,.85); border: 1px solid var(--line); box-shadow: 0 0 20px rgba(56,225,255,.2); animation: float 5s ease-in-out infinite; }
.c1 { top: -16px; right: 14px; } .c2 { bottom: 70px; left: -22px; animation-delay: -1.5s; } .c3 { bottom: -14px; right: 40px; animation-delay: -3s; }

/* cards */
.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
article { padding: 24px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); transition: transform .2s, border-color .2s, box-shadow .2s; }
article:hover { transform: translateY(-4px); border-color: rgba(56,225,255,.5); box-shadow: 0 10px 40px rgba(56,225,255,.08); }
article svg { width: 36px; height: 36px; fill: none; stroke: var(--cyan); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(56,225,255,.45)); }
article p { margin: 0; color: var(--muted); font-size: .98rem; }

/* about */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: start; }
.about p { color: var(--muted); }
.facts { list-style: none; margin: 4rem 0 0; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); display: grid; gap: 14px; color: var(--muted); font-size: .95rem; }
.facts b { color: var(--ink); display: block; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 16px 18px 16px 64px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--muted); }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #04101b; background: var(--grad); }
.steps b { color: var(--ink); }

/* form */
form { display: grid; gap: 16px; margin: 1.4rem 0 4rem; padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
input, textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; width: 100%; background: rgba(0,0,0,.35); color: var(--ink); }
input:focus, textarea:focus { outline: 0; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(56,225,255,.2); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#form-status { margin: 0; font-weight: 600; }
#form-status.ok { color: #4be39a; }
#form-status.err { color: #ff7a7a; }

footer { border-top: 1px solid var(--line); color: var(--muted); padding: 26px 0; }
footer p { margin: .2rem 0; }
footer .small { font-size: .85rem; opacity: .75; }

@keyframes pulse { 50% { opacity: .35; } }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes grow { from { transform: scaleY(0); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

@media (max-width: 860px) {
  .hero, .about { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .facts { margin-top: 0; }
  nav a:not(.btn) { display: none; }
  .c2 { left: 0; }
}
