/* =============================================
   Reborn VPN — Dark Cyber/Neon Design System
   Mobile-first, responsive
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Accent colours — overridden per-domain by design.py */
  --accent:        #7c3aed;
  --accent-dark:   #5b21b6;
  --glow-rgb:      124,58,237;
  --glow:          rgba(var(--glow-rgb), 0.55);
  --glow-subtle:   rgba(var(--glow-rgb), 0.15);
  --glow-border:   rgba(var(--glow-rgb), 0.35);

  /* Background layers */
  --bg:   #07090f;
  --bg-2: #0c1018;
  --bg-3: #111827;

  /* Glass card */
  --card:       rgba(255,255,255,0.04);
  --card-hover: rgba(255,255,255,0.07);

  /* Borders */
  --border:        rgba(255,255,255,0.07);
  --border-accent: rgba(var(--glow-rgb),0.28);

  /* Text */
  --text:        rgba(255,255,255,0.90);
  --text-muted:  rgba(255,255,255,0.48);
  --text-subtle: rgba(255,255,255,0.22);

  /* Shape */
  --radius:     14px;
  --radius-sm:  8px;
  --radius-btn: 50px;

  /* Font */
  --font: 'Inter', system-ui, -apple-system, Arial, sans-serif;
}

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

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1 { font-size: clamp(1.75rem, 5vw, 3rem);   font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.4rem,  3.5vw, 2.2rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.05rem, 2.5vw, 1.3rem); font-weight: 600; line-height: 1.4; }
h4 { font-size: 1rem; font-weight: 600; }

/* =============================================
   CONTAINER
   ============================================= */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes spin-rev {
  from { transform: rotate(360deg); }
  to   { transform: rotate(0deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

/* =============================================
   SCROLL REVEAL
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   HEADER / NAV
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7,9,15,0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.site-header.scrolled {
  background: rgba(7,9,15,0.98);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo img {
  height: 36px;
  width: auto;
}

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

.nav-menu a {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--text);
  background: var(--card);
}

.header-cta { flex-shrink: 0; }

/* =============================================
   BUTTONS
   ============================================= */
.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.25s, background 0.2s;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 0 28px var(--glow), 0 8px 32px rgba(0,0,0,0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.18s;
  white-space: nowrap;
}

.btn-outline:hover {
  background: var(--card);
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-1px);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--card);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border-accent);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.18s;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--card-hover);
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* =============================================
   BURGER / MOBILE NAV
   ============================================= */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: all 0.25s;
}

.burger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); background: var(--accent); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: var(--accent); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 16px 20px 20px;
}

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

.mobile-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}

.mobile-nav a:hover {
  background: var(--card);
  color: var(--text);
}

.mobile-nav .btn-accent {
  margin-top: 8px;
  justify-content: center;
  font-size: 0.95rem;
  padding: 12px 24px;
}

/* =============================================
   SECTION BASE
   ============================================= */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-2);
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-header h2 {
  color: var(--text);
  margin-bottom: 14px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
}

/* =============================================
   HERO SHARED BASE
   ============================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 80px;
  background: var(--bg);
  color: var(--text);
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--glow-rgb),0.12);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 22px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  flex-shrink: 0;
  animation: glow-pulse 2s ease-in-out infinite;
  box-shadow: 0 0 6px var(--accent);
}

.hero h1 {
  color: var(--text);
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 0;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 500;
}

/* =============================================
   HERO V0 — COSMIC (centered + orbs)
   ============================================= */
.h-cosmic {
  text-align: center;
}

.h-cosmic .hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.h-cosmic .hero-desc {
  margin-left: auto;
  margin-right: auto;
}

.h-cosmic .hero-actions {
  justify-content: center;
}

.h-cosmic .hero-trust {
  justify-content: center;
}

/* Orb blobs */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.orb-1 {
  width: 520px;
  height: 520px;
  top: -160px;
  right: -100px;
  background: radial-gradient(circle, rgba(var(--glow-rgb),0.22) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
}

.orb-2 {
  width: 380px;
  height: 380px;
  bottom: -120px;
  left: -80px;
  background: radial-gradient(circle, rgba(var(--glow-rgb),0.14) 0%, transparent 70%);
  animation: float 11s ease-in-out infinite reverse;
}

/* Mouse glow on hero */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mx, 50%) var(--my, 40%),
    rgba(var(--glow-rgb), 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
  transition: background 0.1s;
}

/* =============================================
   HERO V1 — MATRIX (split + grid overlay)
   ============================================= */
.h-matrix {
  padding: 64px 0 72px;
}

