/* ═══════════════════════════════════════════════
   ZEREK Design System — zerek.cc
   Refined tech-minimal. Outfit + JetBrains Mono.
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

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

:root {
  --bg: #FAFAFA;
  --bg-card: #FFFFFF;
  --bg-alt: #F4F2FF;
  --text: #111827;
  --text-2: #6B7280;
  --text-3: #9CA3AF;
  --accent: #7C6CFF;
  --accent-hover: #6B5CE6;
  --accent-light: #EDE9FF;
  --green: #10B981;
  --green-bg: #D1FAE5;
  --amber: #F59E0B;
  --amber-bg: #FEF3C7;
  --red: #EF4444;
  --red-bg: #FFF1F2;
  --border: #E5E7EB;
  --border-hover: #7C6CFF;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --max-w: 1120px;
  --header-h: 64px;
  --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.02);
  --shadow-hover: 0 12px 40px rgba(124,108,255,0.10), 0 4px 12px rgba(0,0,0,0.04);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ═══ HEADER ═══ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,250,250,0.8);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  height: var(--header-h);
  transition: box-shadow .3s;
}
.site-header.scrolled {
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.nav {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.logo-link {
  display: flex; align-items: baseline; gap: 0; text-decoration: none;
  font-size: 22px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--text);
}
.logo-link .logo-ai {
  font-size: 13px; font-weight: 500; color: var(--text-3);
  vertical-align: super; margin-left: 2px;
}
.nav-links {
  display: flex; align-items: center; gap: 32px;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-2);
  transition: color .2s; text-decoration: none;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 20px; border-radius: var(--radius-sm);
  background: var(--accent); color: #fff;
  font-size: 13px; font-weight: 700;
  transition: all .25s var(--ease);
  text-decoration: none; white-space: nowrap;
}
.nav-cta:hover {
  background: var(--accent-hover); color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(124,108,255,0.25);
}

/* Burger */
.burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; background: none; border: none; z-index: 200;
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all .3s var(--ease);
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(250,250,250,0.98);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  z-index: 150;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 20px; font-weight: 600; color: var(--text);
  text-decoration: none;
  opacity: 0; transform: translateY(20px);
  transition: all .3s var(--ease);
}
.mobile-menu.open a { opacity: 1; transform: translateY(0); }
.mobile-menu a:nth-child(1) { transition-delay: .05s; }
.mobile-menu a:nth-child(2) { transition-delay: .1s; }
.mobile-menu a:nth-child(3) { transition-delay: .15s; }
.mobile-menu a:nth-child(4) { transition-delay: .2s; }
.mobile-menu a:nth-child(5) { transition-delay: .25s; }
.mobile-menu .nav-cta {
  margin-top: 16px; padding: 14px 32px; font-size: 16px;
  border-radius: var(--radius-sm);
}

@media (max-width: 768px) {
  .nav-links, .nav > .nav-cta { display: none; }
  .burger { display: flex; }
}

/* ═══ SECTIONS ═══ */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  font-size: clamp(28px, 4vw, 44px); font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.15;
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 17px; color: var(--text-2); line-height: 1.6;
  max-width: 640px; margin-bottom: 40px;
}
.section-link { margin-top: 32px; }
.link-arrow {
  font-size: 15px; font-weight: 600; color: var(--accent);
  text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
  transition: gap .2s;
}
.link-arrow:hover { gap: 8px; color: var(--accent-hover); }

/* ═══ HERO ═══ */
.hero {
  padding-top: calc(var(--header-h) + 80px);
  padding-bottom: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 1000px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(124,108,255,0.08) 0%, rgba(237,233,255,0.04) 50%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  padding: 6px 16px; border-radius: 50px;
  background: var(--accent-light); color: var(--accent);
  font-size: 13px; font-weight: 600;
  margin-bottom: 24px;
  position: relative;
}
.hero-title {
  font-size: clamp(40px, 5vw, 64px); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.1;
  margin-bottom: 20px;
  max-width: 740px; margin-left: auto; margin-right: auto;
  position: relative;
}
.hero-subtitle {
  font-size: 17px; color: var(--text-2); line-height: 1.6;
  max-width: 560px; margin: 0 auto 32px;
  position: relative;
}
.hero-actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  position: relative;
}

