/* ═══════════════════════════════════════════════════════
   FRONT18 DESIGN SYSTEM — Premium Cybersecurity Aesthetic
   ═══════════════════════════════════════════════════════ */

/* ─── Google Fonts ─── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* ─── CSS Custom Properties (Design Tokens) ─── */
:root {
  /* Colors — Dark Mode Void */
  --bg-void:        #06060F;
  --bg-deep:        #0A0A1A;
  --bg-space:       #111127;
  --bg-nebula:      #1A1A3E;
  --bg-surface:     #1E1E44;
  --bg-elevated:    #25254F;

  /* Accent Colors */
  --accent-violet:  #6C5CE7;
  --accent-violet-light: #A29BFE;
  --accent-emerald: #00D4AA;
  --accent-emerald-light: #55EFC4;
  --accent-red:     #FF4757;
  --accent-red-light: #FF6B81;
  --accent-amber:   #FFA502;
  --accent-amber-light: #FECA57;

  /* Text */
  --text-primary:   #F1F2F6;
  --text-secondary: #A4A6B3;
  --text-muted:     #6C6E7E;
  --text-inverse:   #06060F;

  /* Borders & Surfaces */
  --border-subtle:  rgba(255,255,255, 0.06);
  --border-medium:  rgba(255,255,255, 0.10);
  --border-strong:  rgba(255,255,255, 0.15);
  --border-accent:  rgba(108,92,231, 0.4);

  /* Glass */
  --glass-bg:       rgba(17, 17, 39, 0.6);
  --glass-border:   rgba(255,255,255, 0.08);
  --glass-blur:     20px;

  /* Gradients */
  --grad-hero:      linear-gradient(135deg, #6C5CE7 0%, #00D4AA 100%);
  --grad-cta:       linear-gradient(135deg, #FF4757 0%, #FF6B81 100%);
  --grad-surface:   linear-gradient(180deg, #0A0A1A 0%, #111127 100%);
  --grad-card:      linear-gradient(145deg, rgba(30,30,68,0.8) 0%, rgba(17,17,39,0.6) 100%);
  --grad-text:      linear-gradient(135deg, #6C5CE7, #00D4AA);
  --grad-violet:    linear-gradient(135deg, #6C5CE7, #A29BFE);
  --grad-radial-violet: radial-gradient(circle at 30% 50%, rgba(108,92,231,0.15) 0%, transparent 50%);
  --grad-radial-emerald: radial-gradient(circle at 70% 50%, rgba(0,212,170,0.10) 0%, transparent 50%);

  /* Shadows */
  --shadow-sm:      0 2px 8px rgba(0,0,0,0.3);
  --shadow-md:      0 8px 25px rgba(0,0,0,0.4);
  --shadow-lg:      0 20px 50px rgba(0,0,0,0.5);
  --shadow-glow-violet: 0 0 30px rgba(108,92,231,0.3);
  --shadow-glow-emerald: 0 0 30px rgba(0,212,170,0.3);
  --shadow-glow-red: 0 0 30px rgba(255,71,87,0.3);

  /* Typography */
  --font-display:   'Space Grotesk', sans-serif;
  --font-body:      'Inter', sans-serif;
  --font-mono:      'JetBrains Mono', monospace;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Radius */
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-2xl:  32px;
  --radius-pill: 100px;
  --radius-full: 50%;

  /* Transitions */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 0.2s;
  --duration-md:   0.4s;
  --duration-slow: 0.8s;

  /* Z-index */
  --z-base:    1;
  --z-sticky:  100;
  --z-modal:   1000;
  --z-tooltip: 1100;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 72px;
}


/* ═══════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-void);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--duration-fast) ease; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* Selection */
::selection {
  background: rgba(108,92,231,0.3);
  color: var(--text-primary);
}


/* ═══════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); font-weight: 800; letter-spacing: -0.04em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p { color: var(--text-secondary); line-height: 1.7; font-size: 1.05rem; }

.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-red {
  background: var(--grad-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-violet { color: var(--accent-violet-light); }
.text-emerald { color: var(--accent-emerald); }
.text-red { color: var(--accent-red); }
.text-muted { color: var(--text-muted); }

.font-mono { font-family: var(--font-mono); }
.font-display { font-family: var(--font-display); }


/* ═══════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container-narrow { max-width: 900px; }
.container-wide   { max-width: 1400px; }

.section {
  padding: var(--space-5xl) 0;
  position: relative;
}

.section-sm { padding: var(--space-3xl) 0; }
.section-lg { padding: 10rem 0; }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }
.gap-2xl { gap: var(--space-2xl); }
.flex-wrap { flex-wrap: wrap; }


/* ═══════════════════════════════════════
   SECTION LABELS & TITLES
   ═══════════════════════════════════════ */
.sec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  border: 1px solid var(--border-accent);
  background: rgba(108,92,231,0.08);
  color: var(--accent-violet-light);
}

.sec-eyebrow--red {
  border-color: rgba(255,71,87,0.4);
  background: rgba(255,71,87,0.08);
  color: var(--accent-red-light);
}

.sec-eyebrow--emerald {
  border-color: rgba(0,212,170,0.4);
  background: rgba(0,212,170,0.08);
  color: var(--accent-emerald);
}

.sec-title {
  margin-bottom: var(--space-lg);
}

.sec-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 650px;
  line-height: 1.7;
}


/* ═══════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all var(--duration-md) var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

/* Primary CTA — Gradient Red */
.btn-primary {
  background: var(--grad-cta);
  color: #fff;
  border: 1px solid rgba(255,107,129,0.3);
  box-shadow: 0 8px 25px rgba(255,71,87,0.25);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(255,71,87,0.35);
  border-color: rgba(255,107,129,0.6);
}

/* Secondary — Ghost Violet */
.btn-secondary {
  background: rgba(108,92,231,0.08);
  color: var(--accent-violet-light);
  border: 1px solid rgba(108,92,231,0.3);
}

.btn-secondary:hover {
  background: rgba(108,92,231,0.15);
  border-color: rgba(108,92,231,0.5);
  transform: translateY(-2px);
}

/* Tertiary — Ghost White */
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  color: var(--text-primary);
  border-color: var(--border-medium);
}

/* Large */
.btn-lg {
  padding: 18px 36px;
  font-size: 1.1rem;
  border-radius: var(--radius-lg);
}

/* Small */
.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* Pill shape */
.btn-pill { border-radius: var(--radius-pill); }

/* Radiant hover effect */
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 100px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity var(--duration-fast);
}
.btn-primary:hover::before { opacity: 1; }


/* ═══════════════════════════════════════
   GLASS CARDS
   ═══════════════════════════════════════ */
.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transition: all var(--duration-md) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 200px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(108,92,231,0.06), transparent);
  opacity: 0;
  transition: opacity var(--duration-md);
  pointer-events: none;
}

