/* ============================================================
   AVIS-CHATSEO.COM — "Cosmos" Design System
   A premium dark UI with glassmorphism, animated gradients,
   glow effects and scroll-triggered animations.
   ============================================================ */

/* --- Custom Properties / Animated Gradients --- */
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

:root {
  --bg-deep: #030014;
  --bg-primary: #070620;
  --bg-secondary: #0c0b2b;
  --bg-card: rgba(15, 14, 45, 0.55);
  --bg-card-solid: #0f0e2d;
  --bg-card-hover: rgba(25, 24, 65, 0.7);
  --bg-glass: rgba(15, 14, 45, 0.4);

  --text-primary: #e8e6f0;
  --text-secondary: #a09bb8;
  --text-muted: #6d6890;

  --accent-primary: #7c3aed;
  --accent-secondary: #a78bfa;
  --accent-cyan: #06d6a0;
  --accent-blue: #3b82f6;
  --accent-pink: #ec4899;
  --accent-gold: #fbbf24;
  --accent-green: #10b981;
  --accent-red: #ef4444;
  --accent-orange: #f97316;

  --glow-primary: rgba(124, 58, 237, 0.35);
  --glow-cyan: rgba(6, 214, 160, 0.3);
  --glow-blue: rgba(59, 130, 246, 0.3);

  --border-glass: rgba(167, 139, 250, 0.12);
  --border-hover: rgba(124, 58, 237, 0.4);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-glow: 0 0 40px var(--glow-primary), 0 0 80px rgba(124,58,237,0.1);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.3), 0 0 0 1px var(--border-glass);
  --shadow-card-hover: 0 12px 48px rgba(0,0,0,0.4), 0 0 60px var(--glow-primary);

  --font-main: 'Inter', 'Outfit', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', 'Inter', system-ui, sans-serif;

  --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Animated Border Angle --- */
@keyframes rotate-angle {
  from { --angle: 0deg; }
  to { --angle: 360deg; }
}

/* --- Base Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-primary) var(--bg-deep);
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-cyan));
  border-radius: 99px;
}

body {
  font-family: var(--font-main);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.8;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --- Animated Background --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 20%, rgba(124,58,237,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 75% 75%, rgba(6,214,160,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 50% 0%, rgba(59,130,246,0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(124,58,237,0.04) 0%, transparent 40%),
              radial-gradient(circle at 70% 60%, rgba(6,214,160,0.03) 0%, transparent 40%);
  animation: float-bg 20s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes float-bg {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(3%, 2%) rotate(2deg); }
}

/* --- Floating Orbs (decorative) --- */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,0.2), transparent 70%);
  top: -10%; left: -10%;
  animation: orb-float-1 25s ease-in-out infinite alternate;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(6,214,160,0.15), transparent 70%);
  bottom: -5%; right: -5%;
  animation: orb-float-2 30s ease-in-out infinite alternate;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(59,130,246,0.12), transparent 70%);
  top: 40%; left: 60%;
  animation: orb-float-3 22s ease-in-out infinite alternate;
}

@keyframes orb-float-1 {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(80px,60px) scale(1.15); }
}
@keyframes orb-float-2 {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(-60px,-40px) scale(1.1); }
}
@keyframes orb-float-3 {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(-40px,50px) scale(0.9); }
}

/* --- Links --- */
a {
  color: var(--accent-secondary);
  text-decoration: none;
  transition: color var(--transition-smooth);
}
a:hover { color: var(--accent-cyan); }

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.container-narrow { max-width: 900px; }
.container-xs { max-width: 800px; }

/* ============================================================
   HEADER
   ============================================================ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 0;
  z-index: 1000;
  transition: background var(--transition-smooth), box-shadow var(--transition-smooth);
}

header .header-bg {
  position: absolute;
  inset: 0;
  background: rgba(3, 0, 20, 0.7);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid var(--border-glass);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 14px 0;
}

.logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}
.logo span {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}
nav a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-smooth);
}
nav a:hover {
  color: var(--text-primary);
  background: rgba(124, 58, 237, 0.08);
}
nav a.active {
  color: var(--accent-secondary);
  background: rgba(124, 58, 237, 0.12);
}

.nav-dropdown { position: relative; }
.nav-dropdown:hover .dropdown-menu { display: block; opacity: 1; transform: translateY(0); }

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(15, 14, 45, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 8px;
  min-width: 240px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(124,58,237,0.1);
  z-index: 100;
  opacity: 0;
  transition: all 0.3s ease;
}
.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: var(--text-secondary);
  font-size: 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-smooth);
}
.dropdown-menu a:hover {
  background: rgba(124,58,237,0.12);
  color: var(--accent-secondary);
  padding-left: 20px;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 10;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 6px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(124,58,237,0.15), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-secondary);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 24px;
  animation: badge-glow 3s ease-in-out infinite alternate;
}

@keyframes badge-glow {
  0% { box-shadow: 0 0 10px rgba(124,58,237,0.1); }
  100% { box-shadow: 0 0 25px rgba(124,58,237,0.2); }
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

h1 .highlight {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary), var(--accent-cyan));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease-in-out infinite alternate;
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: 19px;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* Rating Hero */
.rating-hero {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 24px 40px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  animation: float-card 6s ease-in-out infinite alternate;
}

