/**
 * O2 Helpdesk UK - Complete Stylesheet
 * Modern, responsive design with O2 brand colors
 */

/* ============================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================ */
:root {
  /* O2 Brand Colors */
  --o2-blue: #0019A5;
  --o2-light-blue: #0050FF;
  --o2-cyan: #00BFFF;
  --o2-teal: #00D4AA;
  --o2-purple: #7B2D8E;
  --o2-pink: #FF4081;
  --o2-orange: #FF6B35;
  --o2-yellow: #FFD700;

  /* Semantic Colors (Light Mode) */
  --bg-primary: #f8f9fa;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-alt: #f8f9fa;
  --text-primary: #1a1a2e;
  --text-secondary: #444;
  --text-muted: #666;
  --text-faint: #888;
  --border-color: rgba(0, 25, 165, 0.1);
  --border-light: #eee;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--o2-blue) 0%, var(--o2-light-blue) 50%, var(--o2-cyan) 100%);
  --gradient-hero: linear-gradient(135deg, #0019A5 0%, #0033CC 25%, #0050FF 50%, #0077FF 75%, #00BFFF 100%);
  --gradient-warm: linear-gradient(135deg, #FF6B35 0%, #FF4081 50%, #7B2D8E 100%);
  --gradient-success: linear-gradient(135deg, #00D4AA 0%, #00BFFF 100%);

  /* Glass-morphism */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-blur: blur(20px);

  /* Animation Durations */
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.8s;
  --duration-slower: 1.2s;

  /* Animation Easings */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-elastic: cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 25, 165, 0.1);
  --shadow-md: 0 8px 24px rgba(0, 25, 165, 0.15);
  --shadow-lg: 0 16px 48px rgba(0, 25, 165, 0.2);
  --shadow-glow: 0 0 30px rgba(0, 191, 255, 0.4);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  overflow-x: hidden;
  background: var(--bg-primary);
}

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

a {
  color: var(--o2-blue);
  text-decoration: none;
  transition: color var(--duration-fast);
}

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

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 25, 165, 0.1);
  transition: all var(--duration-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--space-sm) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--o2-blue);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
}

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

.nav-link {
  color: #444;
  font-weight: 500;
  padding: var(--space-xs) 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--duration-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--o2-blue);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.phone-link {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-weight: 600;
  color: var(--o2-blue);
  font-size: 1.1rem;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--o2-blue);
  margin: 5px 0;
  transition: all var(--duration-normal);
}

@media (max-width: 992px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-normal);
  }
  
  .main-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .header-cta .btn {
    display: none;
  }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
}

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

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--o2-blue);
  border: 2px solid var(--o2-blue);
}

.btn-secondary:hover {
  background: var(--o2-blue);
  color: white;
}

.btn-large {
  padding: var(--space-md) var(--space-xl);
  font-size: 1.1rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  padding-top: 80px;
  overflow: hidden;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.hero-content {
  color: white;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s var(--ease-out) forwards;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  opacity: 0.9;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s var(--ease-out) 0.2s forwards;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s var(--ease-out) 0.4s forwards;
}

.cta-subtext {
  font-size: 0.9rem;
  opacity: 0.8;
}

.phone-highlight {
  font-size: 1.3rem;
  color: var(--o2-yellow);
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  background: rgba(255, 255, 255, 0.15);
  padding: var(--space-xs) var(--space-md);
  border-radius: 50px;
  font-size: 0.9rem;
}

.badge-icon {
  font-size: 1.2rem;
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.support-visual {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: var(--space-xl);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.visual-element {
  font-size: 4rem;
  animation: bounce 2s ease-in-out infinite;
}

.visual-arrow {
  font-size: 3rem;
  color: var(--o2-cyan);
  animation: pulse 1.5s ease-in-out infinite;
}

.visual-caption {
  margin-top: var(--space-md);
  font-size: 1rem;
  opacity: 0.8;
  text-align: center;
}

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

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

@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-trust-badges {
    justify-content: center;
  }
  
  .hero-visual {
    display: none;
  }
}

/* ============================================
   SECTIONS
   ============================================ */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--o2-blue);
  margin-bottom: var(--space-md);
}

