/* Quantum Field Manifestation Theme - Matching React App */
:root {
    /* Primary purple gradient from app */
    --primary-gradient-start: #667eea;
    --primary-gradient-end: #764ba2;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    
    /* Dark theme colors from app */
    --bg-dark: #1a1b3a;
    --bg-darker: #0f0f23;
    --bg-card: rgba(30, 30, 60, 0.8);
    --bg-card-hover: rgba(102, 126, 234, 0.1);
    
    /* Text colors */
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --text-muted: #718096;
    
    /* Accent colors */
    --accent-gold: #fbbf24;
    --accent-purple: #a78bfa;
    --accent-pink: #ec4899;
    --accent-teal: #14b8a6;
    
    /* Borders and effects */
    --border-color: rgba(255, 255, 255, 0.1);
    --glow-purple: 0 0 20px rgba(102, 126, 234, 0.5);
    --glow-gold: 0 0 20px rgba(251, 191, 36, 0.5);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --backdrop-blur: blur(10px);
}

/* Override base styles with dark theme */
body {
    background: var(--bg-darker);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Navbar with glassmorphism */
.navbar {
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: none;
}

.nav-brand a {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    font-size: 1.75rem;
}

.nav-link {
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

.nav-link.cta-button {
    background: var(--primary-gradient);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.nav-link.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

/* Hero section with cosmic background */
.hero {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.25rem;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Buttons with gradient effects */
.btn {
    border-radius: 50px;
    font-weight: 600;
    padding: 0.8rem 2rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(102, 126, 234, 0.5);
    backdrop-filter: var(--backdrop-blur);
}

.btn-secondary:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.8);
    box-shadow: var(--glow-purple);
}

/* Feature cards with glassmorphism */
.features {
    background: var(--bg-dark);
    padding: 5rem 0;
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.5));
}

.feature-card h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Stats section with gradient numbers */
.social-proof {
    background: var(--bg-darker);
    padding: 4rem 0;
}

.stat h3 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* CTA section with cosmic effect */
.cta-section {
    background: var(--primary-gradient);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><circle cx="100" cy="100" r="2" fill="white" opacity="0.3"/><circle cx="300" cy="200" r="1" fill="white" opacity="0.5"/><circle cx="500" cy="150" r="1.5" fill="white" opacity="0.4"/><circle cx="700" cy="300" r="1" fill="white" opacity="0.6"/><circle cx="900" cy="250" r="2" fill="white" opacity="0.3"/><circle cx="1100" cy="400" r="1.5" fill="white" opacity="0.5"/></svg>');
    opacity: 0.3;
}

.cta-section h2,
.cta-section p {
    position: relative;
    z-index: 1;
}

/* Footer with dark theme */
.footer {
    background: var(--bg-darker);
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

.footer-column h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.footer-column a {
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

/* Animations */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
}