/* ============================================
   AI MAESTRO HUB — Design System
   Databox-inspired premium SaaS aesthetic
   ============================================ */

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

/* --- CSS Custom Properties --- */
:root {
  /* Primary palette */
  --primary: #7C3AED;
  --primary-light: #A78BFA;
  --primary-dark: #5B21B6;
  --primary-glow: rgba(124, 58, 237, 0.25);

  /* Accent */
  --accent: #3B82F6;
  --accent-light: #60A5FA;
  --accent-dark: #2563EB;

  /* Secondary */
  --secondary: #F59E0B;
  --secondary-light: #FCD34D;

  /* Semantic */
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;

  /* Neutrals */
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --gray-950: #0B0F19;

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-pad: 6rem 2rem;
  --container: 1200px;
  --container-wide: 1400px;

  /* Effects */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
  --shadow-glow: 0 0 40px var(--primary-glow);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

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

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

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  font-weight: 800;
  color: var(--gray-900);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Utility Classes --- */
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-warm {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.glass-dark {
  background: rgba(11, 15, 25, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.45);
}

.btn-secondary {
  background: var(--white);
  color: var(--gray-800);
  border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

.btn-icon {
  font-size: 1.15rem;
}

/* --- Section Headers --- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 1rem;
  padding: 0.4rem 1rem;
  background: rgba(124, 58, 237, 0.08);
  border-radius: var(--radius-full);
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--gray-500);
  max-width: 640px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Staggered children */
.reveal-stagger .reveal-child {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

.reveal-stagger.visible .reveal-child:nth-child(1) {
  transition-delay: 0s;
}

.reveal-stagger.visible .reveal-child:nth-child(2) {
  transition-delay: 0.1s;
}

.reveal-stagger.visible .reveal-child:nth-child(3) {
  transition-delay: 0.2s;
}

.reveal-stagger.visible .reveal-child:nth-child(4) {
  transition-delay: 0.3s;
}

.reveal-stagger.visible .reveal-child:nth-child(5) {
  transition-delay: 0.4s;
}

.reveal-stagger.visible .reveal-child:nth-child(6) {
  transition-delay: 0.5s;
}

.reveal-stagger.visible .reveal-child:nth-child(7) {
  transition-delay: 0.6s;
}

.reveal-stagger.visible .reveal-child:nth-child(8) {
  transition-delay: 0.7s;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.85rem 0;
  transition: all var(--transition);
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.nav-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  z-index: 1001;
}

.navbar.scrolled .logo {
  color: var(--gray-900);
}

.logo-mark {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: 0 2px 12px rgba(124, 58, 237, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .nav-links a {
  color: var(--gray-600);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--primary);
  background: rgba(124, 58, 237, 0.06);
}

.nav-cta {
  padding: 0.6rem 1.5rem !important;
  background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
  color: var(--white) !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 12px rgba(124, 58, 237, 0.3);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4) !important;
  background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: all var(--transition);
  border-radius: 2px;
}

.navbar.scrolled .nav-toggle span {
  background: var(--gray-800);
}

/* ============================================
   DISCLAIMER BANNER
   ============================================ */
.disclaimer-banner {
  background: rgba(11, 15, 25, 0.6);
  padding: 0.5rem 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  position: relative;
  z-index: 999;
  margin-top: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.disclaimer-banner strong {
  color: rgba(255, 255, 255, 0.8);
}

.disclaimer-banner a {
  color: var(--primary-light);
  font-weight: 600;
}

.disclaimer-banner a:hover {
  text-decoration: underline;
  color: var(--white);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  padding: 7rem 2rem 6rem;
  background: linear-gradient(135deg, var(--gray-950) 0%, #1a1145 40%, #0f1a3a 100%, var(--gray-950) 200%);
  background-size: 300% 300%;
  animation: gradientBG 15s ease infinite;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 80%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -15%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* Animated floating shapes */
.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  animation: float 20s ease-in-out infinite;
}

.hero-shape:nth-child(1) {
  width: 400px;
  height: 400px;
  background: var(--primary);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.hero-shape:nth-child(2) {
  width: 300px;
  height: 300px;
  background: var(--accent);
  bottom: -5%;
  left: -3%;
  animation-delay: -7s;
}

.hero-shape:nth-child(3) {
  width: 200px;
  height: 200px;
  background: var(--secondary);
  top: 40%;
  right: 15%;
  animation-delay: -14s;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -30px) scale(1.05);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.2rem;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: var(--radius-full);
  color: var(--primary-light);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: 3.75rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, #A78BFA, #60A5FA, #34D399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Trust bar in hero */
.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1.25rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  max-width: 720px;
  margin: 0 auto;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.trust-item .icon {
  color: var(--success);
  font-size: 1rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: linear-gradient(135deg, var(--success), #059669);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  padding: 4rem 2rem;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: var(--container);
  margin: 0 auto;
}

.stat-card {
  text-align: center;
  padding: 1.5rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ============================================
   CATEGORY TABS SECTION
   ============================================ */
.categories-section {
  padding: var(--section-pad);
  background: var(--gray-50);
}

/* Tab Navigation */
.tab-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  padding: 0.35rem;
  background: var(--white);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--gray-100);
}

.tab-btn {
  padding: 0.65rem 1.4rem;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-500);
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--primary);
  background: rgba(124, 58, 237, 0.06);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  box-shadow: 0 2px 10px rgba(124, 58, 237, 0.3);
}

/* Tab Content Panels */
.tab-panels {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
}

.tab-panel {
  display: none;
  animation: fadeInTab 0.4s ease;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeInTab {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.tab-text h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.tab-text p {
  color: var(--gray-500);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.tab-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.tab-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--gray-700);
  font-weight: 500;
}

.tab-feature-item .check {
  width: 22px;
  height: 22px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.tab-visual {
  background: linear-gradient(135deg, var(--gray-50), var(--white));
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.tab-visual-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.tool-mini-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1rem;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}

.tool-mini-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.tool-mini-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.tool-mini-name {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.tool-mini-desc {
  font-size: 0.78rem;
  color: var(--gray-500);
}

/* ============================================
   FEATURED REVIEWS
   ============================================ */
.reviews-section {
  padding: var(--section-pad);
  background: var(--white);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  max-width: var(--container);
  margin: 0 auto;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.review-card-image {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}

.review-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(transparent, var(--white));
}

.review-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.review-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.review-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.review-card-excerpt {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}

.review-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}

.review-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.review-rating .stars {
  color: var(--secondary);
}

.review-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap var(--transition);
}

.review-card:hover .review-link {
  gap: 0.6rem;
}

/* ============================================
   METHODOLOGY / HOW WE REVIEW
   ============================================ */
.methodology-section {
  padding: var(--section-pad);
  background: var(--gray-50);
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
}

.method-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.method-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.method-step {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.method-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.method-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-section {
  padding: var(--section-pad);
  background: var(--white);
}

.comparison-wrapper {
  max-width: var(--container);
  margin: 0 auto;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.comparison-table thead {
  background: linear-gradient(135deg, var(--gray-950), #1a1145);
}

.comparison-table th {
  padding: 1.1rem 1.25rem;
  text-align: left;
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.comparison-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--gray-100);
  font-weight: 500;
}

.comparison-table tbody tr {
  transition: background var(--transition);
}

.comparison-table tbody tr:hover {
  background: rgba(124, 58, 237, 0.03);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.tool-name-cell {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
}

.tool-name-cell .emoji {
  font-size: 1.2rem;
}

.price-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
}

.price-badge.free {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.price-badge.paid {
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-dark);
}

.check-yes {
  color: var(--success);
  font-weight: 700;
}

.check-no {
  color: var(--gray-300);
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 700;
  color: var(--gray-800);
}

.rating-badge .star {
  color: var(--secondary);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
  padding: var(--section-pad);
  background: var(--gray-50);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item:hover {
  border-color: var(--gray-300);
}

.faq-item.active {
  border-color: var(--primary-light);
  box-shadow: 0 2px 16px rgba(124, 58, 237, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  text-align: left;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  width: 28px;
  height: 28px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gray-500);
  transition: all var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  background: var(--primary);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.8;
}

/* ============================================
   CTA / NEWSLETTER SECTION
   ============================================ */
.cta-section {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, var(--gray-950), #1a1145, #0f1a3a);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 2.75rem;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta-section p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.cta-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
}

.cta-input {
  flex: 1;
  padding: 0.9rem 1.25rem;
  font-family: var(--font);
  font-size: 0.95rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  outline: none;
  transition: all var(--transition);
}

.cta-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.cta-input:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.1);
}

.cta-submit {
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.cta-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 24px rgba(124, 58, 237, 0.4);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--gray-950);
  color: var(--white);
  padding: 4rem 2rem 1.5rem;
  border-top: 1px solid rgba(124, 58, 237, 0.15);
}

.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
}

.footer-brand p {
  color: var(--gray-400);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-300);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col a {
  font-size: 0.88rem;
  color: var(--gray-400);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  max-width: var(--container);
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.footer-bottom a {
  color: var(--gray-400);
  font-size: 0.8rem;
  transition: color var(--transition);
}

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

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
}

.affiliate-footer-banner {
  max-width: var(--container);
  margin: 1.5rem auto 0;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 0.78rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ============================================
   AGE WARNING MODAL
   ============================================ */
.age-warning {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.age-warning.show {
  display: flex;
}

.age-warning-content {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  text-align: center;
  max-width: 440px;
  box-shadow: var(--shadow-xl);
}

.age-warning-content h2 {
  color: var(--danger);
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.age-warning-content p {
  color: var(--gray-600);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

.age-warning-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.age-btn {
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-size: 0.9rem;
  font-family: var(--font);
  transition: all var(--transition);
}

.age-btn-enter {
  background: var(--success);
  color: var(--white);
}

.age-btn-enter:hover {
  background: #059669;
}

.age-btn-leave {
  background: var(--gray-100);
  color: var(--gray-700);
}

.age-btn-leave:hover {
  background: var(--gray-200);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.45);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .section-title {
    font-size: 2.25rem;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

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

  .tab-content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

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

@media (max-width: 768px) {
  :root {
    --section-pad: 4rem 1.25rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0.5rem;
    transition: right var(--transition-slow);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

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

  .nav-links a {
    color: var(--gray-700) !important;
    font-size: 1rem;
    padding: 0.6rem 0;
    width: 100%;
  }

  .nav-links a:hover {
    color: var(--primary) !important;
    background: none !important;
  }

  .nav-cta {
    margin-top: 1rem;
    text-align: center;
    width: 100%;
    display: block !important;
  }

  .nav-toggle {
    display: block;
  }

  /* Mobile nav overlay */
  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
  }

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

  .hero {
    padding: 7rem 1.25rem 4rem;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-trust {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

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

  .stat-number {
    font-size: 2.25rem;
  }

  .tab-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0.3rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .tab-nav::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    font-size: 0.82rem;
    padding: 0.55rem 1rem;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .methodology-grid {
    grid-template-columns: 1fr;
  }

  .cta-form {
    flex-direction: column;
  }

  .cta-section h2 {
    font-size: 2rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .disclaimer-banner {
    margin-top: 52px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .stat-card {
    padding: 1rem;
  }

  .stat-number {
    font-size: 1.85rem;
  }

  .tab-content-grid {
    gap: 1.5rem;
  }

  .tab-visual-inner {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   EXIT-INTENT POPUP
   ============================================ */
.exit-popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.exit-popup-overlay.show {
  display: flex;
  opacity: 1;
}

.exit-popup {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 3rem;
  max-width: 520px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-xl);
  animation: popupSlideIn 0.4s ease;
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.exit-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border: none;
  background: var(--gray-100);
  border-radius: 50%;
  font-size: 1.1rem;
  color: var(--gray-500);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.exit-popup-close:hover {
  background: var(--gray-200);
  color: var(--gray-800);
}

.exit-popup-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.exit-popup h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.exit-popup p {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.exit-popup-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.exit-popup-input {
  padding: 0.9rem 1.25rem;
  font-family: var(--font);
  font-size: 0.95rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-full);
  outline: none;
  transition: border-color var(--transition);
  text-align: center;
}

.exit-popup-input:focus {
  border-color: var(--primary);
}

.exit-popup-submit {
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.exit-popup-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 24px rgba(124, 58, 237, 0.4);
}

.exit-popup-disclaimer {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 1rem;
}

.exit-popup-bonus {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  background: rgba(16, 185, 129, 0.08);
  color: var(--success);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* ============================================
   STICKY BOTTOM CTA BAR
   ============================================ */
.sticky-cta-bar {
  position: fixed;
  bottom: -100px;
  left: 0;
  width: 100%;
  background: var(--gray-950);
  border-top: 1px solid rgba(124, 58, 237, 0.2);
  padding: 0.75rem 1.5rem;
  z-index: 900;
  transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-cta-bar.visible {
  bottom: 0;
}

.sticky-cta-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sticky-cta-text {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.sticky-cta-text .icon {
  font-size: 1.3rem;
}

.sticky-cta-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
}

.sticky-cta-text p strong {
  color: var(--white);
}

.sticky-cta-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.sticky-cta-btn {
  padding: 0.6rem 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.sticky-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
}

.sticky-cta-close {
  background: none;
  border: none;
  color: var(--gray-500);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.25rem;
  transition: color var(--transition);
}

.sticky-cta-close:hover {
  color: var(--white);
}

/* Hide sticky CTA on mobile if too cramped */
@media (max-width: 640px) {
  .sticky-cta-text p {
    font-size: 0.8rem;
  }

  .sticky-cta-text .icon {
    display: none;
  }

  .exit-popup {
    padding: 2rem 1.5rem;
  }

  .exit-popup h3 {
    font-size: 1.25rem;
  }
}

/* ============================================
   REVIEW PAGE STYLES
   ============================================ */

/* Breadcrumbs */
.breadcrumbs {
  margin-top: 56px;
  padding: 0.75rem 1.5rem;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.85rem;
  color: var(--gray-500);
}

.breadcrumbs a {
  color: var(--primary);
  font-weight: 500;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs span {
  margin: 0 0.4rem;
  color: var(--gray-300);
}

/* Review Hero */
.review-hero {
  padding: 5rem 2rem 4rem;
  background: linear-gradient(135deg, var(--gray-950) 0%, #1a1145 40%, #0f1a3a 100%, var(--gray-950) 200%);
  background-size: 300% 300%;
  animation: gradientBG 15s ease infinite;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.review-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.review-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.review-logo-box {
  width: 80px;
  height: 80px;
  background: var(--white);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.review-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.review-meta-badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.review-meta-badge.green {
  background: rgba(16, 185, 129, 0.12);
  color: #34D399;
  border-color: rgba(16, 185, 129, 0.2);
}

.review-meta-badge.yellow {
  color: #FBBF24;
}

.review-hero h1 {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.review-hero .hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 650px;
  margin: 0 auto 2rem;
}

.review-hero .hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.review-updated {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Review Layout — Two Column */
.review-layout {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

/* Main Review Content */
.review-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-700);
}

.review-content h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--gray-900);
  margin: 3rem 0 1.25rem;
  padding-top: 1rem;
  scroll-margin-top: 90px;
}

.review-content h2:first-of-type {
  margin-top: 0;
}

.review-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gray-800);
  margin: 2rem 0 0.75rem;
}

.review-content p {
  margin-bottom: 1.25rem;
}

.review-content img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin: 1.5rem 0;
  border: 1px solid var(--gray-200);
}

/* Pros & Cons */
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}

.pc-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--gray-200);
}

.pc-box h3 {
  margin-top: 0 !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem !important;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 1rem !important;
}

.pc-box.pros {
  border-left: 3px solid var(--success);
}

.pc-box.cons {
  border-left: 3px solid var(--danger);
}

.pc-box.pros h3 {
  color: var(--success);
}

.pc-box.cons h3 {
  color: var(--danger);
}

.pc-list {
  list-style: none;
}

.pc-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: var(--gray-700);
}

.pc-list li::before {
  position: absolute;
  left: 0;
  top: 0.15rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.pc-box.pros .pc-list li::before {
  content: '✓';
  color: var(--success);
}

.pc-box.cons .pc-list li::before {
  content: '✕';
  color: var(--danger);
}

/* Pricing Tiers */
.pricing-tiers {
  margin: 2rem 0;
}

.pricing-tier {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  margin-bottom: 0.75rem;
  transition: all var(--transition);
}

.pricing-tier:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.pricing-tier.recommended {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), var(--shadow-md);
}

.tier-info {
  flex: 1;
}

.tier-info h4 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.tier-info p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.tier-badge {
  font-size: 0.7rem;
  background: var(--primary);
  color: var(--white);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.tier-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gray-900);
  white-space: nowrap;
}

.tier-price small {
  font-size: 0.8rem;
  color: var(--gray-500);
  font-weight: 400;
}

/* Rating Box */
.rating-box {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.04), rgba(59, 130, 246, 0.04));
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
}

.rating-box .score {
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rating-box .label {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}

/* Verdict CTA Box */
.verdict-cta {
  background: linear-gradient(135deg, var(--gray-950), #1a1145);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
  margin: 2.5rem 0;
  color: var(--white);
}

.verdict-cta h3 {
  color: var(--white) !important;
  font-size: 1.5rem !important;
  margin-bottom: 0.75rem !important;
}

.verdict-cta p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.5rem;
}

/* Sidebar */
.review-sidebar {
  position: sticky;
  top: 80px;
}

.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
}

.sidebar-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--gray-100);
}

.sidebar-cta-card {
  text-align: center;
  border-color: var(--primary-light);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.02), rgba(59, 130, 246, 0.02));
}

.sidebar-cta-card .rating {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}

.sidebar-cta-card .tool-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gray-900);
}

.sidebar-cta-card .tool-desc {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin: 0.5rem 0 1.25rem;
}

/* Table of Contents */
.toc-list {
  list-style: none;
}

.toc-list li {
  margin-bottom: 0.35rem;
}

.toc-list a {
  color: var(--gray-600);
  font-size: 0.9rem;
  font-weight: 500;
  display: block;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  border-left: 2px solid transparent;
}

.toc-list a:hover {
  color: var(--primary);
  background: rgba(124, 58, 237, 0.04);
  border-left-color: var(--primary);
}

/* Quick Facts */
.quick-facts {
  font-size: 0.9rem;
}

.qf-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--gray-50);
}

.qf-item:last-child {
  border-bottom: none;
}

.qf-label {
  color: var(--gray-500);
  font-size: 0.85rem;
}

.qf-value {
  font-weight: 600;
  color: var(--gray-900);
  text-align: right;
}

/* Alternative Tool Card */
.alt-tool {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.alt-tool-icon {
  width: 40px;
  height: 40px;
  background: var(--gray-100);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.alt-tool-info .name {
  font-weight: 700;
  font-size: 0.95rem;
}

.alt-tool-info .desc {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* Related Reviews */
.related-reviews {
  padding: var(--section-pad);
  background: var(--gray-50);
}

/* Review Page Responsive */
@media (max-width: 992px) {
  .review-layout {
    grid-template-columns: 1fr;
  }

  .review-sidebar {
    position: static;
    order: -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .sidebar-cta-card {
    grid-column: 1 / -1;
  }

  .review-hero h1 {
    font-size: 2.25rem;
  }
}

@media (max-width: 640px) {
  .pros-cons-grid {
    grid-template-columns: 1fr;
  }

  .pricing-tier {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .pricing-tier .btn {
    width: 100%;
    text-align: center;
  }

  .review-sidebar {
    grid-template-columns: 1fr;
  }

  .review-hero h1 {
    font-size: 1.85rem;
  }

  .breadcrumbs {
    font-size: 0.78rem;
  }
}

/* ============================================
   CATEGORY PAGE STYLES
   ============================================ */

/* Category Hero */
.cat-hero {
  padding: 5rem 2rem 3.5rem;
  background: linear-gradient(135deg, var(--gray-950) 0%, #1a1145 40%, #0f1a3a 100%, var(--gray-950) 200%);
  background-size: 300% 300%;
  animation: gradientBG 15s ease infinite;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cat-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cat-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cat-hero-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.cat-hero h1 {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--white);
}

.cat-hero .hero-description {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* Category Stats Bar */
.cat-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.cat-stat {
  text-align: center;
}

.cat-stat-num {
  font-size: 1.75rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cat-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Sticky Filter Bar */
.cat-filters {
  position: sticky;
  top: 56px;
  z-index: 90;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  padding: 0.75rem 1.5rem;
}

.cat-filters-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cat-filter-pills {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.cat-filter-pill {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.cat-filter-pill:hover {
  background: rgba(124, 58, 237, 0.08);
  color: var(--primary);
}

.cat-filter-pill.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.cat-filter-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cat-sort-select {
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  background: var(--white);
  font-size: 0.85rem;
  font-family: var(--font);
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%236B7280'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  padding-right: 2rem;
}

.cat-tool-count {
  font-size: 0.85rem;
  color: var(--gray-500);
  white-space: nowrap;
}

/* Tool Grid */
.cat-grid-section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.cat-subcategory-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 2.5rem 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gray-100);
}

.cat-subcategory-header:first-child {
  margin-top: 0;
}

.cat-subcat-icon {
  font-size: 1.4rem;
}

.cat-subcat-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gray-900);
}

.cat-subcat-count {
  font-size: 0.8rem;
  color: var(--gray-400);
  font-weight: 600;
  background: var(--gray-100);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

/* Tool Cards Grid */
.cat-tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

/* Tool Card */
.cat-tool-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.cat-tool-card:hover {
  border-color: var(--primary-light);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  transform: translateY(-3px);
}

.cat-tool-card.editor-pick {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.02), rgba(59, 130, 246, 0.02));
}

.cat-tool-card.editor-pick::before {
  content: "🏆 Editor's Pick";
  position: absolute;
  top: -0.6rem;
  left: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

.ctc-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.ctc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.ctc-info {
  flex: 1;
  min-width: 0;
}

.ctc-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 0.15rem;
}

.ctc-tagline {
  font-size: 0.82rem;
  color: var(--gray-500);
  line-height: 1.4;
}

.ctc-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.ctc-stars {
  color: #FBBF24;
  font-size: 0.85rem;
  letter-spacing: -0.02em;
}

.ctc-score {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--gray-900);
}

/* Feature Tags */
.ctc-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.ctc-feature-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--gray-50);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-100);
}

/* Price & CTA Row */
.ctc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}

.ctc-pricing {
  display: flex;
  flex-direction: column;
}

.ctc-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gray-900);
}

