:root {
  --bg: #020806;
  --bg-soft: #030a07;
  --surface: #0b1510;
  --surface-2: #101c15;
  --border: #243329;
  --border-strong: #35553a;
  --lime: #72ff45;
  --lime-dim: #38c936;
  --text: #eef4ea;
  --muted: #9eae9f;
  --dim: #6f7f71;
  --radius: 16px;
  --max: 1200px;
  --gutter: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Reserve equal gutters on both edges so tall pages do not optically drift left. */
  scrollbar-gutter: stable both-edges;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 520px at 50% -8%, rgba(56, 201, 54, 0.14), transparent 62%),
    radial-gradient(700px 420px at 85% 18%, rgba(24, 61, 27, 0.28), transparent 55%),
    radial-gradient(640px 420px at 12% 72%, rgba(24, 61, 27, 0.16), transparent 60%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 42%, #010604 100%);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--lime);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow-x: hidden;
}

/* ONE shared horizontal system for every primary section */
.container {
  max-width: var(--max);
  width: calc(100% - (var(--gutter) * 2));
  margin-left: auto;
  margin-right: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 8, 6, 0.88);
  border-bottom: 1px solid rgba(36, 51, 41, 0.9);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: auto;
  height: 44px;
  object-fit: contain;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1.15rem;
}

.nav a {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 72px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--lime-dim);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 1.15rem;
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: var(--lime);
}

.hero-lead {
  margin: 0 0 1.5rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-cta {
  margin: 1.4rem 0 0;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.85rem 1.55rem;
  border-radius: 999px;
  background: var(--lime);
  color: #061008;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: none;
  box-shadow: 0 10px 28px rgba(114, 255, 69, 0.22);
}

.hero-cta-btn:hover {
  text-decoration: none;
  filter: brightness(1.05);
}

.status-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--border);
}

.chip-on {
  color: #061008;
  background: var(--lime);
  border-color: transparent;
}

