/* ════════════════════════════════════════════════════
   VPN KOVALENKO — Premium Dark Theme
   ════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; }

:root {
  --bg:        #050714;
  --bg-2:      #0A0E1A;
  --bg-3:      #0F1424;
  --surface:   rgba(15, 23, 42, 0.6);
  --surface-2: rgba(15, 23, 42, 0.85);
  --border:    rgba(99, 102, 241, 0.14);
  --border-2:  rgba(255, 255, 255, 0.06);

  --primary:   #3B82F6;
  --primary-2: #60A5FA;
  --purple:    #8B5CF6;
  --cyan:      #06B6D4;
  --green:     #10B981;
  --amber:     #F59E0B;
  --rose:      #F43F5E;

  --text:      #E2E8F0;
  --text-2:    #94A3B8;
  --muted:     #64748B;
  --white:     #FFFFFF;

  --grad-1: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
  --grad-text: linear-gradient(135deg, #60A5FA 0%, #A78BFA 50%, #60A5FA 100%);

  --shadow-md: 0 12px 32px rgba(0,0,0,0.35);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.45);

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  position: relative;
}

/* ─── BACKGROUND ─── */
.bg-layers { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

.mesh-bg {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%,   rgba(59,130,246,0.25)  0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 20%,  rgba(139,92,246,0.22)  0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(6,182,212,0.15)   0%, transparent 60%);
  filter: blur(40px);
  animation: meshShift 20s ease-in-out infinite;
}

@keyframes meshShift {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-3%, 2%); }
}

.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
}

#particles { position: fixed; inset: 0; z-index: 1; pointer-events: none; }

.navbar, section, footer, .modal, .error-modal { position: relative; z-index: 2; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.15;
}

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

::selection { background: var(--primary); color: #fff; }

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1140px;
  background: rgba(10, 14, 26, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: 100px;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 14, 26, 0.92);
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.nav-wrapper { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.logo-img { width: 32px; height: 32px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(59,130,246,0.5)); }
.logo-text {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu { display: flex; align-items: center; gap: 8px; }
.nav-link {
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  border-radius: 100px;
  transition: all 0.2s;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.04); }

.nav-toggle { display: none; width: 40px; height: 40px; background: transparent; border: none; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  line-height: 1;
}

.btn i { font-size: 1.05em; }
.btn .me-2 { margin-right: 8px; }
.btn-lg { padding: 16px 32px; font-size: 15px; }

.btn-primary { background: var(--grad-1); color: var(--white); box-shadow: 0 8px 24px rgba(59,130,246,0.3); }
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.25), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(59,130,246,0.45); }
.btn-primary:hover::before { opacity: 1; }

.btn-outline {
  background: rgba(255,255,255,0.03);
  color: var(--white);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.btn-outline:hover { background: rgba(59,130,246,0.08); border-color: rgba(59,130,246,0.4); transform: translateY(-2px); }

.btn-success { background: linear-gradient(135deg, var(--green) 0%, #059669 100%); color: var(--white); }
.btn-success:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(16,185,129,0.35); }

.w-100 { width: 100%; }
.mb-3 { margin-bottom: 12px; }

/* ─── HERO ─── */
.hero { padding: 160px 0 100px; text-align: center; position: relative; }

.hero::before {
  content: '';
  position: absolute;
  top: 25%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(59,130,246,0.12), transparent 60%);
  pointer-events: none;
  filter: blur(20px);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary-2);
  margin-bottom: 28px;
}

.hero-badge .live-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 8px var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.4); } }

.hero-title { font-size: clamp(40px, 6.5vw, 80px); font-weight: 800; margin-bottom: 24px; letter-spacing: -0.03em; }
.title-main { display: block; color: var(--white); }
.title-highlight {
  display: block;
  background: var(--grad-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineText 6s linear infinite;
}
@keyframes shineText { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }

.hero-subtitle { font-size: clamp(16px, 1.5vw, 19px); color: var(--text-2); max-width: 640px; margin: 0 auto 40px; line-height: 1.6; }

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 900px;
  margin: 0 auto 48px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
}

