:root {
    /* Light Mode Variables */
    --elite-bg: #f8f9fa;
    --elite-surface: #ffffff;
    --elite-surface-hover: #f1f5f9;
    --elite-text: #1e293b;
    --elite-text-muted: #64748b;
    --elite-primary: #3b82f6;
    --elite-primary-hover: #2563eb;
    --elite-accent: #8b5cf6;
    --elite-border: #e2e8f0;
    --elite-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --elite-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --elite-glass: rgba(255, 255, 255, 0.7);
    --elite-glass-border: rgba(255, 255, 255, 0.5);
    --elite-hero-gradient: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
    --elite-nav-height: 80px;
}

[data-theme="dark"] {
    /* Dark Mode Variables */
    --elite-bg: #0f172a;
    --elite-surface: #1e293b;
    --elite-surface-hover: #334155;
    --elite-text: #f1f5f9;
    --elite-text-muted: #94a3b8;
    --elite-primary: #60a5fa;
    --elite-primary-hover: #3b82f6;
    --elite-accent: #a78bfa;
    --elite-border: #334155;
    --elite-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    --elite-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --elite-glass: rgba(30, 41, 59, 0.7);
    --elite-glass-border: rgba(255, 255, 255, 0.1);
    --elite-hero-gradient: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
}

/* Global Reset & Base */
body {
    background-color: var(--elite-bg);
    color: var(--elite-text);
    transition: background-color 0.3s ease, color 0.3s ease;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--elite-primary); text-decoration: none; transition: all 0.2s; }
a:hover { color: var(--elite-primary-hover); text-decoration: none; }

/* Utilities */
.elite-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-gradient {
    background: linear-gradient(to right, var(--elite-primary), var(--elite-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

.glass-panel {
    background: var(--elite-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--elite-glass-border);
    box-shadow: var(--elite-shadow);
    border-radius: 1rem;
}

/* Header Styles */
.elite-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--elite-nav-height);
    z-index: 1000;
    background: var(--elite-glass);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--elite-glass-border);
    transition: all 0.3s ease;
}

.elite-header.scrolled {
    background: var(--elite-surface);
    box-shadow: var(--elite-shadow);
}

.elite-nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.elite-logo img { height: 40px; width: auto; }
.elite-logo span { font-size: 1.5rem; font-weight: 700; color: var(--elite-text); }

.elite-nav-links { display: flex; gap: 2rem; align-items: center; list-style: none; margin: 0; padding: 0; }
.elite-nav-item a { 
    color: var(--elite-text); 
    font-weight: 600; 
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
}
.elite-nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--elite-primary);
    transition: width 0.3s ease;
}
.elite-nav-item a:hover::after { width: 100%; }

.elite-actions { display: flex; gap: 1rem; align-items: center; }

.elite-btn {
    padding: 0.6rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.elite-btn-primary {
    background: linear-gradient(135deg, var(--elite-primary), var(--elite-primary-hover));
    color: white !important;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
}
.elite-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px -1px rgba(59, 130, 246, 0.4);
}

.elite-btn-ghost {
    background: transparent;
    color: var(--elite-text);
    border: 1px solid var(--elite-border);
}
.elite-btn-ghost:hover {
    background: var(--elite-surface-hover);
    border-color: var(--elite-primary);
}

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: none;
    color: var(--elite-text);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.2s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.theme-toggle:hover { background: var(--elite-surface-hover); }

/* Hero Section */
.elite-hero {
    padding-top: calc(var(--elite-nav-height) + 4rem);
    padding-bottom: 6rem;
    background: var(--elite-hero-gradient);
    position: relative;
    overflow: hidden;
}

.elite-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.05) 50%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.elite-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.elite-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.elite-hero p {
    font-size: 1.25rem;
    color: var(--elite-text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.elite-hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--elite-border);
}

.stat-item h3 { font-size: 2rem; font-weight: 700; color: var(--elite-primary); margin: 0; }
.stat-item p { font-size: 0.9rem; color: var(--elite-text-muted); margin: 0; text-transform: uppercase; letter-spacing: 0.05em; }

/* Product Cards */
.elite-section { padding: 5rem 0; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.section-title p { color: var(--elite-text-muted); font-size: 1.1rem; }

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

.product-card {
    background: var(--elite-surface);
    border: 1px solid var(--elite-border);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--elite-shadow-lg);
    border-color: var(--elite-primary);
}

.product-icon {
    width: 60px;
    height: 60px;
    background: var(--elite-surface-hover);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--elite-primary);
    margin-bottom: 1.5rem;
}

.product-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.product-card p { color: var(--elite-text-muted); margin-bottom: 2rem; min-height: 3rem; }
.product-price { font-size: 1.25rem; font-weight: 600; color: var(--elite-text); margin-bottom: 1.5rem; }
.product-price span { font-size: 0.9rem; color: var(--elite-text-muted); font-weight: 400; }

/* Features Section */
.feature-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 4rem;
}
.feature-row:nth-child(even) { flex-direction: row-reverse; }
.feature-img { flex: 1; border-radius: 1rem; overflow: hidden; box-shadow: var(--elite-shadow-lg); }
.feature-img img { width: 100%; height: auto; display: block; }
.feature-content { flex: 1; }
.feature-content h3 { font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
.feature-content p { font-size: 1.1rem; color: var(--elite-text-muted); line-height: 1.6; }

/* Mobile Menu */
@media (max-width: 991px) {
    .elite-nav-links {
        display: none;
        position: absolute;
        top: var(--elite-nav-height);
        left: 0;
        width: 100%;
        background: var(--elite-surface);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--elite-shadow);
    }
    .elite-nav-links.active { display: flex; }
    .elite-hero h1 { font-size: 2.5rem; }
    .feature-row { flex-direction: column !important; }
}

/* Footer Adjustments */
#footer { background: var(--elite-bg); border-top: 1px solid var(--elite-border); padding: 4rem 0 2rem; }
#footer .footer-col h4 { color: var(--elite-text); }
#footer ul li a { color: var(--elite-text-muted); }
#footer ul li a:hover { color: var(--elite-primary); }
