/* Color Variables - Modern Dark Tech Theme */
:root {
    /* Primary Dark Theme Colors */
    --primary-dark: #0a0a0a;
    --primary-darker: #000000;
    --secondary-dark: #1a1a1a;
    --tertiary-dark: #2a2a2a;
    
    /* Techy Accent Colors */
    --accent-cyan: #00d4ff;
    --accent-cyan-dark: #0099cc;
    --accent-electric: #00ffff;
    --accent-purple: #8b5cf6;
    --accent-green: #00ff88;
    --accent-pink: #ff0080;
    
    /* Action Colors - Techy Variants */
    --action-primary: #00d4ff;
    --action-secondary: #8b5cf6;
    --action-success: #00ff88;
    --action-warning: #ffaa00;
    --action-danger: #ff4444;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;
    --text-dark: #2a2a2a;
    
    /* Background Colors */
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
    --bg-card: #1e1e1e;
    --bg-modal: rgba(10, 10, 10, 0.95);
    
    /* Interactive Colors */
    --interactive-hover: #333333;
    --interactive-active: #404040;
    --border-primary: #333333;
    --border-accent: #00d4ff;
    
    /* Gradient Combinations - Dark Tech Theme */
    --gradient-primary: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a2a2a 100%);
    --gradient-hero: linear-gradient(135deg, #000000 0%, #1a1a1a 25%, #0a0a0a 50%, #2a2a2a 75%, #1a1a1a 100%);
    --gradient-action: linear-gradient(45deg, var(--accent-cyan), var(--accent-purple));
    --gradient-accent: linear-gradient(45deg, var(--accent-electric), var(--accent-cyan-dark));
    --gradient-button: linear-gradient(45deg, var(--accent-cyan), var(--accent-purple));
    --gradient-card: linear-gradient(145deg, #1e1e1e 0%, #2a2a2a 100%);
    --gradient-featured: linear-gradient(145deg, #1e1e1e 0%, #2a2a2a 50%, #1e1e1e 100%);
    
    /* Glows and Effects */
    --glow-cyan: 0 0 20px rgba(0, 212, 255, 0.3);
    --glow-purple: 0 0 20px rgba(139, 92, 246, 0.3);
    --glow-green: 0 0 20px rgba(0, 255, 136, 0.3);
    
    /* Semi-transparent Overlays */
    --overlay-light: rgba(0, 212, 255, 0.1);
    --overlay-medium: rgba(30, 30, 30, 0.95);
    --overlay-modal: rgba(0, 0, 0, 0.8);
    --overlay-border: rgba(0, 212, 255, 0.2);
    --overlay-warning: rgba(255, 170, 0, 0.2);
    --overlay-glass: rgba(255, 255, 255, 0.05);
}

/* 
EASY THEMING EXAMPLE:
To create a dark theme, simply override these variables:

:root {
    --primary-blue: #1a1a2e;
    --primary-purple: #16213e;
    --accent-teal: #0f3460;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --bg-white: #2a2a2a;
    --overlay-medium: rgba(42, 42, 42, 0.95);
    --gradient-primary: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

Or for a warm theme:
:root {
    --primary-blue: #ff6b6b;
    --primary-purple: #feca57;
    --accent-teal: #48cae4;
    --gradient-primary: linear-gradient(135deg, #ff9a56 0%, #ffd23f 100%);
}
*/

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overscroll-behavior: none; /* Prevent elastic scrolling */
    height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--gradient-hero);
    min-height: 100vh;
    overscroll-behavior: none; /* Prevent elastic scrolling */
    position: relative;
    background-attachment: fixed; /* Prevent background from scrolling past boundaries */
}

/* Prevent overscroll on all scrollable elements */
* {
    overscroll-behavior: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
.navbar {
    background: var(--overlay-light);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--overlay-border);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

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

.nav-logo h1 {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav-menu a:hover {
    opacity: 0.8;
}

/* Hero section */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    color: var(--text-light);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.8;
}

.cta-button {
    display: inline-block;
    background: var(--gradient-action);
    color: var(--text-light);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

/* GPU section */
.gpu-section {
    background: var(--overlay-medium);
    padding: 80px 0;
    margin: 0 20px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.gpu-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.gpu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gpu-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.gpu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gpu-card.featured {
    border: 2px solid var(--accent-teal);
    transform: scale(1.05);
}

.gpu-card.premium {
    border: 2px solid var(--accent-gold);
}

.popular-badge, .premium-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-teal);
    color: var(--text-light);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.premium-badge {
    background: var(--accent-gold);
    color: var(--text-primary);
}

.gpu-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.gpu-specs {
    margin-bottom: 1.5rem;
}

.gpu-specs p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.gpu-specs strong {
    color: var(--text-primary);
}

.download-btn {
    background: var(--gradient-button);
    color: var(--text-light);
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 1rem;
    width: 100%;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* About section */
.about-section {
    background: var(--overlay-light);
    padding: 80px 0;
    color: var(--text-light);
    margin: 40px 20px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.about-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.feature {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Contact section */
.contact-section {
    background: var(--overlay-medium);
    padding: 60px 0;
    margin: 0 20px;
    border-radius: 20px;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-link:hover {
    background: var(--primary-purple);
}

/* Footer */
footer {
    background: var(--bg-dark);
    color: var(--text-light);
    text-align: center;
    padding: 2rem 0;
    margin-top: 40px;
}

.disclaimer {
    background: var(--overlay-warning);
    border: 1px solid var(--accent-warning);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-modal);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--bg-white);
    margin: 15% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 80%;
    max-width: 500px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.close {
    color: var(--interactive-gray);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 10px;
}

.close:hover {
    color: var(--interactive-black);
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: var(--bg-light-gray);
    border-radius: 10px;
    overflow: hidden;
    margin: 1rem 0;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-button);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 10px;
}

.progress-text {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.download-status {
    color: var(--text-secondary);
    font-style: italic;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .gpu-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .modal-content {
        width: 90%;
        margin: 30% auto;
    }
}

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

.gpu-card {
    animation: fadeInUp 0.6s ease forwards;
}

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