/* Variables matching FACEIT/BENZA design - Exact frontend match */
:root {
    --faceit-orange: #ff5500;
    --faceit-orange-light: #ff7733;
    --faceit-orange-hover: #e64a00;
    --faceit-orange-dark: #cc4400;
    
    --dark-bg: #0e1011;
    --dark-bg-alt: #181a1c;
    --dark-bg-highlight: #212529;
    --dark-border: #343a40;
    
    --faceit-dark: #1a1a1a;
    --faceit-darker: #141414;
    --faceit-gray: #2d2d2d;
    --faceit-light-gray: #3d3d3d;
    --faceit-border: #404040;
    
    --text-primary: #fafafa;
    --text-secondary: #eeeeee;
    --text-muted: #adb5bd;
    
    --success: #28a745;
    --error: #dc3545;
    --warning: #ffc107;
}

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

body {
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    background: #0a0a0a;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    letter-spacing: 0.2px;
    position: relative;
}

/* Background Pattern Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("assets/images/BENZA PATTERN1.svg");
    background-repeat: repeat;
    background-size: 1400px 700px;
    background-position: center;
    opacity: 0.05;
    z-index: -2;
    pointer-events: none;
}

/* Three.js Canvas Background */
canvas#goo-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    mix-blend-mode: screen;
    opacity: 0.9;
    pointer-events: none;
}

/* Content Overlay */
.content-overlay {
    position: relative;
    z-index: 10;
    min-height: 100vh;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 20px;
    background: transparent;
}

.logo-container {
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
}

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

.main-logo {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(255, 85, 0, 0.4));
    transition: filter 0.3s ease;
}

.main-logo:hover {
    filter: drop-shadow(0 0 50px rgba(255, 85, 0, 0.7));
}

.brand-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary, white);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 20px;
    font-weight: 600;
}

.tagline {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 30px 0 20px 0;
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px auto;
    line-height: 1.8;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 18px 45px;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--faceit-orange) 0%, #ff8833 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(255, 85, 0, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--faceit-orange-hover) 0%, #ff9944 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 85, 0, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--faceit-orange);
    color: var(--faceit-orange);
    transform: translateY(-3px);
}

/* Sections */
section {
    padding: 120px 20px;
    position: relative;
}

.section-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 70px;
    color: var(--text-primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    text-shadow: 0 0 20px rgba(255, 85, 0, 0.3);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--faceit-orange);
    margin: 25px auto 0;
    box-shadow: 0 0 20px rgba(255, 85, 0, 0.6);
}

/* Features Section */
.features-section {
    background: transparent;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.7) 0%, rgba(10, 10, 10, 0.4) 100%);
    padding: 45px 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 85, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    backdrop-filter: blur(20px);
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--faceit-orange) 0%, transparent 100%);
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover::before {
    height: 100%;
}

.feature-card:hover {
    transform: translateX(8px);
    border-color: rgba(255, 85, 0, 0.3);
    box-shadow: -5px 10px 50px rgba(255, 85, 0, 0.15);
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.8) 0%, rgba(15, 15, 15, 0.5) 100%);
}

.feature-icon {
    margin-bottom: 20px;
    display: inline-flex;
    padding: 15px;
    background: rgba(255, 85, 0, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 85, 0, 0.1);
}

.feature-icon img {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 0 10px rgba(255, 85, 0, 0.5));
}

.feature-icon svg {
    width: 48px;
    height: 48px;
    fill: var(--faceit-orange);
    filter: drop-shadow(0 0 8px rgba(255, 85, 0, 0.4));
}

.feature-card h3 {
    font-size: 1.75rem;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
    opacity: 0.9;
}

/* How It Works */
.how-it-works {
    background: transparent;
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.step {
    background: rgba(10, 10, 10, 0.5);
    padding: 50px 35px;
    border-radius: 16px;
    border: 1px solid rgba(255, 85, 0, 0.15);
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 320px;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.step:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 85, 0, 0.5);
    box-shadow: 0 15px 50px rgba(255, 85, 0, 0.2);
    background: rgba(15, 15, 15, 0.7);
}

.step-number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--faceit-orange) 0%, #ff8833 100%);
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    box-shadow: 0 8px 20px rgba(255, 85, 0, 0.4);
}

.step h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 700;
}

.step p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.step-arrow {
    font-size: 3rem;
    color: var(--faceit-orange);
    font-weight: bold;
}

/* Download Section */
.download-section {
    background: transparent;
    text-align: center;
}

.download-description {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

.download-options {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto 50px auto;
}

.download-card {
    background: rgba(10, 10, 10, 0.5);
    padding: 60px 45px;
    border-radius: 16px;
    border: 1px solid rgba(255, 85, 0, 0.15);
    max-width: 450px;
    width: 100%;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.download-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 85, 0, 0.5);
    box-shadow: 0 20px 60px rgba(255, 85, 0, 0.3);
    background: rgba(15, 15, 15, 0.7);
}

.download-icon {
    margin-bottom: 30px;
}

.download-icon svg {
    filter: drop-shadow(0 5px 15px rgba(255, 85, 0, 0.4));
}

.download-card h3 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 700;
}

.version {
    color: var(--faceit-orange);
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.file-size {
    color: var(--text-muted);
    margin-bottom: 35px;
    font-size: 1.05rem;
}

.btn-download,
.btn-download-alt {
    width: 100%;
    margin-bottom: 15px;
    justify-content: center;
}

.btn-download-alt {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-download-alt:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--faceit-orange);
    color: var(--faceit-orange);
}

.system-requirements {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 40px;
}

/* Stats Section */
.stats-section {
    display: flex;
    justify-content: center;
    gap: 100px;
    flex-wrap: wrap;
    background: transparent;
    padding: 100px 20px !important;
}

.stat {
    text-align: center;
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: scale(1.1);
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--faceit-orange) 0%, #ffaa00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    text-shadow: 0 0 30px rgba(255, 85, 0, 0.5);
}

.stat-label {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Footer */
.footer {
    background: transparent;
    padding: 80px 20px 40px 20px;
    border-top: 1px solid rgba(255, 85, 0, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto 50px auto;
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 25px;
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-section a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.footer-section a:hover {
    color: var(--faceit-orange);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 85, 0, 0.2);
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-logo {
        max-width: 300px;
    }
    
    .tagline {
        font-size: 1.8rem;
    }
    
    .description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card:hover {
        transform: translateY(-8px);
    }
    
    .step-arrow {
        display: none;
    }
    
    .steps-container {
        flex-direction: column;
    }
    
    .stats-section {
        gap: 50px;
    }
    
    .stat-number {
        font-size: 3rem;
    }
}

/* Hide dat.GUI on landing page */
.dg.ac {
    display: none !important;
}

/* Custom Scrollbar - Matching frontend */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg-alt);
}

::-webkit-scrollbar-thumb {
    background: var(--dark-border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Glassmorphism effects */
@supports (backdrop-filter: blur(10px)) {
    .feature-card,
    .step,
    .download-card {
        backdrop-filter: blur(15px);
    }
}
