:root {
  color-scheme: dark;
  --bg: #05060d;
  --panel: rgba(11, 13, 31, 0.9);
  --panel-light: rgba(19, 22, 48, 0.95);
  --accent: #54ffe0;
  --accent-2: #7693ff;
  --muted: rgba(255, 255, 255, 0.65);
  --text: #f8fbff;
  --surface-border: rgba(255, 255, 255, 0.08);
  font-size: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at 10% 20%, #111432, #05060d 50%) no-repeat var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(1200px, calc(100% - 2.5rem));
  margin: 0 auto;
}

header {
  padding-top: 1.5rem;
  padding-bottom: 4rem;
  background: radial-gradient(circle at 80% 10%, rgba(84, 255, 224, 0.35), transparent 45%), var(--bg);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.logotype {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 6vw, 3.8rem);
  margin-bottom: 1rem;
}

.eyebrow {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.lede {
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-cta {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #020205;
  font-weight: 600;
  padding: 0.85rem 1.5rem;
  border: none;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

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

.btn-outline {
  border: 1px solid var(--surface-border);
  color: var(--text);
  background: transparent;
}

.secondary {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  color: var(--muted);
}

.hero-metrics dt {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-metrics dd {
  margin: 0;
  font-size: 1.3rem;
  color: var(--text);
  font-weight: 600;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.glow-card {
  width: min(100%, 360px);
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: var(--panel-light);
  border: 1px solid var(--surface-border);
  box-shadow: 0 20px 60px rgba(1, 3, 17, 0.5), inset 0 0 30px rgba(84, 255, 224, 0.08);
}

.glow-card h3 {
  margin-top: 0;
}

.glow-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.glow-card li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.chip {
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.chip.success {
  background: rgba(84, 255, 224, 0.18);
  color: var(--accent);
}

.chip.warn {
  background: rgba(255, 193, 79, 0.15);
  color: #ffdd99;
}

.chip.alert {
  background: rgba(255, 79, 122, 0.2);
  color: #ff8fb5;
}

.chart {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.35rem;
  align-items: end;
  height: 150px;
}

.chart .bar {
  background: linear-gradient(180deg, var(--accent), rgba(84, 255, 224, 0.1));
  border-radius: 999px 999px 0 0;
}

.section {
  padding: 4rem 0;
}

.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  width: min(1200px, calc(100% - 2.5rem));
  margin: 0 auto;
  align-items: start;
}

.card {
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: var(--panel);
  border: 1px solid var(--surface-border);
}

.card ul {
  margin: 1rem 0 0;
  padding-left: 1rem;
  color: var(--muted);
}

.section.dark {
  background: rgba(8, 9, 24, 0.85);
}

.section.dark .container {
  width: min(1200px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.insight-grid article {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--surface-border);
  padding: 1.25rem;
  border-radius: 1rem;
}

.cta {
  background: linear-gradient(120deg, rgba(84, 255, 224, 0.15), rgba(118, 147, 255, 0.1));
  text-align: center;
}

.cta-form {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.cta-form input {
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--surface-border);
  background: rgba(5, 6, 13, 0.65);
  color: var(--text);
  min-width: 240px;
}

.muted {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--surface-border);
  padding: 2rem 0;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(1200px, calc(100% - 2.5rem));
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-footer .container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