@keyframes float-card {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

.rating-score {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-gold), #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.rating-score span {
  font-size: 22px;
  -webkit-text-fill-color: var(--text-muted);
}

.stars { display: flex; gap: 4px; }
.star { width: 22px; height: 22px; fill: var(--accent-gold); filter: drop-shadow(0 0 6px rgba(251,191,36,0.4)); }
.star.half { fill: var(--text-muted); filter: none; }

/* ============================================================
   MAIN CONTENT LAYOUT
   ============================================================ */
main {
  padding: 40px 0 80px;
  position: relative;
  z-index: 1;
}

article {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 50px;
}

.content { min-width: 0; }

section { margin-bottom: 60px; }

/* Section Headings */
h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  letter-spacing: -0.3px;
}
h2::before {
  content: '';
  width: 4px;
  height: 28px;
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-cyan));
  border-radius: 4px;
  flex-shrink: 0;
}

h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  margin: 32px 0 16px;
}

p {
  margin-bottom: 18px;
  color: var(--text-secondary);
}
strong { color: var(--text-primary); font-weight: 600; }

ul, ol {
  margin: 0 0 20px 24px;
  color: var(--text-secondary);
}
li { margin-bottom: 10px; }

/* ============================================================
   GLASS CARDS (universal)
   ============================================================ */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  transition: all var(--transition-smooth);
}
.glass-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

/* Animated Border Card */
.glow-card {
  position: relative;
  background: var(--bg-card-solid);
  border-radius: var(--radius-md);
  padding: 28px;
  overflow: hidden;
  transition: all var(--transition-smooth);
}
.glow-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(from var(--angle), transparent 40%, var(--accent-primary) 50%, var(--accent-cyan) 55%, transparent 65%);
  animation: rotate-angle 4s linear infinite;
  z-index: -2;
}
.glow-card::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: var(--bg-card-solid);
  z-index: -1;
}
.glow-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(124,58,237,0.15);
}

/* ============================================================
   INFO BOXES
   ============================================================ */
.info-box {
  background: rgba(124,58,237,0.06);
  border-left: 4px solid var(--accent-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin: 24px 0;
  backdrop-filter: blur(10px);
}
.info-box p { margin: 0; }

.info-box.green {
  border-left-color: var(--accent-green);
  background: rgba(16, 185, 129, 0.06);
}
.info-box.orange {
  border-left-color: var(--accent-orange);
  background: rgba(249, 115, 22, 0.06);
}

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 28px 0;
}

.feature-card {
  position: relative;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all var(--transition-smooth);
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), var(--accent-cyan), transparent);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}
.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3), 0 0 30px rgba(124,58,237,0.1);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(124,58,237,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all var(--transition-smooth);
}
.feature-card:hover .feature-icon {
  box-shadow: 0 0 20px rgba(124,58,237,0.3);
}
.feature-icon svg { width: 22px; height: 22px; stroke: var(--accent-secondary); }

.feature-card h4 { font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.feature-card p { font-size: 15px; margin: 0; line-height: 1.6; }

/* ============================================================
   SCREENSHOT GALLERY
   ============================================================ */
.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}

.screenshot-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  transition: all var(--transition-smooth);
  background: var(--bg-card-solid);
}
.screenshot-item:hover {
  border-color: var(--accent-primary);
  transform: scale(1.03);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 30px rgba(124,58,237,0.1);
}
.screenshot-item img, .screenshot-item svg { width: 100%; height: auto; display: block; }
.screenshot-item figcaption {
  padding: 12px;
  background: var(--bg-card-solid);
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

/* ============================================================
   USE CASES
   ============================================================ */
.use-cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 28px 0;
}
.use-case {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition-smooth);
}
.use-case:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.use-case h4 { font-size: 16px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.use-case p { font-size: 14px; margin: 0; }

/* Use-case grid (comparison pages) */
.use-case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 28px 0;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid { display: grid; gap: 20px; margin: 28px 0; }

.testimonial {
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}
.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 80px;
  font-family: Georgia, serif;
  color: rgba(124,58,237,0.08);
  line-height: 1;
}
.testimonial:hover {
  border-color: var(--border-hover);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 40px rgba(124,58,237,0.08);
}

