:root {
  --bg: #0a0a14;
  --bg-2: #0f0f1f;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);
  --text: #e8e8f0;
  --muted: #9ca3af;
  --dim: #6b7280;
  --violet: #7c3aed;
  --violet-2: #a855f7;
  --cyan: #06b6d4;
  --mint: #22d3ee;
  --amber: #f59e0b;
  --ok: #22c55e;
  --warn: #facc15;
  --bad: #ef4444;
  --grad: linear-gradient(135deg, #a855f7 0%, #7c3aed 40%, #06b6d4 100%);
  --grad-soft: linear-gradient(135deg, rgba(168,85,247,.18) 0%, rgba(6,182,212,.18) 100%);
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 20px 60px rgba(0, 0, 0, .45);
  --shadow-glow: 0 10px 40px rgba(124, 58, 237, .35);
  --container: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font: 400 16px/1.6 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.muted { color: var(--muted); }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ────────────── backgrounds ────────────── */

.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 20% 10%, rgba(124, 58, 237, .35) 0%, transparent 60%),
    radial-gradient(50% 40% at 85% 15%, rgba(6, 182, 212, .28) 0%, transparent 60%),
    radial-gradient(55% 45% at 50% 85%, rgba(168, 85, 247, .22) 0%, transparent 60%),
    linear-gradient(180deg, #0a0a14 0%, #0d0d1a 60%, #0a0a14 100%);
  filter: blur(0);
  pointer-events: none;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,.9) 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,.9) 30%, transparent 75%);
  pointer-events: none;
}

/* ────────────── typography ────────────── */

h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}

.h2 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.05; }
.lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--muted); max-width: 62ch; }

.kicker {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface);
  margin-bottom: 18px;
}

.section__head { text-align: center; margin-bottom: 56px; }
.section__head .lead { margin: 12px auto 0; }
.section__head .h2 { margin-top: 4px; }

/* ────────────── buttons ────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn--lg { padding: 14px 24px; font-size: 15px; border-radius: 14px; }
.btn--block { width: 100%; }

.btn--primary {
  color: #fff;
  background: var(--grad);
  box-shadow: var(--shadow-glow);
  position: relative;
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 14px 50px rgba(124, 58, 237, .55); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border-2);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: var(--surface-2); border-color: rgba(255,255,255,.22); }

/* ────────────── nav ────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  background: rgba(10, 10, 20, .55);
  border-bottom: 1px solid rgba(255, 255, 255, .04);
}
.nav__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px 24px;
}
.brand { display: inline-flex; align-items: center; }
.nav__links { display: flex; gap: 28px; justify-content: center; }
.nav__links a { color: var(--muted); font-size: 14px; font-weight: 500; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__cta { display: flex; gap: 10px; }
.nav__burger { display: none; background: transparent; border: 0; width: 40px; height: 40px; cursor: pointer; }
.nav__burger span { display: block; height: 2px; background: var(--text); margin: 6px 4px; border-radius: 2px; }

/* ────────────── hero ────────────── */

.hero { padding: 80px 0 100px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: #e9d5ff;
  background: linear-gradient(135deg, rgba(168,85,247,.22), rgba(6,182,212,.22));
  border: 1px solid rgba(168,85,247,.35);
  margin-bottom: 22px;
}
.hero__title {
  font-size: clamp(44px, 6.5vw, 84px);
  line-height: 1;
  margin: 0 0 20px;
}
.hero__sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--muted);
  max-width: 56ch;
  margin: 0 0 28px;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero__bullets {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 18px;
  color: var(--muted); font-size: 14px;
}
.hero__bullets li { display: inline-flex; align-items: center; gap: 8px; }
.hero__bullets .ico { width: 18px; height: 18px; color: var(--mint); }

.hero__visual { position: relative; }
.hero__blob {
  position: absolute;
  inset: -40px -40px -60px -40px;
  z-index: -1;
  background:
    radial-gradient(60% 55% at 30% 40%, rgba(124, 58, 237, .4) 0%, transparent 60%),
    radial-gradient(55% 55% at 80% 70%, rgba(6, 182, 212, .35) 0%, transparent 60%);
  filter: blur(30px);
  border-radius: 50%;
  opacity: .7;
  animation: float 8s ease-in-out infinite alternate;
}
@keyframes float { from { transform: translateY(0) } to { transform: translateY(-12px) } }

/* ────────────── calculator mock ────────────── */

