:root {
  color-scheme: dark;
  --bg: #070b14;
  --bg-alt: #0b1120;
  --surface: rgba(17, 25, 44, 0.78);
  --surface-strong: #131c31;
  --surface-hover: #19243e;
  --border: rgba(148, 163, 184, 0.14);
  --border-gold: rgba(245, 158, 11, 0.38);
  --text: #f8fafc;
  --text-soft: #cbd5e1;
  --muted: #94a3b8;
  --gold: #f59e0b;
  --gold-bright: #fbbf24;
  --cyan: #38bdf8;
  --emerald: #10b981;
  --violet: #8b5cf6;
  --shadow: 0 24px 60px rgba(2, 6, 23, 0.6);
  --shadow-sm: 0 8px 24px rgba(2, 6, 23, 0.4);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --font-sans: "Kantumruy Pro", "Inter", system-ui, -apple-system, sans-serif;
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f7fc;
  --bg-alt: #eaf0f8;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-strong: #ffffff;
  --surface-hover: #f1f5f9;
  --border: rgba(15, 23, 42, 0.1);
  --border-gold: rgba(217, 119, 6, 0.38);
  --text: #0f172a;
  --text-soft: #334155;
  --muted: #64748b;
  --shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
  --shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.07);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.hidden { display: none !important; }

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

/* ═══════════════════════════════════════
   AMBIENT BACKGROUND
═══════════════════════════════════════ */
.bg-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(120px);
  opacity: 0.22;
  animation: orb-drift 20s ease-in-out infinite alternate;
}

.orb-gold {
  width: 700px;
  height: 700px;
  top: -300px;
  left: -200px;
  background: radial-gradient(circle, #f59e0b, #d97706 40%, transparent 70%);
  animation-duration: 25s;
}

.orb-cyan {
  width: 650px;
  height: 650px;
  top: -200px;
  right: -220px;
  background: radial-gradient(circle, #0ea5e9, #0284c7 40%, transparent 70%);
  animation-duration: 18s;
  animation-direction: alternate-reverse;
}

@keyframes orb-drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(30px, 20px) scale(1.08); }
  100% { transform: translate(-20px, 40px) scale(0.96); }
}

.grid-mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent 65%);
}

/* ═══════════════════════════════════════
   HEADER
═══════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  background: rgba(7, 11, 20, 0.82);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
}

[data-theme="light"] .site-header {
  background: rgba(244, 247, 252, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  transition: opacity var(--transition);
}

.brand:hover { opacity: 0.85; }

.brand-logo {
  border-radius: 13px;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.25);
}

.brand-text strong {
  display: block;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.1;
}

.brand-text strong span {
  background: linear-gradient(120deg, var(--gold-bright), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text small {
  display: block;
  font-size: 9.5px;
  color: var(--muted);
  letter-spacing: 0.09em;
  margin-top: 1px;
}

/* Nav (Standard Storefront: Home | Products ▾ | Pricing | More ▾) */
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid var(--border);
}

[data-theme="light"] .nav-links {
  background: rgba(241, 245, 249, 0.8);
}

.nav-item,
.nav-drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav-item.active,
.nav-drop-btn.active {
  color: var(--gold-bright);
  background: rgba(245, 158, 11, 0.13);
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.28);
}

.nav-item:hover:not(.active),
.nav-drop-btn:hover:not(.active),
.nav-dropdown.open .nav-drop-btn:not(.active),
.nav-dropdown:hover .nav-drop-btn:not(.active) {
  color: var(--text);
  background: rgba(148, 163, 184, 0.12);
}

.nav-drop-btn .chev {
  transition: transform var(--transition);
  opacity: 0.75;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown.open .nav-drop-btn .chev,
.nav-dropdown:hover .nav-drop-btn .chev {
  transform: rotate(180deg);
}

/* Dropdown Panels */
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 290px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  backdrop-filter: blur(22px);
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.65);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 60;
}

[data-theme="light"] .nav-drop-menu {
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.14);
}

/* Hover bridge so moving cursor from button to menu never closes prematurely */
.nav-drop-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-dropdown:hover .nav-drop-menu,
.nav-dropdown.open .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-drop-menu.mega {
  min-width: 430px;
  padding: 16px;
}