.testimonial-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }

.testimonial-avatar {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-cyan));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px; color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(124,58,237,0.3);
}

.testimonial-info h5 { font-size: 16px; font-weight: 600; margin-bottom: 2px; }
.testimonial-info span { font-size: 13px; color: var(--text-muted); }

.testimonial-stars { margin-left: auto; display: flex; gap: 2px; }
.testimonial-stars svg { width: 16px; height: 16px; fill: var(--accent-gold); filter: drop-shadow(0 0 4px rgba(251,191,36,0.3)); }

.testimonial > p { font-size: 15px; font-style: italic; margin: 0; line-height: 1.7; }

/* ============================================================
   PROS / CONS
   ============================================================ */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px 0;
}

.pros, .cons {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border-glass);
}
.pros { border-top: 3px solid var(--accent-green); }
.cons { border-top: 3px solid var(--accent-red); }

.pros h4, .cons h4 { font-size: 17px; margin: 0 0 18px; display: flex; align-items: center; gap: 8px; }
.pros h4 { color: var(--accent-green); }
.cons h4 { color: var(--accent-red); }

.pros ul, .cons ul { list-style: none; margin: 0; }
.pros li, .cons li {
  padding: 12px 0 12px 28px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 15px;
  color: var(--text-secondary);
}
.pros li:last-child, .cons li:last-child { border-bottom: none; }
.pros li::before { content: '\2713'; position: absolute; left: 0; color: var(--accent-green); font-weight: 700; }
.cons li::before { content: '\2717'; position: absolute; left: 0; color: var(--accent-red); font-weight: 700; }

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.comparison-table {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  margin: 28px 0;
  overflow-x: auto;
}
.comparison-table table { width: 100%; border-collapse: collapse; min-width: 600px; }
.comparison-table th {
  background: rgba(124,58,237,0.08);
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}
.comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-glass);
  font-size: 15px;
  color: var(--text-secondary);
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: rgba(124,58,237,0.04); }
.comparison-table .tool-name { font-weight: 700; color: var(--text-primary); }
.comparison-table .highlight-row,
.comparison-table tr.highlight { background: rgba(124,58,237,0.06); }
.check { color: var(--accent-green); font-weight: 700; }
.cross { color: var(--accent-red); }

/* ============================================================
   COMPARISONS LIST
   ============================================================ */
.comparisons-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0;
}
.comparisons-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 18px;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-smooth);
}
.comparisons-list a:hover {
  border-color: var(--accent-primary);
  color: var(--accent-secondary);
  background: rgba(124,58,237,0.08);
  transform: translateX(4px);
}
.comparisons-list a::before { content: '\2694\FE0F'; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 28px 0;
}

.pricing-card {
  position: relative;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition-smooth);
  overflow: hidden;
}
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-cyan));
  opacity: 0.5;
}
.pricing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(124,58,237,0.1);
}

.pricing-card.featured {
  border: 2px solid var(--accent-primary);
  box-shadow: 0 0 60px rgba(124,58,237,0.15);
}
.pricing-card.featured::after {
  content: 'Le plus populaire';
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-cyan));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  letter-spacing: 0.5px;
}

.pricing-card h4 { font-size: 22px; font-weight: 700; margin: 0 0 8px; }
.pricing-card .price {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}
.pricing-card .price span { font-size: 18px; -webkit-text-fill-color: var(--text-muted); }
.pricing-card .price-annual { font-size: 14px; color: var(--accent-green); margin-bottom: 20px; }

