:root {
  --bg: #07111f;
  --bg2: #0d1a2e;
  --card: rgba(255, 255, 255, 0.08);
  --card-border: rgba(255, 255, 255, 0.12);
  --text: #edf3ff;
  --muted: #afbdd6;
  --accent: #72d1ff;
  --accent-2: #8b7dff;
  --accent-3: #3ff2c6;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  --radius: 24px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(114, 209, 255, 0.18), transparent 35%),
    radial-gradient(circle at top right, rgba(139, 125, 255, 0.16), transparent 30%),
    linear-gradient(180deg, var(--bg), #050b14 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-shell {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

.site-shell::before {
  top: -4rem;
  right: -6rem;
  background: var(--accent-2);
}

.site-shell::after {
  bottom: -8rem;
  left: -8rem;
  background: var(--accent-3);
}

.topbar,
.section,
.footer {
  position: relative;
  z-index: 1;
}

.topbar {
  width: min(calc(100% - 2rem), var(--max));
  margin: 1rem auto 0;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  backdrop-filter: blur(20px);
  background: rgba(10, 20, 35, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #021522;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-text {
  display: grid;
  gap: 0.15rem;
}

.brand-text strong { font-size: 0.98rem; }
.brand-text small { color: var(--muted); font-size: 0.78rem; }

.nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav a { color: var(--muted); }
.nav a:hover { color: var(--text); }
.nav-cta {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.3rem;
}

.menu-toggle span {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: white;
  margin: 0.3rem 0;
}

.section {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 5rem 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  min-height: calc(100vh - 8rem);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(2.9rem, 6vw, 5.8rem);
  line-height: 0.96;
  margin: 0.5rem 0 1.2rem;
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.lead,
.section-heading p,
.card p,
.timeline-item p,
.footer p,
.contact-grid li {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.3rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
}

.button:hover { transform: translateY(-2px); }
.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #07111f;
}
.secondary,
.ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stats {
  list-style: none;
  padding: 0;
  margin: 2.2rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hero-stats li,
.card,
.timeline-item,
.cta-band {
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.hero-stats li {
  padding: 1.2rem;
}
.hero-stats strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}
.hero-stats span { color: var(--muted); font-size: 0.95rem; }

.hero-visual {
  display: grid;
  gap: 1.2rem;
  align-content: center;
}

.card {
  padding: 1.5rem;
}

.glass-panel.tall {
  min-height: 26rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.08)),
    radial-gradient(circle at top right, rgba(114, 209, 255, 0.20), transparent 30%),
    rgba(255,255,255,0.06);
}

.floating-card ul,
.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.floating-card li,
.check-list li {
  color: var(--muted);
  padding-left: 1.5rem;
  position: relative;
}

.floating-card li::before,
.check-list li::before {
  content: "•";
  color: var(--accent);
  position: absolute;
  left: 0;
}

.mini-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-grid,
.contact-grid {
  display: grid;
  gap: 2rem;
}

.service-grid,
.split-grid,
.contact-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature { min-height: 17rem; }

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.timeline-item span {
  display: inline-flex;
  width: 2.6rem;
  height: 2.6rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  background: rgba(114, 209, 255, 0.16);
  color: var(--accent);
  margin-bottom: 1rem;
}

.cta-band {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.full { width: 100%; }
code {
  padding: 0.2rem 0.45rem;
  border-radius: 0.45rem;
  background: rgba(255,255,255,0.08);
}

.footer {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 0 0 3rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero,
  .service-grid,
  .split-grid,
  .timeline,
  .contact-grid,
  .cta-band {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stats { grid-template-columns: 1fr; }

  .menu-toggle {
    display: inline-block;
    z-index: 3;
  }

  .nav {
    position: absolute;
    top: calc(100% + 0.8rem);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(8, 16, 29, 0.94);
    border: 1px solid rgba(255,255,255,0.08);
  }

  .nav.open { display: flex; }
}

@media (max-width: 640px) {
  .topbar {
    border-radius: 28px;
    padding: 0.9rem 1rem;
  }

  .brand-text small { display: none; }
  .section { padding: 3.8rem 0; }
  .hero { min-height: auto; padding-top: 2rem; }
  h1 { font-size: 2.8rem; }
  .card, .hero-stats li, .cta-band { padding: 1.2rem; }
}