.nav-drop-menu.more-grid {
  min-width: 550px;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.nav-dropdown[data-dropdown="more"] .nav-drop-menu {
  left: auto;
  right: -20px;
  transform: translateY(8px);
}

.nav-dropdown[data-dropdown="more"]:hover .nav-drop-menu,
.nav-dropdown[data-dropdown="more"].open .nav-drop-menu {
  transform: translateY(0);
}

.drop-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drop-col-sep {
  border-left: 1px solid var(--border);
  padding-left: 14px;
}

.drop-section-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  color: var(--cyan);
  padding: 2px 8px 6px;
}

.drop-featured {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--border-gold);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(56, 189, 248, 0.05));
  transition: transform var(--transition), background var(--transition);
}

.drop-featured:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(56, 189, 248, 0.1));
}

.drop-featured img {
  border-radius: 10px;
  flex-shrink: 0;
}

.drop-meta strong {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: var(--text);
}

.drop-meta small {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
}

.drop-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
}

.drop-divider {
  height: 1px;
  background: var(--border);
  margin: 10px 0;
}

.drop-apps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.drop-app-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  transition: background var(--transition), color var(--transition);
}

.drop-app-link img {
  border-radius: 6px;
  flex-shrink: 0;
}

.drop-app-link:hover {
  background: var(--surface-hover);
  color: var(--gold-bright);
}

.drop-footer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.drop-all-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.1);
  color: var(--cyan);
  font-size: 12.5px;
  font-weight: 700;
  transition: background var(--transition);
}

.drop-all-link:hover {
  background: rgba(56, 189, 248, 0.18);
}

.drop-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 10px;
  border-radius: 11px;
  transition: background var(--transition), transform var(--transition);
}

.drop-link:hover {
  background: var(--surface-hover);
  transform: translateX(3px);
}

.drop-ico {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.drop-ico.ico-cyan    { color: var(--cyan); background: rgba(56, 189, 248, 0.1); border-color: rgba(56, 189, 248, 0.25); }
.drop-ico.ico-gold    { color: var(--gold-bright); background: rgba(245, 158, 11, 0.1); border-color: rgba(245, 158, 11, 0.25); }
.drop-ico.ico-emerald { color: #34d399; background: rgba(16, 185, 129, 0.1); border-color: rgba(16, 185, 129, 0.25); }
.drop-ico.ico-violet  { color: #a78bfa; background: rgba(139, 92, 246, 0.1); border-color: rgba(139, 92, 246, 0.25); }

.drop-link strong {
  display: block;
  font-size: 13px;
  color: var(--text);
  line-height: 1.25;
  white-space: nowrap;
}

.drop-link small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-soft);
  opacity: 0.72;
  transition: all var(--transition);
}

.lang-btn:hover { opacity: 1; }
.lang-btn img { border-radius: 2px; }

.lang-btn.active {
  opacity: 1;
  background: var(--surface-hover);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 2px 8px rgba(0, 0, 0, 0.18);
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  transition: all var(--transition);
}

.icon-btn:hover {
  border-color: var(--border-gold);
  background: var(--surface-hover);
}

.icon-btn svg { width: 17px; height: 17px; }
[data-theme="light"] .icon-sun { display: none; }
:root:not([data-theme="light"]) .icon-moon { display: none; }

.btn-telegram-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 11px;
  background: linear-gradient(135deg, #0369a1, #0ea5e9);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.3);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-telegram-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(14, 165, 233, 0.42);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  transition: all var(--transition);
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-soft);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  padding: 12px 0 18px;
  border-top: 1px solid var(--border);
  max-height: 75vh;
  overflow-y: auto;
}

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

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.mobile-nav-heading {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--cyan);
  padding: 4px 8px;
  text-transform: uppercase;
}

.mobile-nav a {
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-soft);
  transition: all var(--transition);
}