.card:hover {
  border-color: rgba(108,92,231,0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(108,92,231,0.1);
  border: 1px solid rgba(108,92,231,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  color: var(--accent-violet-light);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}


/* ═══════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(6,6,15,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: var(--z-sticky);
  transition: all var(--duration-md) ease;
}

.nav.scrolled {
  background: rgba(6,6,15,0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand img {
  height: 28px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--duration-fast) ease;
  position: relative;
}

.nav-links a:hover { color: var(--text-primary); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-text);
  transition: width var(--duration-md) var(--ease-out);
  border-radius: 1px;
}

.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--grad-cta) !important;
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  box-shadow: 0 4px 15px rgba(255,71,87,0.25);
  transition: all var(--duration-md) var(--ease-out) !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,71,87,0.35) !important;
}

/* Auth links */
.nav-auth {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-left: var(--space-sm);
  padding-left: var(--space-md);
  border-left: 1px solid var(--border-subtle);
}

.nav-login,
.nav-register {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.85rem !important;
  padding: 8px 14px !important;
  border-radius: var(--radius-sm) !important;
  white-space: nowrap;
}

.nav-login {
  color: var(--text-secondary) !important;
}

.nav-login:hover {
  color: var(--text-primary) !important;
  background: rgba(255,255,255,0.04) !important;
}

.nav-register {
  color: var(--accent-violet-light) !important;
  background: rgba(108,92,231,0.08) !important;
  border: 1px solid rgba(108,92,231,0.2) !important;
}

.nav-register::after { display: none !important; }
.nav-login::after { display: none !important; }

.nav-register:hover {
  background: rgba(108,92,231,0.15) !important;
  border-color: rgba(108,92,231,0.4) !important;
}

/* Footer social */
.footer-social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--duration-fast);
}

.footer-social a:hover {
  color: var(--accent-violet-light);
  border-color: rgba(108,92,231,0.3);
  background: rgba(108,92,231,0.08);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--duration-fast) ease;
}

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


/* ═══════════════════════════════════════
   URGENCY BANNER
   ═══════════════════════════════════════ */
.urgency-bar {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--accent-red);
  color: #fff;
  text-align: center;
  padding: 10px var(--space-xl);
  font-size: 0.85rem;
  font-weight: 600;
  z-index: calc(var(--z-sticky) - 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.urgency-bar strong { font-weight: 800; }

.urgency-bar a {
  color: #fff;
  text-decoration: underline;
  font-weight: 700;
}


/* ═══════════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════════ */
.trust-bar {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  margin-top: var(--space-2xl);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.trust-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--accent-emerald); }
  50% { opacity: 0.6; box-shadow: 0 0 20px var(--accent-emerald); }
}

