/* CSS Custom Properties */
:root {
  /* Primary Dark Theme */
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-tertiary: #1a1a1a;
  --bg-glass: rgba(255, 255, 255, 0.05);

  /* Accent Colors */
  --accent-primary: #6366f1;
  --accent-secondary: #8b5cf6;
  --accent-success: #10b981;
  --accent-warning: #f59e0b;

  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #e5e7eb;
  --text-muted: #9ca3af;
  --text-accent: #6366f1;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  --gradient-border: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);

  /* Shadows */
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);
  --shadow-glow-hover: 0 0 40px rgba(99, 102, 241, 0.6);
}

/* Base Styles */
* {
  box-sizing: border-box;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Skip Link for Screen Readers */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--accent-primary);
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 9999;
  font-weight: 500;
}

.skip-link:focus {
  top: 6px;
}

/* Glass Morphism Components */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: var(--shadow-glass);
  transition: all 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Early Bird Banner - Always Visible and Sticky */
.early-bird-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.05) 100%);
  border-bottom: 2px solid rgba(245, 158, 11, 0.3);
  padding: 0.75rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1060;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  height: 60px;
  display: flex;
  align-items: center;
}

.early-bird-icon {
  width: 20px;
  height: 20px;
  color: #f59e0b;
  flex-shrink: 0;
}

.early-bird-text {
  flex: 1;
  min-width: 0;
}

.early-bird-text .early-bird-title {
  color: #f59e0b;
  font-weight: 700;
  font-size: 1rem;
}

.early-bird-text .early-bird-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}

.btn-early-bird {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.8) 0%, rgba(245, 158, 11, 1) 100%);
  border: 2px solid rgba(245, 158, 11, 0.6);
  color: #000000;
  padding: 0.5rem 1.25rem;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-early-bird:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 1) 0%, rgba(245, 158, 11, 0.9) 100%);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* Ensure navbar doesn't overlap banner */
.navbar {
  margin-top: 0;
}

.early-bird-banner + .navbar {
  position: relative;
  z-index: 1050;
}

/* Main content spacing */
main {
  padding-top: 20px;
}

.hero-section {
  padding-top: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Page content adjustment for banner + navbar */
.page-content {
  padding-top: 20px;
}

@media (max-width: 768px) {
  .early-bird-banner .d-flex {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: space-between;
    align-items: center;
  }

  .early-bird-content {
    flex: 1;
    min-width: 0;
  }

  .early-bird-actions {
    margin-left: 0;
    flex-shrink: 0;
  }

  .early-bird-banner {
    padding: 0.5rem 0;
    height: 50px;
    min-height: 50px;
  }

  .early-bird-text .early-bird-title {
    font-size: 0.9rem;
  }

  .early-bird-text .early-bird-subtitle {
    font-size: 0.8rem;
  }

  .btn-early-bird {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }

  .stylish-nav {
    top: 50px;
  }

  .stylish-toggler {
    display: flex !important;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.15) !important;
  }

  .stylish-toggler span {
    background: #ffffff !important;
    opacity: 1 !important;
  }

  main {
    padding-top: 30px;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .early-bird-banner .d-flex {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .early-bird-banner {
    height: 80px;
    min-height: 80px;
    padding: 0.75rem 0;
  }

  .early-bird-text .early-bird-title {
    font-size: 0.85rem;
  }

  .early-bird-text .early-bird-subtitle {
    font-size: 0.75rem;
  }

  .btn-early-bird {
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
  }

  .stylish-nav {
    top: 80px;
  }

  .stylish-toggler {
    display: flex !important;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.15) !important;
  }

  .stylish-toggler span {
    background: #ffffff !important;
    opacity: 1 !important;
  }

  main {
    padding-top: 40px;
  }
}

/* Stylish Navigation - Sticky with Blurred Background */
.stylish-nav {
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.15) 0%, rgba(10, 10, 10, 0.05) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 0;
  z-index: 1050;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
}