.ctc-price-note {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.ctc-actions {
  display: flex;
  gap: 0.5rem;
}

.ctc-btn-review {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-700);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.ctc-btn-review:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.ctc-btn-visit {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.ctc-btn-visit:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 12px var(--primary-glow);
}

/* Category Comparison Mini-Table */
.cat-comparison {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.cat-comparison-title {
  font-size: 1.85rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 2rem;
}

.cat-compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.cat-compare-table thead {
  background: var(--gray-50);
}

.cat-compare-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--gray-200);
}

.cat-compare-table td {
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}

.cat-compare-table tr:last-child td {
  border-bottom: none;
}

.cat-compare-table tr:hover {
  background: rgba(124, 58, 237, 0.02);
}

.compare-tool-name {
  font-weight: 700;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.compare-check {
  color: var(--success);
  font-weight: 700;
}

.compare-cross {
  color: var(--danger);
  font-weight: 700;
}

/* Category CTA bar */
.cat-cta-section {
  padding: var(--section-pad);
  background: linear-gradient(135deg, var(--gray-950), #1a1145);
  text-align: center;
  color: var(--white);
}

.cat-cta-section h2 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: var(--white);
}

.cat-cta-section p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Category Responsive */
@media (max-width: 992px) {
  .cat-tool-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }

  .cat-compare-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .cat-hero h1 {
    font-size: 2.25rem;
  }
}