.matrix-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(var(--glow-rgb),0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--glow-rgb),0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-split {
  display: flex;
  flex-direction: column;
  gap: 48px;
  position: relative;
  z-index: 2;
}

.hero-text {
  flex: 1;
}

.matrix-visual {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.matrix-card {
  background: var(--card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  padding: 36px;
  backdrop-filter: blur(20px);
  text-align: center;
  min-width: 220px;
  box-shadow: 0 0 40px rgba(var(--glow-rgb),0.12), inset 0 1px 0 rgba(255,255,255,0.06);
}

.matrix-shield {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1;
  filter: drop-shadow(0 0 16px var(--glow));
}

.matrix-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.matrix-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
  animation: glow-pulse 2s ease-in-out infinite;
}

.matrix-dots span:nth-child(2) { animation-delay: 0.4s; opacity: 0.7; }
.matrix-dots span:nth-child(3) { animation-delay: 0.8s; opacity: 0.4; }

/* =============================================
   HERO V2 — AURORA (centered + spinning rings)
   ============================================= */
.h-aurora {
  text-align: center;
}

.h-aurora .hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.h-aurora .hero-desc  { margin-left: auto; margin-right: auto; }
.h-aurora .hero-actions { justify-content: center; }
.h-aurora .hero-trust   { justify-content: center; }

.aurora-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border-accent);
  pointer-events: none;
  z-index: 0;
}

.r1 {
  width: 540px;
  height: 540px;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  animation: spin-slow 24s linear infinite;
  border-color: rgba(var(--glow-rgb),0.18);
}

.r2 {
  width: 380px;
  height: 380px;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  animation: spin-rev 18s linear infinite;
  border-color: rgba(var(--glow-rgb),0.12);
}

.r3 {
  width: 220px;
  height: 220px;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  animation: spin-slow 12s linear infinite;
  border-color: rgba(var(--glow-rgb),0.22);
}

/* =============================================
   HERO V3 — VOID (left-aligned + thin lines)
   ============================================= */
.h-void {
  padding: 80px 0 88px;
}

.h-void .hero-inner {
  max-width: 640px;
}

.void-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.void-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(var(--glow-rgb),0.18), transparent);
  height: 1px;
  width: 100%;
}

.l1 { top: 25%; animation: glow-pulse 4s ease-in-out infinite; }
.l2 { top: 55%; animation: glow-pulse 4s ease-in-out 1.3s infinite; }
.l3 { top: 80%; animation: glow-pulse 4s ease-in-out 2.6s infinite; }

.h-void .hero-badge {
  border-radius: var(--radius-sm);
  letter-spacing: 1.5px;
}

/* =============================================
   FEATURES — GLASS GRID (.features-grid)  [V0]
   ============================================= */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.feature-card:hover {
  background: var(--card-hover);
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 0 1px var(--border-accent);
}

.feature-card .fc-icon {
  font-size: 1.9rem;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(var(--glow-rgb),0.5));
}

.feature-card h3 {
  color: var(--text);
  margin-bottom: 6px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* =============================================
   FEATURES — NUMBERED LIST (.features-list)  [V1]
   ============================================= */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 28px;
  background: var(--card);
  backdrop-filter: blur(20px);
  transition: background 0.2s;
  position: relative;
}

.feature-list-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 28px;
  right: 28px;
  height: 1px;
  background: var(--border);
}

.feature-list-item:last-child::after { display: none; }

.feature-list-item:hover {
  background: var(--card-hover);
}

.fl-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.35;
  line-height: 1;
  flex-shrink: 0;
  min-width: 52px;
  font-variant-numeric: tabular-nums;
}

.feature-list-item h3 {
  color: var(--text);
  margin-bottom: 6px;
}

.feature-list-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* =============================================
   FEATURES — TILES (.features-tiles)  [V2]
   ============================================= */
.features-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature-tile {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(20px);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.feature-tile:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: 0 0 24px rgba(var(--glow-rgb),0.1);
}

.ft-accent-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.ft-body {
  padding: 24px 24px 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ft-icon {
  font-size: 1.7rem;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(var(--glow-rgb),0.4));
}

.feature-tile h3 {
  color: var(--text);
  margin-bottom: 6px;
}

.feature-tile p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* =============================================
   FEATURES — BIG NUMBERS (.features-numbered) [V3]
   ============================================= */
.features-numbered {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.feature-num-item {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.fn-number {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.22;
  min-width: 72px;
  letter-spacing: -0.04em;
}

.fn-content {
  padding-top: 6px;
}

.fn-content h3 {
  color: var(--text);
  margin-bottom: 8px;
}

.fn-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* =============================================
   PLATFORMS — CHIPS (.platforms-chips)  [V0]
   ============================================= */
.platforms-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.18s;
}

.platform-chip:hover {
  background: rgba(var(--glow-rgb),0.12);
  border-color: var(--border-accent);
  color: var(--text);
  transform: translateY(-2px);
}

.chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--accent);
}