.mobile-nav a:hover {
  background: var(--surface-hover);
  color: var(--gold-bright);
}

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero-section {
  padding: 60px 0 52px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

/* Animated entrance */
.hero-copy { animation: fade-up 0.7s ease both; }
.hero-showcase { animation: fade-up 0.7s 0.15s ease both; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-gold);
  background: rgba(245, 158, 11, 0.09);
  color: var(--gold-bright);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hero-title span {
  background: linear-gradient(115deg, #fbbf24 15%, #38bdf8 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: var(--text-soft);
  font-size: 15.5px;
  line-height: 1.72;
  max-width: 56ch;
  margin-bottom: 22px;
}

/* Platform bar */
.platform-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.plat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.plat-chip.active {
  color: var(--text);
  border-color: rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.09);
}

.plat-chip em {
  font-style: normal;
  font-size: 10px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
}

.plat-chip.active em {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.plat-dot.live {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #34d399;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.4); }
  50% { box-shadow: 0 0 0 5px rgba(52, 211, 153, 0); }
}

/* CTA Buttons */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--transition);
}

.btn:hover::before { background: rgba(255,255,255,0.08); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn small {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #fff;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.32);
}

.btn-primary:hover { box-shadow: 0 14px 36px rgba(37, 99, 235, 0.44); }

.btn-emerald {
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
  box-shadow: 0 10px 26px rgba(16, 185, 129, 0.28);
}

.btn-emerald:hover { box-shadow: 0 14px 32px rgba(16, 185, 129, 0.4); }

.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover { border-color: var(--border-gold); }

/* Trust Row */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.trust-item strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
}

.trust-item span {
  font-size: 12px;
  color: var(--muted);
}

/* ═══════════════════════════════════════
   SHOWCASE CARD (Hero Right)
═══════════════════════════════════════ */
.hero-showcase { perspective: 1000px; }

.showcase-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(20px);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.showcase-card:hover {
  transform: translateY(-4px) rotateX(1deg);
  box-shadow: 0 32px 72px rgba(2, 6, 23, 0.65);
}

[data-theme="light"] .showcase-card:hover {
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.14);
}

.showcase-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.showcase-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.showcase-brand img {
  border-radius: 15px;
  box-shadow: 0 4px 14px rgba(245,158,11,0.2);
}

.badge-gold {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  text-transform: uppercase;
}

.showcase-brand h2 { font-size: 19px; line-height: 1.2; margin: 2px 0; }
.showcase-brand p { font-size: 12px; color: var(--muted); margin: 0; }

.status-online {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  white-space: nowrap;
  animation: status-blink 3s ease-in-out infinite;
}

@keyframes status-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}

.showcase-banner-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 14px;
  position: relative;
}

.showcase-banner {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.showcase-banner-wrap:hover .showcase-banner { transform: scale(1.02); }

.showcase-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  margin-bottom: 14px;
}

.split-box {
  padding: 13px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color var(--transition);
}

.split-box:hover { border-color: var(--border-gold); }

.split-box.highlight {
  border-color: rgba(16, 185, 129, 0.35);
}

.split-box.highlight:hover { border-color: rgba(16, 185, 129, 0.6); }

.split-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
}

.split-box p {
  font-size: 12px;
  color: var(--muted);
  flex: 1;
  line-height: 1.5;
}

