:root {
  --bg: #060d18;
  --bg-2: #0a1425;
  --bg-card: #0e1a30;
  --border: rgba(120, 160, 220, 0.14);
  --text: #e8eef7;
  --text-dim: #9fb0c8;
  --accent: #3d8bfd;
  --accent-2: #6ea8ff;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Sora', 'Inter', sans-serif; line-height: 1.15; letter-spacing: -0.02em; }

a { color: var(--accent-2); text-decoration: none; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 13, 24, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav .brand { display: flex; align-items: center; gap: 10px; }
.nav .brand img { height: 46px; width: auto; }
.nav ul { display: flex; gap: 6px; list-style: none; align-items: center; }
.nav ul a {
  color: var(--text-dim); font-size: 15px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px; transition: all .18s;
}
.nav ul a:hover { color: var(--text); background: rgba(120,160,220,.08); }
.nav ul a.active { color: var(--text); }
.nav ul a.btn-nav {
  color: #fff; background: var(--accent); margin-left: 8px;
}
.nav ul a.btn-nav:hover { background: var(--accent-2); }
.menu-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 26px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 110px 0 90px;
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(61,139,253,.16), transparent 60%),
    radial-gradient(700px 380px at 8% 110%, rgba(61,139,253,.10), transparent 60%),
    var(--bg);
}
.hero .eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent-2);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 16px; margin-bottom: 26px; background: rgba(61,139,253,.06);
}
.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 3.9rem); font-weight: 700; max-width: 780px;
}
.hero h1 .grad {
  background: linear-gradient(92deg, var(--accent) 0%, #7fb4ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead {
  margin-top: 22px; font-size: 1.18rem; color: var(--text-dim); max-width: 640px;
}
.hero .actions { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-weight: 600; font-size: 15.5px;
  padding: 13px 28px; border-radius: 10px; transition: all .18s; cursor: pointer;
  border: 0; font-family: inherit;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-2); }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head .kicker {
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; }
.section-head p { margin-top: 14px; color: var(--text-dim); font-size: 1.05rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
  transition: transform .18s, border-color .18s;
}
.card:hover { transform: translateY(-3px); border-color: rgba(61,139,253,.4); }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(61,139,253,.12); color: var(--accent-2);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.18rem; margin-bottom: 10px; font-weight: 600; }
.card p { color: var(--text-dim); font-size: 15.5px; }

/* ---------- Feature rows ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pillar { text-align: center; padding: 26px 14px; border-radius: var(--radius); border: 1px solid var(--border); background: rgba(61,139,253,.04); }
.pillar strong { display: block; font-family: 'Sora', sans-serif; font-size: 1.05rem; margin-bottom: 6px; }
.pillar span { color: var(--text-dim); font-size: 14px; }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center; padding: 90px 24px;
  background:
    radial-gradient(600px 300px at 50% 120%, rgba(61,139,253,.18), transparent 65%),
    var(--bg-2);
  border-top: 1px solid var(--border);
}
.cta-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 14px; }
.cta-band p { color: var(--text-dim); margin-bottom: 32px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ---------- Prose / legal ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin: 40px 0 14px; }
.prose p { color: var(--text-dim); margin-bottom: 16px; }
.prose ul { color: var(--text-dim); margin: 0 0 16px 22px; }
.prose li { margin-bottom: 8px; }

/* ---------- Forms ---------- */
.form-wrap { max-width: 620px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.field input, .field textarea {
  width: 100%; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; padding: 13px 16px; color: var(--text);
  font-family: inherit; font-size: 15.5px; transition: border-color .18s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: 13.5px; color: var(--text-dim); margin-top: 14px; }
.form-status { margin-top: 18px; font-size: 15px; display: none; padding: 14px 18px; border-radius: 10px; }
.form-status.ok { display: block; background: rgba(46, 204, 113, .1); border: 1px solid rgba(46,204,113,.35); color: #7ee2a8; }
.form-status.err { display: block; background: rgba(231, 76, 60, .1); border: 1px solid rgba(231,76,60,.35); color: #f1a099; }
.hp { position: absolute; left: -9999px; opacity: 0; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); padding: 54px 0 40px; background: var(--bg); }
.foot { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot .fbrand img { height: 44px; margin-bottom: 14px; }
.foot .fbrand p { color: var(--text-dim); font-size: 14.5px; max-width: 320px; }
.foot nav { display: flex; gap: 60px; }
.foot nav h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-dim); margin-bottom: 14px; font-weight: 600; }
.foot nav ul { list-style: none; }
.foot nav li { margin-bottom: 9px; }
.foot nav a { color: var(--text); font-size: 14.5px; opacity: .85; }
.foot nav a:hover { color: var(--accent-2); }
.copyright { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--text-dim); font-size: 13.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .nav ul {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; background: var(--bg-2); padding: 18px 24px 24px;
    border-bottom: 1px solid var(--border); gap: 4px; align-items: stretch;
  }
  .nav ul.open { display: flex; }
  .nav ul a { display: block; padding: 12px 14px; }
  .nav ul a.btn-nav { margin-left: 0; text-align: center; margin-top: 8px; }
  .menu-toggle { display: block; }
  .hero { padding: 76px 0 64px; }
  section { padding: 64px 0; }
  .foot nav { gap: 36px; }
}