.section-intro {
  font-size: 1.1rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   PAIN POINTS SECTION
   ============================================ */
.pain-points-section {
  background: var(--bg-secondary);
}

.pain-points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.pain-point-card {
  background: var(--bg-card-alt);
  padding: var(--space-lg);
  border-radius: 16px;
  transition: all var(--duration-normal);
  border-top: 4px solid var(--o2-cyan);
}

.pain-point-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.pain-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
}

.pain-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--o2-blue);
  margin-bottom: var(--space-sm);
}

.pain-description {
  color: #555;
  line-height: 1.7;
}

.highlight-box {
  background: linear-gradient(135deg, #e8f4fd 0%, #d4edfc 100%);
  border-left: 4px solid var(--o2-blue);
  padding: var(--space-lg);
  margin-top: var(--space-xl);
  border-radius: 0 12px 12px 0;
}

.highlight-box h4 {
  color: var(--o2-blue);
  margin-bottom: var(--space-sm);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
  background: var(--bg-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.service-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon-container {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(0, 25, 165, 0.1) 0%, rgba(0, 80, 255, 0.1) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  font-size: 2rem;
  transition: all var(--duration-normal);
}

.service-card:hover .service-icon-container {
  background: var(--gradient-primary);
  transform: scale(1.1) rotate(5deg);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--o2-blue);
  margin-bottom: var(--space-sm);
}

.service-description {
  color: #555;
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.service-features {
  list-style: none;
  margin-bottom: var(--space-md);
}

.service-features li {
  padding: var(--space-xs) 0;
  padding-left: 1.5rem;
  position: relative;
  color: #555;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--o2-teal);
  font-weight: 700;
}

.service-link {
  color: var(--o2-blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.service-link:hover {
  gap: var(--space-sm);
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */
.why-choose-section {
  background: var(--bg-secondary);
}

.usp-container {
  display: grid;
  gap: var(--space-xl);
}

.usp-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.usp-feature {
  background: var(--bg-card-alt);
  padding: var(--space-lg);
  border-radius: 16px;
  position: relative;
}

.usp-feature.large {
  background: var(--gradient-primary);
  color: white;
}

.usp-number {
  font-size: 3rem;
  font-weight: 800;
  opacity: 0.2;
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
}

.usp-feature h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.usp-feature h4 {
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
  color: var(--o2-blue);
}

.usp-feature.large h4 {
  color: white;
}

.usp-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
}

.comparison-table-container {
  margin-top: var(--space-xl);
  overflow-x: auto;
}

.comparison-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  color: var(--o2-blue);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-md);
  text-align: left;
  border-bottom: 1px solid #eee;
}

.comparison-table th {
  background: var(--gradient-primary);
  color: white;
  font-weight: 600;
}

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

.comparison-table tr:nth-child(even) {
  background: #f8f9fa;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works-section {
  background: var(--bg-primary);
}

.process-steps {
  display: grid;
  gap: var(--space-lg);
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.step-content h3 {
  color: var(--o2-blue);
  margin-bottom: var(--space-xs);
  font-size: 1.25rem;
}

.step-content p {
  color: #555;
  line-height: 1.7;
}

.step-tip,
.step-highlight {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
  padding: var(--space-sm);
  background: #e8f5e9;
  border-radius: 8px;
  font-size: 0.9rem;
}

.step-highlight {
  background: #e3f2fd;
}

.process-cta {
  text-align: center;
  margin-top: var(--space-xl);
}

.process-note {
  color: #666;
  margin-top: var(--space-sm);
}

/* ============================================
   COMMON ISSUES SECTION
   ============================================ */
.common-issues-section {
  background: var(--bg-secondary);
}

.issues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-lg);
}

.issue-card {
  background: var(--bg-card-alt);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--duration-normal);
}

.issue-card:hover {
  box-shadow: var(--shadow-md);
}

.issue-header {
  background: var(--gradient-primary);
  color: white;
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.issue-icon {
  font-size: 1.5rem;
}

.issue-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.issue-example,
.issue-solution {
  padding: var(--space-md) var(--space-lg);
}

.issue-example h4,
.issue-solution h4 {
  color: var(--o2-blue);
  margin-bottom: var(--space-xs);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.issue-example {
  background: rgba(0, 191, 255, 0.05);
  border-bottom: 1px solid #eee;
}

.issue-example p {
  font-style: italic;
  color: #555;
  line-height: 1.7;
}

.issue-solution ul {
  list-style: none;
}

.issue-solution li {
  padding: var(--space-xs) 0;
  padding-left: 1.5rem;
  position: relative;
  color: #555;
}

.issue-solution li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--o2-teal);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
  background: var(--bg-primary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.testimonial-card {
  background: var(--bg-card);
  border-radius: 24px;
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--duration-normal);
  border: 1px solid var(--border-light);
}

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

.testimonial-rating {
  display: flex;
  gap: 4px;
  margin-bottom: var(--space-md);
}

.star {
  color: var(--o2-yellow);
  font-size: 1.25rem;
}

.testimonial-content {
  font-style: italic;
  color: #444;
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.author-initial {
  width: 45px;
  height: 45px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  color: var(--o2-blue);
}

.author-location {
  font-size: 0.875rem;
  color: #888;
}

.testimonial-verified {
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid #eee;
}

.verified-badge {
  font-size: 0.8rem;
  color: var(--o2-teal);
  font-weight: 500;
}

.testimonials-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid #ddd;
}

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

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

.stat-item .stat-label {
  color: #666;
  font-size: 0.9rem;
}

/* ============================================
   TRUST SIGNALS SECTION
   ============================================ */
.trust-signals-section {
  background: var(--bg-secondary);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.trust-item {
  text-align: center;
  padding: var(--space-lg);
  background: var(--bg-card-alt);
  border-radius: 16px;
  transition: all var(--duration-normal);
}

.trust-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.trust-item .trust-icon {
  font-size: 3rem;
  margin-bottom: var(--space-sm);
}

.trust-item h3 {
  color: var(--o2-blue);
  margin-bottom: var(--space-xs);
}

.trust-item p {
  color: #666;
  line-height: 1.6;
}

.guarantee-box {
  background: var(--gradient-primary);
  color: white;
  padding: var(--space-xl);
  border-radius: 20px;
  margin-top: var(--space-xl);
  text-align: center;
}

.guarantee-box h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.guarantee-list {
  list-style: none;
  max-width: 600px;
  margin: var(--space-md) auto 0;
  text-align: left;
}

.guarantee-list li {
  padding: var(--space-sm) 0;
  padding-left: 1.5rem;
  position: relative;
}

.guarantee-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--o2-teal);
  font-weight: 700;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
  background: var(--bg-primary);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border-radius: 12px;
  margin-bottom: var(--space-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-card);
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--o2-blue);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--duration-normal);
}

