:root {
  --bg: #050b18;
  --surface: #0b1628;
  --surface-2: #101f37;
  --ink: #f7fbff;
  --muted: #a9b7cc;
  --line: rgba(125, 223, 255, .16);
  --blue: #1c8cff;
  --blue-2: #38d7ff;
  --deep: #07162f;
  --shadow: 0 28px 80px rgba(0, 0, 0, .36);
  --radius: 8px;
  --wide-radius: 10px;
}

body.dark {
  --bg: #f7fbff;
  --surface: #ffffff;
  --surface-2: #eef6ff;
  --ink: #07162f;
  --muted: #5c6d86;
  --line: #dbe8f6;
  --shadow: 0 24px 70px rgba(7, 22, 47, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 72% 12%, rgba(28, 140, 255, .22), transparent 34%),
    radial-gradient(circle at 18% 0%, rgba(56, 215, 255, .12), transparent 31%),
    linear-gradient(180deg, var(--bg), #07101f 44%, #050b18);
  color: var(--ink);
  line-height: 1.6;
  letter-spacing: 0;
}

a { color: inherit; }

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 11, 24, .82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav-shell {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  color: #f8fbff;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-mark {
  width: 218px;
  height: auto;
  display: block;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 10px 14px;
  border-radius: var(--radius);
  font-weight: 650;
  font-size: .9rem;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--ink);
  background: var(--surface-2);
}

.theme-toggle,
.nav-toggle,
.button {
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
}

.theme-toggle {
  background: rgba(255,255,255,.08);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 10px 12px;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  background: var(--surface-2);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero,
.page-hero {
  padding: 126px 0 104px;
}

.hero-grid {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 78px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  color: var(--blue);
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
  margin-bottom: 18px;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  font-size: clamp(2rem, 3.12vw, 3.12rem);
  line-height: 1.08;
  font-weight: 620;
  letter-spacing: -.025em;
  margin-bottom: 28px;
  max-width: 880px;
}

h2 {
  font-size: clamp(1.6rem, 2.42vw, 2.55rem);
  line-height: 1.08;
  font-weight: 610;
  letter-spacing: -.018em;
}

h3 {
  font-weight: 610;
  letter-spacing: -.01em;
}

.hero-copy p,
.page-hero p,
.choose-card p {
  color: var(--muted);
  font-size: 1.04rem;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 19px;
  text-decoration: none;
  letter-spacing: -.005em;
}

.button.primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
  box-shadow: 0 18px 40px rgba(28, 140, 255, .28);
}

.button.secondary {
  background: rgba(255,255,255,.06);
  color: var(--ink);
  border: 1px solid var(--line);
}

.hero-panel {
  position: relative;
  min-height: 500px;
  border-radius: var(--wide-radius);
  background:
    radial-gradient(circle at 56% 36%, rgba(28, 140, 255, .30), transparent 38%),
    linear-gradient(135deg, rgba(6, 20, 42, .96), rgba(3, 10, 22, .96));
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(125, 223, 255, .22);
}

.hero-panel:before {
  content: "";
  position: absolute;
  inset: 30px;
  background-image:
    linear-gradient(rgba(255,255,255,.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.11) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: .35;
}

.image-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .94;
  filter: saturate(1.08) contrast(1.04);
}

.image-panel:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,11,24,.05), rgba(5,11,24,.52)),
    radial-gradient(circle at 50% 36%, transparent 0 34%, rgba(5,11,24,.28) 72%);
}

.signal-card {
  position: absolute;
  inset: auto 44px 42px;
  background: rgba(7, 22, 47, .76);
  color: #f8fbff;
  border: 1px solid rgba(125, 223, 255, .24);
  backdrop-filter: blur(18px);
  border-radius: var(--wide-radius);
  padding: 24px;
  z-index: 2;
}

.panel-top,
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.flow-row {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin: 28px 0;
  font-weight: 800;
}

.flow-row i {
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
}

.metric-grid,
.benefit-grid,
.service-grid,
.split-layout,
.contact-grid {
  display: grid;
  gap: 22px;
}

.metric-grid { grid-template-columns: 1fr 1fr; }
.metric-grid div { background: rgba(255,255,255,.08); border-radius: var(--radius); padding: 18px; }
.metric-grid strong { display: block; font-size: 1.8rem; }
.metric-grid span { color: #b8cce6; }

.floating-card {
  position: absolute;
  background: rgba(7,22,47,.82);
  color: #f8fbff;
  border: 1px solid rgba(125, 223, 255, .24);
  backdrop-filter: blur(18px);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-weight: 720;
  box-shadow: 0 16px 44px rgba(0,0,0,.18);
  z-index: 2;
}

.card-a { left: 24px; bottom: 38px; }
.card-b { right: 24px; bottom: 92px; }

.section {
  padding: 104px 0;
}

.section.soft {
  background: rgba(16, 31, 55, .54);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.benefit-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.service-card,
.statement-card,
.choose-card,
.contact-form,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--wide-radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.feature-card,
.service-card {
  transition: transform .22s ease, border-color .22s ease;
}

.feature-card:hover,
.service-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--blue) 50%, var(--line));
}

.icon-badge,
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(28,140,255,.24), rgba(56,215,255,.14));
  color: #fff;
  border: 1px solid rgba(125, 223, 255, .22);
  font-weight: 900;
  margin-bottom: 18px;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--blue-2);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-hero {
  background:
    radial-gradient(circle at 76% 30%, rgba(28,140,255,.20), transparent 30%),
    linear-gradient(135deg, rgba(15,78,199,.12), rgba(56,215,255,.08));
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 880px;
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card h2 {
  font-size: 1.22rem;
  line-height: 1.18;
  margin-bottom: 12px;
}

.service-card p,
.feature-card p,
.statement-card p,
.contact-card p {
  color: var(--muted);
}

.visual-card {
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(16,31,55,.94), rgba(8,17,32,.96));
}

.visual-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.visual-card div {
  padding: 26px;
}

.split-layout {
  grid-template-columns: 1fr 1fr;
}

.statement-card span {
  color: var(--blue);
  font-weight: 900;
}

.choose-card {
  max-width: 860px;
}

.contact-grid {
  grid-template-columns: 1.1fr .9fr;
  align-items: start;
}

.contact-form label {
  display: block;
  color: var(--ink);
  font-weight: 800;
  margin: 0 0 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  color: var(--ink);
  padding: 13px 14px;
  margin-bottom: 16px;
  font: inherit;
}

.contact-card a {
  color: var(--blue);
  font-weight: 800;
}

.form-note {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--blue);
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  color: var(--muted);
  background: rgba(5, 11, 24, .66);
}

.site-footer a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero-grid,
  .contact-grid,
  .split-layout {
    grid-template-columns: 1fr;
  }

  .benefit-grid,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-panel {
    min-height: 430px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .nav-shell {
    min-height: 70px;
  }

  .brand-mark {
    width: 174px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .theme-toggle {
    display: none;
  }

  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 10px;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 13px;
  }

  .hero,
  .page-hero,
  .section {
    padding: 64px 0;
  }

  h1 {
    font-size: clamp(1.86rem, 8vw, 2.34rem);
    line-height: 1.12;
  }

  .benefit-grid,
  .service-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .signal-card {
    inset: auto 18px 20px;
    max-height: 260px;
    overflow: hidden;
  }

  .floating-card {
    display: none;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}
