:root {
  --bg: #0b1020;
  --bg-soft: #121933;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --text: #f3f6ff;
  --muted: #aeb8d6;
  --accent: #5ea2ff;
  --accent-2: #7b61ff;
  --success: #39d98a;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --max: 1180px;
  --heading-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page-title-size: clamp(3.2rem, 6vw, 5.6rem);
  color-scheme: light dark;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(94, 162, 255, 0.22), transparent 28%),
    radial-gradient(circle at top right, rgba(123, 97, 255, 0.18), transparent 22%),
    linear-gradient(180deg, #09101d 0%, #0b1020 55%, #0d1325 100%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  color: var(--text);
}

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

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

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(94, 162, 255, 0.12);
  color: #dbe8ff;
  border: 1px solid rgba(94, 162, 255, 0.25);
  font-size: 0.9rem;
  backdrop-filter: blur(8px);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 14px rgba(57, 217, 138, 0.8);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(7, 11, 22, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 30px rgba(94, 162, 255, 0.28);
  font-size: 1rem;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  color: var(--muted);
  font-size: 0.98rem;
}

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

.nav-cta {
  padding: 0.8rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  transition: 0.2s ease;
}

.nav-cta:hover,
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.hero {
  padding: 1.6rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: var(--page-title-size);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin: 1rem 0 0.8rem;
  max-width: 12ch;
}

.hero-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 60ch;
  margin-bottom: 1.7rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.95rem 1.2rem;
  border-radius: 16px;
  font-weight: 600;
  transition: 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 34px rgba(94, 162, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(94, 162, 255, 0.36);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-card {
  position: relative;
  padding: 1.2rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto -30px -60px auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(94, 162, 255, 0.45), transparent 65%);
  filter: blur(24px);
}

.dashboard {
  display: grid;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.dashboard-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 0.3rem 0.2rem;
}

.dashboard-top h2 {
  font-size: 1.05rem;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1rem;
  backdrop-filter: blur(10px);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.stat strong {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 0.25rem;
}

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

.meta-list {
  display: grid;
  gap: 0.8rem;
}

.meta-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.meta-rank {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: rgba(94, 162, 255, 0.14);
  color: #dce9ff;
}

.pill {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(57, 217, 138, 0.14);
  color: #baf7d8;
  border: 1px solid rgba(57, 217, 138, 0.2);
  font-size: 0.85rem;
  font-weight: 600;
}

.section {
  padding: 2rem 0 4rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.section-head h3 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}

.section-head p {
  color: var(--muted);
  max-width: 60ch;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card,
.highlight-card,
.cta-box {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: rgba(94, 162, 255, 0.12);
  border: 1px solid rgba(94, 162, 255, 0.2);
  font-size: 1.3rem;
}

.feature-card h4,
.highlight-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.55rem;
}

.feature-card p,
.highlight-card p,
.cta-box p,
.footer p {
  color: var(--muted);
}

.highlights {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.chart {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
}

.bar-row {
  display: grid;
  grid-template-columns: 110px 1fr 54px;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
}

.bar {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
}

.bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin-top: 1rem;
}

.mini-card {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-card strong {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.cta {
  padding-bottom: 5rem;
}

.cta-box {
  display: grid;
  grid-template-columns: 1.1fr auto;
  gap: 1rem;
  align-items: center;
}

.footer {
  padding: 1.2rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .hero-grid,
  .features,
  .highlights,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .stats,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav {
    flex-wrap: wrap;
    padding: 0.6rem 0;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 1rem;
  }

  .hero {
    padding-top: 1.1rem;
  }

  .hero-copy h1 {
    max-width: 100%;
  }

  .page-hero h1 {
  font-family: var(--heading-font);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin: 1rem 0 0.8rem;
  max-width: 12ch;
}

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

  .bar-row {
    grid-template-columns: 90px 1fr 44px;
    font-size: 0.88rem;
  }
  .load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.load-more-wrap .btn {
  min-width: 180px;
}

.load-more-wrap.hidden {
  display: none;
}
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #10182b;
    --bg-soft: #16233f;
    --panel: rgba(32, 45, 78, 0.76);
    --panel-strong: rgba(64, 81, 126, 0.34);
    --text: #f5f8ff;
    --muted: rgba(255, 255, 255, 0.7);
    --border: rgba(255, 255, 255, 0.08);
    --shadow: 0 22px 56px rgba(6, 12, 28, 0.32);
    --dark-glow-primary: rgba(94, 162, 255, 0.1);
    --dark-glow-secondary: rgba(123, 97, 255, 0.07);
    --dark-surface-soft: rgba(64, 81, 126, 0.34);
  }

  body {
    background-color: #10182b !important;
    background:
      radial-gradient(circle at top left, var(--dark-glow-primary), transparent 28%),
      radial-gradient(circle at top right, var(--dark-glow-secondary), transparent 22%),
      linear-gradient(180deg, #10182b 0%, #12203a 55%, #142440 100%) !important;
    color: var(--text) !important;
  }

  .site-header {
    background: rgba(16, 24, 43, 0.78) !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  .brand,
  .panel,
  .hero-card,
  .feature-card,
  .highlight-card,
  .cta-box,
  .meta-item,
  .mini-card {
    color: var(--text) !important;
  }

  .hero-card,
  .feature-card,
  .highlight-card,
  .cta-box {
    background: linear-gradient(180deg, rgba(44, 59, 98, 0.84), rgba(27, 40, 71, 0.92)) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
  }

  .panel {
    background: var(--panel) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
  }

  .meta-item,
  .mini-card {
    background: var(--dark-surface-soft) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
  }

  .footer {
    border-top-color: rgba(255, 255, 255, 0.08) !important;
  }
}