.faq-question:hover {
  background: var(--bg-card-alt);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--o2-cyan);
  transition: transform var(--duration-normal);
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-normal);
}

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

.faq-answer-content {
  padding: 0 var(--space-lg) var(--space-lg);
  color: #555;
  line-height: 1.7;
}

.faq-cta {
  text-align: center;
  margin-top: var(--space-xl);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  position: relative;
  background: var(--gradient-primary);
  color: white;
  overflow: hidden;
}

.cta-box {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.cta-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.cta-highlight {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  margin: var(--space-xl) 0;
  flex-wrap: wrap;
}

.highlight-item {
  text-align: center;
}

.highlight-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--o2-yellow);
  display: block;
}

.highlight-unit {
  font-size: 1rem;
  opacity: 0.8;
}

.highlight-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

.cta-button-group {
  margin: var(--space-xl) 0;
}

.cta-info {
  margin-top: var(--space-lg);
}

.cta-hours,
.cta-note {
  font-size: 0.9rem;
  opacity: 0.8;
}

.cta-urgency {
  margin-top: var(--space-xl);
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  background: var(--o2-blue);
  color: white;
  padding: var(--space-md) 0;
}

.trust-bar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.trust-bar .trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.9rem;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #1a1a2e;
  color: white;
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-column h4 {
  color: var(--o2-cyan);
  margin-bottom: var(--space-md);
  font-size: 1.1rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: var(--space-xs);
}

.footer-column a {
  color: #aaa;
  transition: color var(--duration-fast);
}

.footer-column a:hover {
  color: white;
}