.stat-item { padding: 28px 16px; background: rgba(10, 14, 26, 0.7); text-align: center; position: relative; overflow: hidden; }
.stat-item::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at top, rgba(59,130,246,0.06), transparent 70%); }
.stat-number {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 6px;
  position: relative;
}
.stat-label { font-size: 13px; color: var(--muted); font-weight: 500; position: relative; }

.hero-features { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.feature-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  backdrop-filter: blur(10px);
  transition: all 0.2s;
}
.feature-badge i { color: var(--primary-2); }
.feature-badge:nth-child(2) i { color: var(--cyan); }
.feature-badge:nth-child(3) i { color: var(--amber); }
.feature-badge:hover { border-color: rgba(59,130,246,0.4); color: var(--white); transform: translateY(-2px); }

/* ─── SECTION COMMON ─── */
section { padding: 100px 0; }

.section-header { text-align: center; margin-bottom: 64px; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--primary-2); margin-bottom: 14px; }
.section-title { font-size: clamp(32px, 4.5vw, 52px); font-weight: 800; margin-bottom: 18px; letter-spacing: -0.02em; }
.section-title .gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-subtitle { font-size: 17px; color: var(--text-2); line-height: 1.65; }

/* ─── FEATURES ─── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.feature-card {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 30% 0%, rgba(59,130,246,0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
}

.feature-card:hover {
  border-color: rgba(59,130,246,0.35);
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4), 0 0 30px rgba(59,130,246,0.08);
}
.feature-card:hover::before { opacity: 1; }
.feature-card.span-2 { grid-column: span 2; }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 24px;
  position: relative;
  z-index: 2;
}

.feature-icon.blue   { background: rgba(59,130,246,0.12);  color: var(--primary-2); border: 1px solid rgba(59,130,246,0.25); }
.feature-icon.purple { background: rgba(139,92,246,0.12);  color: #A78BFA;          border: 1px solid rgba(139,92,246,0.25); }
.feature-icon.cyan   { background: rgba(6,182,212,0.12);   color: var(--cyan);      border: 1px solid rgba(6,182,212,0.25); }
.feature-icon.green  { background: rgba(16,185,129,0.12);  color: var(--green);     border: 1px solid rgba(16,185,129,0.25); }
.feature-icon.amber  { background: rgba(245,158,11,0.12);  color: var(--amber);     border: 1px solid rgba(245,158,11,0.25); }
.feature-icon.rose   { background: rgba(244,63,94,0.12);   color: var(--rose);      border: 1px solid rgba(244,63,94,0.25); }

.feature-card h3 { font-size: 20px; margin-bottom: 10px; position: relative; z-index: 2; }
.feature-card p { font-size: 14.5px; line-height: 1.65; position: relative; z-index: 2; }

/* ─── DEMO ─── */
.demo-wrapper { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: start; }

.demo-instructions { display: flex; flex-direction: column; padding: 8px 0; }

.instruction-step { display: flex; gap: 20px; position: relative; padding-bottom: 28px; }
.instruction-step:last-child { padding-bottom: 0; }

.step-indicator { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }

.step-number {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--primary-2);
  position: relative;
  z-index: 2;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}

.instruction-step:hover .step-number {
  background: rgba(59,130,246,0.12);
  border-color: rgba(59,130,246,0.4);
  box-shadow: 0 0 20px rgba(59,130,246,0.25);
  transform: scale(1.05);
}

.step-connector { width: 1px; flex: 1; background: linear-gradient(180deg, var(--border) 0%, transparent 100%); margin-top: 8px; margin-bottom: -8px; min-height: 30px; }

.step-content { padding-top: 8px; flex: 1; }
.step-title { font-size: 17px; font-weight: 600; margin-bottom: 6px; color: var(--white); }
.step-description { font-size: 14px; color: var(--muted); line-height: 1.6; }

.demo-key-container {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  backdrop-filter: blur(24px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.demo-key-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59,130,246,0.12), transparent 70%);
  pointer-events: none;
}