.brand-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-icon {
  width: 48px;
  height: 48px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.brand-icon:hover {
  transform: scale(1.05);
}

.navbar-brand {
  text-decoration: none;
  color: inherit;
}

.navbar-brand:hover {
  color: inherit;
  text-decoration: none;
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  margin: 0 0.25rem;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-link.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
  border-color: rgba(99, 102, 241, 0.3);
}

.nav-text {
  position: relative;
}

.btn-nav-primary {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.8) 0%, rgba(139, 92, 246, 0.8) 100%);
  border: 2px solid rgba(99, 102, 241, 0.6);
  color: #ffffff;
  padding: 0.5rem 1.25rem;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-nav-primary:hover {
  background: linear-gradient(135deg, rgba(99, 102, 241, 1) 0%, rgba(139, 92, 246, 1) 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.stylish-toggler {
  border: none;
  padding: 0.5rem;
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: transparent;
  border-radius: 4px;
}

.stylish-toggler:focus {
  box-shadow: none !important;
  outline: none !important;
  border: none !important;
}

.stylish-toggler span {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  margin: 2px 0;
  transition: all 0.3s ease;
  border-radius: 1px;
}

.stylish-toggler:hover span {
  background: var(--accent-primary);
}

.stylish-toggler span {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  margin: 2px 0;
  transition: all 0.3s ease;
  border-radius: 1px;
}

.stylish-toggler:not(.collapsed) span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.stylish-toggler:not(.collapsed) span:nth-child(2) {
  opacity: 0;
}

.stylish-toggler:not(.collapsed) span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Hamburger Icon Styling */
.stylish-toggler {
  background: transparent !important;
  border: none !important;
  outline: none !important;
}

.stylish-toggler,
.stylish-toggler:hover,
.stylish-toggler:focus,
.stylish-toggler:active,
.stylish-toggler:not(.collapsed) {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.stylish-toggler .hamburger-icon {
  color: var(--accent-primary);
  transition: all 0.3s ease;
  filter: none;
}

.stylish-toggler:hover .hamburger-icon {
  color: var(--accent-primary);
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.4));
}

.stylish-toggler:focus .hamburger-icon {
  color: var(--accent-primary);
}

.stylish-toggler:not(.collapsed) .hamburger-icon {
  color: var(--accent-primary);
  transform: rotate(180deg) scale(1.1);
  filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.8)) 
          drop-shadow(0 0 20px rgba(99, 102, 241, 0.4))
          brightness(1.3)
          saturate(1.5);
}

/* Navbar positioning adjustments */
.navbar {
  margin-top: 0;
}

.early-bird-banner + .navbar {
  position: relative;
  z-index: 1050;
}

.brand-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.brand-icon img {
  width: 100%;
  height: 100%;
  filter: invert(1) brightness(2);
}

.nav-link {
  position: relative;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500;
  margin: 0 0.25rem;
  text-decoration: none !important;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  border: 1px solid rgba(99, 102, 241, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
  text-decoration: none !important;
}

.nav-text {
  font-weight: 500;
}

.nav-actions {
  align-items: center;
}

.btn-nav-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.875rem;
}

