:root {
  color-scheme: dark;
  --bg: #0b0f1c;
  --surface: #12182a;
  --surface-light: #1a223a;
  --accent: #6ee7ff;
  --accent-2: #7c5cff;
  --text: #f5f7ff;
  --muted: #a1abc4;
  --border: rgba(110, 231, 255, 0.15);
  --shadow: 0 25px 60px rgba(3, 10, 25, 0.55);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at top, #1b2444, #0b0f1c 55%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.noise {
  position: fixed;
  inset: 0;
  background-image: url("https://www.transparenttextures.com/patterns/asfalt-dark.png");
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.site-header {
  position: relative;
  padding-bottom: 120px;
  overflow: hidden;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0;
  position: relative;
  z-index: 2;
}

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

.logo-image {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  padding: 6px;
  border: 1px solid rgba(110, 231, 255, 0.2);
}

.logo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b0f1c;
  font-weight: 700;
}

.brand-name {
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links .cta {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 60px;
  align-items: center;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.hero-aside {
  display: grid;
  gap: 24px;
}

.hero-content h1 {
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  margin-bottom: 16px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: calc(0.7rem + 6px);
  color: var(--accent);
  margin-bottom: 16px;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b0f1c;
  box-shadow: var(--shadow);
}

.button.ghost {
  border: 1px solid var(--border);
  color: var(--text);
}

.button:hover {
  transform: translateY(-2px);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 18px;
}

.hero-metrics h3 {
  font-size: 1.4rem;
}

.hero-metrics p {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-card {
  background: linear-gradient(160deg, rgba(20, 28, 52, 0.9), rgba(18, 24, 42, 0.6));
  border-radius: 24px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(124, 92, 255, 0.25);
}

.card-glow {
  position: absolute;
  inset: -80px;
  background: radial-gradient(circle, rgba(110, 231, 255, 0.3), transparent 70%);
  opacity: 0.8;
}

.card-content {
  position: relative;
}

.logo-box {
  background: linear-gradient(160deg, rgba(20, 28, 52, 0.95), rgba(18, 24, 42, 0.7));
  border-radius: 24px;
  padding: 36px;
  border: 1px solid rgba(110, 231, 255, 0.2);
  box-shadow: var(--shadow);
  text-align: center;
}

.logo-box img {
  width: min(440px, 90%);
  height: auto;
  object-fit: contain;
}

.logo-box p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.card-content ul {
  list-style: none;
  margin-top: 18px;
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.mini-figure {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px rgba(110, 231, 255, 0.4);
  vertical-align: middle;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.badge-row span {
  border: 1px solid rgba(110, 231, 255, 0.3);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
}

.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.section-dark {
  background: rgba(13, 18, 34, 0.9);
  border-top: 1px solid rgba(110, 231, 255, 0.08);
  border-bottom: 1px solid rgba(110, 231, 255, 0.08);
}

.section-heading {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-subtext {
  color: var(--muted);
  margin-top: 12px;
}

.grid {
  display: grid;
  gap: 24px;
}

.capabilities {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--surface);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(110, 231, 255, 0.08);
  box-shadow: 0 12px 30px rgba(2, 6, 15, 0.4);
}

.card p {
  color: var(--muted);
  margin-top: 12px;
}

#success .card + .card {
  margin-top: 24px;
}

.timeline {
  display: grid;
  gap: 24px;
}

.timeline-item {
  display: grid;
  gap: 8px;
  padding: 24px;
  border-radius: 18px;
  background: var(--surface-light);
  border: 1px solid rgba(124, 92, 255, 0.2);
}

.step {
  font-size: 0.8rem;
  color: var(--accent);
}

.impact {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.stat {
  padding: 28px;
  border-radius: 18px;
  background: linear-gradient(140deg, rgba(124, 92, 255, 0.18), rgba(110, 231, 255, 0.08));
  border: 1px solid rgba(110, 231, 255, 0.2);
}

.testimonial {
  margin-top: 40px;
  padding: 24px;
  border-left: 2px solid var(--accent);
  color: var(--muted);
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.stack-card {
  background: var(--surface);
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(110, 231, 255, 0.1);
}

.contact-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  padding: 32px;
  border-radius: 24px;
  background: var(--surface-light);
  border: 1px solid rgba(110, 231, 255, 0.2);
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  background: #0b0f1c;
  border: 1px solid rgba(110, 231, 255, 0.15);
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--text);
}


.site-footer {
  padding: 60px 0 20px;
  border-top: 1px solid rgba(110, 231, 255, 0.1);
  background: #090d18;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  color: var(--muted);
}

.footer-content h4 {
  color: var(--text);
  margin-bottom: 12px;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 80px;
    right: 0;
    background: rgba(10, 14, 26, 0.98);
    padding: 24px;
    border-radius: 16px;
    flex-direction: column;
    gap: 16px;
    display: none;
  }

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

  .nav-toggle {
    display: flex;
  }
}