.key-content-wrapper { position: relative; z-index: 2; }
.key-activation-area { text-align: center; padding: 24px 0 32px; }

.activation-circle {
  position: relative;
  width: 140px; height: 140px;
  margin: 0 auto 28px;
  cursor: pointer;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #1E293B, #0F172A);
  border: 1px solid rgba(59,130,246,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(59,130,246,0.3), inset 0 0 40px rgba(59,130,246,0.08);
  transition: transform 0.3s;
}

.activation-circle:hover { transform: scale(1.04); }
.activation-circle:active { transform: scale(0.97); }

.circle-fill {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--primary), var(--purple), var(--cyan), var(--primary));
  opacity: 0.15;
  animation: spin 8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.circle-waves {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px solid rgba(59,130,246,0.4);
  animation: ripple 2s ease-out infinite;
}
.circle-waves::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(139,92,246,0.4);
  animation: ripple 2s ease-out 1s infinite;
}
@keyframes ripple { 0% { transform: scale(0.9); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }

.circle-inner {
  position: relative;
  z-index: 2;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--grad-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(59,130,246,0.45);
}

.activation-circle.active { animation: circlePulse 1s ease forwards; }
@keyframes circlePulse { 0% { transform: scale(1); } 50% { transform: scale(1.2); } 100% { transform: scale(0); opacity: 0; } }

.activation-text { text-align: center; }
.activation-instruction { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.activation-hint { font-size: 13px; color: var(--muted); line-height: 1.6; max-width: 360px; margin: 0 auto; }

.vless-key { margin-top: 8px; }

.key-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 12px;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 11.5px;
  color: var(--text);
  word-break: break-all;
  max-height: 80px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.key-label > span:first-child { flex: 1; margin-right: 8px; }
.key-warning { background: rgba(245,158,11,0.15); color: var(--amber); padding: 3px 10px; border-radius: 100px; font-size: 11px; font-weight: 600; white-space: nowrap; font-family: 'Inter', sans-serif; }

.key-expiry {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--radius);
  margin-bottom: 16px;
  color: var(--green);
  font-size: 13px;
  font-weight: 500;
}

.demo-info { margin-top: 24px; position: relative; z-index: 2; }

.info-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  text-align: center;
}
.info-item i { font-size: 18px; color: var(--primary-2); }
.info-item span { font-size: 12px; color: var(--text-2); font-weight: 500; }

.demo-notice {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(59,130,246,0.06);
  border: 1px solid rgba(59,130,246,0.15);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.55;
}
.demo-notice i { color: var(--primary-2); flex-shrink: 0; font-size: 16px; margin-top: 1px; }

/* ─── PRICING ─── */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.pricing-card {
  position: relative;
  padding: 32px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(59,130,246,0.06), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.pricing-card:hover::before { opacity: 1; }
.pricing-card:hover { border-color: rgba(59,130,246,0.3); transform: translateY(-6px); box-shadow: 0 24px 64px rgba(0,0,0,0.35); }

.pricing-card.recommended {
  background: linear-gradient(145deg, rgba(59,130,246,0.08), rgba(15,23,42,0.95));
  border-color: rgba(59,130,246,0.4);
  box-shadow: 0 16px 48px rgba(59,130,246,0.18);
}
.pricing-card.recommended:hover { box-shadow: 0 28px 72px rgba(59,130,246,0.28); }

.recommended-badge {
  position: absolute;
  top: 16px; right: 16px;
  padding: 4px 12px;
  background: var(--grad-1);
  color: var(--white);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  box-shadow: 0 4px 12px rgba(59,130,246,0.4);
}

.pricing-label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted); margin-bottom: 20px; position: relative; z-index: 2; }
.pricing-card.recommended .pricing-label { color: var(--primary-2); }

.pricing-header { position: relative; z-index: 2; }
.pricing-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px; }

.price-amount {
  font-family: 'Manrope', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.04em;
}