.pill-blue, .pill-emerald {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.pill-blue { background: rgba(56, 189, 248, 0.14); color: #38bdf8; }
.pill-emerald { background: rgba(16, 185, 129, 0.14); color: #34d399; }

.mini-dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  transition: all var(--transition);
}

.mini-dl-btn:hover { transform: translateY(-1px); filter: brightness(1.1); }
.mini-dl-btn.primary { background: linear-gradient(135deg, #0284c7, #2563eb); }
.mini-dl-btn.emerald { background: linear-gradient(135deg, #059669, #10b981); }

.showcase-footer {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.showcase-footer a {
  color: var(--gold-bright);
  font-weight: 700;
  margin-left: 6px;
  transition: opacity var(--transition);
}

.showcase-footer a:hover { opacity: 0.8; }

/* ═══════════════════════════════════════
   SECTIONS
═══════════════════════════════════════ */
.section { padding: 68px 0; }

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-head.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  color: var(--cyan);
  margin-bottom: 7px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 800;
  line-height: 1.22;
  margin-bottom: 8px;
}

.section-desc {
  color: var(--text-soft);
  max-width: 66ch;
  font-size: 15px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════
   SEARCH & FILTER
═══════════════════════════════════════ */
.catalog-controls { margin-bottom: 18px; }

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  height: 44px;
  width: min(360px, 100%);
  border-radius: 13px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-box:focus-within {
  border-color: var(--border-gold);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.search-box svg { flex-shrink: 0; color: var(--muted); }

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 28px;
}

.filter-tab {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-tab:hover {
  border-color: var(--border-gold);
  color: var(--text);
}

.filter-tab.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(56, 189, 248, 0.14));
  border-color: var(--border-gold);
  color: var(--gold-bright);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.12);
}

/* ═══════════════════════════════════════
   CATALOG CARDS
═══════════════════════════════════════ */
.catalog-groups {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.group-header h3 {
  font-size: 18px;
  font-weight: 800;
}

.group-count {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  background: var(--surface-strong);
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* Card */
.app-card {
  --accent: var(--gold);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 45%), var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), var(--shadow-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.app-card[data-app="dubber"]    { --accent: #f59e0b; border-color: rgba(245, 158, 11, 0.28); }
.app-card[data-app="bilitv"]    { --accent: #38bdf8; }
.app-card[data-app="kisskh"]    { --accent: #fb7185; }
.app-card[data-app="movie360"]  { --accent: #06b6d4; }
.app-card[data-app="stardust"]  { --accent: #a78bfa; }
.app-card[data-app="hongguo"]   { --accent: #f43f5e; }
.app-card[data-app="thumbnail"] { --accent: #10b981; }

.app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent 85%);
  opacity: 0.72;
  pointer-events: none;
  transition: opacity var(--transition);
}

.app-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 12%, transparent), transparent 62%);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.app-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 46px rgba(2, 6, 23, 0.48), 0 0 0 1px color-mix(in srgb, var(--accent) 18%, transparent);
}

.app-card:hover::before,
.app-card:hover::after { opacity: 1; }

[data-theme="light"] .app-card {
  background: #ffffff;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .app-card:hover {
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12), 0 0 0 1px color-mix(in srgb, var(--accent) 28%, transparent);
}

.app-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.app-card-top img {
  width: 58px;
  height: 58px;
  border-radius: 15px;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
  transition: transform var(--transition);
}

.app-card:hover .app-card-top img {
  transform: scale(1.06) rotate(-2deg);
}

.app-card-top h4 {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.13);
  color: var(--text-soft);
  border: 1px solid transparent;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.chip.price {
  background: rgba(245, 158, 11, 0.13);
  color: var(--gold-bright);
  border-color: rgba(245,158,11,0.2);
}

.chip.version {
  background: rgba(56, 189, 248, 0.11);
  color: var(--cyan);
  border-color: rgba(56,189,248,0.2);
}

.chip.flagship {
  background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(251,191,36,0.1));
  color: var(--gold-bright);
  border-color: rgba(245,158,11,0.3);
}

.app-tagline {
  font-size: 13px;
  color: var(--muted);
  flex: 1;
  line-height: 1.55;
}

.app-card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.card-dl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 14px;
  border-radius: 11px;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: all var(--transition);
}

.card-dl:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.38);
}

.card-info {
  padding: 10px 13px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
}

.card-info:hover {
  background: var(--surface-hover);
  border-color: var(--border-gold);
}

.empty-state {
  text-align: center;
  padding: 48px 20px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border);
  color: var(--muted);
  grid-column: 1 / -1;
}

.empty-state p { margin: 8px 0 0; font-size: 14px; }

/* ═══════════════════════════════════════
   SPOTLIGHT SECTION
═══════════════════════════════════════ */
.spotlight-wrap {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: start;
}

.spotlight-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.spotlight-header img { border-radius: 16px; }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

.feat-card {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: all var(--transition);
}

.feat-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

.feat-icon { font-size: 24px; display: block; margin-bottom: 10px; }
.feat-card h3 { font-size: 14.5px; font-weight: 800; margin-bottom: 6px; }
.feat-card p { font-size: 12.5px; color: var(--muted); line-height: 1.6; }

/* SHA Checksum */
.checksum-box, .archive-box {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  margin-bottom: 14px;
}

.checksum-box h3 { font-size: 14.5px; font-weight: 800; margin-bottom: 12px; }

.hash-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 11px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  margin-bottom: 10px;
}

.hash-label {
  grid-column: 1 / -1;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 4px;
}

.hash-row code {
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--cyan);
  align-self: center;
  font-family: ui-monospace, SFMono-Regular, monospace;
}

.copy-btn {
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-hover);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.copy-btn:hover {
  border-color: var(--border-gold);
  color: var(--gold-bright);
}

.archive-box summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.archive-box summary::after {
  content: '▾';
  margin-left: auto;
  color: var(--muted);
  transition: transform var(--transition);
}

.archive-box[open] summary::after { transform: rotate(180deg); }

.archive-note { font-size: 12px; color: var(--muted); margin: 10px 0; }

.archive-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.archive-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  font-size: 12px;
}

