:root {
  --bg: #0b1120;
  --bg-alt: #0e1628;
  --surface: #131d33;
  --surface-2: #182135;
  --border: rgba(148, 163, 184, 0.16);
  --text: #e8edf6;
  --muted: #9fb0c7;
  --brand: #38bdf8;
  --brand-2: #818cf8;
  --accent: #34d399;
  --radius: 16px;
  --maxw: 1120px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #05070d;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(12px);
  background: rgba(11, 17, 32, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.brand-mark { width: 38px; height: 38px; display: block; border-radius: 9px; }
.brand-name { font-size: 1.12rem; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { color: var(--muted); font-weight: 500; font-size: 0.95rem; transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #05070d;
  font-weight: 650;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  box-shadow: 0 8px 30px -10px rgba(56, 189, 248, 0.55);
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-sm { padding: 9px 18px; font-size: 0.92rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 12vw, 128px) 0 clamp(56px, 9vw, 104px);
}
.hero-inner { position: relative; z-index: 2; max-width: 860px; }
.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 620px;
  z-index: 1;
  background:
    radial-gradient(closest-side at 30% 30%, rgba(56,189,248,0.20), transparent 70%),
    radial-gradient(closest-side at 70% 40%, rgba(129,140,248,0.18), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand);
  margin: 0 0 18px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 22px;
}
.grad {
  background: linear-gradient(120deg, var(--brand), var(--brand-2) 55%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 620px;
  margin: 0 0 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin: 0;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-stats div { margin: 0; }
.hero-stats dt { font-size: 1.35rem; font-weight: 750; letter-spacing: -0.02em; color: var(--text); }
.hero-stats dd { margin: 2px 0 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 104px) 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--brand);
  margin: 0 0 14px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 780;
  margin: 0 0 16px;
}
.section-lede { color: var(--muted); font-size: 1.08rem; max-width: 620px; margin: 0 0 48px; }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(56,189,248,0.4); background: #16233d; }
.card-icon {
  font-size: 1.6rem;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(56,189,248,0.10);
  border: 1px solid rgba(56,189,248,0.18);
  margin-bottom: 18px;
}
.card h3 { margin: 0 0 8px; font-size: 1.18rem; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* ---------- Split / steps ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.split-copy .section-lede { margin-bottom: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li {
  display: flex;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.step-num {
  font-size: 1.1rem;
  font-weight: 750;
  color: var(--brand);
  background: rgba(56,189,248,0.10);
  border-radius: 10px;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.steps h3 { margin: 4px 0 4px; font-size: 1.1rem; }
.steps p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* ---------- AI band ---------- */
.ai-band {
  background: linear-gradient(135deg, rgba(56,189,248,0.10), rgba(129,140,248,0.10));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(32px, 5vw, 56px);
  position: relative;
  overflow: hidden;
}
.ai-copy { max-width: 700px; position: relative; z-index: 1; }
.ticks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.ticks li {
  position: relative;
  padding-left: 34px;
  color: var(--text);
  font-size: 1.02rem;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 20px; height: 20px;
  border-radius: 6px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- CTA ---------- */
.section-cta { text-align: center; background: var(--bg-alt); border-top: 1px solid var(--border); }
.cta-inner h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -0.025em; margin: 0 0 14px; font-weight: 800; }
.cta-inner p { color: var(--muted); font-size: 1.1rem; max-width: 560px; margin: 0 auto 32px; }

/* ---------- Contact form ---------- */
.contact-form {
  max-width: 560px;
  margin: 8px auto 0;
  text-align: left;
  display: grid;
  gap: 16px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field > span { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.field > span em { color: var(--muted); font-weight: 400; font-style: normal; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted); }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.22);
}
.contact-form .btn { width: 100%; margin-top: 4px; cursor: pointer; }
.contact-form .btn:disabled { opacity: .65; cursor: default; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 4px 0 0; font-size: 0.95rem; min-height: 1.2em; }
.form-status.success { color: var(--accent); }
.form-status.error { color: #fca5a5; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 48px 0; background: var(--bg); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-brand .brand-name { font-weight: 700; font-size: 1.1rem; }
.footer-brand p { color: var(--muted); margin: 10px 0 0; }
.footer-meta { text-align: right; }
.footer-meta p { margin: 0 0 4px; color: var(--muted); font-size: 0.9rem; }
.footer-meta a:hover { color: var(--brand); }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { gap: 18px; }
  .nav-links a:not(.btn) { display: none; }
  .footer-inner { flex-direction: column; }
  .footer-meta { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; animation: none !important; transition: none !important; }
}
