@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Modern Palette - Deep Space & Neon */
    --primary: 28 90% 55%; /* Orange */
    --primary-glow: 28 95% 65%;
    --secondary: 210 100% 56%; /* Brighter Blue */
    --secondary-glow: 210 100% 70%;
    
    /* Backgrounds */
    --background: 222 47% 8%; /* Darker, deeper blue */
    --surface: 222 47% 12%; /* Slightly lighter for cards */
    --surface-glass: hsla(222, 47%, 12%, 0.6);
    
    --foreground: 210 40% 98%;
    --foreground-muted: 215 20% 65%;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(28 90% 55%), hsl(40 95% 60%));
    --gradient-secondary: linear-gradient(135deg, hsl(210 100% 56%), hsl(190 100% 50%));
    --gradient-hero: radial-gradient(circle at top right, hsl(220 30% 20%), hsl(222 47% 8%));
    --gradient-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    
    /* Shadows */
    --shadow-glow-orange: 0 0 50px hsl(28 95% 65% / 0.25);
    --shadow-glow-blue: 0 0 50px hsl(210 100% 70% / 0.25);
    --shadow-elegant: 0 20px 40px -10px rgba(0,0,0,0.5);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    /* Borders */
    --border-glass: 1px solid rgba(255, 255, 255, 0.08);
    
    --custom_color: rgba(6, 22, 65, 0.4); /* Custom Purple Accent */

    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Light Mode (Eye burner) */
[data-theme="light"] {
    --primary: 28 90% 45%; /* Darker Orange for contrast */
    --primary-glow: 28 90% 60%;
    --secondary: 210 100% 45%; /* Darker Blue */
    --secondary-glow: 210 100% 60%;
    
    --background: 0 0% 96%; /* Very light gray */
    --surface: 0 0% 100%; /* Pure white */
    --surface-glass: hsla(0, 0%, 100%, 0.9);
    
    --foreground: 222 47% 10%; /* Dark text */
    --foreground-muted: 222 20% 40%;
    
    /* Gradients - Lighter versions */
    --gradient-primary: linear-gradient(135deg, hsl(28 90% 50%), hsl(40 95% 55%));
    --gradient-secondary: linear-gradient(135deg, hsl(210 100% 50%), hsl(190 100% 45%));
    --gradient-hero: radial-gradient(circle at top right, hsl(220 20% 90%), hsl(0 0% 96%));
    --gradient-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 100%);
    
    /* Shadows - More subtle for light mode */
    --shadow-glow-orange: 0 0 30px hsl(28 90% 50% / 0.2);
    --shadow-glow-blue: 0 0 30px hsl(210 100% 50% / 0.2);
    --shadow-elegant: 0 20px 40px -10px rgba(0,0,0,0.1);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
    
    --border-glass: 1px solid rgba(0, 0, 0, 0.1);
    
    --custom_color: rgba(200, 200, 255, 0.5);
}

/* High Contrast */
[data-theme="high_contrast"] {
    --primary: 60 100% 50%; /* Yellow */
    --primary-glow: 60 100% 50%;
    --secondary: 180 100% 50%; /* Cyan */
    --secondary-glow: 180 100% 50%;
    
    --background: 0 0% 0%; /* Pure Black */
    --surface: 0 0% 0%; /* Pure Black */
    --surface-glass: rgba(0, 0, 0, 1);
    
    --foreground: 0 0% 100%; /* Pure White */
    --foreground-muted: 0 0% 90%;
    
    /* No Gradients for better readability */
    --gradient-primary: none;
    --gradient-secondary: none;
    --gradient-hero: none;
    --gradient-glass: none;
    
    /* No Glows/Shadows */
    --shadow-glow-orange: none;
    --shadow-glow-blue: none;
    --shadow-elegant: none;
    --shadow-glass: none;
    
    /* Strong Borders */
    --border-glass: 2px solid #ffffff;
    
    --custom_color: transparent;
}

/* Dark (Default) */
[data-theme="deep_space"] {
    --primary: 28 90% 55%;
    --background: 222 47% 8%;
    --foreground: 210 40% 98%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
    min-height: 100vh;
    background-image: 
        radial-gradient(circle at 15% 50%, hsl(var(--primary) / 0.05), transparent 40%),
        radial-gradient(circle at 85% 30%, hsl(var(--secondary) / 0.05), transparent 40%);
    background-attachment: fixed;
}

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

.hero-section {
    position: relative;
    width: 100%;
    height: 650px;
    padding: 8rem 250px 6rem;
    overflow: hidden;
    background: transparent;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        hsl(var(--background) / 0.95) 0%,
        hsl(var(--background) / 0.8) 25%,
        hsl(var(--background) / 0.6) 45%,
        var(--custom_color) 50%,
        hsl(var(--primary) / 0.15) 75%,
        transparent 100%
    );
    z-index: 0;
    pointer-events: none;
}

.hero-section > * {
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    filter: drop-shadow(0 0 20px hsl(var(--primary) / 0.3));
}

.hero-description {
    font-size: 1.25rem;
    color: var(--foreground-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-weight: 400;
}

.button-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-elegant);
    border: var(--border-glass);
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, hsl(28 90% 55% / 0.1), hsl(220 90% 56% / 0.1));
    z-index: 1;
    mix-blend-mode: overlay;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.02);
    transition: var(--transition-smooth);
}

.hero-image:hover img {
    transform: scale(1.08);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}

.btn-discord {
    background: #5865F2; /* Official Discord Color */
    color: white;
    box-shadow: 0 4px 15px hsl(235 86% 65% / 0.4);
}

.btn-discord:hover {
    background: #4752C4;
    box-shadow: 0 6px 20px hsl(235 86% 65% / 0.6);
    transform: translateY(-2px);
}

.btn-hero {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: var(--border-glass);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-hero:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-glow-blue);
    transform: translateY(-2px);
}

.btn-large {
    font-size: 1.1rem;
    padding: 1.1rem 2.5rem;
}

.icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Features Section */
.features-section {
    padding: 8rem 0;
    background: transparent;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

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

.feature-card {
    background: var(--surface-glass);
    border: var(--border-glass);
    border-radius: 1.5rem;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-glass);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-glass);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-card:hover {
    border-color: hsl(var(--primary) / 0.5);
    box-shadow: var(--shadow-glow-orange);
    transform: translateY(-8px);
}

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

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1.5rem;
    color: hsl(var(--primary));
    filter: drop-shadow(0 0 10px hsl(var(--primary) / 0.4));
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
}

.feature-description {
    font-size: 1rem;
    color: var(--foreground-muted);
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    background: linear-gradient(to bottom, transparent, hsl(var(--background)));
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, hsl(28 90% 55% / 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    background: var(--surface-glass);
    padding: 4rem;
    border-radius: 2rem;
    border: var(--border-glass);
    backdrop-filter: blur(10px);
    max-width: 900px;
    margin: 0 auto;
}

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

.cta-description {
    font-size: 1.25rem;
    color: var(--foreground-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    padding: 3rem 0;
    background: hsl(var(--background));
    border-top: var(--border-glass);
}

.footer-text {
    text-align: center;
    color: var(--foreground-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-section {
        padding: 6rem 2rem;
        height: auto;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .button-group {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-content {
        padding: 2rem;
    }
}
