:root {
  color-scheme: dark;
  --bg: #080a10;
  --bg-soft: #0f1422;
  --card: rgba(19, 25, 40, 0.78);
  --card-strong: rgba(25, 34, 54, 0.92);
  --text: #f5f7fb;
  --muted: #aab4ca;
  --muted-strong: #d5dbea;
  --line: rgba(255, 255, 255, 0.11);
  --accent: #8b5cf6;
  --accent-two: #28d8ff;
  --good: #43e8a8;
  --warn: #ffd166;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --container: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.16), transparent 34%),
    radial-gradient(circle at 78% 12%, rgba(40, 216, 255, 0.16), transparent 28%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

code {
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  padding: 0.08rem 0.34rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted-strong);
}

.container {
  width: min(var(--container), calc(100vw - 32px));
  margin-inline: auto;
}

.page-glow {
  position: fixed;
  z-index: -1;
  width: 24rem;
  height: 24rem;
  filter: blur(70px);
  opacity: 0.3;
  pointer-events: none;
}

.page-glow-one {
  top: 8rem;
  left: -8rem;
  background: var(--accent);
}

.page-glow-two {
  right: -7rem;
  bottom: 18rem;
  background: var(--accent-two);
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 10, 16, 0.74);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-two));
  font-weight: 900;
  letter-spacing: -0.06em;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  gap: 0.3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem;
  background: rgba(255, 255, 255, 0.04);
}

.nav-links a {
  border-radius: 999px;
  padding: 0.45rem 0.78rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.hero {
  padding: 6rem 0 4.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  align-items: center;
  gap: 2rem;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--good);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.live-dot {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 0 rgba(67, 232, 168, 0.55);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(67, 232, 168, 0);
  }
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 1.1rem;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.08rem;
}

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

.lead {
  max-width: 680px;
  margin-bottom: 1.55rem;
  font-size: clamp(1.02rem, 2vw, 1.25rem);
}

.hero-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 0.85rem 1.05rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #4f46e5 48%, var(--accent-two));
  color: white;
  box-shadow: 0 16px 40px rgba(89, 91, 255, 0.28);
}

.btn-secondary,
.copy-card,
.footer-links a {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.download-note {
  max-width: 640px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.download-note strong {
  color: var(--text);
}

.console-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    var(--card);
  box-shadow: var(--shadow);
}

.console-top {
  display: flex;
  gap: 0.45rem;
  border-bottom: 1px solid var(--line);
  padding: 1rem;
}

.console-top span {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #ff5f57;
}

.console-top span:nth-child(2) {
  background: #ffbd2e;
}

.console-top span:nth-child(3) {
  background: #28c840;
}

.console-body {
  padding: 1.5rem;
}

.muted {
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.pack-stats {
  display: grid;
  gap: 0.75rem;
  margin: 1.2rem 0;
}

.pack-stats div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
  padding-bottom: 0.65rem;
}

.pack-stats dt {
  color: var(--muted);
}

.pack-stats dd {
  margin: 0;
  color: var(--text);
  font-weight: 800;
  text-align: right;
}

.copy-card {
  width: 100%;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.section {
  padding: 4.2rem 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 1.6rem;
}

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

.feature-card,
.status-card,
details {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.18);
}

.feature-card {
  min-height: 240px;
  padding: 1.35rem;
}

.feature-icon {
  display: inline-flex;
  margin-bottom: 1.6rem;
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 999px;
  padding: 0.25rem 0.62rem;
  color: #dcd2ff;
  background: rgba(139, 92, 246, 0.12);
  font-weight: 900;
}

.section-panel {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.install-grid,
.faq-grid,
.footer-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 2rem;
}

.steps {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1rem;
  background: var(--card-strong);
}

.steps span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: rgba(40, 216, 255, 0.14);
  color: #9beeff;
  font-weight: 900;
}

.steps p,
.steps h3 {
  margin-bottom: 0;
}

.status-card {
  padding: 1.2rem;
}

.status-label {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-card strong {
  display: block;
  margin-bottom: 0.35rem;
  overflow-wrap: anywhere;
  font-size: 1.05rem;
}

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

.faq-section {
  padding-top: 2rem;
}

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

details {
  padding: 1rem 1.1rem;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 0.8rem 0 0;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 2.2rem 0;
  background: rgba(0, 0, 0, 0.18);
}

.footer p {
  max-width: 540px;
  margin: 0.4rem 0 0;
}

.footer-links {
  justify-content: flex-end;
  align-items: flex-start;
}

.footer-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  color: var(--muted-strong);
  font-weight: 800;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  max-width: min(420px, calc(100vw - 2rem));
  transform: translateY(1rem);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  background: rgba(15, 20, 34, 0.95);
  box-shadow: var(--shadow);
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.8rem 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
  }

  .hero {
    padding-top: 3.4rem;
  }

  .hero-grid,
  .feature-grid,
  .install-grid,
  .status-grid,
  .faq-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--container), calc(100vw - 22px));
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .pack-stats div {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  .pack-stats dd {
    text-align: left;
  }
}