.btn-nav-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-nav-primary {
  background: var(--gradient-primary);
  border: none;
  color: #ffffff;
  padding: 0.5rem 1.25rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.875rem;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-nav-primary:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

/* Text Gradients */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.text-purple {
  color: var(--accent-secondary);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -2;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 25% 25%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.hero-badge {
  font-size: 0.875rem;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 2rem;
}

.hero-description {
  font-size: 1.25rem;
  max-width: 600px;
}

.hero-cta {
  font-size: 1.1rem;
  padding: 1rem 2rem;
  background: var(--gradient-primary);
  border: none;
  color: #ffffff;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.hero-cta:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.hero-image-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.hero-image {
  padding: 2rem;
  border-radius: 20px;
}

.hero-image img {
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Trust Indicators */
.trust-indicators {
  margin-top: 2rem;
}

.rating-stars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Feature Cards */
.feature-card {
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* WCAG Compliant Badge Styles */
.badge-wcag-primary {
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.3);
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
}

.badge-wcag-success {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
}

.badge-wcag-info {
  background: rgba(6, 182, 212, 0.2);
  color: #67e8f9;
  border: 1px solid rgba(6, 182, 212, 0.3);
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
}

.badge-wcag-warning {
  background: rgba(245, 158, 11, 0.2);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
}

.badge-wcag-purple {
  background: rgba(139, 92, 246, 0.2);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.3);
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
}

.badge-wcag-secondary {
  background: rgba(107, 114, 128, 0.2);
  color: #d1d5db;
  border: 1px solid rgba(107, 114, 128, 0.3);
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
}

/* Framework Support */
.framework-category {
  height: 100%;
}

.framework-grid {
  display: grid;
  gap: 1rem;
}

.framework-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.framework-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.framework-name {
  font-weight: 600;
  font-size: 1rem;
}

.framework-desc {
  font-size: 0.875rem;
}

/* Steps */
.steps-container {
  position: relative;
}

.step-item {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  margin: 0 auto 1.5rem;
}

.step-icon {
  color: var(--accent-primary);
}

/* Pricing Cards */
.pricing-cards {
  display: block;
  visibility: visible;
  opacity: 1;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.pricing-card {
  position: relative;
  transition: all 0.3s ease;
  display: block;
  visibility: visible;
  margin-bottom: 2rem;
}

/* Ensure AOS works properly */
[data-aos] {
  transition-property: transform, opacity;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: none;
}

.featured-plan {
  transform: scale(1.05);
  border-color: var(--accent-primary);
  animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
  0%,
  100% {
    box-shadow: var(--shadow-glass), 0 0 20px rgba(99, 102, 241, 0.3);
  }
  50% {
    box-shadow: var(--shadow-glass), 0 0 40px rgba(99, 102, 241, 0.6);
  }
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.popular-badge .badge {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: 50px;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.currency {
  font-size: 1.5rem;
}

.amount {
  font-size: 3rem;
  font-weight: 700;
}

.period {
  font-size: 1rem;
}

.feature-list li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
}

/* Billing Toggle */
.billing-toggle {
  border-radius: 50px;
  padding: 0.15rem;
}

.billing-toggle .btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.billing-toggle .btn.active {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

/* Lifetime Deal */
.lifetime-deal {
  background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
}

.lifetime-card {
  border: 2px solid rgba(245, 158, 11, 0.3);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.lifetime-badge {
  z-index: 10;
}

.lifetime-feature {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.lifetime-feature:hover {
  background: rgba(245, 158, 11, 0.15);
  transform: translateY(-2px);
}

/* Accordion */
.glass-accordion .accordion-item {
  background: transparent;
  border: none;
  margin-bottom: 1rem;
}

.glass-accordion .accordion-button {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text-primary);
  font-weight: 500;
  padding: 1.25rem;
}

.glass-accordion .accordion-button:not(.collapsed) {
  background: var(--bg-glass);
  color: var(--text-primary);
  border-color: var(--accent-primary);
  box-shadow: none;
}

.glass-accordion .accordion-button::after {
  filter: invert(1);
}

.glass-accordion .accordion-body {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 1.25rem;
}

/* CTA Section */
.cta-card {
  max-width: 800px;
  margin: 0 auto;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  margin-top: 5rem;
}

/* Legal Notice */
.legal-notice {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Code Preview */
.code-preview {
  background: var(--bg-tertiary);
}

.code-tabs {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
}

.code-tab {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 8px 8px 0 0;
}

.code-tab.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
}

.code-block {
  background: var(--bg-primary);
  color: var(--text-secondary);
  padding: 1.5rem;
  border-radius: 8px;
  font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
  font-size: 0.875rem;
  line-height: 1.5;
  overflow-x: auto;
}

/* Demo Components */
.demo-browser {
  background: var(--bg-secondary);
  border-radius: 8px;
  overflow: hidden;
}

.browser-header {
  background: var(--bg-tertiary);
  padding: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.browser-dots {
  display: flex;
  gap: 0.5rem;
}

.browser-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.browser-content {
  padding: 1rem;
}

.demo-component-highlight {
  position: relative;
  padding: 1rem;
  border: 2px dashed var(--accent-primary);
  border-radius: 8px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.demo-card {
  background: var(--bg-glass);
  padding: 1.5rem;
  border-radius: 12px;
}

/* CSS Demo */
.css-demo {
  background: var(--bg-tertiary);
}

.source-css,
.output-css {
  background: var(--bg-primary);
  border-radius: 8px;
}

.framework-conversion {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.framework-conversion:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    padding-top: 20px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .featured-plan {
    transform: none;
    margin-top: 2rem;
  }

  .hero-image-container {
    margin-top: 3rem;
  }

  .step-item {
    margin-bottom: 2rem;
  }

  .feature-card {
    margin-bottom: 2rem;
  }

  .nav-actions {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  .btn-nav-secondary,
  .btn-nav-primary {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero-cta {
    width: 100%;
    margin-bottom: 1rem;
  }

  .billing-toggle {
    width: auto;
    margin: 0 auto;
  }

  .billing-toggle .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
}

/* Custom Bootstrap Overrides */
.btn-primary {
  background: var(--gradient-primary);
  border: none;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
  font-weight: 500;
}

.btn-primary:hover {
  background: var(--gradient-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn-outline-primary {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.btn-outline-primary:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: white;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text-secondary);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

/* Badge Styles */
.badge {
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
}

.bg-primary {
  background: var(--gradient-primary) !important;
}

.bg-success {
  background: var(--accent-success) !important;
}

.bg-warning {
  background: var(--accent-warning) !important;
}

.bg-info {
  background: #06b6d4 !important;
}

.bg-secondary {
  background: var(--bg-tertiary) !important;
}

/* Modal Styles */
.modal-content {
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* WCAG 2.2 Improvements */

/* Focus indicators */
.btn:focus,
.nav-link:focus,
a:focus,
button:focus {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.3);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .glass-card {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.8);
  }

  .text-secondary {
    color: #d1d5db !important;
  }

  .text-muted {
    color: #9ca3af !important;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-pattern {
    animation: none;
  }

  .demo-component-highlight {
    animation: none;
  }
}

/* Improved color contrast */
.text-secondary {
  color: #e5e7eb !important;
}

.text-muted {
  color: #9ca3af !important;
}

/* Better button states */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

/* Improved form accessibility */
.form-control:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

/* Better link styling */
a:not(.btn) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:not(.btn):hover {
  text-decoration-thickness: 2px;
}

/* Improved heading hierarchy */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  margin-bottom: 0.5em;
}

/* Better spacing for readability */
p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Improved list styling */
ul,
ol {
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.25rem;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-secondary);
}

/* Selection Styling */
::selection {
  background: var(--accent-primary);
  color: white;
}

::-moz-selection {
  background: var(--accent-primary);
  color: white;
}

/* Cookie Consent Styles */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.98) 0%, rgba(26, 26, 26, 0.98) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-consent-banner.show {
  transform: translateY(0);
}

.cookie-consent-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  gap: 2rem;
}

.cookie-consent-text {
  flex: 1;
}

.cookie-consent-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-consent-title svg {
  color: var(--accent-primary);
}

.cookie-consent-description {
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.5;
}

.cookie-consent-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-consent-actions .btn {
  white-space: nowrap;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}

/* Cookie Modal Styles */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cookie-modal.show {
  opacity: 1;
  visibility: visible;
}

.cookie-modal-content {
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.cookie-modal.show .cookie-modal-content {
  transform: scale(1);
}

.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-modal-title {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.cookie-modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.cookie-modal-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.cookie-modal-body {
  padding: 1.5rem;
  max-height: 50vh;
  overflow-y: auto;
}

.cookie-modal-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.cookie-category-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.cookie-category-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.cookie-category-toggle {
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.cookie-toggle-label {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
  cursor: pointer;
}

.cookie-toggle-label input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  transition: all 0.3s ease;
}

.cookie-toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #ffffff;
  border-radius: 50%;
  transition: all 0.3s ease;
}

input:checked + .cookie-toggle-slider {
  background: var(--accent-primary);
}

input:checked + .cookie-toggle-slider:before {
  transform: translateX(24px);
}

input:disabled + .cookie-toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-category-info {
  flex: 1;
}

.cookie-category-name {
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cookie-category-description {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.cookie-required-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cookie-list {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-modal-footer {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Table Styles for Cookie Policy */
.table-dark {
  --bs-table-bg: rgba(255, 255, 255, 0.05);
  --bs-table-striped-bg: rgba(255, 255, 255, 0.02);
  --bs-table-border-color: rgba(255, 255, 255, 0.1);
}

.table-dark th,
.table-dark td {
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

.table-dark th {
  color: #ffffff;
  font-weight: 600;
}

.table-dark code {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-primary);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cookie-consent-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .cookie-consent-actions {
    flex-direction: column;
    width: 100%;
  }

  .cookie-consent-actions .btn {
    width: 100%;
  }

  .cookie-modal-content {
    margin: 0.5rem;
    max-height: 90vh;
  }

  .cookie-modal-header {
    padding: 1rem;
  }

  .cookie-modal-body {
    padding: 1rem;
  }

  .cookie-modal-footer {
    padding: 1rem;
    flex-direction: column;
  }

  .cookie-modal-footer .btn {
    width: 100%;
  }

  .cookie-category-header {
    flex-direction: column;
    gap: 0.75rem;
  }

  .cookie-category-toggle {
    align-self: flex-start;
  }
}

@media (max-width: 480px) {
  .cookie-consent-banner {
    padding: 1rem 0;
  }

  .cookie-consent-title {
    font-size: 1.125rem;
  }

  .cookie-consent-description {
    font-size: 0.875rem;
  }
}

/* Focus States for Accessibility */
.cookie-consent-actions .btn:focus,
.cookie-modal-close:focus,
.cookie-toggle-label:focus-within {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .cookie-consent-banner {
    background: rgba(0, 0, 0, 0.95);
    border-top: 2px solid #ffffff;
  }

  .cookie-modal {
    background: rgba(0, 0, 0, 0.9);
  }

  .cookie-modal-content {
    border: 2px solid #ffffff;
  }

  .cookie-category-item {
    border: 2px solid rgba(255, 255, 255, 0.3);
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .cookie-consent-banner,
  .cookie-modal,
  .cookie-modal-content,
  .cookie-toggle-slider,
  .cookie-toggle-slider:before {
    transition: none;
  }
}