.trust-separator {
  width: 1px;
  height: 20px;
  background: var(--border-medium);
}

.trust-stars { color: var(--accent-amber); display: flex; gap: 2px; }


/* ═══════════════════════════════════════
   PRICING CARDS
   ═══════════════════════════════════════ */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  align-items: stretch;
}

.price-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  position: relative;
  transition: all var(--duration-md) var(--ease-out);
}

.price-card:hover {
  transform: translateY(-8px);
  border-color: rgba(108,92,231,0.3);
  box-shadow: var(--shadow-glow-violet);
}

.price-card.featured {
  border-color: rgba(108,92,231,0.4);
  background: linear-gradient(145deg, rgba(108,92,231,0.12), rgba(17,17,39,0.8));
  box-shadow: var(--shadow-glow-violet);
  transform: scale(1.03);
}

.price-card.featured:hover { transform: scale(1.03) translateY(-8px); }

.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-hero);
  color: #fff;
  padding: 6px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.price-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.price-value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.price-currency {
  font-size: 1.4rem;
  font-weight: 700;
  vertical-align: baseline;
  color: var(--text-muted);
}

.price-value span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.price-limit {
  font-size: 0.85rem;
  color: var(--accent-violet-light);
  font-weight: 600;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-subtle);
}

.price-features {
  text-align: left;
  margin-bottom: var(--space-xl);
}

.price-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-features li svg { color: var(--accent-emerald); flex-shrink: 0; }
.price-features li.disabled { opacity: 0.35; }
.price-features li.disabled svg { color: var(--text-muted); }


/* ═══════════════════════════════════════
   FAQ
   ═══════════════════════════════════════ */
.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  overflow: hidden;
  transition: border-color var(--duration-md) ease;
  background: rgba(17,17,39,0.3);
}

.faq-item:hover { border-color: var(--border-medium); }
.faq-item.open { border-color: rgba(108,92,231,0.3); }

.faq-question {
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-primary);
  transition: color var(--duration-fast);
  user-select: none;
}

.faq-question:hover { color: var(--accent-violet-light); }

.faq-arrow {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--duration-md) var(--ease-out);
  color: var(--text-muted);
  flex-shrink: 0;
}

.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--accent-violet-light); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-md) var(--ease-out), padding var(--duration-md) var(--ease-out);
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 var(--space-xl) var(--space-lg);
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}


/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.footer {
  background: var(--bg-void);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: var(--space-md);
  max-width: 300px;
}

.footer h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.footer-links a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 6px 0;
  transition: color var(--duration-fast);
}

.footer-links a:hover { color: var(--accent-violet-light); }

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}


/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes scan-line {
  0% { top: 10%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 90%; opacity: 0; }
}

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

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(108,92,231,0); }
  50% { box-shadow: 0 0 40px rgba(108,92,231,0.4); }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Fade in on scroll (JS triggers .visible) */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}


/* ═══════════════════════════════════════
   RESPONSIVE — MOBILE
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .section { padding: var(--space-3xl) 0; }
  .container { padding: 0 var(--space-md); }

  h1 { font-size: clamp(2.2rem, 8vw, 3rem); }
  h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--bg-deep);
    flex-direction: column;
    padding: 100px var(--space-2xl) var(--space-2xl);
    gap: var(--space-lg);
    transition: right var(--duration-md) var(--ease-out);
    border-left: 1px solid var(--border-subtle);
    box-shadow: -10px 0 40px rgba(0,0,0,0.5);
  }

  .nav-links.open { right: 0; }

  .nav-toggle { display: flex; }

  .trust-bar { flex-direction: column; align-items: flex-start; gap: var(--space-md); }
  .trust-separator { display: none; }

  .price-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }

  .footer-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .footer-bottom { flex-direction: column; gap: var(--space-md); text-align: center; }
}

/* ═══════════════════════════════════════
   STICKY MOBILE CTA
   ═══════════════════════════════════════ */
.sticky-cta-mobile {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px var(--space-md);
  background: rgba(6,6,15,0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-subtle);
  z-index: var(--z-sticky);
}

.sticky-cta-mobile .btn { width: 100%; }

@media (max-width: 768px) {
  .sticky-cta-mobile { display: block; }
  body { padding-bottom: 70px; }
}


/* ═══════════════════════════════════════
   FEATURE TAG
   ═══════════════════════════════════════ */
.feat-tag {
  display: inline-flex;
  padding: 4px 12px;
  background: rgba(0,212,170,0.1);
  border: 1px solid rgba(0,212,170,0.2);
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-emerald);
  margin-top: var(--space-md);
}


/* ═══════════════════════════════════════
   SCROLLBAR
   ═══════════════════════════════════════ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-void); }
::-webkit-scrollbar-thumb {
  background: var(--bg-nebula);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--bg-surface); }
