:root {
  --bg: #07100f;
  --bg-2: #0d1818;
  --panel: rgba(255, 255, 255, 0.07);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --text: #f3f7f5;
  --muted: #a9b8b5;
  --line: rgba(255, 255, 255, 0.15);
  --cyan: #57d7ff;
  --green: #76f7b7;
  --amber: #ffca6a;
  --coral: #ff806d;
  --ink: #07100f;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 12%, rgba(87, 215, 255, 0.14), transparent 28rem),
    radial-gradient(circle at 14% 38%, rgba(118, 247, 183, 0.1), transparent 24rem),
    var(--bg);
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 54px);
  background: rgba(7, 16, 15, 0.65);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.scrolled {
  background: rgba(7, 16, 15, 0.9);
  border-color: var(--line);
}

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

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--ink);
  background: linear-gradient(135deg, var(--green), var(--cyan));
  border-radius: 8px;
  font-size: 0.8rem;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

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

.nav-cta {
  padding: 10px 15px;
  color: var(--ink) !important;
  background: var(--green);
  border-radius: 8px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.hero {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 108px clamp(20px, 4vw, 54px) 30px;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 16, 15, 0.96), rgba(7, 16, 15, 0.62) 44%, rgba(7, 16, 15, 0.3)),
    linear-gradient(0deg, rgba(7, 16, 15, 0.96), transparent 34%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  max-width: 900px;
  font-size: clamp(2.8rem, 5.2vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 1.16rem;
  line-height: 1.25;
}

.hero-copy,
.section-lead,
.intro-copy p {
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: var(--ink);
  border-color: transparent;
  background: linear-gradient(135deg, var(--green), var(--cyan));
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.signal-row span,
.contact-points span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: #dfe8e5;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.86rem;
  font-weight: 700;
}

section {
  padding: 100px clamp(20px, 4vw, 54px);
}

.band {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    var(--bg-2);
  border-block: 1px solid var(--line);
}

.section-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(34px, 6vw, 82px);
  max-width: var(--max);
  margin: 0 auto;
}

.section-heading {
  max-width: var(--max);
  margin: 0 auto 42px;
}

.intro-copy {
  align-self: end;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.metrics div,
.service-card,
.market-card,
.price-card,
.stack-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.metrics div {
  padding: 18px;
}

.metrics strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.metrics span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: var(--max);
  margin: 0 auto;
}

.service-card,
.market-card,
.price-card {
  padding: 28px;
}

.service-card {
  min-height: 332px;
}

.card-index {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--amber);
  font-weight: 800;
}

.service-card p,
.market-card p,
.price-card p,
.stack-card p,
.timeline p,
.site-footer p {
  color: var(--muted);
  line-height: 1.65;
}

.service-card ul {
  margin: 20px 0 0;
  padding-left: 18px;
  color: #d7e4df;
  line-height: 1.7;
}

.accent-card {
  background: linear-gradient(135deg, rgba(87, 215, 255, 0.16), rgba(255, 202, 106, 0.1));
}

.data-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stack-card {
  padding: 24px;
}

.research-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: var(--max);
  margin: 34px auto 0;
}

.research-strip a {
  display: block;
  padding: 18px;
  border: 1px solid rgba(118, 247, 183, 0.26);
  border-radius: 8px;
  color: #d9fff0;
  background: rgba(118, 247, 183, 0.08);
  font-size: 0.92rem;
  line-height: 1.55;
}

.market-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: var(--max);
  margin: 0 auto;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.timeline div {
  padding: 26px;
  background: rgba(255, 255, 255, 0.05);
}

.timeline div + div {
  border-left: 1px solid var(--line);
}

.timeline span {
  color: var(--cyan);
  font-weight: 800;
}

.price {
  margin-bottom: 14px;
  color: var(--text) !important;
  font-size: 1.75rem;
  font-weight: 800;
}

.featured {
  background: linear-gradient(160deg, rgba(87, 215, 255, 0.16), rgba(118, 247, 183, 0.12));
  border-color: rgba(87, 215, 255, 0.45);
}

.contact-grid {
  align-items: start;
}

.contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #dce8e4;
  font-size: 0.9rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--text);
  background: rgba(7, 16, 15, 0.76);
  font: inherit;
}

textarea {
  resize: vertical;
}

.hidden {
  display: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 34px clamp(20px, 4vw, 54px);
  color: var(--muted);
}

.site-footer p {
  margin: 8px 0 0;
}

.footer-links {
  display: flex;
  gap: 22px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 76px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(7, 16, 15, 0.98);
  }

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

  .primary-nav a {
    padding: 14px;
  }

  .section-grid,
  .contact-grid,
  .service-grid,
  .market-grid,
  .pricing-grid,
  .research-strip {
    grid-template-columns: 1fr;
  }

  .metrics,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline div + div {
    border-left: 0;
  }

  .timeline div:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .timeline div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .site-header {
    height: 68px;
  }

  .primary-nav {
    top: 68px;
  }

  .hero {
    min-height: 82vh;
    padding-top: 100px;
    padding-bottom: 32px;
  }

  h1 {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
  }

  section {
    padding-block: 72px;
  }

  .metrics,
  .data-stack,
  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline div:nth-child(even) {
    border-left: 0;
  }

  .timeline div + div {
    border-top: 1px solid var(--line);
  }

  .button,
  .site-footer {
    width: 100%;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .hero-actions .button {
    width: auto;
    min-height: 46px;
    padding: 12px 10px;
    text-align: center;
  }

  .signal-row {
    display: none;
  }

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

  .footer-links {
    flex-wrap: wrap;
  }
}
