:root {
  color-scheme: light;
  --bg: #0f172a;
  --surface: #111827;
  --surface-alt: #1f2937;
  --text: #f8fafc;
  --muted: #94a3b8;
  --accent: #60a5fa;
  --accent-strong: #38bdf8;
  --border: rgba(148, 163, 184, 0.18);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: radial-gradient(circle at top, rgba(96, 165, 250, 0.18), transparent 35%),
    linear-gradient(180deg, #020617 0%, #0f172a 100%);
}

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

.page-width {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(15, 23, 42, 0.85);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.header-inner,
.footer-inner,
.hero-grid,
.feature-grid,
.about-grid {
  display: grid;
  gap: 1.5rem;
}

.header-inner,
.footer-inner {
  padding: 1.25rem 0;
  align-items: center;
  grid-template-columns: auto auto;
}

.brand {
  color: white;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: 1.4rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.hero-section {
  padding: 5rem 0 4rem;
}

.hero-grid {
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
}

.hero-copy {
  max-width: 42rem;
}

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

.hero-section h1,
.section-heading h2,
.about-section h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 0.98;
}

.hero-text,
.feature-card p,
.about-section p,
.contact-section p {
  color: var(--muted);
  max-width: 44rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: white;
  box-shadow: 0 22px 50px rgba(56, 189, 248, 0.18);
}

.btn-secondary {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.hero-panel {
  position: relative;
}

.panel-card {
  padding: 2rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.95));
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.25);
}

.feature-section,
.about-section,
.contact-section {
  padding: 4rem 0;
}

.section-heading {
  text-align: center;
}

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

.feature-card,
.stat-card,
.contact-card {
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.12);
  padding: 2rem;
}

.feature-card h3 {
  margin-top: 0;
  font-size: 1.3rem;
}

.feature-card p {
  margin: 1rem 0 0;
}

.about-grid {
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
}

.about-stats {
  display: grid;
  gap: 1rem;
}

.stat-card {
  display: grid;
  gap: 0.75rem;
}

.stat-card strong {
  font-size: 2.5rem;
  display: block;
  color: white;
}

.stat-card span {
  color: var(--muted);
}

.contact-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}

.contact-section h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.footer-inner {
  justify-content: space-between;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 860px) {
  .hero-grid,
  .feature-grid,
  .about-grid,
  .header-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .site-nav {
    justify-content: start;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding-top: 3rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .contact-card {
    flex-direction: column;
    align-items: stretch;
  }
}