.archive-list a {
  color: var(--emerald);
  font-weight: 700;
  transition: opacity var(--transition);
}

.archive-list a:hover { opacity: 0.75; }

/* ═══════════════════════════════════════
   PRICING
═══════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.price-panel {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%), var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition);
  position: relative;
}

.price-panel:hover { transform: translateY(-4px); }

.price-panel.featured {
  border-color: var(--border-gold);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 22px 58px rgba(245, 158, 11, 0.14), 0 0 0 1px rgba(245,158,11,0.1);
  background: linear-gradient(155deg, rgba(245,158,11,0.08) 0%, var(--surface) 45%);
}

.price-panel-badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: rgba(56, 189, 248, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.price-panel.featured .price-panel-badge {
  background: rgba(245, 158, 11, 0.14);
  color: var(--gold-bright);
  border-color: rgba(245, 158, 11, 0.35);
}

.price-panel-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.price-panel-head img { border-radius: 14px; box-shadow: 0 6px 18px rgba(0,0,0,0.25); }
.price-panel-head h3 { font-size: 19px; font-weight: 800; }
.price-panel-head p { font-size: 13px; color: var(--muted); margin-top: 2px; }

.plan-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  font-size: 14px;
  transition: border-color var(--transition), transform var(--transition);
}

.plan-row.popular {
  border-color: rgba(245, 158, 11, 0.34);
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.07), var(--surface-strong));
}

.plan-row:hover { border-color: var(--border-gold); transform: translateX(2px); }

.plan-name-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.plan-tag {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.16);
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.plan-right {
  display: flex;
  align-items: center;
  gap: 10px;
  font-variant-numeric: tabular-nums;
}

.plan-stars {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}

.plan-price {
  font-weight: 800;
  font-size: 15px;
  color: var(--gold-bright);
}

/* ═══════════════════════════════════════
   STEPS
═══════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}

.step-card {
  padding: 26px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative;
  transition: all var(--transition);
}

.step-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-gold);
}

.step-num {
  display: inline-block;
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(120deg, var(--gold-bright), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}

.step-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.step-card p { font-size: 13.5px; color: var(--muted); line-height: 1.65; }

/* Connecting line between steps */
.steps-grid::before {
  display: none;
}

/* ═══════════════════════════════════════
   FAQ
═══════════════════════════════════════ */
.faq-container { max-width: 840px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  padding: 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item[open], .faq-item:hover { border-color: var(--border-gold); }

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 14.5px;
  list-style: none;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--gold-bright);
  font-weight: 400;
  flex-shrink: 0;
  transition: transform var(--transition);
  line-height: 1;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  margin: 0;
  padding: 0 20px 16px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.72;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr 0.95fr 1.15fr;
  gap: 28px;
  margin-bottom: 32px;
}

