:root {
  --bg: #07101f;
  --bg-soft: #0c1729;
  --surface: #ffffff;
  --surface-muted: #f5f7fb;
  --text: #0e1726;
  --text-soft: #5e6b7d;
  --line: #dfe5ee;
  --accent: #4b7bff;
  --accent-dark: #285be8;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(6, 18, 40, 0.16);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  color: var(--white);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 1rem;
}

.nav { display: flex; gap: 30px; align-items: center; }
.nav a { color: rgba(255,255,255,.76); font-size: .95rem; transition: color .2s ease; }
.nav a:hover { color: #fff; }

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.menu-button span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 5px;
}

.hero {
  min-height: 760px;
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 24%, rgba(75,123,255,.28), transparent 24%),
    radial-gradient(circle at 18% 82%, rgba(35,197,170,.12), transparent 26%),
    linear-gradient(135deg, #07101f 0%, #0b1528 54%, #07101f 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  gap: 80px;
  align-items: center;
  padding-top: 86px;
}

.eyebrow, .section-kicker {
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: .17em;
  font-size: .76rem;
  font-weight: 800;
}
.eyebrow { color: #8ba8ff; }
.section-kicker { color: var(--accent-dark); }

h1, h2, h3 { line-height: 1.1; margin-top: 0; }
h1 {
  max-width: 790px;
  font-size: clamp(3rem, 6vw, 5.5rem);
  letter-spacing: -.055em;
  margin-bottom: 26px;
}
.hero-text {
  max-width: 650px;
  color: rgba(255,255,255,.72);
  font-size: 1.17rem;
  margin: 0;
}
.hero-actions { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 750;
  font-size: .95rem;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--accent); color: #fff; }
.button.primary:hover { background: #628dff; }
.button.secondary { border: 1px solid rgba(255,255,255,.18); color: #fff; background: rgba(255,255,255,.04); }
.button.secondary:hover { background: rgba(255,255,255,.08); }

.hero-card { position: relative; }
.hero-card::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(75,123,255,.16);
  filter: blur(10px);
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
}
.code-window {
  position: relative;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
  min-height: 340px;
  transform: rotate(2deg);
}
.window-dots { display: flex; gap: 8px; padding: 2px 0 30px 2px; }
.window-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.28); }
.code-lines { display: grid; gap: 19px; padding: 18px 14px 30px; }
.line { height: 12px; border-radius: 20px; background: linear-gradient(90deg, rgba(139,168,255,.9), rgba(255,255,255,.2)); }
.line-1 { width: 76%; }
.line-2 { width: 52%; margin-left: 12%; }
.line-3 { width: 84%; margin-left: 6%; }
.line-4 { width: 42%; margin-left: 18%; }
.line-5 { width: 69%; margin-left: 10%; }
.line-6 { width: 32%; margin-left: 26%; }

.section { padding: 110px 0; }
.section-muted { background: var(--surface-muted); }
.two-columns { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
h2 { font-size: clamp(2.2rem, 4vw, 4rem); letter-spacing: -.045em; margin-bottom: 0; }
.body-copy { font-size: 1.08rem; color: var(--text-soft); }
.body-copy p:first-child { margin-top: 4px; }
.body-copy p { margin-bottom: 20px; }

.section-heading { max-width: 760px; margin-bottom: 46px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px;
  min-height: 260px;
  box-shadow: 0 8px 30px rgba(14, 23, 38, .04);
}
.card-number { color: var(--accent-dark); font-weight: 800; letter-spacing: .08em; font-size: .8rem; }
.card h3 { margin: 62px 0 14px; font-size: 1.4rem; }
.card p { margin: 0; color: var(--text-soft); }

.contact-section { background: #fff; }
.contact-box {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 80px;
  align-items: center;
  background: var(--bg);
  color: #fff;
  padding: 58px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.contact-box .section-kicker { color: #8ba8ff; }
.contact-box h2 { margin-bottom: 18px; }
.contact-box p { margin: 0; color: rgba(255,255,255,.7); max-width: 660px; }
.contact-note {
  border-left: 1px solid rgba(255,255,255,.14);
  padding-left: 40px;
  display: grid;
  gap: 10px;
}
.contact-note strong { font-size: 1.08rem; }
.contact-note span { color: rgba(255,255,255,.62); }

.site-footer { padding: 26px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; color: var(--text-soft); font-size: .9rem; }
.footer-inner a:hover { color: var(--text); }

@media (max-width: 900px) {
  .hero { min-height: auto; padding: 145px 0 90px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; padding-top: 0; }
  .hero-card { max-width: 560px; }
  .two-columns, .contact-box { grid-template-columns: 1fr; gap: 38px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: auto; }
  .card h3 { margin-top: 34px; }
  .contact-note { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding: 28px 0 0; }
}

@media (max-width: 700px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 74px; }
  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 14px;
    right: 14px;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    border-radius: 16px;
    background: rgba(7,16,31,.97);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 10px 8px; }
  .menu-button { display: block; }
  h1 { font-size: clamp(2.75rem, 14vw, 4.2rem); }
  .hero-text { font-size: 1.04rem; }
  .section { padding: 78px 0; }
  .code-window { min-height: 275px; }
  .contact-box { padding: 34px 26px; border-radius: 22px; }
  .footer-inner { flex-direction: column; }
}

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