:root {
  --bg: #070b1b;
  --bg-soft: #0f1730;
  --surface: rgba(17, 27, 54, 0.85);
  --surface-strong: #18264d;
  --text: #e8eeff;
  --muted: #a6b3d8;
  --primary: #40a9ff;
  --primary-2: #00d6ff;
  --line: rgba(144, 174, 255, 0.22);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 10%, #1a2f61 0%, transparent 25%),
    radial-gradient(circle at 90% 20%, #13385f 0%, transparent 25%),
    var(--bg);
  line-height: 1.6;
}

.bg-glow {
  position: fixed;
  inset: auto -20% -45% -20%;
  height: 60vh;
  background: radial-gradient(ellipse at center, rgba(0, 214, 255, 0.25), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(7, 11, 27, 0.62);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}

.logo-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 0 0 6px rgba(64, 169, 255, 0.15);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.primary-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.primary-nav a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: #d8e4ff;
}

.hero {
  padding: 5.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  color: var(--primary-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
  margin: 0 0 0.8rem;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  margin-bottom: 1rem;
}

h1 span {
  background: linear-gradient(90deg, #9fd0ff, #8dffe8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 60ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.8rem 0;
}

.btn {
  border: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #071229;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.78rem 1.2rem;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-small {
  padding: 0.48rem 0.9rem;
}

.hero-metrics {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-metrics strong {
  display: block;
  font-size: 1.2rem;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-card {
  background: linear-gradient(180deg, rgba(24, 38, 77, 0.9), rgba(14, 23, 46, 0.95));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.4rem;
  box-shadow: 0 20px 50px rgba(2, 6, 20, 0.5);
}

.card-row {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  margin: 0.5rem 0;
}

.card-row strong {
  color: var(--text);
}

.progress {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
}

.signal {
  display: flex;
  gap: 6px;
  align-items: end;
  margin: 1.1rem 0;
  height: 44px;
}

.signal div {
  width: 8px;
  background: linear-gradient(180deg, #84edff, #2d83f6);
  border-radius: 999px;
  animation: pulse 1.2s ease-in-out infinite;
}

.signal div:nth-child(1) { height: 24%; animation-delay: 0.1s; }
.signal div:nth-child(2) { height: 48%; animation-delay: 0.2s; }
.signal div:nth-child(3) { height: 72%; animation-delay: 0.3s; }
.signal div:nth-child(4) { height: 88%; animation-delay: 0.4s; }
.signal div:nth-child(5) { height: 64%; animation-delay: 0.5s; }

@keyframes pulse {
  0%, 100% { transform: scaleY(1); opacity: 0.75; }
  50% { transform: scaleY(1.1); opacity: 1; }
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: linear-gradient(180deg, transparent, rgba(12, 22, 46, 0.55), transparent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  margin-bottom: 1.5rem;
}

.section h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem;
}

.service-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.05rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.step {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  background: rgba(12, 19, 40, 0.72);
}

.step span {
  font-weight: 800;
  color: var(--primary-2);
  font-size: 0.84rem;
}

.step h3 {
  margin: 0.4rem 0;
  font-size: 1rem;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.benefits-wrap {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.lead-small {
  color: var(--muted);
  max-width: 55ch;
}

.benefits-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.benefits-list li {
  margin: 0.6rem 0;
}

.cta {
  padding-top: 2.4rem;
}

.cta-box {
  background: linear-gradient(180deg, rgba(20, 33, 69, 0.92), rgba(11, 18, 38, 0.92));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.4rem;
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1fr 1fr;
}

.contact-form {
  display: grid;
  gap: 0.8rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  border: 1px solid var(--line);
  background: var(--surface-strong);
  border-radius: 10px;
  color: var(--text);
  padding: 0.75rem;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(0, 214, 255, 0.25);
  border-color: rgba(0, 214, 255, 0.4);
}

.form-note {
  margin: 0.2rem 0 0;
  min-height: 1.2em;
  color: #9fffdc;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 4rem;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 76px;
  color: var(--muted);
}

.footer-wrap a {
  color: var(--text);
  text-decoration: none;
}

@media (max-width: 980px) {
  .hero-grid,
  .benefits-wrap,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .primary-nav {
    position: absolute;
    top: 72px;
    right: 4vw;
    left: 4vw;
    background: rgba(10, 17, 37, 0.97);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.75rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .primary-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .cards-grid,
  .hero-metrics,
  .steps {
    grid-template-columns: 1fr;
  }
}
