:root {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #e9eef5;
  background: #020617;
  --bg: #020617;
  --panel: #0b1220;
  --border: rgba(148, 163, 184, 0.25);
  --accent: #22c55e;
  --accent-dark: #0f172a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 0%, rgba(34, 197, 94, 0.15), transparent 50%),
    radial-gradient(circle at 80% -10%, rgba(14, 165, 233, 0.15), transparent 45%),
    var(--bg);
  color: inherit;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.75rem 1.75rem 3.75rem;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

main {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #e2e8f0;
}

.logo-img {
  height: 46px;
  width: auto;
  border-radius: 12px;
  background: #fff;
  padding: 4px;
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.55);
}

.logo-mark {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.25), transparent 60%),
              linear-gradient(135deg, rgba(14, 165, 233, 0.35), rgba(34, 197, 94, 0.5));
  border: 1px solid rgba(148, 163, 184, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 15px 35px rgba(2, 6, 23, 0.7);
}

.logo-spark {
  width: 60%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  position: relative;
}

.logo-spark::after {
  content: "";
  position: absolute;
  width: 140%;
  height: 140%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  top: -70%;
  left: -20%;
}

.logo-type {
  letter-spacing: 0.25em;
}

.links,
.actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.links a {
  color: #cbd5f5;
  text-decoration: none;
  font-weight: 500;
}

.links a:hover {
  color: #fff;
}

.primary {
  border-radius: 999px;
  padding: 0.85rem 1.75rem;
  background: linear-gradient(135deg, #22c55e, #10b981);
  color: #021018;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.45);
}

.ghost {
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--border);
  color: #cbd5f5;
  text-decoration: none;
}

.ghost:hover {
  border-color: rgba(34, 197, 94, 0.7);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  padding: 3rem;
  border-radius: 32px;
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: 0 40px 80px rgba(2, 6, 23, 0.6);
}

.hero--simple {
  align-items: center;
}

.badge {
  display: inline-flex;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 1rem 0 0.5rem;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  line-height: 1.15;
}

.lede,
.hero-copy p {
  color: #cbd5f5;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.5rem 0;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.stats strong {
  display: block;
  font-size: 1.8rem;
  color: #a5f3fc;
}

.hero-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel-card {
  width: 100%;
  max-width: 360px;
  border-radius: 28px;
  padding: 2rem;
  background: rgba(3, 7, 18, 0.8);
  border: 1px solid var(--border);
  box-shadow: 0 25px 60px rgba(2, 6, 23, 0.6);
}

.panel-label {
  letter-spacing: 0.3em;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.8);
}

.panel-graph {
  margin-top: 1.5rem;
  height: 140px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.25), rgba(34, 197, 94, 0.2));
  mask-image: radial-gradient(circle, #000 55%, transparent 80%);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.feature-grid article {
  background: rgba(8, 13, 26, 0.95);
  border-radius: 22px;
  border: 1px solid var(--border);
  padding: 1.75rem;
  box-shadow: 0 25px 50px rgba(2, 6, 23, 0.5);
}

.detail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2.75rem;
  border-radius: 30px;
  background: rgba(7, 11, 22, 0.9);
  border: 1px solid var(--border);
}

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

.detail li {
  border: 1px solid rgba(148, 163, 184, 0.25);
  padding: 1rem 1.25rem;
  border-radius: 18px;
}

.cta {
  border-radius: 28px;
  border: 1px solid var(--border);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(120deg, rgba(16, 185, 129, 0.2), rgba(15, 23, 42, 0));
}

footer {
  text-align: center;
  color: #94a3b8;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding-top: 1.5rem;
}

@media (max-width: 720px) {
  .hero,
  .detail,
  .cta {
    padding: 2rem;
  }

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

  .links,
  .actions {
    justify-content: flex-start;
  }
}