.footer-brand p {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
  max-width: 42ch;
  line-height: 1.65;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 13px;
  color: var(--muted);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col a:hover { color: var(--gold-bright); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}

/* ═══════════════════════════════════════
   MODAL
═══════════════════════════════════════ */
.app-modal {
  margin: auto;
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 660px;
  width: calc(100% - 32px);
  max-height: calc(100vh - 36px);
  color: var(--text);
  animation: modal-in 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes modal-in {
  from { opacity: 0; transform: scale(0.92) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.app-modal::backdrop {
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: backdrop-in 0.22s ease both;
}

@keyframes backdrop-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(245, 158, 11, 0.25);
  background: linear-gradient(160deg, #131c31 0%, #0d1527 100%);
  box-shadow: 0 32px 80px rgba(2, 6, 23, 0.8), 0 0 0 1px rgba(56, 189, 248, 0.08);
  max-height: calc(100vh - 36px);
  overflow-y: auto;
}

[data-theme="light"] .modal-card {
  background: #ffffff;
  border-color: var(--border);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all var(--transition);
  color: var(--muted);
}

.modal-close:hover {
  background: var(--surface-hover);
  color: var(--text);
  border-color: var(--border-gold);
  transform: rotate(90deg);
}

.modal-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding-right: 42px;
}

.modal-head img {
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  flex-shrink: 0;
}

.modal-head h3 { font-size: 22px; font-weight: 800; margin: 2px 0; line-height: 1.2; }
.modal-meta { font-size: 12.5px; color: var(--muted); margin: 2px 0 0; }
.modal-desc {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0 0 16px;
  line-height: 1.7;
}

.modal-highlights {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.modal-highlights li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(16, 185, 129, 0.05);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
}

.modal-highlights li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.modal-plans-title {
  font-size: 12.5px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.modal-plans {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 22px;
}

.modal-plan-chip {
  padding: 12px 8px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-align: center;
  transition: all var(--transition);
  cursor: default;
}

.modal-plan-chip.featured {
  border-color: var(--border-gold);
  background: linear-gradient(160deg, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0.03));
}

.modal-plan-chip:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

.modal-plan-chip span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 4px;
  line-height: 1.25;
}

.modal-plan-chip strong {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--gold-bright);
}

.modal-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 10px;
}

.modal-actions .btn,
.modal-actions .btn-telegram-cta {
  justify-content: center;
  text-align: center;
  padding: 12px 14px;
  font-size: 13px;
  border-radius: 12px;
}

/* ═══════════════════════════════════════
   TOAST
═══════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  padding: 12px 18px;
  border-radius: 13px;
  background: #0f172a;
  color: #fff;
  border: 1px solid rgba(56, 189, 248, 0.38);
  font-size: 13.5px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: all 0.25s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  gap: 8px;
}

[data-theme="light"] .toast {
  background: #1e293b;
}

.toast.show { opacity: 1; transform: translateY(0); }

/* Web Promo Bar & Maintenance Overlay (Admin Controlled) */
.web-promo-bar {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.2), rgba(14, 165, 233, 0.22));
  border-bottom: 1px solid var(--border-gold);
  backdrop-filter: blur(12px);
  padding: 8px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  position: relative;
  z-index: 55;
}

.web-promo-bar.promo-theme-blue {
  background: linear-gradient(90deg, rgba(14, 165, 233, 0.24), rgba(59, 130, 246, 0.22));
  border-bottom-color: rgba(56, 189, 248, 0.45);
}

.web-promo-bar.promo-theme-emerald {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.24), rgba(6, 182, 212, 0.2));
  border-bottom-color: rgba(16, 185, 129, 0.45);
}

.web-promo-bar.promo-theme-rose {
  background: linear-gradient(90deg, rgba(244, 63, 94, 0.24), rgba(249, 115, 22, 0.2));
  border-bottom-color: rgba(244, 63, 94, 0.48);
}

.web-promo-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
}

.web-promo-link {
  color: var(--text);
  text-align: center;
  transition: color var(--transition);
}

.web-promo-link:hover { color: var(--gold-bright); }

.web-promo-close {
  position: absolute;
  right: 0;
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  padding: 2px 6px;
  font-size: 14px;
}

.web-promo-close:hover { color: var(--text); }

.web-maint-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(7, 11, 20, 0.92);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.web-maint-card {
  max-width: 480px;
  width: 100%;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  background: var(--surface-strong);
  text-align: center;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.web-maint-card img { border-radius: 14px; }
.web-maint-card h2 { font-size: 22px; font-weight: 800; }
.web-maint-card p { font-size: 14px; color: var(--text-soft); line-height: 1.6; }

/* Website Brand Accent Presets Controlled from Admin */
:root[data-accent="cyan"] {
  --gold: #0ea5e9;
  --gold-bright: #38bdf8;
  --border-gold: rgba(56, 189, 248, 0.36);
}
:root[data-accent="emerald"] {
  --gold: #10b981;
  --gold-bright: #34d399;
  --border-gold: rgba(16, 185, 129, 0.38);
}
:root[data-accent="violet"] {
  --gold: #8b5cf6;
  --gold-bright: #a78bfa;
  --border-gold: rgba(139, 92, 246, 0.38);
}

.web-key-form {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.web-key-form input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: ui-monospace, monospace;
  font-size: 14px;
  text-transform: uppercase;
}
.web-key-result {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 13px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13.5px;
  line-height: 1.6;
}
.web-key-result.is-valid {
  border-color: rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.1);
}
.web-key-result.is-bad {
  border-color: rgba(244, 63, 94, 0.45);
  background: rgba(244, 63, 94, 0.1);
}
.web-changelog-section {
  margin-top: 28px;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}
