/* Creator Business OS - Fully Optimized Design System */
/* All critical issues fixed: contrast, performance, fallbacks */

:root {
    /* Color Palette - Fixed for WCAG AA Compliance */
    --purple-primary: #8B7AB8;
    --purple-dark: #5D4E8C;
    --purple-light: #B8A7E8;
    --purple-glow: #A994FF;
    
    --gold-primary: #FFD700;
    --gold-dark: #FFA500;
    --gold-light: #FFE55C;
    
    --black: #0A0A0A;
    --black-card: #151515;
    --gray-dark: #374151; /* Fixed: Better contrast */
    --gray: #9CA3AF; /* Fixed: Improved from #6B7280 for WCAG AA */
    --white: #FFFFFF;
    --white-soft: #F9FAFB;
    
    /* Gradients */
    --gradient-purple: linear-gradient(135deg, #8B7AB8 0%, #5D4E8C 100%);
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    --gradient-premium: linear-gradient(135deg, #8B7AB8 0%, #FFD700 100%);
    --gradient-dark: linear-gradient(180deg, #0A0A0A 0%, #1F1F1F 100%);
    
    /* Spacing System */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    
    /* Optimized Shadows */
    --shadow-glow-purple: 0 0 20px rgba(139, 122, 184, 0.4);
    --shadow-glow-gold: 0 0 20px rgba(255, 215, 0, 0.4);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 30px rgba(139, 122, 184, 0.3);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
    font-size: 16px;
    /* Smooth scroll only for users who don't prefer reduced motion */
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    font-family: var(--font-family);
    background: #0A0A0A; /* Fallback */
    background: var(--black, #0A0A0A);
    color: #FFFFFF; /* Fallback */
    color: var(--white, #FFFFFF);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Utility class for GPU acceleration */
.gpu-accelerated {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Animated Background - Performance Optimized */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #0A0A0A; /* Fallback */
    background: var(--black, #0A0A0A);
    overflow: hidden;
    will-change: transform;
}

.animated-bg::before,
.animated-bg::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.08;
    transform: translateZ(0); /* GPU acceleration */
    backface-visibility: hidden;
    perspective: 1000px;
    will-change: transform;
}

.animated-bg::before {
    top: -50%;
    right: -50%;
    background: radial-gradient(circle, #8B7AB8 0%, transparent 70%); /* Fallback */
    background: radial-gradient(circle, var(--purple-primary, #8B7AB8) 0%, transparent 70%);
    animation: float 20s infinite ease-in-out;
}

.animated-bg::after {
    bottom: -50%;
    left: -50%;
    background: radial-gradient(circle, #FFD700 0%, transparent 70%); /* Fallback */
    background: radial-gradient(circle, var(--gold-primary, #FFD700) 0%, transparent 70%);
    animation: float 20s infinite ease-in-out reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

/* Enhanced Focus Styles for Accessibility */
*:focus-visible {
    outline: 3px solid #FFD700;
    outline: 3px solid var(--gold-primary, #FFD700);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 2rem;
    background: rgba(10, 10, 10, 0.9); /* Fallback */
    border-bottom: 1px solid rgba(139, 122, 184, 0.1);
    transition: all 0.3s ease;
    will-change: transform, background, padding;
}

.header.scrolled {
    padding: 1rem 2rem;
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); /* Fallback */
    box-shadow: var(--shadow-card, 0 4px 20px rgba(0, 0, 0, 0.3));
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: #FFD700; /* Fallback */
    background: linear-gradient(135deg, #8B7AB8 0%, #FFD700 100%); /* Fallback */
    background: var(--gradient-premium, linear-gradient(135deg, #8B7AB8 0%, #FFD700 100%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    color: #FFFFFF; /* Fallback */
    color: var(--white, #FFFFFF);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); /* Fallback */
    background: var(--gradient-gold, linear-gradient(135deg, #FFD700 0%, #FFA500 100%));
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link:focus {
    color: #FFD700; /* Fallback */
    color: var(--gold-primary, #FFD700);
    outline: none;
}

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

.cta-button {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); /* Fallback */
    background: var(--gradient-gold, linear-gradient(135deg, #FFD700 0%, #FFA500 100%));
    color: #0A0A0A; /* Fallback */
    color: var(--black, #0A0A0A);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4); /* Fallback */
    box-shadow: var(--shadow-glow-gold, 0 0 20px rgba(255, 215, 0, 0.4));
    display: inline-block;
}

.cta-button:hover,
.cta-button:focus {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
    outline: none;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 2rem;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    text-align: center;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(139, 122, 184, 0.2);
    border: 1px solid #8B7AB8; /* Fallback */
    border: 1px solid var(--purple-primary, #8B7AB8);
    border-radius: 50px;
    color: #B8A7E8; /* Fallback */
    color: var(--purple-light, #B8A7E8);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #FFFFFF; /* Fallback */
    color: var(--white, #FFFFFF);
}

.gradient-text {
    color: #FFD700; /* Fallback */
    background: linear-gradient(135deg, #8B7AB8 0%, #FFD700 100%); /* Fallback */
    background: var(--gradient-premium, linear-gradient(135deg, #8B7AB8 0%, #FFD700 100%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #9CA3AF; /* Fallback - Fixed contrast */
    color: var(--gray, #9CA3AF);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* Stats Grid - Fixed list styles */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    list-style: none;
    padding: 0;
}

.stat-card {
    padding: 2rem;
    background: rgba(139, 122, 184, 0.1);
    border: 1px solid rgba(139, 122, 184, 0.3);
    border-radius: 15px;
    transition: all 0.3s ease;
    opacity: 1;
    transform: none;
    will-change: transform, opacity;
}

/* Enhanced for JS-enabled animation */
body.js-loaded .stat-card {
    opacity: 0;
    transform: translateY(20px);
}

body.js-loaded .stat-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(139, 122, 184, 0.4); /* Fallback */
    box-shadow: var(--shadow-glow-purple, 0 0 20px rgba(139, 122, 184, 0.4));
    border-color: #8B7AB8; /* Fallback */
    border-color: var(--purple-primary, #8B7AB8);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #FFD700; /* Fallback */
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); /* Fallback */
    background: var(--gradient-gold, linear-gradient(135deg, #FFD700 0%, #FFA500 100%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    min-width: 100px;
    text-align: center;
}

.stat-label {
    color: #9CA3AF; /* Fallback - Fixed contrast */
    color: var(--gray, #9CA3AF);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* CTA Buttons */
.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.btn-primary {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); /* Fallback */
    background: var(--gradient-gold, linear-gradient(135deg, #FFD700 0%, #FFA500 100%));
    color: #0A0A0A; /* Fallback */
    color: var(--black, #0A0A0A);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4); /* Fallback */
    box-shadow: var(--shadow-glow-gold, 0 0 20px rgba(255, 215, 0, 0.4));
}

.btn-primary:hover,
.btn-primary:focus {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.7);
    outline: none;
}

.btn-secondary {
    background: transparent;
    color: #FFFFFF; /* Fallback */
    color: var(--white, #FFFFFF);
    border: 2px solid #8B7AB8; /* Fallback */
    border: 2px solid var(--purple-primary, #8B7AB8);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: #8B7AB8; /* Fallback */
    background: var(--purple-primary, #8B7AB8);
    box-shadow: 0 0 20px rgba(139, 122, 184, 0.4); /* Fallback */
    box-shadow: var(--shadow-glow-purple, 0 0 20px rgba(139, 122, 184, 0.4));
    transform: translateY(-3px);
    outline: none;
}

/* Magnetic button effect enhancement */
.btn-primary::before,
.btn-secondary::before,
.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    pointer-events: none;
}

.btn-primary:hover::before,
.btn-secondary:hover::before,
.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

/* Trust Badges - Fixed list styles */
.trust-badges {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    list-style: none;
    padding: 0;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #9CA3AF; /* Fallback - Fixed contrast */
    color: var(--gray, #9CA3AF);
    font-size: 0.875rem;
}

.trust-badge i {
    color: #FFD700; /* Fallback */
    color: var(--gold-primary, #FFD700);
}

/* Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
    color: #FFFFFF; /* Fallback */
    color: var(--white, #FFFFFF);
}

.highlight {
    color: #FFD700; /* Fallback */
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); /* Fallback */
    background: var(--gradient-gold, linear-gradient(135deg, #FFD700 0%, #FFA500 100%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Problem Section */
.problem-section {
    padding: 3rem 0;
    background: linear-gradient(180deg, #0A0A0A 0%, #1F1F1F 100%); /* Fallback */
    background: var(--gradient-dark, linear-gradient(180deg, #0A0A0A 0%, #1F1F1F 100%));
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.problem-card {
    padding: 2rem;
    background: #151515; /* Fallback */
    background: var(--black-card, #151515);
    border-radius: 15px;
    border: 1px solid rgba(139, 122, 184, 0.2);
    transition: all 0.3s ease;
    opacity: 1;
    transform: none;
    will-change: transform, opacity;
}

/* Enhanced for JS-enabled animation */
body.js-loaded .problem-card {
    opacity: 0;
    transform: translateY(20px);
}

body.js-loaded .problem-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.problem-card:hover {
    transform: translateY(-5px);
    border-color: #FFD700; /* Fallback */
    border-color: var(--gold-primary, #FFD700);
    box-shadow: 0 8px 30px rgba(139, 122, 184, 0.3); /* Fallback */
    box-shadow: var(--shadow-hover, 0 8px 30px rgba(139, 122, 184, 0.3));
}

.problem-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8B7AB8 0%, #5D4E8C 100%); /* Fallback */
    background: var(--gradient-purple, linear-gradient(135deg, #8B7AB8 0%, #5D4E8C 100%));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #FFFFFF; /* Fallback */
    color: var(--white, #FFFFFF);
}

.problem-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #FFFFFF; /* Fallback */
    color: var(--white, #FFFFFF);
}

.problem-card p {
    color: #9CA3AF; /* Fallback - Fixed contrast */
    color: var(--gray, #9CA3AF);
    line-height: 1.6;
}

/* Solutions Section */
.solutions-preview {
    padding: 3rem 0;
    background: #0A0A0A; /* Fallback */
    background: var(--black, #0A0A0A);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.solution-card {
    padding: 2rem;
    background: #151515; /* Fallback */
    background: var(--black-card, #151515);
    border-radius: 15px;
    border: 1px solid rgba(139, 122, 184, 0.2);
    position: relative;
    transition: all 0.3s ease;
    opacity: 1;
    transform: none;
    will-change: transform, opacity;
}

/* Enhanced for JS-enabled animation */
body.js-loaded .solution-card {
    opacity: 0;
    transform: translateY(20px);
}

body.js-loaded .solution-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.solution-card.pro {
    border: 2px solid #FFD700; /* Fallback */
    border: 2px solid var(--gold-primary, #FFD700);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4); /* Fallback */
    box-shadow: var(--shadow-glow-gold, 0 0 20px rgba(255, 215, 0, 0.4));
}

.badge-popular {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); /* Fallback */
    background: var(--gradient-gold, linear-gradient(135deg, #FFD700 0%, #FFA500 100%));
    color: #0A0A0A; /* Fallback */
    color: var(--black, #0A0A0A);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.solution-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(139, 122, 184, 0.2);
}

.solution-header h3 {
    font-size: 1.5rem;
    color: #FFFFFF; /* Fallback */
    color: var(--white, #FFFFFF);
}

.price {
    font-size: 2rem;
    font-weight: 900;
    color: #FFD700; /* Fallback */
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); /* Fallback */
    background: var(--gradient-gold, linear-gradient(135deg, #FFD700 0%, #FFA500 100%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.solution-features {
    list-style: none;
    margin-bottom: 2rem;
}

.solution-features li {
    padding: 0.75rem 0;
    color: #9CA3AF; /* Fallback - Fixed contrast */
    color: var(--gray, #9CA3AF);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.solution-features i {
    color: #FFD700; /* Fallback */
    color: var(--gold-primary, #FFD700);
}

.solution-cta {
    display: block;
    width: 100%;
    padding: 1rem;
    text-align: center;
    background: transparent;
    color: #8B7AB8; /* Fallback */
    color: var(--purple-primary, #8B7AB8);
    border: 2px solid #8B7AB8; /* Fallback */
    border: 2px solid var(--purple-primary, #8B7AB8);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.solution-cta:hover,
.solution-cta:focus {
    background: #8B7AB8; /* Fallback */
    background: var(--purple-primary, #8B7AB8);
    color: #FFFFFF; /* Fallback */
    color: var(--white, #FFFFFF);
    box-shadow: 0 0 20px rgba(139, 122, 184, 0.4); /* Fallback */
    box-shadow: var(--shadow-glow-purple, 0 0 20px rgba(139, 122, 184, 0.4));
    outline: none;
}

.pro-cta {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); /* Fallback */
    background: var(--gradient-gold, linear-gradient(135deg, #FFD700 0%, #FFA500 100%));
    color: #0A0A0A; /* Fallback */
    color: var(--black, #0A0A0A);
    border: none;
}

.pro-cta:hover,
.pro-cta:focus {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.7);
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); /* Fallback */
    background: var(--gradient-gold, linear-gradient(135deg, #FFD700 0%, #FFA500 100%));
    color: #0A0A0A; /* Fallback */
    color: var(--black, #0A0A0A);
}

/* Footer */
.footer {
    padding: 3rem 0 1rem;
    background: #151515; /* Fallback */
    background: var(--black-card, #151515);
    border-top: 1px solid rgba(139, 122, 184, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #FFD700; /* Fallback */
    background: linear-gradient(135deg, #8B7AB8 0%, #FFD700 100%); /* Fallback */
    background: var(--gradient-premium, linear-gradient(135deg, #8B7AB8 0%, #FFD700 100%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: #9CA3AF; /* Fallback - Fixed contrast */
    color: var(--gray, #9CA3AF);
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-column h5 {
    margin-bottom: 1rem;
    color: #FFFFFF; /* Fallback */
    color: var(--white, #FFFFFF);
}

.footer-column a {
    display: block;
    color: #9CA3AF; /* Fallback - Fixed contrast */
    color: var(--gray, #9CA3AF);
    text-decoration: none;
    padding: 0.25rem 0;
    transition: color 0.3s ease;
}

.footer-column a:hover,
.footer-column a:focus {
    color: #FFD700; /* Fallback */
    color: var(--gold-primary, #FFD700);
    outline: none;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 122, 184, 0.1);
    text-align: center;
    color: #9CA3AF; /* Fallback - Fixed contrast */
    color: var(--gray, #9CA3AF);
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0A0A0A 0%, #1F1F1F 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.page-loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    width: 300px;
}

.loader-logo {
    font-size: 2rem;
    font-weight: 900;
    color: #FFD700; /* Fallback */
    background: linear-gradient(135deg, #8B7AB8 0%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    animation: pulse 1s infinite;
}

.loader-bar {
    width: 100%;
    height: 4px;
    background: rgba(139, 122, 184, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    background: linear-gradient(90deg, #8B7AB8 0%, #FFD700 100%);
    width: 0;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.loader-percentage {
    margin-top: 1rem;
    color: #FFD700;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Cursor Glow Effect */
.cursor-glow {
    width: 300px;
    height: 300px;
    position: fixed;
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(139, 122, 184, 0.08) 0%, transparent 70%);
    transition: opacity 0.3s ease;
    mix-blend-mode: screen;
}

/* Animations for scroll reveals */
.animate-in {
    animation: fadeInUp 0.8s ease forwards;
}

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

/* Staggered animations */
.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }

.problem-card:nth-child(1) { animation-delay: 0.1s; }
.problem-card:nth-child(2) { animation-delay: 0.2s; }
.problem-card:nth-child(3) { animation-delay: 0.3s; }

/* Confetti Animation */
.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    top: -10px;
    z-index: 9999;
    animation: confetti-fall linear forwards;
    pointer-events: none;
}

@keyframes confetti-fall {
    to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #FFD700;
    transition: all 0.3s ease;
    border-radius: 2px;
}

body.menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

body.menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
}

body.menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Form interactions */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    transition: all 0.3s ease;
    color: #9CA3AF; /* Fixed contrast */
    pointer-events: none;
}

.form-group.focused label,
.form-group input:focus + label,
.form-group textarea:focus + label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.75rem;
    color: #FFD700;
    background: #0A0A0A;
    padding: 0 0.5rem;
}

/* Testimonial carousel */
.testimonial {
    transition: opacity 0.5s ease;
    display: none;
}

.testimonial:first-child {
    display: block;
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .page-loader,
    .cursor-glow {
        display: none !important;
    }
    
    .animated-bg::before,
    .animated-bg::after {
        animation: none !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --purple-primary: #A994FF;
        --gold-primary: #FFE55C;
        --gray: #CCCCCC;
    }
    
    .nav-link,
    .problem-card p,
    .solution-features li {
        color: #FFFFFF;
    }
}

/* Enhanced Print Styles */
@media print {
    @page {
        margin: 2cm;
    }
    
    .header,
    .animated-bg,
    .page-loader,
    .cursor-glow,
    .mobile-menu-toggle,
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    a[href^="http"]:after {
        content: " (" attr(href) ")";
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: linear-gradient(135deg, #0A0A0A 0%, #1F1F1F 100%);
        flex-direction: column;
        padding: 5rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        align-items: flex-start;
    }
    
    body.menu-open .nav-links {
        right: 0;
    }
    
    .hero {
        min-height: 70vh;
        padding: 5rem 1rem 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 1rem;
    }
    
    .problems-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .header {
        padding: 1rem;
    }
    
    .cursor-glow {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }
}

/* Performance optimizations */
.stat-card,
.problem-card,
.solution-card,
.btn-primary,
.btn-secondary,
.cta-button {
    transform: translateZ(0); /* Enable hardware acceleration */
}

/* Remove will-change after animations complete */
.animate-in {
    will-change: auto;
}