.mock {
  background: linear-gradient(180deg, rgba(24,24,40,.92), rgba(16,16,30,.92));
  border: 1px solid var(--border-2);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(14px);
}
.mock__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--dim);
}
.mock__bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--r { background: #ff5f57; }
.dot--y { background: #febc2e; }
.dot--g { background: #28c840; }
.mock__url { margin-left: 12px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

.mock__body { padding: 16px 16px 18px; font-size: 13px; }
.mock__head, .mock__row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.3fr;
  gap: 12px;
  padding: 12px 12px;
  align-items: center;
}
.mock__head { color: var(--dim); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; border-bottom: 1px dashed var(--border); }
.mock__row { border-bottom: 1px solid var(--border); transition: background .2s; }
.mock__row:last-of-type { border-bottom: 0; }
.mock__row--warn { background: linear-gradient(90deg, rgba(250, 204, 21, .08), transparent); }
.mock__row--bad { background: linear-gradient(90deg, rgba(239, 68, 68, .12), transparent); }
.mock__name { display: inline-flex; align-items: center; gap: 10px; }
.mock__thumb {
  width: 26px; height: 26px; border-radius: 6px; flex-shrink: 0;
  background: linear-gradient(135deg, #4b5563, #1f2937);
}
.mock__thumb--1 { background: linear-gradient(135deg, #7c3aed, #ec4899); }
.mock__thumb--2 { background: linear-gradient(135deg, #06b6d4, #22c55e); }
.mock__thumb--3 { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.mock__margin { font-weight: 600; }
.mock__margin small { display: block; font-weight: 500; font-size: 11px; margin-top: 2px; opacity: .85; }
.mock__margin--ok   { color: #86efac; }
.mock__margin--warn { color: #fde68a; }
.mock__margin--bad  { color: #fca5a5; }

.mock__summary {
  display: flex; gap: 12px; flex-wrap: wrap;
  padding: 14px 12px 4px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px dashed var(--border);
  margin-top: 6px;
}
.pill { padding: 4px 10px; border-radius: 999px; font-weight: 600; border: 1px solid transparent; }
.pill--ok   { color: #86efac; background: rgba(34,197,94,.1); border-color: rgba(34,197,94,.25); }
.pill--warn { color: #fde68a; background: rgba(250,204,21,.1); border-color: rgba(250,204,21,.3); }
.pill--bad  { color: #fca5a5; background: rgba(239,68,68,.1); border-color: rgba(239,68,68,.3); }

/* ────────────── trust ────────────── */

.trust { padding: 40px 0 10px; }
.trust__hint { color: var(--dim); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; text-align: center; margin: 0 0 18px; }
.trust__row {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px;
  color: var(--muted); font-size: 14px;
}
.trust__row li { display: inline-flex; align-items: center; gap: 10px; }
.trust__row small { color: var(--dim); margin-left: 4px; }
.trust__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--grad);
}

/* ────────────── pain ────────────── */

.pain { padding: 90px 0; }
.pain__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.pain__list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 12px;
}
.pain__list li {
  padding: 16px 18px 16px 42px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  position: relative;
  color: var(--muted);
}
.pain__list li::before {
  content: "!";
  position: absolute;
  left: 14px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(239,68,68,.18);
  color: #fca5a5;
  font-weight: 700; font-size: 12px;
  display: grid; place-items: center;
}

/* ────────────── features ────────────── */

.features { padding: 90px 0; }
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  position: relative;
  transition: transform .2s ease, border-color .2s ease, box-shadow .3s ease;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(168,85,247,.5), rgba(6,182,212,.35), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s;
  pointer-events: none;
}
.card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 20px 60px rgba(124,58,237,.18); }
.card:hover::after { opacity: 1; }
.card__icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(168,85,247,.18), rgba(6,182,212,.18));
  border: 1px solid rgba(168,85,247,.25);
  margin-bottom: 18px;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }

/* ────────────── how ────────────── */

.how { padding: 90px 0; }
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  counter-reset: step;
}
.step {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
}
.step__num {
  font-family: "Space Grotesk";
  font-size: 68px;
  font-weight: 700;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .35;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
  display: inline-block;
}
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; }

/* ────────────── metrics ────────────── */

.metrics { padding: 40px 0 90px; }
.metric {
  text-align: center;
  padding: 28px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.metric__big {
  display: block;
  font-family: "Space Grotesk";
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.metric__lbl { color: var(--muted); font-size: 13px; line-height: 1.4; }

/* ────────────── pricing ────────────── */

.pricing { padding: 90px 0; }
.plans {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
  max-width: 940px;
  margin: 0 auto;
  align-items: stretch;
}
.plan {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  position: relative;
  display: flex; flex-direction: column;
}
.plan--featured {
  border-color: rgba(168,85,247,.4);
  box-shadow: 0 20px 60px rgba(124,58,237,.25);
  background:
    radial-gradient(80% 60% at 0% 0%, rgba(168,85,247,.14), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
}
.plan__badge {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  color: #e9d5ff;
  background: rgba(168,85,247,.18);
  border: 1px solid rgba(168,85,247,.35);
  margin-bottom: 16px;
}
.plan__badge--muted { color: var(--muted); background: var(--surface); border-color: var(--border-2); }
.plan__name { font-size: 22px; margin: 0 0 18px; }
.plan__price { margin-bottom: 20px; display: flex; align-items: baseline; gap: 6px; }
.plan__amount {
  font-family: "Space Grotesk";
  font-size: 48px; font-weight: 700; letter-spacing: -0.03em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.plan__period { color: var(--muted); font-size: 14px; }
.plan__features {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: grid; gap: 10px;
  color: var(--muted); font-size: 15px;
}
.plan__features li {
  padding-left: 26px;
  position: relative;
}
.plan__features li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(34,197,94,.15);
  box-shadow: inset 0 0 0 1px rgba(34,197,94,.4);
}
.plan__features li::after {
  content: "";
  position: absolute; left: 4px; top: 12px;
  width: 8px; height: 4px;
  border-left: 2px solid #86efac;
  border-bottom: 2px solid #86efac;
  transform: rotate(-45deg);
}
.plan--ghost { opacity: .85; }
.plan--ghost .plan__features li::before { background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--border-2); }
.plan--ghost .plan__features li::after { border-color: var(--muted); }
.plan__note { font-size: 12px; color: var(--dim); margin-top: 14px; margin-bottom: 0; }
.plan .btn { margin-top: auto; }

/* ────────────── company ────────────── */

.company { padding: 90px 0; }
.company__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.company__ctas { display: flex; gap: 10px; margin-top: 20px; }
.company__stats {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.company__stats li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: center;
}

/* ────────────── contact ────────────── */

.contact { padding: 90px 0 120px; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact__info {
  list-style: none; padding: 0; margin: 22px 0 0;
  display: grid; gap: 10px;
  color: var(--muted);
}
.contact__info a { color: var(--text); }
.contact__info a:hover { color: var(--mint); }
.contact__info strong { color: var(--dim); font-weight: 500; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-right: 10px; }

.form {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  display: grid; gap: 16px;
}
.field { display: grid; gap: 6px; }
.field__lbl { font-size: 13px; color: var(--muted); font-weight: 500; }
.field input, .field textarea {
  font: inherit;
  padding: 12px 14px;
  background: rgba(0, 0, 0, .25);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  color: var(--text);
  transition: border-color .2s, background .2s;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: rgba(168,85,247,.55);
  background: rgba(0,0,0,.35);
  box-shadow: 0 0 0 4px rgba(168,85,247,.12);
}
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.form__note { font-size: 12px; color: var(--dim); margin: 0; }
.form__status { min-height: 20px; font-size: 14px; }
.form__status.ok  { color: #86efac; }
.form__status.err { color: #fca5a5; }

/* ────────────── footer ────────────── */

.footer { padding: 48px 0 24px; border-top: 1px solid var(--border); background: rgba(0,0,0,.25); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.footer__brand p { margin-top: 14px; font-size: 14px; max-width: 30ch; }
.footer__col h4 { font-size: 14px; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; font-weight: 600; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.footer__col a:hover { color: var(--text); }
.footer__legal {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-top: 20px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--dim);
}

/* ────────────── reveal animation ────────────── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--delay { transition-delay: .15s; }

/* ────────────── responsive ────────────── */

@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__cta .btn--ghost { display: none; }
  .hero { padding: 48px 0 60px; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .pain__grid { grid-template-columns: 1fr; gap: 32px; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .grid--4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .company__grid { grid-template-columns: 1fr; gap: 40px; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 620px) {
  .container { padding: 0 18px; }
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .company__stats { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .mock__head, .mock__row {
    grid-template-columns: 1.8fr 1fr 1.2fr;
    font-size: 12px;
  }
  .mock__head span:nth-child(3),
  .mock__head span:nth-child(4),
  .mock__row  span:nth-child(3),
  .mock__row  span:nth-child(4) { display: none; }
  .hero__title { font-size: 44px; }
  .section__head { margin-bottom: 36px; }
}