@media (max-width: 768px) {
  .cat-filters-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cat-filter-pills {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
    flex-wrap: nowrap;
  }

  .cat-filter-right {
    justify-content: space-between;
  }

  .cat-stats {
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .cat-tool-grid {
    grid-template-columns: 1fr;
  }

  .cat-hero h1 {
    font-size: 1.85rem;
  }

  .ctc-footer {
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
  }

  .ctc-actions {
    justify-content: stretch;
  }

  .ctc-btn-review,
  .ctc-btn-visit {
    flex: 1;
    text-align: center;
  }
}

/* ==========================================================================
   Static Pages (About, Legal, Contact, 404)
   ========================================================================== */

.page-hero {
  background: linear-gradient(135deg, var(--gray-950) 0%, #1a1145 40%, #0f1a3a 100%, var(--gray-950) 200%);
  background-size: 300% 300%;
  animation: gradientBG 15s ease infinite;
  color: var(--white);
  padding: 8rem 2rem 6rem;
  text-align: center;
  position: relative;
  margin-top: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.static-page-layout {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.prose-content {
  background: var(--white);
  padding: 3rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  font-size: 1.1rem;
  line-height: 1.8;
  color: #334155;
}

@media (max-width: 768px) {
  .prose-content {
    padding: 1.5rem;
  }

  .page-hero h1 {
    font-size: 2.25rem;
  }
}

.prose-content h2 {
  color: var(--gray-900);
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.prose-content h3 {
  color: var(--gray-900);
  font-size: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.prose-content p {
  margin-bottom: 1.5rem;
}

.prose-content ul,
.prose-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.prose-content li {
  margin-bottom: 0.5rem;
}

.prose-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.prose-content a:hover {
  color: var(--primary-dark);
}

/* 404 specific */
.not-found-container {
  padding: 10rem 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, var(--gray-950) 0%, #1a1145 40%, #0f1a3a 100%, var(--gray-950) 200%);
  background-size: 300% 300%;
  animation: gradientBG 15s ease infinite;
  color: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.not-found-container h1 {
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #A78BFA, #38BDF8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.not-found-container p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 3rem;
  max-width: 500px;
}