/* =============================================
   PLATFORMS — CARDS (.platforms-grid)  [V1, V3]
   ============================================= */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.platform-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: center;
  backdrop-filter: blur(20px);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.platform-card:hover {
  background: var(--card-hover);
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(var(--glow-rgb),0.1);
}

.platform-card a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.platform-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}

.platform-action {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* =============================================
   PLATFORMS — BADGES (.platform-badges)  [V2]
   ============================================= */
.platform-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.18s, box-shadow 0.2s;
}

.platform-badge:hover {
  background: var(--card-hover);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(var(--glow-rgb),0.12);
}

.pb-arrow {
  color: var(--accent);
  font-style: normal;
  flex-shrink: 0;
  font-size: 1rem;
}

/* Platform dot items (utility) */
.platform-dot-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pd-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--accent);
}

.pd-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pd-arrow {
  margin-left: auto;
  color: var(--accent);
  opacity: 0.5;
  font-size: 0.85rem;
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  background: var(--bg-2);
  padding: 72px 0;
  text-align: center;
  color: var(--text);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(var(--glow-rgb),0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--text);
  margin-bottom: 14px;
  position: relative;
}

.cta-banner p {
  color: var(--text-muted);
  margin-bottom: 36px;
  font-size: 1rem;
  position: relative;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  position: relative;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #030508;
  color: var(--text-muted);
  padding: 56px 0 28px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand .logo img {
  height: 32px;
  filter: brightness(0) invert(1) opacity(0.7);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 280px;
  color: var(--text-subtle);
}

.footer-col h4 {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--text-subtle);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.footer-bottom a {
  color: var(--text-subtle);
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* =============================================
   REVIEWS
   ============================================= */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
}

.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 96px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.08;
  font-family: Georgia, serif;
  pointer-events: none;
}

.review-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 0 28px rgba(var(--glow-rgb), 0.12);
  transform: translateY(-2px);
}

.review-rating {
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
  text-shadow: 0 0 8px rgba(var(--glow-rgb), 0.6);
}

.review-text {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(var(--glow-rgb), 0.15);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-meta strong {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 600;
}

.review-meta span {
  font-size: 0.8rem;
  color: var(--text-subtle);
}

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

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =============================================
   FAQ
   ============================================= */
.faq-list {
  max-width: 800px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.faq-item[open] {
  border-color: var(--border-accent);
  box-shadow: 0 0 24px rgba(var(--glow-rgb), 0.1);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.2s;
}

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

.faq-item[open] .faq-question {
  color: var(--accent);
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background 0.2s, border-color 0.2s;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.faq-icon::before { width: 10px; height: 1.5px; }
.faq-icon::after  { width: 1.5px; height: 10px; }

.faq-item[open] .faq-icon {
  background: rgba(var(--glow-rgb), 0.15);
  border-color: var(--accent);
}

.faq-item[open] .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  padding: 0 24px 20px;
  animation: faqOpen 0.2s ease;
}

.faq-answer p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =============================================
   INSTRUKTSIYA — STEP CARDS
   ============================================= */
.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  margin-bottom: 20px;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.step-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 0 28px rgba(var(--glow-rgb),0.1);
}

.step-card:hover::before {
  opacity: 1;
}

.step-card h2,
.step-card h3 {
  color: var(--text);
  margin-bottom: 12px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.step-card p:last-child {
  margin-bottom: 0;
}

.step-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-card ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.step-card ul li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--accent);
}

/* =============================================
   RESPONSIVE — TABLET 640px
   ============================================= */
@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-tiles {
    grid-template-columns: repeat(2, 1fr);
  }

  .platforms-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* =============================================
   RESPONSIVE — DESKTOP 1024px
   ============================================= */
@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
  }

  .burger {
    display: none;
  }

  .hero {
    padding: 104px 0 112px;
  }

  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .features-tiles {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-split {
    flex-direction: row;
    align-items: center;
    gap: 64px;
  }

  .hero-text {
    flex: 1 1 0;
  }

  .matrix-visual {
    flex: 0 0 300px;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
  }

  .platforms-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-numbered {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 48px;
  }
}

/* =============================================
   UTILITIES
   ============================================= */
.text-center { text-align: center; }
.text-accent  { color: var(--accent); }
.mt-4  { margin-top: 16px; }
.mt-8  { margin-top: 32px; }
.mb-4  { margin-bottom: 16px; }

/* Glass morphism helper */
.glass {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