.web-changelog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.web-changelog-item {
  padding: 14px;
  border-radius: 13px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}
.web-changelog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.web-changelog-meta code {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.16);
  color: var(--gold-bright);
  font-weight: 700;
  font-size: 12px;
}
.web-changelog-meta small { color: var(--muted); font-size: 12px; }
.web-changelog-item h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.web-changelog-item p { font-size: 13px; color: var(--text-soft); line-height: 1.5; }

/* ═══════════════════════════════════════
   SCROLL TO TOP
═══════════════════════════════════════ */
.scroll-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  backdrop-filter: blur(14px);
  color: var(--text-soft);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  z-index: 40;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover {
  border-color: var(--border-gold);
  color: var(--gold-bright);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════
   HERO STATS STRIP & SUBPAGE BANNERS
═══════════════════════════════════════ */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
}

.stat-card {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 60%), var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: border-color var(--transition), transform var(--transition);
}

.stat-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

.stat-card strong {
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(120deg, var(--gold-bright), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.stat-card span {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
}

.page-banner {
  position: relative;
  padding: 48px 0 36px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(640px 220px at 18% 0%, rgba(245, 158, 11, 0.09), transparent 70%),
    radial-gradient(640px 220px at 85% 0%, rgba(14, 165, 233, 0.09), transparent 70%),
    linear-gradient(180deg, rgba(14, 165, 233, 0.03), transparent);
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  margin-bottom: 16px;
}

.breadcrumb a { color: var(--cyan); font-weight: 700; }
.breadcrumb a:hover { text-decoration: underline; }

.page-title {
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 10px;
}

.page-desc {
  color: var(--text-soft);
  max-width: 66ch;
  font-size: 15px;
}

.featured-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.cta-banner {
  margin-top: 34px;
  padding: 28px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.09), rgba(14, 165, 233, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), var(--shadow-sm);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cta-banner h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.cta-banner p { font-size: 14px; color: var(--text-soft); max-width: 58ch; }

.sysreq-card {
  margin-top: 28px;
  padding: 26px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.sysreq-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 12px; }
.sysreq-card ul {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--text-soft);
  font-size: 14px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.support-card {
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform var(--transition), border-color var(--transition);
}

.support-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-gold);
}

.support-card h4 { font-size: 16px; font-weight: 800; }
.support-card p { font-size: 13px; color: var(--muted); flex: 1; }
.support-card span { font-size: 13px; font-weight: 700; color: var(--cyan); }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-grid, .spotlight-wrap, .pricing-grid { grid-template-columns: 1fr; }
  .apps-grid, .support-grid, .stats-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .showcase-card { max-width: 520px; }
}

@media (max-width: 640px) {
  .showcase-split, .feature-grid, .steps-grid { grid-template-columns: 1fr; }
  .apps-grid, .support-grid, .stats-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: stretch; }
  .site-header .btn-telegram-cta span { display: none; }
  .hero-actions .btn small { display: none; }
  .hero-section { padding: 36px 0 32px; }
  .section { padding: 48px 0; }
  .pricing-grid { grid-template-columns: 1fr; }
  .modal-highlights { grid-template-columns: 1fr; }
  .modal-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modal-actions { grid-template-columns: 1fr; }
  .scroll-top { bottom: 16px; left: 16px; }
  .toast { bottom: 16px; right: 16px; left: 16px; }
}

@media (max-width: 400px) {
  .hero-pill { font-size: 10px; }
  .hero-title { font-size: 26px; }
  .platform-bar { gap: 6px; }
  .plat-chip { font-size: 11px; padding: 4px 10px; }
}
