@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Syne:wght@600;700;800&display=swap");

:root {
  --bg: #080f0c;
  --bg-alt: #0e1713;
  --panel: #111c17;
  --panel-2: #162219;
  --emerald: #10b981;
  --emerald-dim: rgba(16, 185, 129, 0.15);
  --amber: #fbbf24;
  --amber-dim: rgba(251, 191, 36, 0.12);
  --text: #ecfdf5;
  --soft: #94a89e;
  --line: rgba(255, 255, 255, 0.06);
  --radius: 14px;
  --radius-xl: 28px;
  --head: "Syne", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 80px,
      rgba(16, 185, 129, 0.015) 80px,
      rgba(16, 185, 129, 0.015) 81px
    ),
    radial-gradient(ellipse 70% 45% at 0% 0%, rgba(16, 185, 129, 0.18), transparent),
    radial-gradient(ellipse 50% 35% at 100% 20%, rgba(251, 191, 36, 0.1), transparent),
    var(--bg);
}

.shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Top bar ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 300;
  background: rgba(8, 15, 12, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}

.logo-link img {
  height: 36px;
  width: auto;
  display: block;
}

.topbar-actions {
  display: flex;
  gap: 10px;
}

.action-btn {
  font-family: var(--head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: 0.18s;
}

.action-btn.ghost {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line);
}

.action-btn.ghost:hover {
  border-color: var(--emerald);
  color: var(--emerald);
}

.action-btn.solid {
  background: var(--emerald);
  color: #052e1e;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
}

.action-btn.solid:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.action-btn.amber {
  background: var(--amber);
  color: #422006;
}

/* ── Hero split ── */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 0;
  margin: 36px 0 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--panel);
}

.hero-text {
  padding: 48px 44px;
  position: relative;
}

.hero-text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--emerald), var(--amber));
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--emerald);
  margin-bottom: 18px;
}

.hero-kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--emerald);
}

.hero-text h1 {
  font-family: var(--head);
  font-size: clamp(1.85rem, 4.2vw, 2.65rem);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.hero-text p {
  color: var(--soft);
  margin: 0 0 14px;
  max-width: 620px;
}

.hero-text p strong {
  color: var(--text);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-side {
  background: linear-gradient(165deg, var(--bg-alt) 0%, #0a1510 100%);
  border-left: 1px solid var(--line);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.metric {
  border-left: 3px solid var(--emerald);
  padding-left: 16px;
}

.metric .val {
  font-family: var(--head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
}

.metric .desc {
  font-size: 13px;
  color: var(--soft);
  margin-top: 4px;
}

/* ── Dot nav (desktop) ── */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 52px;
  gap: 32px;
  align-items: start;
}

.dot-nav {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-top: 8px;
}

.dot-nav a {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--panel-2);
  border: 2px solid var(--line);
  transition: 0.2s;
  text-indent: -9999px;
  overflow: hidden;
}

.dot-nav a:hover,
.dot-nav a.active {
  background: var(--emerald);
  border-color: var(--emerald);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
  transform: scale(1.3);
}

/* ── Category ribbon ── */
.ribbon {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 32px;
  padding-bottom: 4px;
}

.ribbon::-webkit-scrollbar {
  display: none;
}

.ribbon-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 200px;
}

.ribbon-item span:first-child {
  font-size: 22px;
}

.ribbon-item strong {
  display: block;
  font-family: var(--head);
  font-size: 14px;
  font-weight: 700;
}

.ribbon-item small {
  display: block;
  font-size: 12px;
  color: var(--soft);
  margin-top: 2px;
}

/* ── Article sections ── */
.article {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.slice {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 36px 34px;
  position: relative;
}

.slice:nth-child(even) {
  background: var(--panel-2);
}

.slice-label {
  font-family: var(--head);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--amber);
  margin-bottom: 10px;
}

.slice h2 {
  font-family: var(--head);
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 16px;
  color: var(--emerald);
}

.slice h3 {
  font-family: var(--head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--amber);
  margin: 24px 0 10px;
}

.slice p {
  color: var(--soft);
  margin: 0 0 14px;
}

.slice p strong {
  color: var(--text);
}

/* ── Info rows ── */
.info-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0;
}

.info-box {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.info-box .tag {
  font-family: var(--head);
  font-size: 13px;
  font-weight: 700;
  color: var(--emerald);
  margin-bottom: 8px;
}

.info-box p {
  font-size: 14px;
  margin: 0;
}

/* ── Steps bar ── */
.steps-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.step-cell {
  padding: 20px 18px;
  border-right: 1px solid var(--line);
  background: var(--bg-alt);
}

.step-cell:last-child {
  border-right: none;
}

.step-cell .num {
  font-family: var(--head);
  font-size: 28px;
  font-weight: 800;
  color: var(--emerald);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 8px;
}

.step-cell p {
  font-size: 14px;
  margin: 0;
}

/* ── Table ── */
.slice-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

.slice-table th,
.slice-table td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
}

.slice-table th {
  background: var(--emerald-dim);
  color: var(--emerald);
  font-family: var(--head);
  font-weight: 700;
}

.slice-table td {
  background: var(--bg-alt);
}

/* ── Offer tiles ── */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 22px 0;
}

.offer-tile {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
}

.offer-tile.featured {
  border-color: var(--emerald);
  background: linear-gradient(160deg, var(--emerald-dim), var(--bg-alt));
}

.offer-tile.vip {
  border-color: var(--amber);
  background: linear-gradient(160deg, var(--amber-dim), var(--bg-alt));
}

.offer-tile h4 {
  font-family: var(--head);
  margin: 0 0 6px;
  font-size: 1rem;
}

.offer-tile .price {
  font-family: var(--head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--emerald);
  margin: 0 0 10px;
}

.offer-tile.vip .price {
  color: var(--amber);
}

.offer-tile p {
  font-size: 13px;
  flex: 1;
}

.offer-tile .action-btn {
  width: 100%;
  margin-top: 14px;
}

.offer-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--soft);
  padding: 6px 0;
  border-top: 1px solid var(--line);
}

/* ── Warning ── */
.warn-box {
  background: var(--amber-dim);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 14px;
  color: #fde68a;
  margin: 20px 0;
}

/* ── FAQ grid ── */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.faq-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.faq-card h4 {
  font-family: var(--head);
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}

.faq-card p {
  font-size: 13px;
  margin: 0;
  color: var(--soft);
}

/* ── Footer ── */
.site-foot {
  margin-top: 48px;
  padding: 32px 0 52px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.site-foot p {
  color: var(--soft);
  font-size: 14px;
  margin: 0 0 6px;
}

/* ── Scroll up ── */
.go-up {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--emerald);
  color: #052e1e;
  border: none;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
  z-index: 200;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.go-up.show {
  opacity: 1;
  visibility: visible;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero-split {
    grid-template-columns: 1fr;
  }

  .hero-side {
    border-left: none;
    border-top: 1px solid var(--line);
    flex-direction: row;
    flex-wrap: wrap;
  }

  .metric {
    flex: 1;
    min-width: 120px;
  }

  .page-layout {
    grid-template-columns: 1fr;
  }

  .dot-nav {
    display: none;
  }

  .info-row,
  .steps-bar,
  .offer-grid {
    grid-template-columns: 1fr;
  }

  .steps-bar {
    border-radius: var(--radius);
  }

  .step-cell {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .step-cell:last-child {
    border-bottom: none;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero-text {
    padding: 32px 24px;
  }

  .slice {
    padding: 28px 22px;
  }

  .topbar-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .topbar-actions {
    flex-direction: column;
  }

  .topbar-actions .action-btn {
    width: 100%;
  }
}
