/* Premium Dark Theme - Automotive Inspired (Extracted from index.html) */
:root {
    /* Premium Dark Theme - Automotive Inspired */
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #141414;
    --bg-elevated: #1a1a1a;

    /* Sophisticated Accent Colors */
    --accent-primary: #3e6ae1;
    --accent-secondary: #2d5bc7;
    --accent-success: #00d563;
    --accent-warning: #f4c430;
    --accent-danger: #e31937;

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #e4e4e4;
    --text-tertiary: #a0a0a0;
    --text-muted: #5c5c5c;

    /* Borders & Dividers */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-medium: rgba(255, 255, 255, 0.15);
    --border-strong: rgba(255, 255, 255, 0.25);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.7);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Legacy support for existing code */
    --primary-bg-dark: var(--bg-primary);
    --secondary-bg-dark: var(--bg-secondary);
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: var(--border-subtle);

    /* Map old neon colors to new premium theme */
    --neon-blue: var(--accent-primary);
    --neon-green: var(--accent-success);
    --neon-orange: var(--accent-warning);
    --neon-purple: #9b6aff;
    --neon-pink: #ff6ad5;
    --neon-yellow: var(--accent-warning);
    --button-gradient: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base Utility Classes needed for layout */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Nav Styles */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.25rem 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
    transition: all var(--transition-base);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
    transition: all var(--transition-base);
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Buttons */
.btn-modern {
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-modern {
    background: var(--accent-primary);
    color: white;
    border: 1px solid var(--accent-primary);
    box-shadow: 0 4px 6px -1px rgba(62, 106, 225, 0.2);
}

.btn-primary-modern:hover {
    background: var(--accent-secondary);
    transform: translateY(-1px);
}

.btn-outline-modern {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    margin-left: 1rem;
}

.btn-outline-modern:hover {
    border-color: white;
}

/* POS Specific Styles (Restored) */
.features-section { padding: 100px 0; background: var(--bg-primary); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-label { color: var(--accent-primary); font-weight: 600; text-transform: uppercase; font-size: 0.875rem; letter-spacing: 0.05em; display: block; margin-bottom: 12px; }
.feature-card { padding: 2rem; border: 1px solid var(--border-medium); border-radius: 12px; transition: all 0.3s ease; height: 100%; background: var(--glass-bg); backdrop-filter: blur(10px); }
.feature-card:hover { border-color: var(--accent-primary); box-shadow: var(--shadow-md); transform: translateY(-5px); }
.icon-box { width: 48px; height: 48px; background: rgba(62, 106, 225, 0.1); color: var(--accent-primary); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 1.5rem; }

/* Inventory Detail */
.detail-section { background: var(--bg-secondary); padding: 100px 0; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: 1rem; color: var(--text-secondary); }
.check-list li::before { content: '✓'; color: var(--accent-success); position: absolute; left: 0; font-weight: bold; }

/* Download Center */
.download-wrapper { max-width: 900px; margin: -60px auto 0; background: var(--bg-elevated); border-radius: 16px; box-shadow: var(--shadow-xl); overflow: hidden; position: relative; z-index: 10; border: 1px solid var(--border-medium); }
.terminal-header { background: #0f172a; padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border-subtle); }
.terminal-dots { display: flex; gap: 6px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #ef4444; }
.dot-yellow { background: #eab308; }
.dot-green { background: #22c55e; }

.os-selector { display: flex; background: var(--bg-tertiary); padding: 4px; border-bottom: 1px solid var(--border-subtle); }
.os-btn { flex: 1; padding: 12px; text-align: center; cursor: pointer; border-radius: 6px; font-weight: 500; color: var(--text-tertiary); transition: all 0.2s; }
.os-btn:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.os-btn.active { background: var(--bg-elevated); color: var(--accent-primary); box-shadow: var(--shadow-sm); border: 1px solid var(--border-subtle); }

.code-display { background: #0f172a; color: #e2e8f0; padding: 2rem; font-family: 'JetBrains Mono', 'Menlo', monospace; font-size: 0.9rem; position: relative; line-height: 1.6; }
.copy-action { position: absolute; top: 1rem; right: 1rem; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.1); color: white; padding: 6px 12px; border-radius: 4px; font-size: 0.75rem; cursor: pointer; transition: all 0.2s; }
.copy-action:hover { background: rgba(255,255,255,0.2); }
.version-tag { background: rgba(62, 106, 225, 0.1); color: var(--accent-primary); padding: 4px 10px; border-radius: 4px; font-family: monospace; font-size: 0.8rem; border: 1px solid rgba(62, 106, 225, 0.2); }