.footer-disclaimer {
  background: rgba(255, 255, 255, 0.05);
  padding: var(--space-md);
  border-radius: 12px;
  margin-bottom: var(--space-lg);
}

.footer-disclaimer p {
  font-size: 0.85rem;
  color: #888;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-copyright {
  color: #888;
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  gap: var(--space-md);
}

.footer-legal a {
  color: #888;
  font-size: 0.85rem;
}

/* ============================================
   COOKIE CONSENT
   ============================================ */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  padding: var(--space-md);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform var(--duration-normal);
}

.cookie-consent.active {
  transform: translateY(0);
}

.cookie-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  font-size: 0.9rem;
  color: #555;
}

.cookie-text a {
  color: var(--o2-blue);
}

.cookie-buttons {
  display: flex;
  gap: var(--space-sm);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--duration-normal);
  z-index: 999;
}

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

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   PAGE CONTENT STYLES
   ============================================ */
.page-header {
  background: var(--gradient-primary);
  color: white;
  padding: 120px 0 60px;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.page-header p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.content-section {
  padding: var(--space-2xl) 0;
}

.content-section.alt-bg {
  background: #f8f9fa;
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.content-wrapper h2 {
  color: var(--o2-blue);
  font-size: 1.75rem;
  margin: var(--space-xl) 0 var(--space-md);
}

.content-wrapper h3 {
  color: var(--o2-light-blue);
  font-size: 1.25rem;
  margin: var(--space-lg) 0 var(--space-sm);
}

.content-wrapper p {
  margin-bottom: var(--space-md);
  line-height: 1.8;
  color: #444;
}

.content-wrapper ul,
.content-wrapper ol {
  margin-bottom: var(--space-md);
  padding-left: 1.5rem;
}

.content-wrapper li {
  margin-bottom: var(--space-xs);
  line-height: 1.7;
}

/* Tables */
.content-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-lg) 0;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.content-table th,
.content-table td {
  padding: var(--space-md);
  text-align: left;
  border-bottom: 1px solid #eee;
}

.content-table th {
  background: var(--gradient-primary);
  color: white;
  font-weight: 600;
}

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

.content-table tr:nth-child(even) {
  background: #f8f9fa;
}

/* Info Boxes */
.info-box,
.tip-box,
.warning-box {
  padding: var(--space-md);
  border-radius: 12px;
  margin: var(--space-md) 0;
}

.info-box {
  background: #e3f2fd;
  border-left: 4px solid var(--o2-blue);
}

.tip-box {
  background: #e8f5e9;
  border-left: 4px solid var(--o2-teal);
}

.warning-box {
  background: #fff3e0;
  border-left: 4px solid var(--o2-orange);
}

/* CTA Box */
.cta-box {
  background: linear-gradient(135deg, #e8f4fd 0%, #d4edfc 100%);
  border: 2px solid var(--o2-blue);
  padding: var(--space-lg);
  border-radius: 16px;
  margin: var(--space-lg) 0;
  text-align: center;
}

.cta-box h3 {
  color: var(--o2-blue);
  margin-bottom: var(--space-sm);
}

.phone-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--o2-blue);
  margin: var(--space-sm) 0;
}

/* ============================================
   BLOG STYLES
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.blog-card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal);
  border: 1px solid var(--border-light);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.blog-card-image {
  height: 180px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}

.blog-card-content {
  padding: var(--space-lg);
}

.blog-card-meta {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: var(--space-xs);
}

.blog-card h3 {
  color: var(--o2-blue);
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.blog-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
  color: var(--o2-blue);
  font-weight: 600;
}

/* Article Page */
.article-header {
  background: var(--gradient-primary);
  color: white;
  padding: 120px 0 60px;
}

.article-meta {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
  font-size: 0.9rem;
  opacity: 0.8;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
}

.article-content h2 {
  color: var(--o2-blue);
  font-size: 1.75rem;
  margin: var(--space-xl) 0 var(--space-md);
}

.article-content h3 {
  color: var(--o2-light-blue);
  font-size: 1.25rem;
  margin: var(--space-lg) 0 var(--space-sm);
}