.pricing-card .tagline {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}
.pricing-card .price-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.pricing-card .price .price-original {
  font-size: 20px;
  text-decoration: line-through;
  -webkit-text-fill-color: var(--text-muted);
  margin-right: 8px;
  font-weight: 400;
}
.pricing-card ul { list-style: none; margin: 0 0 24px; text-align: left; }
.pricing-card li {
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.pricing-card li:last-child { border: none; }
.pricing-card li::before { content: '\2713 '; color: var(--accent-green); font-weight: 700; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-item {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition-smooth);
}
.faq-item:hover { border-color: rgba(124,58,237,0.25); }
.faq-item.open { border-color: var(--accent-primary); box-shadow: 0 0 30px rgba(124,58,237,0.08); }

.faq-question {
  padding: 20px 24px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  transition: all var(--transition-smooth);
}
.faq-question:hover { background: rgba(124,58,237,0.04); }
.faq-question::after {
  content: '+';
  font-size: 24px;
  color: var(--accent-secondary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 15px;
  display: none;
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ============================================================
   VERDICT BOX
   ============================================================ */
.verdict-box {
  position: relative;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 2px solid var(--accent-primary);
  border-radius: var(--radius-xl);
  padding: 50px 40px;
  text-align: center;
  margin: 40px 0;
  overflow: hidden;
}
.verdict-box::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(from var(--angle), transparent 30%, var(--accent-primary) 45%, var(--accent-cyan) 55%, transparent 70%);
  animation: rotate-angle 6s linear infinite;
  z-index: -2;
}
.verdict-box::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: inherit;
  background: var(--bg-card-solid);
  z-index: -1;
}

.verdict-box h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent-secondary);
  margin: 0 0 16px;
}

.verdict-box .score {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-gold), #f59e0b, var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  filter: drop-shadow(0 0 20px rgba(251,191,36,0.3));
}
.verdict-box .score span {
  font-size: 28px;
  -webkit-text-fill-color: var(--text-muted);
}

.verdict-box .stars { justify-content: center; margin: 16px 0; }
.verdict-box p { max-width: 550px; margin: 20px auto; }

.verdict-badge {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--accent-green), #059669);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-full);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 30px rgba(16,185,129,0.3);
}

/* ============================================================
   CTA BUTTONS
   ============================================================ */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--accent-primary), #6d28d9);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  border-radius: var(--radius-md);
  transition: all var(--transition-smooth);
  margin-top: 16px;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}
.cta-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(124,58,237,0.4), 0 0 60px rgba(124,58,237,0.15);
  color: #fff;
}
.cta-button:hover::before { transform: translateX(100%); }

.cta-button.secondary {
  background: transparent;
  border: 2px solid var(--accent-primary);
  color: var(--accent-secondary);
}
.cta-button.secondary:hover {
  background: var(--accent-primary);
  color: #fff;
  border-color: var(--accent-primary);
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar { position: sticky; top: 90px; height: fit-content; }

.sidebar-card {
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
  transition: all var(--transition-smooth);
}
.sidebar-card:hover { border-color: rgba(124,58,237,0.2); }

.sidebar-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

/* TOC */
.toc ul { list-style: none; margin: 0; }
.toc li { margin-bottom: 8px; }
.toc a {
  color: var(--text-secondary);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  transition: all var(--transition-smooth);
}
.toc a::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent-primary);
  border-radius: 50%;
  opacity: 0.3;
  transition: all var(--transition-smooth);
  flex-shrink: 0;
}
.toc a:hover { color: var(--accent-secondary); padding-left: 6px; }
.toc a:hover::before { opacity: 1; box-shadow: 0 0 8px var(--glow-primary); }

/* Quick Info */
.quick-info ul { list-style: none; margin: 0; }
.quick-info li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-glass);
  font-size: 14px;
}
.quick-info li:last-child { border-bottom: none; }
.quick-info .label { color: var(--text-muted); }
.quick-info .value { color: var(--text-primary); font-weight: 600; }
.quick-info .value.green { color: var(--accent-green); }
.quick-info .value.gold { color: var(--accent-gold); }

/* CTA Sidebar */
.sidebar-cta {
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(6,214,160,0.08)) !important;
  border-color: var(--accent-primary) !important;
}
.sidebar-cta h4 { color: var(--accent-secondary) !important; }

/* Related Pages */
.related-pages a {
  display: block;
  padding: 12px 14px;
  background: rgba(124,58,237,0.06);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-smooth);
  border: 1px solid transparent;
}
.related-pages a:hover {
  background: rgba(124,58,237,0.12);
  color: var(--accent-secondary);
  padding-left: 20px;
  border-color: rgba(124,58,237,0.2);
}

/* ============================================================
   IMAGES
   ============================================================ */