.pricing-card.recommended .price-amount {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.price-currency { font-size: 22px; font-weight: 600; color: var(--text-2); }
.pricing-saving { display: block; font-size: 13px; color: var(--green); font-weight: 600; margin-bottom: 20px; }

.pricing-features { list-style: none; margin: 20px 0 24px; position: relative; z-index: 2; }
.pricing-features li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 13.5px; color: var(--text-2); }
.pricing-features li i { color: var(--green); font-size: 14px; flex-shrink: 0; }

.pricing-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.25s;
  position: relative;
  z-index: 2;
}

.pricing-btn:hover { background: rgba(59,130,246,0.12); border-color: rgba(59,130,246,0.4); transform: translateY(-2px); }

.pricing-card.recommended .pricing-btn {
  background: var(--grad-1);
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(59,130,246,0.32);
}
.pricing-card.recommended .pricing-btn:hover { box-shadow: 0 14px 36px rgba(59,130,246,0.45); }

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

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq-item:hover { border-color: rgba(59,130,246,0.25); }
.faq-item.active { border-color: rgba(59,130,246,0.4); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  transition: background 0.2s;
}
.faq-question:hover { background: rgba(255,255,255,0.02); }

.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--primary-2);
}

.faq-item.active .faq-icon { transform: rotate(180deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-item.active .faq-answer { max-height: 320px; }
.faq-answer p { padding: 0 24px 22px; font-size: 15px; color: var(--text-2); line-height: 1.7; }

/* ─── FOOTER ─── */
.footer { padding: 80px 0 32px; border-top: 1px solid var(--border); position: relative; }

.footer-content { display: grid; grid-template-columns: 1.4fr 2fr; gap: 60px; margin-bottom: 48px; }
.footer-brand .footer-logo { width: 48px; height: 48px; margin-bottom: 18px; filter: drop-shadow(0 0 12px rgba(59,130,246,0.4)); }
.footer-description { font-size: 14.5px; color: var(--text-2); line-height: 1.7; max-width: 380px; }

.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-column h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--white); margin-bottom: 18px; }
.footer-column a { display: block; font-size: 14px; color: var(--muted); text-decoration: none; margin-bottom: 10px; transition: color 0.2s; }
.footer-column a:hover { color: var(--primary-2); }

.footer-bottom { padding-top: 32px; border-top: 1px solid var(--border-2); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: var(--muted); }
.footer-security { color: var(--green) !important; font-weight: 500; }

/* ─── MODAL ─── */
.modal, .error-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 15, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.active, .error-modal.active { display: flex; }

.modal-content, .error-content {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }

.modal-close { position: absolute; top: 16px; right: 20px; font-size: 28px; color: var(--muted); cursor: pointer; line-height: 1; transition: color 0.2s; }
.modal-close:hover { color: var(--white); }

.modal-content h3 { font-size: 22px; margin-bottom: 12px; text-align: center; }
.modal-body p { text-align: center; margin-bottom: 24px; font-size: 14.5px; }
.platform-buttons { display: flex; justify-content: center; }

.error-content { text-align: center; }
.error-icon { width: 64px; height: 64px; background: rgba(244,63,94,0.12); border: 1px solid rgba(244,63,94,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: var(--rose); font-size: 28px; }
.error-title { font-size: 20px; margin-bottom: 10px; }
.error-message { margin-bottom: 24px; font-size: 14.5px; }
.error-button { padding: 12px 32px; background: var(--grad-1); color: var(--white); border: none; border-radius: 100px; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.25s; }
.error-button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(59,130,246,0.35); }

/* ─── SCROLL REVEAL ─── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card.span-2 { grid-column: span 1; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .demo-wrapper { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  section { padding: 70px 0; }
  .hero { padding: 130px 0 70px; }

  .navbar { top: 10px; width: calc(100% - 20px); }
  .nav-wrapper { padding: 10px 16px; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    margin-top: 8px;
    flex-direction: column;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 1100;
  }
  .nav-menu.active { display: flex; }
  .nav-link { width: 100%; text-align: center; }
  .nav-toggle { display: flex; }

  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .footer-links { grid-template-columns: 1fr; gap: 24px; }

  .btn-lg { padding: 14px 24px; font-size: 14px; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 320px; margin-left: auto; margin-right: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
