:root {
  --bg: #0b0d14;
  --bg-elevated: #121622;
  --bg-card: #161b2a;
  --bg-card-hover: #1c2236;
  --border: #252d44;
  --border-strong: #374366;
  --text: #eef2fb;
  --text-muted: #a6b0c8;
  --text-dim: #7f8aa6;
  --accent: #5b4bff;
  --accent-hover: #7164ff;
  --accent-soft: rgba(91, 75, 255, 0.16);
  --green: #16c784;
  --green-soft: rgba(22, 199, 132, 0.14);
  --amber: #f5a623;
  --amber-soft: rgba(245, 166, 35, 0.14);
  --red: #f15b6c;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --max-w: 1200px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.58;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(900px 420px at 78% -80px, rgba(91, 75, 255, 0.18), transparent 70%), var(--bg);
  color: var(--text);
  padding-bottom: 68px;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: #9b92ff;
  text-decoration: none;
}

a:hover {
  color: #bfb9ff;
  text-decoration: underline;
}

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

.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .wrap {
    padding: 0 24px;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 13, 20, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.brand-link:hover {
  text-decoration: none;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 4px;
}

@media (min-width: 980px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 7px 11px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
  background: var(--bg-card);
  text-decoration: none;
}

.nav-link.is-active {
  box-shadow: inset 0 0 0 1px var(--border-strong);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}

.btn-header:hover {
  background: var(--accent-hover);
  color: #ffffff;
  text-decoration: none;
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 1.15rem;
  cursor: pointer;
}

@media (min-width: 980px) {
  .menu-btn {
    display: none;
  }
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 10px 16px 14px;
}

.nav-mobile.is-open {
  display: block;
}

.nav-mobile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.nav-mobile a {
  display: block;
  padding: 9px 11px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}

.nav-mobile a.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

/* Breadcrumbs (compact single-line) */
.crumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-dim);
  padding: 10px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.crumbs a {
  color: var(--text-muted);
}

/* Hero Above the Fold */
.hero {
  padding: 14px 0 22px;
}

@media (min-width: 768px) {
  .hero {
    padding: 26px 0 32px;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

@media (min-width: 920px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.95fr);
    gap: 24px;
  }
}

.status-bar {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--green-soft);
  border: 1px solid rgba(22, 199, 132, 0.35);
  color: #b7f5db;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 4.4vw, 2.35rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.hero-lead {
  margin: 0 0 14px;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 64ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 12px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: #ffffff;
  font-size: 0.97rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 24px rgba(91, 75, 255, 0.32);
  transition: transform 0.12s ease, background-color 0.15s ease;
  text-align: center;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-full-sm {
  flex: 1 1 230px;
}

.promo-box {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px 8px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px dashed var(--accent);
  flex: 1 1 210px;
}

.promo-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.promo-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  font-weight: 700;
}

.promo-code {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.04em;
}

.btn-copy {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  color: #d6d2ff;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-copy:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.btn-copy.is-copied {
  background: var(--green);
  border-color: var(--green);
  color: #062116;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pills li {
  font-size: 0.78rem;
  font-weight: 600;
  color: #d7deef;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 10px;
}

/* Hero Right Panel */
.hero-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
}

.hero-panel-title {
  margin: 0 0 10px;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  font-weight: 700;
}

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

.stat-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 12px;
}

.stat-val {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

.stat-key {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Sections & Content */
.section {
  padding: 20px 0;
  border-top: 1px solid rgba(37, 45, 68, 0.65);
}

@media (min-width: 768px) {
  .section {
    padding: 28px 0;
  }
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(1.22rem, 2.8vw, 1.62rem);
  line-height: 1.25;
  color: #ffffff;
  letter-spacing: -0.015em;
}

h3 {
  margin: 18px 0 8px;
  font-size: 1.06rem;
  color: #f3f6ff;
}

p {
  margin: 0 0 12px;
  color: var(--text-muted);
}

p strong {
  color: var(--text);
}

.direct-box {
  background: var(--bg-elevated);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 12px 16px;
  margin-bottom: 16px;
  color: var(--text);
  font-size: 0.96rem;
}

.eeat-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #b7f5db;
  background: var(--green-soft);
  border: 1px solid rgba(22, 199, 132, 0.25);
  border-radius: var(--radius-sm);
  padding: 4px 9px;
  margin-bottom: 12px;
}

/* Tables */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  margin: 14px 0 18px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: 0.92rem;
}

th, td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  background: var(--bg-card);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

td {
  color: var(--text-muted);
}

td strong {
  color: var(--text);
}

tr:last-child td {
  border-bottom: none;
}

.badge-ok {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--green-soft);
  color: #79f2be;
  font-size: 0.78rem;
  font-weight: 700;
}

.badge-warn {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--amber-soft);
  color: #ffd07a;
  font-size: 0.78rem;
  font-weight: 700;
}

.badge-no {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(241, 91, 108, 0.16);
  color: #ff9aa6;
  font-size: 0.78rem;
  font-weight: 700;
}

/* Cards & Hub Grid */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 14px 0 18px;
}

@media (min-width: 640px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .cards-grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card-link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.12s ease;
}

.card-link:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
  text-decoration: none;
  transform: translateY(-2px);
}

.card-kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9b92ff;
  font-weight: 700;
}

.card-title {
  font-size: 1.03rem;
  font-weight: 700;
  color: #ffffff;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

.card-arrow {
  font-size: 0.84rem;
  font-weight: 700;
  color: #b7b0ff;
}

/* Steps */
.steps-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 18px;
  counter-reset: step;
  display: grid;
  gap: 10px;
}

.steps-list li {
  position: relative;
  padding: 13px 16px 13px 52px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-muted);
}

.steps-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 13px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps-list strong {
  color: #ffffff;
}

/* Bullet list */
.clean-list {
  padding-left: 20px;
  margin: 10px 0 16px;
  color: var(--text-muted);
}

.clean-list li {
  margin-bottom: 7px;
}

.clean-list strong {
  color: var(--text);
}

/* Inline CTA Band */
.cta-band {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  margin: 18px 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(91, 75, 255, 0.2), rgba(22, 27, 42, 0.95));
  border: 1px solid rgba(113, 100, 255, 0.45);
}

@media (min-width: 768px) {
  .cta-band {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
  }
}

.cta-band-copy {
  max-width: 640px;
}

.cta-band-title {
  margin: 0 0 4px;
  font-size: 1.08rem;
  font-weight: 800;
  color: #ffffff;
}

.cta-band-sub {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}

/* Pros / Cons 2-column */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 14px 0 18px;
}

@media (min-width: 768px) {
  .two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.panel-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
}

.panel-box.is-pros {
  border-top: 3px solid var(--green);
}

.panel-box.is-cons {
  border-top: 3px solid var(--amber);
}

.panel-box h3 {
  margin-top: 0;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  padding: 14px 16px;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.2rem;
  color: #9b92ff;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-body {
  padding: 0 16px 14px;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* Footer */
.site-footer {
  margin-top: 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 28px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-title {
  margin: 0 0 10px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  font-weight: 700;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 7px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Sticky Mobile Bar */
.mobile-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: rgba(11, 13, 20, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border-strong);
}

@media (min-width: 768px) {
  .mobile-sticky {
    display: none;
  }
}

.mobile-sticky .btn-primary {
  flex: 1 1 auto;
  padding: 10px 12px;
  font-size: 0.88rem;
}

.mobile-sticky .btn-copy {
  padding: 10px 11px;
  font-family: var(--font-mono);
}

.code-inline {
  font-family: var(--font-mono);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1px 6px;
  color: #ffffff;
  font-size: 0.9em;
}