.article-content p {
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.author-bio {
  background: var(--bg-card-alt);
  padding: var(--space-lg);
  border-radius: 16px;
  margin-top: var(--space-xl);
  border-left: 4px solid var(--o2-cyan);
}

/* ============================================
   ARTICLE IMAGES & FIGURES
   ============================================ */
.article-hero-image {
  max-width: 800px;
  margin: -30px auto var(--space-xl);
  padding: 0 var(--space-lg);
}

.article-hero-image figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: white;
}

.article-hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.article-hero-image figcaption {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.85rem;
  color: #666;
  text-align: center;
  background: white;
  border-top: 1px solid #f0f0f0;
}

.article-content figure {
  margin: var(--space-xl) 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: white;
}

.article-content figure img {
  width: 100%;
  height: auto;
  display: block;
}

.article-content figcaption {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.85rem;
  color: #666;
  text-align: center;
  background: #f8f9fa;
  border-top: 1px solid #eee;
}

@media (max-width: 768px) {
  .article-hero-image {
    margin: -15px auto var(--space-lg);
    padding: 0 var(--space-sm);
  }

  .article-hero-image figure {
    border-radius: 12px;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all var(--duration-slow) var(--ease-out);
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
  .hero-container {
    padding: var(--space-xl) var(--space-md);
  }
  
  .section-container {
    padding: var(--space-xl) var(--space-md);
  }
  
  .hero-trust-badges {
    flex-direction: column;
    align-items: center;
  }
  
  .testimonials-stats {
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  .cta-highlight {
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  .trust-bar-container {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .process-step {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .site-header,
  .site-footer,
  .cookie-consent,
  .back-to-top {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Focus styles */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--o2-cyan);
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--o2-blue);
  color: white;
  padding: 8px;
  z-index: 10000;
}

.skip-link:focus {
  top: 0;
}

/* ============================================
   HERO GRADIENT MESH BACKGROUND
   ============================================ */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(0, 191, 255, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(123, 45, 142, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(0, 212, 170, 0.15) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(0, 191, 255, 0.1);
  top: 10%;
  right: 5%;
  filter: blur(80px);
  animation: floatBlob 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* ============================================
   GLASS-MORPHISM CARD ENHANCEMENTS
   ============================================ */
.service-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
}

.testimonial-card {
  border: 1px solid transparent;
  background-image: linear-gradient(var(--bg-card), var(--bg-card)), var(--gradient-primary);
  background-origin: padding-box, border-box;
  background-clip: padding-box, border-box;
}

.pain-point-card {
  border-left: none;
  border-top: 4px solid var(--o2-cyan);
  background: var(--bg-card-alt);
}

/* ============================================
   ENHANCED BUTTON EFFECTS
   ============================================ */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255,255,255,0.3) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--duration-fast);
}

.btn-primary:hover::after {
  opacity: 1;
}

/* Input focus glow */
input:focus,
textarea:focus,
select:focus {
  box-shadow: 0 0 0 4px rgba(0, 25, 165, 0.1);
}

/* ============================================
   BREADCRUMB NAVIGATION
   ============================================ */
.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-sm) var(--space-lg);
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0;
  flex-wrap: wrap;
  font-size: 0.875rem;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  color: var(--text-muted);
}

.breadcrumb li + li::before {
  content: '/';
  margin: 0 0.5rem;
  color: var(--text-faint);
}

.breadcrumb a {
  color: var(--o2-blue);
}

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

.breadcrumb [aria-current="page"] {
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================
   RELATED POSTS SECTION
   ============================================ */
.related-posts {
  max-width: 800px;
  margin: var(--space-2xl) auto 0;
  padding: 0 var(--space-lg);
}

.related-posts h2 {
  color: var(--o2-blue);
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
  text-align: center;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
}

.related-post-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal);
  border: 1px solid var(--border-light);
  text-decoration: none;
  display: block;
}

.related-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.related-post-card h3 {
  color: var(--o2-blue);
  font-size: 0.95rem;
  margin-bottom: var(--space-xs);
  line-height: 1.4;
}

.related-post-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ============================================
   READING PROGRESS BAR
   ============================================ */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-primary);
  z-index: 10001;
  transition: width 0.1s;
  width: 0;
}

/* ============================================
   TABLE OF CONTENTS
   ============================================ */
.toc {
  background: var(--bg-card-alt);
  border-radius: 12px;
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-xl);
  border: 1px solid var(--border-light);
}