.content-image {
  margin: 28px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-glass);
}
.content-image img { width: 100%; height: auto; display: block; }
.content-image figcaption {
  padding: 12px 16px;
  background: var(--bg-card-solid);
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: rgba(7, 6, 32, 0.9);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-glass);
  padding: 60px 0 30px;
  margin-top: 80px;
  position: relative;
  z-index: 1;
}
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), var(--accent-cyan), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo { margin-bottom: 12px; display: block; }
.footer-brand p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.7; }

.footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-secondary);
}
.footer-col ul { list-style: none; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: all var(--transition-smooth);
}
.footer-col a:hover { color: var(--accent-secondary); padding-left: 4px; }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-top: 100px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent-secondary); }

/* ============================================================
   SUBPAGE HERO (smaller)
   ============================================================ */
.page-hero {
  padding: 140px 0 40px;
  text-align: center;
  position: relative;
}
.page-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
}
.page-hero .subtitle {
  text-align: center;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 40px;
  font-size: 18px;
}

/* ============================================================
   PROMO / CODE SECTION
   ============================================================ */
.promo-banner {
  position: relative;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 2px solid var(--accent-primary);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
  margin: 32px 0;
  overflow: hidden;
}
.promo-banner::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(from var(--angle), transparent 30%, var(--accent-primary) 45%, var(--accent-cyan) 55%, transparent 70%);
  animation: rotate-angle 4s linear infinite;
  z-index: -2;
}
.promo-banner::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: inherit;
  background: var(--bg-card-solid);
  z-index: -1;
}
.promo-banner .icon { font-size: 48px; margin-bottom: 16px; }
.promo-banner h3 { font-size: 24px; margin-bottom: 12px; font-weight: 800; }
.promo-banner p { margin: 0; max-width: 500px; margin: 0 auto; }

.promo-code-display {
  display: inline-block;
  padding: 16px 40px;
  margin: 20px 0;
  background: rgba(124,58,237,0.15);
  border: 2px dashed var(--accent-primary);
  border-radius: var(--radius-md);
  font-family: monospace;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 4px;
  color: var(--accent-cyan);
  text-shadow: 0 0 20px rgba(6,214,160,0.3);
  cursor: pointer;
  transition: all var(--transition-smooth);
}
.promo-code-display:hover {
  background: rgba(124,58,237,0.25);
  box-shadow: 0 0 40px rgba(124,58,237,0.2);
  transform: scale(1.05);
}

/* Status box (promo page) */
.status-box {
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 36px;
  text-align: center;
  margin: 32px 0;
}
.status-box .icon { font-size: 48px; margin-bottom: 16px; }
.status-box h3 { font-size: 22px; margin-bottom: 12px; }
.status-box p { margin: 0 auto; max-width: 500px; }

/* ============================================================
   PRICING PAGE SPECIFIC
   ============================================================ */
.billing-toggle {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  padding: 6px;
  border-radius: var(--radius-full);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--border-glass);
}
.billing-toggle button {
  padding: 10px 28px;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  background: transparent;
  color: var(--text-secondary);
}
.billing-toggle button.active {
  background: linear-gradient(135deg, var(--accent-primary), #6d28d9);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,0.3);
}
.billing-toggle .discount {
  display: inline-block;
  padding: 2px 8px;
  background: var(--accent-green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-left: 4px;
}

/* Pricing recap table */
.pricing-recap {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 28px 0;
}
.pricing-recap h3 { margin-bottom: 16px; font-size: 18px; }
.pricing-recap table { width: 100%; border-collapse: collapse; }
.pricing-recap th, .pricing-recap td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--border-glass);
}
.pricing-recap th { color: var(--text-muted); font-weight: 500; font-size: 14px; }
.pricing-recap td { color: var(--text-secondary); }
.pricing-recap tr:last-child td { border-bottom: none; }
.pricing-recap .price { font-weight: 700; color: var(--accent-secondary); }
.pricing-recap .discount { color: var(--accent-green); }

/* Tips list */
.tips-list {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 28px 0;
}
.tips-list h3 { margin-bottom: 16px; font-size: 18px; }
.tips-list ul { margin-left: 20px; }
.tips-list li { margin-bottom: 12px; color: var(--text-secondary); }

/* Info box (promo page green) */
.info-box-card {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.3);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 28px 0;
}
.info-box-card h4 { color: var(--accent-green); font-size: 17px; margin-bottom: 8px; }
.info-box-card p { margin: 0; }

/* Btn generic */
.btn {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--accent-primary), #6d28d9);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all var(--transition-smooth);
  border: none;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(124,58,237,0.35);
  color: #fff;
}
.btn.secondary {
  background: transparent;
  border: 2px solid var(--accent-primary);
  color: var(--accent-secondary);
}
.btn.secondary:hover {
  background: var(--accent-primary);
  color: #fff;
}

