:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-soft: rgba(15, 27, 44, 0.72);
  --panel: rgba(12, 22, 39, 0.84);
  --border: rgba(148, 163, 184, 0.18);
  --text: #e5eefb;
  --muted: #93a4bd;
  --accent: #3ddc97;
  --accent-strong: #1faa6d;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(72, 187, 120, 0.22), transparent 28%),
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.18), transparent 30%),
    linear-gradient(180deg, #08111d 0%, #09131f 48%, #050b14 100%);
}

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

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 40px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.1rem;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  color: #02120b;
  background: linear-gradient(135deg, #6ef3b4, #30c98d);
  box-shadow: 0 12px 32px rgba(61, 220, 151, 0.32);
}

.brand-logo {
  width: 40px;
  height: 40px;
  display: block;
  filter: drop-shadow(0 12px 24px rgba(61, 220, 151, 0.22));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
}

.nav-button,
.primary-button,
.ghost-button {
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-button,
.primary-button {
  color: #06140d;
  background: linear-gradient(135deg, #63f1b3, #31d492);
  box-shadow: 0 14px 36px rgba(61, 220, 151, 0.24);
}

.ghost-button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.nav-button:hover,
.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  padding: 48px 0 72px;
}

.hero-copy h1,
.download-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  line-height: 1.03;
}

.hero-copy p,
.download-hero p,
.info-card p,
.feature-card p,
.split-section p,
.stat-card span,
.download-card p,
.download-list {
  color: var(--muted);
  line-height: 1.75;
}

.eyebrow,
.card-label,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8df1c0;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-badges span,
.pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.hero-preview,
.info-card,
.feature-card,
.stat-card,
.cta-panel,
.download-card {
  background: var(--panel);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-preview {
  border-radius: 28px;
  padding: 22px;
}

.preview-window {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: linear-gradient(180deg, rgba(12, 19, 33, 0.96), rgba(8, 14, 24, 0.96));
}

.preview-bar {
  display: flex;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.preview-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.preview-layout {
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 420px;
}

.preview-sidebar {
  padding: 18px;
  border-right: 1px solid rgba(148, 163, 184, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.preview-sidebar-card {
  padding: 14px;
  border-radius: 18px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
}

.preview-sidebar-card.active {
  border-color: rgba(61, 220, 151, 0.4);
  background: rgba(61, 220, 151, 0.1);
}

.preview-sidebar-card strong,
.download-card h2,
.download-card h3,
.feature-card h3,
.stat-card strong,
.info-card h2,
.split-section h2 {
  display: block;
  margin-bottom: 8px;
}

.preview-sidebar-card small {
  color: var(--muted);
}

.preview-chat {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}

.bubble {
  max-width: 78%;
  padding: 14px 16px;
  border-radius: 18px;
  line-height: 1.6;
}

.bubble.other {
  background: rgba(255, 255, 255, 0.06);
  border-top-left-radius: 6px;
}

.bubble.mine {
  margin-left: auto;
  color: #062111;
  background: linear-gradient(135deg, #9af6ca, #56df9f);
  border-top-right-radius: 6px;
}

.section-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 72px;
}

.info-card,
.feature-card,
.stat-card,
.download-card {
  border-radius: 24px;
  padding: 28px;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  padding-bottom: 72px;
}

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

.cta-panel {
  border-radius: 28px;
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.download-page {
  padding: 42px 0 56px;
}

.download-hero {
  max-width: 760px;
  margin-bottom: 28px;
}

.download-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
}

.download-card.featured {
  background:
    radial-gradient(circle at top right, rgba(61, 220, 151, 0.14), transparent 32%),
    var(--panel);
}

.download-list {
  padding-left: 18px;
  margin: 0;
}

.download-list li {
  margin-bottom: 10px;
}

.download-card-head {
  margin-bottom: 18px;
}

@media (max-width: 980px) {
  .hero,
  .section-grid,
  .split-section,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .preview-layout,
  .stat-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-copy h1,
  .download-hero h1 {
    font-size: 2.4rem;
  }
}
