/* =============================================
   UNBAN.LIVE - Base Styles
   ============================================= */

/* CSS Variables - Dark Theme (Default) */
:root {
  /* Colors */
  --primary: #8B5CF6;
  --primary-light: #A78BFA;
  --primary-dark: #7C3AED;
  --secondary: #EC4899;
  --secondary-light: #F472B6;
  --accent: #06B6D4;
  --accent-light: #22D3EE;
  
  /* Background */
  --bg-dark: #0A0A0F;
  --bg-main: #0F0F1A;
  --bg-card: #1A1A2E;
  --bg-card-hover: #252542;
  --bg-input: #12121F;
  
  /* Text - WCAG AA compliant contrast */
  --text-primary: #FFFFFF;
  --text-secondary: #C8C8D8;
  --text-muted: #9898AC;
  
  /* Status */
  --success: #10B981;
  --success-light: #34D399;
  --warning: #F59E0B;
  --error: #EF4444;
  
  /* Borders */
  --border-color: rgba(139, 92, 246, 0.2);
  --border-light: rgba(255, 255, 255, 0.1);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
  --gradient-glow: linear-gradient(135deg, rgba(139, 92, 246, 0.4) 0%, rgba(236, 72, 153, 0.4) 100%);
  --gradient-card: linear-gradient(180deg, rgba(139, 92, 246, 0.1) 0%, transparent 100%);
  --gradient-text: linear-gradient(135deg, #FFFFFF 0%, #A78BFA 100%);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(139, 92, 246, 0.3);
  --shadow-glow-pink: 0 0 30px rgba(236, 72, 153, 0.3);
  
  /* Spacing */
  --container-max: 1200px;
  --section-padding: 80px;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;
}

/* Light Theme */
[data-theme="light"] {
  --bg-dark: #F8F9FC;
  --bg-main: #FFFFFF;
  --bg-card: #F3F4F8;
  --bg-card-hover: #E8E9F0;
  --bg-input: #FFFFFF;
  
  --text-primary: #1A1A2E;
  --text-secondary: #4A4A68;
  --text-muted: #8888A0;
  
  --border-color: rgba(139, 92, 246, 0.15);
  --border-light: rgba(0, 0, 0, 0.08);
  
  --gradient-glow: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(236, 72, 153, 0.15) 100%);
  --gradient-card: linear-gradient(180deg, rgba(139, 92, 246, 0.05) 0%, transparent 100%);
  --gradient-text: linear-gradient(135deg, #1A1A2E 0%, #8B5CF6 100%);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
}

/* Light theme background adjustments */
[data-theme="light"] .bg-grid {
  opacity: 0.3;
}

[data-theme="light"] .bg-glow {
  opacity: 0.4;
}

[data-theme="light"] .hero-badge {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.2);
}

[data-theme="light"] .platform-icon {
  filter: none;
}

[data-theme="light"] .feature-card,
[data-theme="light"] .pricing-card,
[data-theme="light"] .step-card,
[data-theme="light"] .faq-item {
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .btn-outline {
  border-color: var(--primary);
  color: var(--primary);
}

[data-theme="light"] .nav-link {
  color: var(--text-secondary);
}

[data-theme="light"] .nav-link:hover {
  color: var(--primary);
}

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

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-main);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background Effects */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.bg-glow-1 {
  top: -200px;
  right: -100px;
  background: var(--primary);
  opacity: 0.15;
}

.bg-glow-2 {
  bottom: -200px;
  left: -100px;
  background: var(--secondary);
  opacity: 0.12;
}

.bg-glow-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent);
  opacity: 0.05;
  width: 800px;
  height: 800px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

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

a {
  color: var(--primary-light);
  text-decoration: none;
}

a:hover {
  color: var(--secondary-light);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base), opacity var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  will-change: transform;
}

.btn svg {
  width: 20px;
  height: 20px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--primary-light);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  transform: translateY(-1px);
  color: white;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.btn.loading {
  pointer-events: none;
  position: relative;
  color: transparent !important;
}

.btn.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  will-change: transform;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.card-glow {
  position: relative;
  overflow: hidden;
}

.card-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-primary);
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: box-shadow var(--transition-fast);
  outline: none;
}

.form-input:focus {
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.3);
}

.form-input::placeholder {
  color: var(--text-muted);
}

/* Header / Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(15, 15, 26, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: padding var(--transition-base), background var(--transition-base);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(15, 15, 26, 0.95);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  font-size: 1.25rem;
}

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

.logo-dot {
  font-weight: 400;
  opacity: 0.7;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  transition: opacity var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
}

.hero-content {
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 0.875rem;
  color: var(--primary-light);
  margin-bottom: 24px;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  margin-bottom: 24px;
}

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

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}

.hero-stat {
  text-align: left;
}

.hero-stat-value {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Hero Grid Layout */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

/* Stats Card (Hero Visual) */
.stats-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(10px);
  animation: floatCard 6s ease-in-out infinite;
}

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

