:root {
  --bg: #0a0e1a;
  --bg-soft: #111726;
  --card: #151c2e;
  --line: #232c44;
  --text: #e8ecf5;
  --muted: #9aa6c0;
  --brand: #4f7cff;
  --brand-2: #22d3ee;
  --accent: #7c5cff;
  --radius: 14px;
  --maxw: 1120px;
  --shadow: 0 18px 50px rgba(0,0,0,.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,14,26,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.15rem; letter-spacing: .2px; }
.brand .logo {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .95rem;
  box-shadow: 0 6px 18px rgba(79,124,255,.4);
}
.brand small { display:block; font-weight: 500; font-size: .68rem; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff !important; padding: 10px 18px; border-radius: 10px; font-weight: 600;
  box-shadow: 0 8px 20px rgba(79,124,255,.35);
}
.menu-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 1.6rem; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 12px; font-weight: 600;
  font-size: 1rem; cursor: pointer; border: 0; transition: transform .12s, box-shadow .2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff; box-shadow: 0 10px 28px rgba(79,124,255,.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(79,124,255,.5); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: #fff; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.eyebrow {
  display: inline-block; color: var(--brand-2); font-weight: 600; font-size: .8rem;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; letter-spacing: -1px; font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -.5px; font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 620px; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.gradient-text {
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---------- Hero ---------- */
.hero { padding: 96px 0 84px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -200px; right: -150px; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(79,124,255,.22), transparent 60%); z-index: 0;
}
.hero::after {
  content: ""; position: absolute; bottom: -250px; left: -150px; width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(34,211,238,.16), transparent 60%); z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-actions { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.trust { margin-top: 38px; color: var(--muted); font-size: .9rem; display: flex; gap: 26px; flex-wrap: wrap; }
.trust b { color: var(--text); }

/* ---------- Grid / Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .15s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--brand); }
.card .ico {
  width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(79,124,255,.18), rgba(124,92,255,.18));
  font-size: 1.5rem; margin-bottom: 18px;
}
.card p { color: var(--muted); margin-top: 8px; }

/* ---------- Stats band ---------- */
.band { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.stat .num { font-size: 2.4rem; font-weight: 800; }
.stat .lbl { color: var(--muted); font-size: .92rem; }

/* ---------- CTA ---------- */
.cta-box {
  background: linear-gradient(135deg, rgba(79,124,255,.16), rgba(124,92,255,.14));
  border: 1px solid var(--line); border-radius: 20px; padding: 56px; text-align: center;
}
.cta-box h2 { margin-bottom: 14px; }
.cta-box p { color: var(--muted); max-width: 520px; margin: 0 auto 28px; }

/* ---------- Process / steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 64px; margin-bottom: 30px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff;
  display: grid; place-items: center; font-weight: 800;
}

/* ---------- Forms ---------- */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; color: var(--text); font-size: 1rem; font-family: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); }
.field textarea { resize: vertical; min-height: 120px; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.info-item { display: flex; gap: 14px; margin-bottom: 22px; }
.info-item .ico { width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 50px 0 30px; margin-top: 20px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 30px; }
.footer-col h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--muted); margin-bottom: 8px; font-size: .95rem; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 22px; color: var(--muted); font-size: .88rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- Misc ---------- */
.check-list { list-style: none; }
.check-list li { padding-left: 30px; position: relative; margin-bottom: 12px; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-2); font-weight: 800; }
.pill { display:inline-block; background: var(--bg-soft); border:1px solid var(--line); color: var(--muted); padding: 6px 14px; border-radius: 999px; font-size: .85rem; margin: 4px 6px 4px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-3, .grid-2, .stats { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 10px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 24px; width: 100%; }
  .menu-toggle { display: block; }
  .cta-box { padding: 36px 24px; }
}