.toc h3 {
  font-size: 1rem;
  color: var(--o2-blue);
  margin-bottom: var(--space-sm);
}

.toc ol {
  list-style: decimal;
  padding-left: 1.5rem;
}

.toc li {
  margin-bottom: var(--space-xs);
}

.toc a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color var(--duration-fast);
}

.toc a:hover {
  color: var(--o2-blue);
}

/* ============================================
   STICKY MOBILE CTA BAR
   ============================================ */
.sticky-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--gradient-primary);
  padding: 12px 16px;
  text-align: center;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.sticky-cta-bar a {
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
}

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

/* ============================================
   EXIT INTENT POPUP
   ============================================ */
.exit-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal);
}

.exit-popup.active {
  opacity: 1;
  visibility: visible;
}

.exit-popup-content {
  background: var(--bg-card);
  border-radius: 20px;
  padding: var(--space-xl);
  max-width: 440px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.9);
  transition: transform var(--duration-normal);
}

.exit-popup.active .exit-popup-content {
  transform: scale(1);
}

.exit-popup-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--duration-fast);
}

.exit-popup-close:hover {
  background: var(--bg-card-alt);
}

.exit-popup-content h3 {
  color: var(--o2-blue);
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.exit-popup-content p {
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

/* ============================================
   AD CONTAINER (AdSense Prep)
   ============================================ */
.ad-container {
  margin: var(--space-lg) 0;
  min-height: 90px;
  text-align: center;
}

/* ============================================
   DARK MODE TOGGLE BUTTON
   ============================================ */
.dark-mode-toggle {
  background: none;
  border: 2px solid var(--border-color);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast);
}

.dark-mode-toggle:hover {
  background: var(--bg-card-alt);
  border-color: var(--o2-cyan);
}

/* ============================================
   ENHANCED ARTICLE TYPOGRAPHY
   ============================================ */
.article-content p {
  font-size: 1.125rem;
  line-height: 1.8;
}

/* ============================================
   FOOTER REDESIGN
   ============================================ */
.site-footer {
  background: linear-gradient(135deg, #0a0a2e 0%, #0019A5 100%);
}

/* ============================================
   DARK MODE
   ============================================ */
html.dark-mode {
  --bg-primary: #0a0a1a;
  --bg-secondary: #111128;
  --bg-card: #1a1a3e;
  --bg-card-alt: #111128;
  --text-primary: #e8e8f0;
  --text-secondary: #c0c0d0;
  --text-muted: #a0a0c0;
  --text-faint: #707090;
  --border-color: rgba(255, 255, 255, 0.1);
  --border-light: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(26, 26, 62, 0.8);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
}

html.dark-mode body {
  background: var(--bg-primary);
  color: var(--text-primary);
}

html.dark-mode .site-header {
  background: rgba(10, 10, 26, 0.95);
  border-bottom-color: var(--border-color);
}

html.dark-mode .main-nav {
  background: var(--bg-secondary);
}

html.dark-mode .nav-link {
  color: var(--text-secondary);
}

html.dark-mode .nav-link:hover {
  color: var(--o2-cyan);
}

html.dark-mode .logo {
  color: var(--o2-cyan);
}

html.dark-mode .phone-link {
  color: var(--o2-cyan);
}

html.dark-mode .pain-points-section,
html.dark-mode .why-choose-section,
html.dark-mode .common-issues-section,
html.dark-mode .trust-signals-section {
  background: var(--bg-secondary);
}

html.dark-mode .services-section,
html.dark-mode .how-it-works-section,
html.dark-mode .testimonials-section,
html.dark-mode .faq-section {
  background: var(--bg-primary);
}

html.dark-mode .service-card {
  background: var(--glass-bg);
  border-color: var(--glass-border);
}

html.dark-mode .pain-point-card {
  background: var(--bg-card);
}

html.dark-mode .testimonial-card {
  background-image: linear-gradient(var(--bg-card), var(--bg-card)), var(--gradient-primary);
}

html.dark-mode .faq-item {
  background: var(--bg-card);
}

html.dark-mode .faq-question {
  background: var(--bg-card);
  color: var(--o2-cyan);
}

html.dark-mode .faq-question:hover {
  background: var(--bg-card-alt);
}

html.dark-mode .faq-answer-content {
  color: var(--text-secondary);
}

html.dark-mode .pain-description,
html.dark-mode .service-description,
html.dark-mode .service-features li,
html.dark-mode .step-content p,
html.dark-mode .issue-example p,
html.dark-mode .issue-solution li,
html.dark-mode .trust-item p {
  color: var(--text-secondary);
}

html.dark-mode .content-wrapper p,
html.dark-mode .article-content p {
  color: var(--text-secondary);
}

html.dark-mode .section-intro {
  color: var(--text-muted);
}

html.dark-mode .comparison-table tr:nth-child(even) {
  background: var(--bg-card-alt);
}

html.dark-mode .comparison-table td {
  border-bottom-color: var(--border-color);
  color: var(--text-secondary);
}

html.dark-mode .content-table tr:nth-child(even) {
  background: var(--bg-card-alt);
}

html.dark-mode .content-table td {
  border-bottom-color: var(--border-color);
  color: var(--text-secondary);
}

html.dark-mode .highlight-box {
  background: linear-gradient(135deg, rgba(0, 25, 165, 0.2) 0%, rgba(0, 80, 255, 0.1) 100%);
  border-left-color: var(--o2-cyan);
}

html.dark-mode .info-box {
  background: rgba(0, 80, 255, 0.1);
}

html.dark-mode .tip-box {
  background: rgba(0, 212, 170, 0.1);
}

html.dark-mode .warning-box {
  background: rgba(255, 107, 53, 0.1);
}

html.dark-mode .usp-feature {
  background: var(--bg-card);
}

html.dark-mode .trust-item {
  background: var(--bg-card);
}

html.dark-mode .issue-card {
  background: var(--bg-card);
}

html.dark-mode .issue-example {
  background: rgba(0, 191, 255, 0.05);
  border-bottom-color: var(--border-color);
}

html.dark-mode .step-tip,
html.dark-mode .step-highlight {
  background: rgba(0, 191, 255, 0.1);
}

html.dark-mode .cookie-consent {
  background: var(--bg-card);
}

html.dark-mode .cookie-text {
  color: var(--text-secondary);
}

html.dark-mode .cta-box {
  background: linear-gradient(135deg, rgba(0, 25, 165, 0.15) 0%, rgba(0, 80, 255, 0.1) 100%);
  border-color: var(--o2-cyan);
}

html.dark-mode .blog-card {
  background: var(--bg-card);
}

html.dark-mode .author-bio {
  background: var(--bg-card);
}

html.dark-mode .toc {
  background: var(--bg-card);
  border-color: var(--border-color);
}

html.dark-mode .related-post-card {
  background: var(--bg-card);
  border-color: var(--border-color);
}

html.dark-mode .exit-popup-content {
  background: var(--bg-card);
}

html.dark-mode .dark-mode-toggle {
  border-color: var(--border-color);
}

html.dark-mode .dark-mode-toggle:hover {
  background: var(--bg-card);
  border-color: var(--o2-cyan);
}

html.dark-mode .page-header {
  background: linear-gradient(135deg, #0a0a2e 0%, #0019A5 100%);
}

html.dark-mode .mobile-menu-toggle span {
  background: var(--o2-cyan);
}

html.dark-mode .content-section.alt-bg {
  background: var(--bg-secondary);
}

html.dark-mode .guarantee-box {
  background: linear-gradient(135deg, rgba(0, 25, 165, 0.4) 0%, rgba(0, 80, 255, 0.3) 100%);
}

html.dark-mode .footer-disclaimer {
  background: rgba(255, 255, 255, 0.03);
}

/* System preference dark mode (when no manual toggle has been set) */
@media (prefers-color-scheme: dark) {
  html:not(.light-mode) {
    --bg-primary: #0a0a1a;
    --bg-secondary: #111128;
    --bg-card: #1a1a3e;
    --bg-card-alt: #111128;
    --text-primary: #e8e8f0;
    --text-secondary: #c0c0d0;
    --text-muted: #a0a0c0;
    --text-faint: #707090;
    --border-color: rgba(255, 255, 255, 0.1);
    --border-light: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(26, 26, 62, 0.8);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  }
}
