* {
  box-sizing: border-box;
}

:root {
  --bg: #07111f;
  --bg-strong: #0b1728;
  --panel: rgba(14, 25, 40, 0.72);
  --panel-strong: #111f2d;
  --card: #ffffff;
  --muted: #a6b6c9;
  --text: #ecf4ff;
  --accent: #72f2c0;
  --accent-strong: #2ed8a6;
  --purple: #8a7dff;
  --orange: #ffb870;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 60px rgba(2, 8, 18, 0.5);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: radial-gradient(circle at top, #10253d 0%, var(--bg) 38%, #040c17 100%);
  color: var(--text);
  line-height: 1.6;
}

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

img {
  max-width: 100%;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

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

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

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

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  color: #061018;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
}

.nav-links a {
  transition: color 0.2s ease;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #9af7d4);
  color: #08141e;
  box-shadow: 0 12px 25px rgba(114, 242, 192, 0.25);
}

.btn-secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.hero {
  padding: 72px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 700;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.subtext {
  margin: 20px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
}

.cta-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-metrics {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 500px;
}

.hero-metrics li {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 14px;
}

.hero-metrics strong {
  display: block;
  font-size: 1.25rem;
  color: var(--text);
}

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

.hero-card {
  background: linear-gradient(180deg, rgba(17, 31, 45, 0.9), rgba(13, 22, 34, 0.8));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.card-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(114, 242, 192, 0.7);
}

.mini-stat {
  margin-top: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 18px;
}

.mini-stat:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.mini-stat .label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 6px;
}

.mini-stat strong {
  font-size: 1.18rem;
}

.suggested-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.suggested-pill-row span,
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(114, 242, 192, 0.08);
  color: var(--accent);
  border: 1px solid rgba(114, 242, 192, 0.18);
  font-size: 0.82rem;
  font-weight: 600;
}

.chip.alt {
  background: rgba(138, 125, 255, 0.1);
  color: #b8addf;
  border-color: rgba(138, 125, 255, 0.2);
}

.section {
  padding: 72px 0;
}

.alt-bg {
  background: rgba(12, 19, 30, 0.7);
}

.section-header {
  margin-bottom: 28px;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.05em;
}

.steps-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.step-card,
.project-card {
  background: rgba(14, 25, 40, 0.72);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
}

.step-number {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 18px;
}

.step-card h3,
.project-card h3 {
  margin: 0 0 10px;
  font-size: 1.28rem;
}

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

.matcher-layout {
  display: grid;
  gap: 20px;
}

.section-header.left {
  margin-bottom: 0;
}

.matcher-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: rgba(10, 18, 29, 0.9);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 24px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

select {
  appearance: none;
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
}

.full-width {
  width: 100%;
}

.result-panel {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
}

.result-panel h3 {
  margin-top: 0;
}

.result-list {
  display: grid;
  gap: 14px;
}

.result-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(17, 31, 45, 0.55);
}

.result-item h4 {
  margin: 0 0 6px;
  font-size: 1.08rem;
}

.result-item p {
  margin: 0;
  color: var(--muted);
}

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 24px 0 50px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}

@media (max-width: 940px) {
  .steps-grid,
  .project-grid,
  .matcher-box,
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  .matcher-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .steps-grid,
  .project-grid,
  .field-grid,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 48px;
  }

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