/* SEO link box */
.seo-link-box {
  background: linear-gradient(135deg, rgba(15,14,45,0.7), rgba(124,58,237,0.1));
  border: 1px solid var(--accent-primary);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 40px 0;
  text-align: center;
  backdrop-filter: blur(10px);
}
.seo-link-box p { margin: 0; }

/* Update info */
.update-info {
  text-align: center;
  padding: 16px;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  margin-top: 40px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ============================================================
   COMPARISON PAGE: VS HEADER
   ============================================================ */
.vs-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin: 40px 0;
  flex-wrap: wrap;
}
.vs-tool {
  text-align: center;
  flex: 1;
  min-width: 140px;
}
.vs-tool .tool-badge {
  display: inline-block;
  padding: 12px 32px;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  font-size: 20px;
  font-weight: 800;
  transition: all var(--transition-smooth);
}
.vs-tool .tool-badge:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 0 30px rgba(124,58,237,0.15);
}
.vs-tool .price {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 500;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}

.vs-divider {
  font-size: 32px;
  font-weight: 900;
  color: var(--accent-primary);
  text-shadow: 0 0 20px var(--glow-primary);
}

/* Score cards for comparison pages */
.score-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 28px 0;
}
.score-card {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  transition: all var(--transition-smooth);
}
.score-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.score-card .score-label { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.score-card .score-value { font-size: 28px; font-weight: 900; color: var(--accent-secondary); }

/* ============================================================
   404 PAGE
   ============================================================ */
.error-page {
  padding: 180px 0 100px;
  text-align: center;
}
.error-code {
  font-family: var(--font-display);
  font-size: clamp(100px, 20vw, 200px);
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  filter: drop-shadow(0 0 40px var(--glow-primary));
}

/* ============================================================
   PLAN DU SITE
   ============================================================ */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 28px 0;
}
.sitemap-section {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all var(--transition-smooth);
}
.sitemap-section:hover { border-color: var(--border-hover); }
.sitemap-section h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--accent-secondary);
}
.sitemap-section ul { list-style: none; margin: 0; }
.sitemap-section li { margin-bottom: 8px; }
.sitemap-section a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: all var(--transition-smooth);
}
.sitemap-section a:hover { color: var(--accent-cyan); padding-left: 4px; }

/* ============================================================
   OTHER COMPARISONS (bottom of vs pages)
   ============================================================ */
.other-comparisons {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 40px 0;
}
.other-comparisons h3 {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: center;
}
.comparison-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.comparison-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: rgba(124,58,237,0.08);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-smooth);
}
.comparison-links a:hover {
  background: rgba(124,58,237,0.16);
  border-color: var(--accent-primary);
  color: var(--accent-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124,58,237,0.15);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.5s; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.6s; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.7s; opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  article { grid-template-columns: 1fr; }
  .sidebar { position: static; margin-top: 40px; }
}

@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; }
  .menu-toggle { display: block; }

  nav {
    display: none;
    width: 100%;
    padding-top: 16px;
  }
  nav.open { display: block; }

  nav ul {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  nav ul li { border-top: 1px solid var(--border-glass); }
  nav ul li a, nav a {
    display: block;
    padding: 14px 0;
    border-radius: 0;
  }

  .nav-dropdown .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    background: rgba(124,58,237,0.05);
    border-radius: 0;
    padding: 0;
    transform: none;
    opacity: 1;
    min-width: 100%;
    backdrop-filter: none;
  }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .dropdown-menu a { padding: 12px 24px; border-radius: 0; }

  .hero { padding: 130px 0 50px; }
  .page-hero { padding: 120px 0 30px; }
  h1 { font-size: 32px; }

  .rating-hero { flex-direction: column; padding: 24px; gap: 16px; }

  .features-grid,
  .use-cases,
  .use-case-grid,
  .pros-cons,
  .pricing-grid { grid-template-columns: 1fr; }

  .comparison-links { gap: 8px; }
  .comparison-links a { padding: 8px 14px; font-size: 13px; }

  .screenshot-gallery { grid-template-columns: 1fr; }
  .comparisons-list { grid-template-columns: repeat(2, 1fr); }

  .verdict-box { padding: 32px 20px; }
  .verdict-box .score { font-size: 56px; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .vs-header { gap: 20px; }
}

@media (max-width: 500px) {
  .comparisons-list { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 40px; }
}