.chip-soft {
  color: var(--muted);
  background: rgba(16, 28, 21, 0.8);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-panel {
  width: min(100%, 420px);
  aspect-ratio: 1;
  border-radius: 22px;
  border: 1px solid rgba(53, 85, 58, 0.75);
  background:
    radial-gradient(circle at 50% 42%, rgba(114, 255, 69, 0.12), transparent 58%),
    linear-gradient(160deg, #0d1912 0%, #07110c 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.hero-panel img {
  width: 88%;
  height: auto;
  object-fit: contain;
}

/* Showcase */
.showcase-figure {
  margin: 0;
}

.showcase-open {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(53, 85, 58, 0.7);
  border-radius: 18px;
  background-color: #08110c;
  background-image:
    radial-gradient(720px 280px at 50% 0%, rgba(114, 255, 69, 0.1), transparent 65%),
    linear-gradient(180deg, #0b1510 0%, #08110c 100%);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.32), 0 0 40px rgba(24, 61, 27, 0.22);
  cursor: zoom-in;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.showcase-open:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.showcase-image {
  display: block;
  width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
}

.showcase-hint {
  margin: 0.85rem 0 0;
  color: var(--dim);
  font-size: 0.92rem;
  text-align: center;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(114, 255, 69, 0.35);
  border-radius: 999px;
  background: rgba(8, 16, 12, 0.92);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.lightbox-image {
  position: relative;
  z-index: 1;
  max-width: min(100%, 1312px);
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(53, 85, 58, 0.55);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

body.lightbox-open {
  overflow: hidden;
}

/* Sections */
.section {
  padding: 100px 0;
}

.section-kicker {
  margin: 0 0 0.55rem;
  color: var(--lime-dim);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0 0 1.35rem;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.section-lead {
  margin: -0.35rem 0 1.75rem;
  max-width: 42rem;
  color: var(--muted);
}

.card {
  background-color: #101c15;
  background-image: linear-gradient(165deg, rgba(16, 28, 21, 0.98), rgba(11, 21, 16, 0.98));
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.feature-card {
  grid-column: span 2;
  padding: 1.25rem 1.2rem 1.35rem;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.feature-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.accent-dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(114, 255, 69, 0.45);
}

.feature-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Center the two cards on the second row (3+2 desktop composition) */
.feature-card:nth-child(4) {
  grid-column: 2 / 4;
}

.feature-card:nth-child(5) {
  grid-column: 4 / 6;
}

/* Plans */
.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.plan-card {
  padding: 1.45rem 1.4rem 1.55rem;
}

.plan-card h3 {
  margin: 0 0 0.95rem;
  color: var(--lime);
  font-size: 1.25rem;
}

.plan-card ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.plan-card li + li {
  margin-top: 0.55rem;
}

.plan-card-premium {
  border-color: rgba(114, 255, 69, 0.42);
  box-shadow: 0 0 0 1px rgba(114, 255, 69, 0.08), 0 16px 40px rgba(24, 61, 27, 0.28);
}

.notice {
  margin: 1.25rem 0 0;
  padding: 0.95rem 1.1rem;
  border-left: 3px solid var(--lime-dim);
  background: rgba(16, 28, 21, 0.75);
  border-radius: 0 10px 10px 0;
  color: var(--text);
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 1.55rem;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 201, 54, 0.45), transparent);
  pointer-events: none;
}

.steps li {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.85rem;
  padding: 1.2rem;
  background: rgba(11, 21, 16, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 201, 54, 0.55);
  background: #0d1a12;
  color: var(--lime);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.steps strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

/* Downloads */
.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.download-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.5rem 1.4rem 1.45rem;
}

.download-platform {
  margin: 0;
  color: var(--lime);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-card h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.25;
}

.download-desc {
  margin: 0;
  color: var(--muted);
  flex: 1 1 auto;
}

.download-meta {
  margin: 0;
  color: var(--dim);
  font-size: 0.92rem;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.35rem;
  min-height: 3rem;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: var(--lime);
  color: #061008;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border: none;
}

.download-btn:hover {
  text-decoration: none;
  filter: brightness(1.05);
}

.download-note {
  margin: 0.35rem 0 0;
  color: var(--dim);
  font-size: 0.86rem;
  line-height: 1.45;
}

/* Platforms (legacy helpers kept for safety) */
.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.platform-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.25rem;
}

.platform-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.platform-card-dim {
  opacity: 0.78;
}

.badge {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.badge-on {
  color: #061008;
  background: var(--lime);
}

.badge-soon {
  color: var(--dim);
  border: 1px solid var(--border);
  background: transparent;
}

/* Support */
.support-card {
  padding: 2rem 1.75rem;
  border-color: rgba(56, 201, 54, 0.35);
  background:
    radial-gradient(700px 220px at 0% 0%, rgba(114, 255, 69, 0.08), transparent 55%),
    linear-gradient(165deg, rgba(16, 28, 21, 0.98), rgba(8, 16, 12, 0.98));
}

.support-lead {
  margin-bottom: 1rem;
}

.support-mail {
  display: inline-block;
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  font-weight: 700;
  color: var(--lime);
  word-break: break-word;
}

.support-mail:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid rgba(36, 51, 41, 0.9);
  color: var(--dim);
  font-size: 0.95rem;
}

.footer-brand {
  margin: 0 0 0.55rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.footer-inner p {
  margin: 0 0 0.4rem;
}

.footer-copy {
  margin-top: 0.85rem !important;
}

@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card,
  .feature-card:nth-child(4),
  .feature-card:nth-child(5) {
    grid-column: auto;
  }

  .steps::before {
    display: none;
  }
}

@media (max-width: 820px) {
  .site-header {
    height: auto;
    min-height: 70px;
    padding: 0.7rem 0;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    justify-content: flex-start;
    gap: 0.55rem 0.95rem;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .hero-visual {
    order: -1;
  }

  .hero-panel {
    width: min(100%, 280px);
  }

  .section {
    padding: 66px 0;
  }

  .feature-grid,
  .plan-grid,
  .steps,
  .platform-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-card:nth-child(4),
  .feature-card:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 390px) {
  :root {
    --gutter: 18px;
  }

  .brand img {
    height: 38px;
  }

  .nav a {
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .feature-card {
    transition: none;
  }
}