.stats-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.stats-card-title {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.stats-card-badge {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
}

.stats-card-chart {
  margin-bottom: 24px;
}

.chart-svg {
  width: 100%;
  height: auto;
}

.chart-line {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawLine 2s ease forwards;
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

.chart-dot {
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { r: 6; opacity: 1; }
  50% { r: 10; opacity: 0.7; }
}

.stats-card-footer {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stats-card-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.stats-item-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.stats-item-icon.tiktok {
  background: linear-gradient(135deg, #25F4EE, #FE2C55);
  color: #fff;
}

.stats-item-icon.instagram {
  background: linear-gradient(135deg, #833AB4, #FD1D1D);
  color: #fff;
}

.stats-item-icon.snapchat {
  background: #FFFC00;
  color: #000;
}

/* Light theme adjustments for stats card */
[data-theme="light"] .stats-card {
  background: var(--bg-card);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .stats-card-item {
  background: rgba(0, 0, 0, 0.05);
}

/* Sections */
.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.125rem;
}

/* Platforms Grid */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  cursor: default;
  will-change: transform;
}

.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.platform-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  font-size: 2rem;
}

.platform-icon.tiktok { background: linear-gradient(135deg, #25F4EE, #FE2C55); }
.platform-icon.instagram { background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737); }
.platform-icon.facebook { background: #1877F2; }
.platform-icon.snapchat { background: #FFFC00; color: #000; }
.platform-icon.twitter { background: #000; }
.platform-icon.youtube { background: #FF0000; }
.platform-icon.reddit { background: #FF4500; }
.platform-icon.twitch { background: #9146FF; }
.platform-icon.threads { background: #000; }

.platform-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* How It Works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.step-card {
  position: relative;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.step-number {
  position: absolute;
  top: -16px;
  left: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 50%;
  font-size: 1.125rem;
  font-weight: 700;
}

.step-card h4 {
  margin: 16px 0 12px;
}

.step-card p {
  font-size: 0.9375rem;
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: var(--gradient-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.125rem;
  margin-bottom: 32px;
}

/* Footer */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border-light);
}

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

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-column h5 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  transition: opacity var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-light);
  opacity: 0.85;
}

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

/* Responsive */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-visual {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  /* Hide auth buttons on mobile, show only theme toggle */
  .nav-actions .btn {
    display: none;
  }
  
  .nav-actions {
    gap: 8px;
  }
  
  .theme-toggle {
    width: 36px;
    height: 36px;
  }
  
  .hero {
    padding: 100px 0 60px;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
    gap: 32px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-brand {
    max-width: 100%;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 20px;
  z-index: 999;
  flex-direction: column;
  gap: 12px;
  backdrop-filter: blur(20px);
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  display: block;
  padding: 12px 16px;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: opacity var(--transition-fast);
}

.mobile-menu a:hover {
  opacity: 0.7;
}

.mobile-menu .btn {
  text-align: center;
}

@media (max-width: 480px) {
  .btn-lg {
    padding: 14px 24px;
    font-size: 1rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { 
    opacity: 0;
    transform: translateY(20px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

.slide-up {
  animation: slideUp 0.6s ease forwards;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.hidden { display: none !important; }

/* =============================================
   THEME TOGGLE
   ============================================= */

.theme-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.theme-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.3);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
  transition: opacity var(--transition-fast);
}

.theme-toggle:hover svg {
  opacity: 0.8;
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

/* Dark theme - show sun icon */
.theme-toggle .icon-sun {
  opacity: 1;
  transform: rotate(0deg);
}

.theme-toggle .icon-moon {
  opacity: 0;
  transform: rotate(-90deg);
}

/* Light theme - show moon icon */
[data-theme="light"] .theme-toggle .icon-sun {
  opacity: 0;
  transform: rotate(90deg);
}

[data-theme="light"] .theme-toggle .icon-moon {
  opacity: 1;
  transform: rotate(0deg);
}

/* =============================================
   TESTIMONIALS SECTION
   ============================================= */

.testimonials-section {
  padding: var(--section-padding) 0;
  background: var(--gradient-card);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 48px;
}

.testimonials-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.testimonials-header p {
  color: var(--text-secondary);
  font-size: 1.125rem;
}

.testimonials-carousel {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  animation: scrollTestimonials 30s linear infinite;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

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

.testimonial-card {
  flex-shrink: 0;
  width: 380px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  will-change: transform;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: #FBBF24;
  color: #FBBF24;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 1.125rem;
}

.testimonial-info h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.testimonial-info span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.testimonial-platform {
  margin-left: auto;
  font-size: 1.5rem;
}

/* Trust Badges under testimonials */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.trust-badge svg {
  width: 24px;
  height: 24px;
  color: var(--success);
}

.trust-badge strong {
  color: var(--text-primary);
}

/* Responsive */
@media (max-width: 768px) {
  .testimonials-header h2 {
    font-size: 1.75rem;
  }
  
  .testimonial-card {
    width: 320px;
    padding: 20px;
  }
  
  .trust-badges {
    gap: 24px;
  }
  
  .trust-badge {
    font-size: 0.8125rem;
  }
}
