:root {
  --bg: #07111f;
  --bg-soft: #0b1830;
  --panel: rgba(11, 24, 48, 0.68);
  --panel-strong: rgba(14, 29, 55, 0.9);
  --text: #e9f2ff;
  --muted: #9bb1d3;
  --line: rgba(143, 179, 230, 0.16);
  --primary: #78a9ff;
  --primary-2: #8c6bff;
  --accent: #53e6c1;
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
p { color: var(--muted); line-height: 1.7; }
h1, h2, h3 { margin: 0 0 16px; line-height: 1.05; }

.site-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(120, 169, 255, 0.18), transparent 28%),
    radial-gradient(circle at 80% 25%, rgba(140, 107, 255, 0.18), transparent 26%),
    radial-gradient(circle at 50% 80%, rgba(83, 230, 193, 0.08), transparent 22%),
    linear-gradient(180deg, #08111e 0%, #07111f 55%, #06101b 100%);
  z-index: -2;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, rgba(0,0,0,1), rgba(0,0,0,0.25));
  z-index: -1;
  pointer-events: none;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(7, 17, 31, 0.72);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  position: relative;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(120, 169, 255, 0.18), rgba(140, 107, 255, 0.18));
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}
.brand-mark span {
  position: absolute;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
}
.brand-mark span:nth-child(1) { width: 22px; height: 3px; transform: rotate(55deg) translate(4px, -4px); }
.brand-mark span:nth-child(2) { width: 22px; height: 3px; transform: rotate(-55deg) translate(4px, 4px); }
.brand-mark span:nth-child(3) { width: 10px; height: 3px; transform: translateY(8px); }

.brand-text strong { display: block; font-size: 0.95rem; }
.brand-text small { color: var(--muted); font-size: 0.72rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a { color: #d7e5ff; font-size: 0.95rem; }
.nav-links a:hover { color: white; }
.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(120, 169, 255, 0.14);
  border: 1px solid rgba(120, 169, 255, 0.2);
}

.menu-toggle {
  display: none;
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 1rem;
}

.hero {
  padding: 78px 0 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(120, 169, 255, 0.12);
  border: 1px solid rgba(120, 169, 255, 0.18);
  color: #cfe0ff;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(3rem, 5vw, 5.25rem);
  letter-spacing: -0.04em;
  max-width: 12ch;
}
.hero-lead {
  max-width: 58ch;
  font-size: 1.08rem;
  margin: 24px 0 30px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #041121;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  box-shadow: 0 12px 36px rgba(120, 169, 255, 0.26);
}
.btn-secondary {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
}
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hero-metrics div {
  padding: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
}
.hero-metrics strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 8px;
}
.hero-metrics span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.hero-visual { position: relative; }
.glass-panel {
  position: relative;
  padding: 24px;
  min-height: 560px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(14,29,55,0.8), rgba(8,18,34,0.88));
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  margin-bottom: 22px;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.38);
}
.signal-card {
  position: absolute;
  width: min(280px, 78%);
  padding: 18px 18px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 20px 50px rgba(0,0,0,0.18);
}
.signal-title { font-weight: 700; margin-bottom: 8px; }
.signal-sub { color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.signal-1 { top: 86px; right: 24px; }
.signal-2 { top: 230px; left: 24px; }
.signal-3 { bottom: 42px; right: 60px; }
.radar {
  position: absolute;
  inset: auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  background:
    radial-gradient(circle, rgba(120,169,255,0.22) 0%, rgba(120,169,255,0.08) 28%, transparent 55%),
    repeating-radial-gradient(circle, rgba(120,169,255,0.18) 0 2px, transparent 2px 58px);
  filter: blur(0.2px);
  opacity: 0.78;
}

.trust-band { padding: 24px 0 10px; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.trust-grid div {
  text-align: center;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  color: #d6e5ff;
}
.trust-grid span { color: white; font-weight: 700; }

.section { padding: 96px 0; }
.section.alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.03));
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}
.section-heading h2,
.section-copy h2,
.cta-box h2 { font-size: clamp(2rem, 3.2vw, 3.4rem); letter-spacing: -0.035em; }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}
.wide-gap { gap: 54px; }
.feature-stack,
.project-list {
  display: grid;
  gap: 18px;
}
.feature-card,
.project-card,
.cap-card,
.industry-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.feature-card h3,
.project-card h3,
.cap-card h3,
.industry-card h3 { font-size: 1.2rem; }
.cards-grid {
  display: grid;
  gap: 18px;
}
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-weight: 800;
  color: #07111f;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}
.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.tag {
  display: inline-block;
  margin-bottom: 12px;
  color: #cfe0ff;
  background: rgba(120, 169, 255, 0.12);
  border: 1px solid rgba(120, 169, 255, 0.18);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tech-pills span {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: #d8e7ff;
}
.cta-section { padding: 30px 0 100px; }
.cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 34px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(120,169,255,0.14), rgba(140,107,255,0.14));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow);
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 26px 0 42px;
}
.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer p { margin: 8px 0 0; }
.footer-links {
  display: flex;
  gap: 22px;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@media (max-width: 1100px) {
  .hero-grid,
  .two-col,
  .cards-4,
  .industry-grid,
  .cta-box,
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { align-items: start; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-metrics { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 20px;
    right: 20px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(7,17,31,0.96);
    border: 1px solid rgba(255,255,255,0.08);
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .nav-links.open { display: flex; }
  .hero-grid,
  .two-col,
  .industry-grid,
  .cta-box,
  .trust-grid,
  .footer-wrap { grid-template-columns: 1fr; display: grid; }
  .cards-4 { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .glass-panel { min-height: 500px; }
  .signal-1, .signal-2, .signal-3 {
    position: relative;
    inset: auto;
    width: 100%;
    margin-bottom: 14px;
  }
  .radar {
    width: 360px;
    height: 360px;
    top: 120px;
  }
}

@media (max-width: 560px) {
  .container { width: min(var(--max), calc(100% - 24px)); }
  .topbar .container { width: calc(100% - 24px); }
  .hero h1 { font-size: 2.6rem; }
  .section { padding: 74px 0; }
  .glass-panel { min-height: 560px; padding: 18px; }
  .cta-box { padding: 24px; }
}
