:root {
  --bg: #08111f;
  --bg-soft: #0f1d33;
  --bg-card: rgba(11, 24, 44, 0.82);
  --text: #e9f2ff;
  --muted: #9ab1d0;
  --line: rgba(132, 169, 215, 0.28);
  --brand: #2ad4d9;
  --brand-strong: #1ab7bd;
  --accent: #ff9f43;
  --shadow: 0 20px 60px rgba(1, 7, 18, 0.6);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 15%, rgba(42, 212, 217, 0.16), transparent 35%),
    radial-gradient(circle at 90% 10%, rgba(255, 159, 67, 0.15), transparent 30%),
    linear-gradient(180deg, #070f1b 0%, #091426 100%);
  line-height: 1.6;
  min-height: 100vh;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 158, 198, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 158, 198, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: -1;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(12px);
  background: rgba(6, 14, 26, 0.78);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

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

.site-nav .nav-cta {
  padding: 10px 15px;
  border-radius: 10px;
  color: #04111d;
  background: linear-gradient(125deg, var(--brand), #7fffff);
}

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 700;
}

.hero {
  padding: 90px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
  align-items: stretch;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 14px;
}

.eyebrow.center {
  display: block;
  text-align: center;
}

h1, h2, h3 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 14px;
}

.lead {
  color: var(--muted);
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 24px 0 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 12px 18px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #04111d;
  background: linear-gradient(125deg, var(--brand), #7fffff);
  box-shadow: 0 8px 25px rgba(42, 212, 217, 0.35);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(18, 33, 56, 0.45);
}

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

.hero-metrics article,
.hero-card,
.card,
.project,
.contact-card,
.cta-band {
  border: 1px solid var(--line);
  background: var(--bg-card);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.hero-metrics article {
  padding: 14px;
}

.hero-metrics h3 {
  color: var(--accent);
  margin-bottom: 6px;
  font-size: 1.05rem;
}

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

.hero-card {
  padding: 24px;
}

.hero-card h2 {
  font-size: 1.45rem;
  margin-bottom: 14px;
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.hero-card li {
  color: var(--muted);
  padding-left: 18px;
  position: relative;
}

.hero-card li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 10px;
}

.section {
  padding: 68px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(11, 25, 45, 0.6) 0%, rgba(10, 19, 34, 0.84) 100%);
  border-top: 1px solid rgba(124, 158, 198, 0.14);
  border-bottom: 1px solid rgba(124, 158, 198, 0.14);
}

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 26px;
}

.card-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.card,
.project {
  padding: 22px;
}

.card p,
.project p {
  color: var(--muted);
}

.card h3,
.project h3 {
  margin-bottom: 10px;
  color: #f3f8ff;
}

.chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.chip-wrap span {
  border: 1px solid var(--line);
  background: rgba(18, 34, 59, 0.8);
  color: #cfe0f8;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
}

.project ul,
.why-list {
  list-style: none;
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.project li,
.why-list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
}

.project li::before,
.why-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--brand);
  border-radius: 2px;
  position: absolute;
  left: 0;
  top: 8px;
}

.cta-band {
  padding: 30px;
  text-align: center;
}

.cta-band h2 {
  margin-bottom: 8px;
}

.cta-band p {
  color: var(--muted);
  margin-bottom: 18px;
}

.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-card {
  padding: 24px;
}

.contact-card p {
  color: var(--muted);
  margin-bottom: 8px;
}

.contact-card h2 {
  margin-bottom: 12px;
}

.contact-card a {
  color: #7ee8f5;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  background: rgba(6, 14, 26, 0.78);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-wrap p {
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

.form-shell {
  width: min(920px, 92vw);
  margin: 40px auto 70px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-card);
  box-shadow: var(--shadow);
  padding: 24px;
}

.form-shell h1 {
  margin-bottom: 10px;
}

.form-shell p {
  color: var(--muted);
  margin-bottom: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  color: #c9dcf7;
  font-weight: 600;
  font-size: 0.92rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(124, 158, 198, 0.34);
  border-radius: 10px;
  padding: 11px 12px;
  background: rgba(7, 16, 30, 0.85);
  color: var(--text);
  font: inherit;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.form-note {
  margin-top: 10px;
  color: #a7c4e7;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .card-grid,
  .project-grid,
  .contact-layout,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    position: absolute;
    top: 80px;
    left: 4vw;
    right: 4vw;
    background: #0a172b;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

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

  .menu-btn {
    display: inline-flex;
  }

  .hero {
    padding-top: 56px;
  }

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

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