/* ---------- v2: imagery & bigger brand ---------- */
.nav { height: 88px; }
.nav .brand img { height: 64px; }
.foot .fbrand img { height: 60px; }

.hero-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-media { position: relative; }
.hero-media img {
  width: 100%; border-radius: 18px; display: block;
  border: 1px solid rgba(120,160,220,.25);
  box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 120px rgba(61,139,253,.18);
}
.hero-media::before {
  content: ""; position: absolute; inset: -40px;
  background: radial-gradient(closest-side, rgba(61,139,253,.22), transparent 70%);
  z-index: -1;
}

.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 64px; }
.stat { text-align: center; padding: 22px 10px; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(61,139,253,.05); }
.stat strong { display:block; font-family:'Sora',sans-serif; font-size: 1.7rem; color: var(--accent-2); margin-bottom: 4px; }
.stat span { color: var(--text-dim); font-size: 14px; }

.card.has-img { padding: 0; overflow: hidden; }
.card.has-img .card-img { width: 100%; height: 200px; object-fit: cover; display: block; }
.card.has-img .card-body { padding: 26px 26px 30px; }

.img-frame { position: relative; }
.img-frame img {
  width: 100%; border-radius: 16px; display: block;
  border: 1px solid rgba(120,160,220,.22);
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}

.cta-band.with-img {
  position: relative; overflow: hidden;
}
.cta-band.with-img .cta-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: .22; filter: saturate(1.1);
}
.cta-band.with-img > *:not(.cta-bg) { position: relative; }

@media (max-width: 860px) {
  .nav { height: 76px; }
  .nav .brand img { height: 52px; }
  .nav ul { top: 76px; }
  .hero-split { grid-template-columns: 1fr; gap: 36px; }
  .stats { grid-template-columns: repeat(2,1fr); }
}

/* ---------- v3: badge + wordmark ---------- */
.nav .brand img { height: 56px; }
.brand-name { font-family:'Sora',sans-serif; font-weight:700; font-size:1.22rem; color:#fff; letter-spacing:-.01em; line-height:1.1; }
.brand-name .sub { display:block; font-size:.62rem; font-weight:600; letter-spacing:.22em; color:var(--accent-2); text-transform:uppercase; margin-top:3px; }
.foot .fbrand .fbrand-row { display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.foot .fbrand .fbrand-row img { height:52px; margin-bottom:0; }
@media (max-width: 860px) {
  .nav .brand img { height: 46px; }
  .brand-name { font-size:1.02rem; }
}

/* ---------- v4: BIG logo ---------- */
.nav { height: 116px; }
.nav .brand { gap: 16px; }
.nav .brand img { height: 92px; }
.brand-name { font-size: 1.55rem; }
.brand-name .sub { font-size: .78rem; margin-top: 4px; }
.nav ul { top: 116px; }
.foot .fbrand .fbrand-row img { height: 84px; }
@media (max-width: 860px) {
  .nav { height: 92px; }
  .nav .brand img { height: 70px; }
  .brand-name { font-size: 1.15rem; }
  .nav ul { top: 92px; }
}

/* v5: stats band as value props */
.stat strong { font-size: 1.08rem; color: var(--text); }
.stat span { font-size: 13.5px; }

/* ---------- v6: newsletter signup ---------- */
.newsletter-band { border-top: 1px solid var(--border); background: var(--bg-2); padding: 74px 0; }
.newsletter-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.newsletter-inner h2 { font-size: clamp(1.6rem,3vw,2.1rem); font-weight: 700; }
.newsletter-inner p { color: var(--text-dim); margin-top: 12px; }
.sub-form { display: flex; gap: 12px; flex-wrap: wrap; }
.sub-form input[type=email] {
  flex: 1; min-width: 220px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 16px; color: var(--text); font-family: inherit; font-size: 15.5px;
}
.sub-form input[type=email]:focus { outline: none; border-color: var(--accent); }
.sub-status { display: none; margin-top: 12px; font-size: 14.5px; padding: 10px 14px; border-radius: 8px; width: 100%; }
.sub-status.ok { display: block; background: rgba(46,204,113,.1); border: 1px solid rgba(46,204,113,.35); color: #7ee2a8; }
.sub-status.err { display: block; background: rgba(231,76,60,.1); border: 1px solid rgba(231,76,60,.35); color: #f1a099; }
.foot-sub { max-width: 300px; }
.foot-sub p { color: var(--text-dim); font-size: 13.5px; margin-bottom: 12px; }
.foot-sub .sub-form input[type=email] { padding: 11px 14px; font-size: 14px; min-width: 0; }
.foot-sub .sub-form .btn { padding: 11px 18px; font-size: 14px; }
@media (max-width: 860px) { .newsletter-inner { grid-template-columns: 1fr; gap: 24px; } }