/* ═══ TRUST STRIP ═══ */
.trust-strip {
  display: flex; justify-content: center; gap: 0; flex-wrap: wrap;
  margin-top: 48px; position: relative;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  padding: 16px 28px;
  border-right: 1px solid var(--border);
  font-size: 14px; color: var(--text-2);
}
.trust-item:last-child { border-right: none; }
.trust-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px; font-weight: 700; color: var(--green);
}
@media (max-width: 640px) {
  .trust-strip { gap: 0; }
  .trust-item { padding: 12px 16px; font-size: 13px; border-right: none; }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-num { font-size: 17px; }
}

/* ═══ BUTTONS ═══ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-sm);
  background: var(--accent); color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 15px; font-weight: 700;
  border: none; cursor: pointer;
  transition: all .25s var(--ease);
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--accent-hover); color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124,108,255,0.25);
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-sm);
  background: #fff; color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: 15px; font-weight: 600;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all .25s var(--ease);
  text-decoration: none;
}
.btn-secondary:hover {
  border-color: var(--accent); color: var(--accent);
  transform: translateY(-2px);
}
.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-sm);
  background: #fff; color: var(--accent);
  font-family: 'Outfit', sans-serif;
  font-size: 15px; font-weight: 700;
  border: none; cursor: pointer;
  transition: all .25s var(--ease);
  text-decoration: none;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.3);
  color: var(--accent-hover);
}
.btn-disabled {
  background: #F3F4F6; color: var(--text-3);
  box-shadow: none; cursor: not-allowed; pointer-events: none;
  border: 1px solid var(--border);
}

/* ═══ BADGES ═══ */
.badge {
  display: inline-block;
  padding: 4px 12px; border-radius: 6px;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.badge-live { background: var(--green-bg); color: #059669; }
.badge-soon { background: var(--amber-bg); color: #D97706; }
.badge-free { background: var(--accent-light); color: var(--accent); }

/* ═══ CARDS ═══ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all .3s var(--ease);
  box-shadow: var(--shadow-card);
}
.card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

/* ═══ PROBLEM SECTION ═══ */
.problem-card {
  background: var(--red-bg);
  border: 1px solid rgba(239,68,68,0.12);
  border-radius: var(--radius);
  padding: 64px 32px;
  text-align: center;
}
.problem-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(72px, 12vw, 120px);
  font-weight: 900; color: var(--red);
  line-height: 1; margin-bottom: 16px;
}
.problem-label {
  font-size: 22px; font-weight: 700;
  margin-bottom: 8px;
}
.problem-desc {
  font-size: 16px; color: var(--text-2);
  max-width: 480px; margin: 0 auto;
}

/* ═══ PRODUCT CARDS ═══ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative; overflow: hidden;
  transition: all .3s var(--ease);
  box-shadow: var(--shadow-card);
}
.product-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.product-card.card-live::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #A78BFA);
}
.product-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 16px;
}
.product-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; background: var(--accent-light);
  flex-shrink: 0;
}
.product-name {
  font-size: 18px; font-weight: 700; margin-bottom: 6px;
}
.product-desc {
  font-size: 14px; color: var(--text-2); line-height: 1.6;
  margin-bottom: 16px;
}
.product-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px; font-weight: 700; color: var(--accent);
  margin-bottom: 12px;
}
.product-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.tag {
  padding: 4px 10px; border-radius: 6px;
  font-size: 12px; font-weight: 500;
  background: #F3F4F6; color: var(--text-2);
}

/* ═══ PRODUCTS LIST (products page) ═══ */
.products-list {
  display: flex; flex-direction: column; gap: 24px;
  padding-bottom: 80px;
}
.product-card-full {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  position: relative; overflow: hidden;
  transition: all .3s var(--ease);
  box-shadow: var(--shadow-card);
}
.product-card-full:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.product-card-full::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #A78BFA);
  opacity: 0; transition: opacity .3s;
}
.product-card-full:hover::before { opacity: 1; }
.product-card-full.card-soon { opacity: 0.82; }
.card-head {
  display: flex; align-items: flex-start; gap: 20px;
  margin-bottom: 24px; flex-wrap: wrap;
}
.card-icon { font-size: 40px; line-height: 1; flex-shrink: 0; }
.card-meta { flex: 1; min-width: 0; }
.card-meta h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; }
.card-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px; font-weight: 600; color: var(--green);
}
.card-price.price-tbd { color: var(--text-3); font-size: 15px; }
.card-price.price-included {
  color: var(--text-2); font-size: 14px;
  font-family: 'Outfit', sans-serif; font-weight: 400;
}
.card-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 24px;
}
.card-tag {
  padding: 5px 14px; border-radius: 50px;
  background: var(--accent-light); color: var(--accent);
  font-size: 12px; font-weight: 500; white-space: nowrap;
}
.feature-list {
  list-style: none; margin: 0 0 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px;
}
.feature-list li {
  font-size: 14px; color: var(--text-2);
  padding-left: 22px; position: relative; line-height: 1.55;
}
.feature-list li::before {
  content: '\2192'; position: absolute; left: 0;
  color: var(--green); font-weight: 600;
}
.card-footer {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.card-note { font-size: 13px; color: var(--text-3); }
@media (max-width: 680px) {
  .product-card-full { padding: 28px 22px; }
  .card-icon { font-size: 32px; }
  .card-meta h2 { font-size: 18px; }
  .feature-list { grid-template-columns: 1fr; }
}

/* ═══ ACADEMY ═══ */
.academy-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
@media (max-width: 768px) { .academy-grid { grid-template-columns: 1fr; } }

.academy-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .3s var(--ease);
  box-shadow: var(--shadow-card);
}
.academy-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.academy-bar {
  height: 4px;
}
.bar-gold { background: linear-gradient(90deg, #F59E0B, #EC4899); }
.bar-teal { background: linear-gradient(90deg, #06B6D4, #7C6CFF); }
.academy-body { padding: 28px 28px 24px; }
.academy-title {
  font-size: 20px; font-weight: 800; margin-bottom: 4px;
}
.academy-age {
  font-size: 13px; color: var(--text-3); margin-bottom: 12px;
}
.academy-desc {
  font-size: 14px; color: var(--text-2); line-height: 1.6;
  margin-bottom: 16px;
}
.academy-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: var(--text-3);
  margin-bottom: 16px;
}
.academy-modules {
  display: flex; flex-direction: column; gap: 6px;
}
.academy-module {
  font-size: 14px; color: var(--text-2);
  display: flex; align-items: center; gap: 8px;
}
.academy-module::before {
  content: '\2192'; color: var(--accent); font-weight: 600; flex-shrink: 0;
}

/* Academy full page */
.academy-card-full {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .3s var(--ease);
  box-shadow: var(--shadow-card);
}
.academy-card-full:hover {
  box-shadow: var(--shadow-hover);
}
.academy-card-full .academy-bar { height: 4px; }
.academy-card-full-body { padding: 36px; }
.academy-card-full-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; margin-bottom: 8px; flex-wrap: wrap;
}
.academy-card-full-title {
  font-size: clamp(22px, 3.5vw, 28px);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.2;
}
.academy-card-full-age {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: var(--text-3);
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 16px;
}
.academy-card-full-desc {
  font-size: 15px; color: var(--text-2); line-height: 1.7;
  margin-bottom: 28px; max-width: 680px;
}
.modules-list {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 28px;
}
.module-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color .2s;
}
.module-item:hover { border-color: var(--accent); }
.module-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 600;
  color: var(--text-3); letter-spacing: 1px;
  white-space: nowrap; padding-top: 2px; min-width: 56px;
}
.bar-gold + .academy-card-full-body .module-num { color: #D97706; }
.bar-teal + .academy-card-full-body .module-num { color: #0891B2; }
.module-name {
  font-size: 15px; font-weight: 600; margin-bottom: 3px; line-height: 1.35;
}
.module-topics {
  font-size: 13px; color: var(--text-2); line-height: 1.55;
}
.academy-card-full-meta {
  display: flex; align-items: center; gap: 20px;
  padding: 16px 20px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.meta-item {
  display: flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: var(--text-3); letter-spacing: 0.5px;
}
.meta-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
}
.meta-dot-gold { background: #F59E0B; }
.meta-dot-teal { background: #06B6D4; }

.level-heading {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 28px;
}
.level-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 50px; font-weight: 600;
}
.level-badge-gold {
  background: #FEF3C7; border: 1px solid rgba(245,158,11,0.3); color: #D97706;
}
.level-badge-teal {
  background: #CFFAFE; border: 1px solid rgba(6,182,212,0.3); color: #0891B2;
}
.level-title {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700; letter-spacing: -0.02em;
}

/* ═══ WIKI TAG CLOUD ═══ */
.tag-cloud {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 24px 0;
}
.badge-tag {
  display: inline-block;
  padding: 8px 16px; border-radius: 50px;
  background: var(--accent-light); color: var(--text);
  font-size: 14px; font-weight: 500;
  border: 1px solid transparent;
  transition: all .2s var(--ease);
  cursor: default;
}
.badge-tag:hover {
  border-color: var(--accent);
}
.badge-tag-more {
  background: transparent; color: var(--accent);
  border: 1px solid var(--accent);
  font-weight: 600; cursor: pointer;
}
.badge-tag-more:hover {
  background: var(--accent); color: #fff;
}

/* ═══ WIKI NICHE GRID ═══ */
.niche-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 960px) { .niche-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .niche-grid { grid-template-columns: 1fr; } }

.niche-card {
  display: flex; align-items: center; gap: 14px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all .25s var(--ease);
  text-decoration: none; color: inherit;
  box-shadow: var(--shadow-card);
}
.niche-card.live:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.niche-card.soon { opacity: 0.6; cursor: default; }
.niche-card.soon:hover { transform: none; box-shadow: var(--shadow-card); }
.niche-emoji { font-size: 28px; flex-shrink: 0; }
.niche-info { flex: 1; }
.niche-name { font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.niche-desc { font-size: 12px; color: var(--text-3); line-height: 1.5; margin-bottom: 6px; }

.wiki-section-label {
  font-size: 14px; font-weight: 600;
  color: var(--text-2); letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.wiki-section-label span {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 400; color: var(--text-3);
  margin-left: 8px;
}

/* ═══ DATA GRID ═══ */
.data-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 768px) { .data-grid { grid-template-columns: 1fr; } }
.data-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px; text-align: center;
  transition: all .3s var(--ease);
  box-shadow: var(--shadow-card);
}
.data-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.data-icon { font-size: 40px; margin-bottom: 16px; }
.data-name { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.data-desc { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* ═══ STEPS ═══ */
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  position: relative;
}
@media (max-width: 768px) { .steps-grid { grid-template-columns: 1fr; gap: 24px; } }
.step { text-align: center; position: relative; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800;
  margin-bottom: 16px;
}
.step-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step-desc { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* Dashed line between steps (desktop only) */
@media (min-width: 769px) {
  .steps-grid::before {
    content: '';
    position: absolute;
    top: 24px; left: calc(16.67% + 32px); right: calc(16.67% + 32px);
    height: 0;
    border-top: 2px dashed var(--border);
  }
}

/* ═══ FAQ ═══ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none;
  padding: 20px 0;
  font-family: 'Outfit', sans-serif;
  font-size: 16px; font-weight: 600; color: var(--text);
  text-align: left; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.faq-q::after {
  content: '+'; font-size: 20px; color: var(--text-3);
  transition: transform .3s var(--ease), color .3s;
  flex-shrink: 0;
}
.faq-item.open .faq-q::after {
  transform: rotate(45deg); color: var(--accent);
}
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease;
}
.faq-a-inner {
  padding: 0 0 20px;
  font-size: 15px; color: var(--text-2); line-height: 1.65;
}

/* ═══ CTA BLOCK ═══ */
.cta-section {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  padding: 80px 32px;
  text-align: center;
  border-radius: 0;
}
.cta-section .cta-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800; color: #fff;
  margin-bottom: 12px; letter-spacing: -0.02em;
}
.cta-section .cta-subtitle {
  font-size: 17px; color: rgba(255,255,255,0.8);
  max-width: 520px; margin: 0 auto 32px; line-height: 1.6;
}

/* ═══ FOOTER ═══ */
.site-footer {
  background: #111827;
  padding: 48px 0 32px;
  color: #9CA3AF;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: 32px;
}
.footer-copy { font-size: 13px; color: #6B7280; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: #9CA3AF; font-size: 13px; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-tg { font-size: 13px; }
.footer-tg a { color: #9CA3AF; }
.footer-tg a:hover { color: #fff; }
@media (max-width: 768px) {
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { justify-content: center; }
}

/* ═══ CASE CARDS ═══ */
.cases-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
@media (max-width: 768px) { .cases-grid { grid-template-columns: 1fr; } }
.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-card);
  transition: all .3s var(--ease);
}
.case-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.case-card-city {
  font-size: 12px; font-weight: 600; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.case-card-title {
  font-size: 17px; font-weight: 700; margin-bottom: 10px;
}
.case-card-fact {
  font-size: 14px; color: var(--text-2);
  margin-bottom: 14px; line-height: 1.6;
}
.case-card-lesson {
  font-size: 14px; line-height: 1.6;
  padding: 14px; border-radius: var(--radius-xs);
  background: var(--bg);
}
.case-card-lesson strong { color: var(--text); }

/* ═══ PRIVACY ═══ */
.privacy-section { max-width: 720px; }
.privacy-section h2 {
  font-size: 18px; font-weight: 700;
  margin-top: 40px; margin-bottom: 12px;
}
.privacy-section p {
  font-size: 15px; color: var(--text-2);
  line-height: 1.8; margin-bottom: 14px;
}
.privacy-section a { color: var(--accent); }
.privacy-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: var(--text-3); margin-bottom: 40px;
}

/* ═══ PAGE HERO ═══ */
.page-hero {
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: 48px;
  text-align: center;
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(124,108,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .section-title {
  margin-bottom: 12px; position: relative;
}
.page-hero .section-subtitle {
  margin: 0 auto; position: relative;
}
.page-hero-label {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: var(--accent);
  letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 16px; position: relative;
}

/* ═══ SCROLL REVEAL ═══ */
.rv {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.rv.visible { opacity: 1; transform: translateY(0); }
.rv-d1 { transition-delay: .1s; }
.rv-d2 { transition-delay: .2s; }
.rv-d3 { transition-delay: .3s; }
.rv-d4 { transition-delay: .4s; }
.rv-d5 { transition-delay: .5s; }

/* ═══ SECTION DIVIDER ═══ */
.section-divider {
  border: none; border-top: 1px solid var(--border); margin: 0;
}

/* ═══ UTILS ═══ */
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.text-center { text-align: center; }

/* Wiki CTA */
.wiki-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--accent-light), #F0EDFF);
  border-radius: var(--radius);
  padding: 56px 32px;
}
.wiki-cta-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800; margin-bottom: 12px;
}
.wiki-cta-sub {
  font-size: 17px; color: var(--text-2);
  margin-bottom: 28px; line-height: 1.6;
}

/* Badge inline for product headers */
.badge-inline {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 50px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.5px; text-transform: uppercase;
  margin-left: 8px; vertical-align: middle; white-space: nowrap;
}
.badge-inline-live {
  background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.25);
  color: var(--green);
}
.badge-inline-live::before { content: '\25CF'; font-size: 7px; animation: pulse 2s infinite; }
.badge-inline-soon {
  background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.25);
  color: var(--amber);
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
