/* CSS Variables for Light and Dark Theme Support */
:root {
    --primary-color: #0066ff;
    --primary-rgb: 0, 102, 255;
    --primary-gradient: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
    --secondary-color: #1a1a1a;
    --accent-color: #00d4ff;
    --text-color: #1a1a1a;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --bg-color: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-hover: #f3f4f6;
    --bg-gradient: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    --card-bg: #ffffff;
    --card-hover-bg: #f8fafc;
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 6px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
    --shadow-hover: 0 16px 40px rgba(0,0,0,0.16);
    --shadow-card: 0 4px 16px rgba(0,0,0,0.06);
    --code-bg: #f8f9fa;
    --terminal-bg: #f8f9fa;
    --terminal-border: #e9ecef;
    --terminal-text: #212529;
    --terminal-prompt: #007aff;
    --terminal-comment: #6f42c1;
    --terminal-string: #d63384;
    --terminal-keyword: #0d6efd;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --info-color: #3b82f6;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --font-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.15);
    --backdrop-blur: blur(32px) saturate(180%);
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --primary-color: #4A90E2;
    --primary-rgb: 74, 144, 226;
    --primary-gradient: linear-gradient(135deg, #4A90E2 0%, #3a7bd5 100%);
    --secondary-color: #e5e7eb;
    --accent-color: #00d4ff;
    --text-color: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --bg-color: #0f172a;
    --bg-secondary: #1e293b;
    --bg-hover: #334155;
    --bg-gradient: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    --card-bg: #1e293b;
    --card-hover-bg: #334155;
    --border-color: #334155;
    --border-light: #475569;
    --shadow: 0 2px 8px rgba(0,0,0,0.25);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.15);
    --shadow-md: 0 6px 20px rgba(0,0,0,0.25);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.35);
    --shadow-hover: 0 16px 40px rgba(0,0,0,0.45);
    --shadow-card: 0 4px 16px rgba(0,0,0,0.20);
    --code-bg: #1e293b;
    --terminal-bg: #1e293b;
    --terminal-border: #334155;
    --terminal-text: #e2e8f0;
    --terminal-prompt: #4A90E2;
    --terminal-comment: #94a3b8;
    --terminal-string: #f472b6;
    --terminal-keyword: #60a5fa;
    --success-color: #22c55e;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --info-color: #3b82f6;
    --glass-bg: rgba(30, 41, 59, 0.85);
    --glass-border: rgba(148, 163, 184, 0.15);
}

/* Theme Toggle Button Styles */
.theme-toggle {
    position: relative;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-left: 1rem;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.theme-toggle:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.theme-toggle:hover::before {
    opacity: 0.1;
}

.theme-toggle:active {
    transform: translateY(0);
}

.theme-icon {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.theme-toggle:hover .theme-icon {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Dark mode specific adjustments */
[data-theme="dark"] .theme-toggle {
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .theme-toggle:hover {
    box-shadow: var(--shadow-md);
}

/* Theme transition for smooth switching */
*,
*::before,
*::after {
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                color 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                fill 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                stroke 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Preserve specific transitions for interactive elements */
.btn,
.nav-link,
.theme-toggle,
.hamburger,
.card,
.feature-card,
.support-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Ensure images and icons adjust properly in dark mode */
[data-theme="dark"] .hero-main-icon,
[data-theme="dark"] .logo-icon,
[data-theme="dark"] .hero-icon {
    filter: brightness(1.1) contrast(0.9);
}

[data-theme="dark"] .floating-card {
    border-color: var(--border-color);
    box-shadow: var(--shadow-lg);
}

/* Adjust background patterns for dark mode */
[data-theme="dark"] .hero::after {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23475569" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') center/120px 120px;
    opacity: 0.4;
}

/* Dark mode scrollbar */
[data-theme="dark"] ::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: var(--border-color);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* Dark mode specific button adjustments */
[data-theme="dark"] .btn-secondary {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .btn-secondary:hover {
    background: var(--card-hover-bg);
    border-color: var(--primary-color);
}

/* Dark mode navigation adjustments */
[data-theme="dark"] .header {
    background: rgba(15, 23, 42, 0.1);
    border-bottom-color: rgba(148, 163, 184, 0.1);
}

[data-theme="dark"] .header.scrolled {
    background: rgba(30, 41, 59, 0.15);
    border-bottom-color: rgba(148, 163, 184, 0.05);
}

[data-theme="dark"] .nav-menu {
    background: rgba(30, 41, 59, 0.08);
    border-color: rgba(148, 163, 184, 0.15);
}

[data-theme="dark"] .header.scrolled .nav-menu {
    background: rgba(30, 41, 59, 0.12);
    border-color: rgba(148, 163, 184, 0.2);
}

/* Dark mode floating cards */
[data-theme="dark"] .floating-card {
    background: var(--card-bg);
    border-color: var(--border-color);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

/* Dark mode code blocks */
[data-theme="dark"] .code-block,
[data-theme="dark"] .terminal-block {
    background: var(--terminal-bg);
    border-color: var(--terminal-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .code-header,
[data-theme="dark"] .terminal-header {
    background: var(--terminal-border);
    border-bottom-color: var(--terminal-border);
}

/* Dark mode installation preview adjustments */
[data-theme="dark"] .platform-selector {
    background: rgba(30, 41, 59, 0.85);
    border-color: rgba(148, 163, 184, 0.2);
}

[data-theme="dark"] .os-tab {
    background: rgba(15, 23, 42, 0.8);
    border-color: var(--border-color);
}

[data-theme="dark"] .os-tab:hover {
    background: rgba(30, 41, 59, 0.9);
}

[data-theme="dark"] .os-tab.active {
    background: var(--primary-color);
}

/* Dark mode mobile navigation */
@media (max-width: 768px) {
    [data-theme="dark"] .header {
        background: var(--bg-color);
        border-bottom-color: var(--border-color);
        box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
    }
    
    [data-theme="dark"] .header.scrolled {
        background: rgba(30, 41, 59, 0.98);
    }
    
    [data-theme="dark"] .nav-menu {
        background: rgba(15, 23, 42, 0.92);
    }
    
    [data-theme="dark"] .nav-link {
        background: rgba(30, 41, 59, 0.8);
        border-color: rgba(51, 65, 85, 0.6);
        color: var(--text-color);
    }
    
    [data-theme="dark"] .nav-link:hover,
    [data-theme="dark"] .nav-link.active {
        background: var(--primary-gradient);
        border-color: var(--primary-color);
    }
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background: var(--bg-color);
    background-attachment: fixed;
    overflow-x: hidden;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

/* Enhanced scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: var(--radius);
    transition: var(--transition);
}

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

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

/* Header and Navigation */
.header {
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.05);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08);
    border-radius: 0 0 28px 28px;
    margin: 0 20px;
    width: calc(100% - 40px);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
}

.navbar {
    padding: 1rem 0;
    position: relative;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: var(--radius-lg);
    padding: 0.5rem;
}

.logo-link:hover {
    transform: translateY(-3px) scale(1.02);
    filter: brightness(1.1);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.logo-link:hover .logo-icon {
    transform: scale(1.08) rotate(5deg);
    box-shadow: var(--shadow-lg);
}

.logo-link:hover .logo-icon::before {
    left: 100%;
}

.nav-logo h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-color);
    margin: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    margin: 0;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.nav-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 24px;
    z-index: -1;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.875rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    border: 2px solid transparent;
    background: transparent;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 18px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

.nav-link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
    z-index: 1;
}

.nav-link:hover::after {
    width: 100px;
    height: 100px;
}

.nav-link:hover {
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.nav-link:hover::before {
    opacity: 1;
    transform: scale(1);
}

.nav-link.active {
    background: var(--primary-gradient);
    color: white;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.4);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.nav-link.active::before {
    opacity: 1;
    transform: scale(1);
}

.nav-link.active:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 12px 32px rgba(var(--primary-rgb), 0.5);
}

.header.scrolled .nav-menu {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(32px) saturate(200%);
    -webkit-backdrop-filter: blur(32px) saturate(200%);
}

.header.scrolled .nav-link {
    color: var(--text-color);
}

.header.scrolled .nav-link:hover {
    color: white;
}

.header.scrolled .nav-link.active {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.4);
}

/* GitHub Link Special Styling */
.nav-link.github-link {
    background: linear-gradient(135deg, #24292e, #444d56);
    color: white;
    font-weight: 600;
}

.nav-link.github-link:hover {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 24px rgba(36, 41, 46, 0.3);
}

.nav-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.nav-link.github-link:hover .nav-icon {
    transform: scale(1.1);
}

/* Mobile Navigation */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.bar {
    width: 24px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 2px;
    position: relative;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
    background: var(--accent-color);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
    background: var(--accent-color);
}

/* Active Navigation Indicator */
.nav-menu {
    position: relative;
}

.nav-indicator {
    position: absolute;
    bottom: -2px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0;
}

.nav-menu:hover .nav-indicator {
    opacity: 1;
}

/* Hero Section */
.hero {
    background: var(--bg-gradient);
    color: var(--text-color);
    padding: 140px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(74, 144, 226, 0.12) 0%, transparent 60%),
                radial-gradient(circle at 70% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 60%),
                linear-gradient(135deg, rgba(74, 144, 226, 0.05) 0%, rgba(0, 212, 255, 0.05) 100%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23e1e8ed" stroke-width="0.5" opacity="0.4"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') center/120px 120px;
    opacity: 0.6;
    z-index: 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

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

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

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

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.75rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 1.375rem;
    margin-bottom: 3rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 0.75rem 1.25rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-card);
    backdrop-filter: var(--backdrop-blur);
    animation: fadeInUp 1s ease-out 0.1s both;
}

.hero-icon {
    width: 24px;
    height: 24px;
    border-radius: var(--radius-sm);
}

.badge-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 2.5rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    letter-spacing: -0.01em;
    min-height: 48px;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow);
    border: 1px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    filter: brightness(1.05);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--card-hover-bg);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline:active {
    transform: translateY(0);
}

.btn-large {
    padding: 1.125rem 2.25rem;
    font-size: 1.125rem;
    min-height: 56px;
    border-radius: var(--radius-lg);
}

.btn-small {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    min-height: 40px;
    border-radius: var(--radius-sm);
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.3);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn:disabled:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
}

/* Hero Graphics */
.hero-graphic {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-hero-image {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border-radius: 50%;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--primary-color);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: var(--shadow-lg);
    }
    50% {
        transform: scale(1.05);
        box-shadow: var(--shadow-hover);
    }
}

.hero-main-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.floating-card {
    position: absolute;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 16px;
    min-width: 160px;
    max-width: 180px;
    animation: float 6s ease-in-out infinite;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1;
}

.floating-card:nth-child(2) {
    top: 10%;
    left: 5%;
    transform: translateX(-50%);
}

.floating-card:nth-child(3) {
    top: 15%;
    right: 5%;
    transform: translateX(50%);
    animation-delay: -2s;
}

.floating-card:nth-child(4) {
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: -4s;
}

.card-icon {
    width: 36px;
    height: 36px;
    background: var(--primary-gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 6px;
    box-shadow: var(--shadow-sm);
}

.card-icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.card-content {
    flex: 1;
}

.card-header {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.9rem;
    color: var(--text-color);
}

.card-body {
    opacity: 0.7;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

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

/* Responsive floating cards to prevent overlapping */
@media (max-width: 1024px) {
    .floating-card {
        min-width: 140px;
        max-width: 160px;
        padding: 12px;
    }
    
    .floating-card:nth-child(2) {
        top: 5%;
        left: 2%;
    }
    
    .floating-card:nth-child(3) {
        top: 10%;
        right: 2%;
    }
    
    .floating-card:nth-child(4) {
        bottom: 5%;
        left: 50%;
    }
}

@media (max-width: 768px) {
    .hero-graphic {
        height: 300px;
    }
    
    .floating-card {
        display: none; /* Hide floating cards on mobile to prevent overlapping */
    }
    
    .main-hero-image {
        padding: 1.5rem;
    }
    
    .hero-main-icon {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .hero-graphic {
        height: 250px;
    }
    
    .main-hero-image {
        padding: 1rem;
    }
    
    .hero-main-icon {
        width: 50px;
        height: 50px;
    }
}

/* Features Section */
.features {
    padding: 8rem 0;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(74, 144, 226, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    animation: fadeInUp 1s ease-out;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

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

.feature-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    background: var(--card-hover-bg);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: var(--primary-gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 1.75rem;
    color: white;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

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

.feature-icon svg {
    width: 32px;
    height: 32px;
}

/* Image-based feature icons */
.feature-icon.image-icon {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    padding: 1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-icon.image-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover .feature-icon.image-icon::before {
    opacity: 0.1;
}

.feature-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.feature-card:hover .feature-image {
    transform: scale(1.1);
    filter: brightness(1.2);
}

/* OS Tab Icons */
.tab-icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: var(--transition);
}

.os-installation-tabs .tab-btn:hover .tab-icon-img,
.os-installation-tabs .tab-btn.active .tab-icon-img {
    filter: brightness(0) invert(1);
    transform: scale(1.1);
}

/* Support Icons */
.support-icon.image-icon {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    padding: 0.75rem;
    transition: var(--transition);
}

.support-image {
    width: 28px;
    height: 28px;
    object-fit: contain;
    transition: var(--transition);
}

.support-card:hover .support-icon.image-icon {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.support-card:hover .support-image {
    filter: brightness(0) invert(1);
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--text-color);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.feature-card h3 {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--text-color);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 400;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 400;
}

/* Installation Section */
.installation {
    padding: 8rem 2rem;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.installation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(74, 144, 226, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(0, 212, 255, 0.03) 0%, transparent 50%);
    z-index: 0;
}

.installation-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.installation-content {
    background: var(--card-bg);
    padding: 3.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.installation-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.installation-tabs {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 2.5rem;
    background: var(--bg-secondary);
    padding: 0.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.tab-button {
    flex: 1;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}

.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    border-radius: var(--radius);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.tab-button.active {
    color: white;
    font-weight: 600;
    box-shadow: var(--shadow);
}

.tab-button.active::before {
    opacity: 1;
}

.tab-button:hover:not(.active) {
    color: var(--primary-color);
    background: var(--card-hover-bg);
    transform: translateY(-1px);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

.install-command {
    background: var(--terminal-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin: 1.5rem 0;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    position: relative;
    overflow-x: auto;
    box-shadow: var(--shadow-sm);
}

.install-command::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.install-command code {
    color: var(--text-color);
    background: none;
    font-weight: 500;
    line-height: 1.6;
}

.copy-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.copy-button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
    filter: brightness(1.1);
}

.copy-button:active {
    transform: translateY(0);
}

.os-note {
    background: linear-gradient(135deg, var(--info-bg) 0%, rgba(59, 130, 246, 0.05) 100%);
    border: 1px solid var(--info-border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin: 1.5rem 0;
    font-size: 0.95rem;
    color: var(--info-color);
    position: relative;
    backdrop-filter: blur(10px);
}

.os-note::before {
    content: 'ℹ';
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    font-size: 1.1rem;
    font-weight: bold;
}

.os-note p {
    margin-left: 2rem;
    margin-bottom: 0;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: grid;
    gap: 0.75rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-list li:hover {
    background: var(--card-hover-bg);
    transform: translateX(4px);
}

.feature-list li::before {
    content: '✓';
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.2rem;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(39, 174, 96, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Enhanced Installation Preview Section */
.installation-preview {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.installation-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(74, 144, 226, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 212, 255, 0.06) 0%, transparent 50%);
    z-index: 0;
}

.installation-preview .container {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 0.875rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-card);
    backdrop-filter: var(--backdrop-blur);
    position: relative;
    overflow: hidden;
}

.section-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

.badge-icon {
    font-size: 1.25rem;
    padding: 0.5rem;
    background: var(--primary-gradient);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    color: #ffffff;
}

.badge-icon i {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.badge-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: -0.01em;
}

.installation-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

.showcase-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.install-hero {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.install-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.install-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: var(--border-color);
    margin: 0 1rem;
}

.install-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-highlight {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-color);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-highlight:hover {
    background: var(--card-hover-bg);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.highlight-icon {
    width: 36px;
    height: 36px;
    background: var(--primary-gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.feature-highlight span {
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.95rem;
}

.platform-selector {
    background: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
}

.selector-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: -0.01em;
}

.os-tabs-modern {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.os-tab {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: rgba(248, 250, 252, 0.8);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    backdrop-filter: blur(12px);
}

.os-tab:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.os-tab:active {
    transform: scale(0.98);
}

.os-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.os-tab:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(var(--primary-rgb), 0.15);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
}

.os-tab:hover::before {
    opacity: 0.08;
}

.os-tab.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-lg);
}

.os-tab.active .tab-info .tab-name,
.os-tab.active .tab-info .tab-desc {
    color: white;
}

.tab-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: var(--transition);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.os-tab.active .tab-icon {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.os-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* OS icon styling for tab buttons */
.tab-btn .os-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

/* OS icon styling for OS support section */
.os-item .os-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    flex-shrink: 0;
}

/* OS icon styling for section headers */
h3 .os-icon,
h4 .os-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    vertical-align: middle;
}

.os-tab.active .os-icon {
    filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(255, 255, 255, 0.3));
}

.tab-info {
    flex: 1;
    position: relative;
    z-index: 2;
}

.tab-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
    display: block;
    letter-spacing: -0.01em;
}

.tab-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 400;
    transition: var(--transition);
}

/* Ensure tab description text is always visible */
.os-tab:not(.active) .tab-desc {
    color: var(--text-color);
    opacity: 0.8;
}

/* Enhanced contrast for better visibility */
.os-tab .tab-desc {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.tab-indicator {
    width: 6px;
    height: 6px;
    background: var(--border-color);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.os-tab.active .tab-indicator {
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.terminal-showcase {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.terminal-window {
    background: var(--terminal-bg);
    border: 1px solid var(--terminal-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(20px);
    position: relative;
}

.terminal-window::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-gradient);
}

.terminal-header {
    background: var(--terminal-border);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--terminal-border);
}

.terminal-controls {
    display: flex;
    gap: 0.5rem;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.control-close { background: #ff5f57; }
.control-minimize { background: #ffbd2e; }
.control-maximize { background: #28ca42; }

.terminal-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    justify-content: center;
}

.title-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.title-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: rgba(40, 202, 66, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--success-color);
    font-weight: 500;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--success-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.terminal-content {
    padding: 2rem;
    font-family: var(--font-mono);
    color: var(--terminal-text);
    line-height: 1.6;
}

.command-line {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.prompt {
    color: var(--primary-color);
    font-weight: 600;
}

.command {
    color: var(--terminal-text);
    font-weight: 500;
    flex: 1;
}

.terminal-output {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.output-line {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.output-line:nth-child(1) { animation-delay: 0.5s; }
.output-line:nth-child(2) { animation-delay: 1s; }
.output-line:nth-child(3) { animation-delay: 1.5s; }
.output-line.final { animation-delay: 2s; }

.output-prefix {
    color: var(--primary-color);
    font-weight: 600;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.output-prefix i {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

.output-text {
    color: var(--text-secondary);
    flex: 1;
}

.output-status {
    color: var(--success-color);
    font-weight: 600;
}

.output-line.final {
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-sm);
    padding: 0.75rem;
    margin-top: 0.5rem;
}

.output-line.final .output-text {
    color: var(--success-color);
    font-weight: 500;
}

.terminal-footer {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copy-command-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.copy-command-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.1);
}

.terminal-actions {
    display: flex;
    gap: 1rem;
}

.action-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.action-link:hover {
    color: var(--primary-color);
    background: var(--card-hover-bg);
}

.installation-badges {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.badge-row {
    display: flex;
    gap: 1rem;
}

.info-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    box-shadow: var(--shadow-sm);
    flex: 1;
    transition: var(--transition);
}

.info-badge:hover {
    background: var(--card-hover-bg);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.badge-icon-small {
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.badge-icon-small i {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

/* Enhanced Support Section */
.support {
    padding: 100px 0;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.support::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(74, 144, 226, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.support .container {
    position: relative;
    z-index: 1;
}

.support-showcase {
    max-width: 1400px;
    margin: 0 auto;
}

.support-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    min-width: 180px;
    transition: var(--transition);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card .stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.support-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
    backdrop-filter: blur(10px);
}

.support-card.primary {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(74, 144, 226, 0.02) 100%);
}

.support-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.card-header {
    padding: 2rem 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.support-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.support-card.primary .support-icon {
    background: var(--primary-gradient);
    border-color: var(--primary-color);
    color: white;
}

.support-card:hover .support-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.support-image {
    width: 28px;
    height: 28px;
    object-fit: contain;
    transition: var(--transition);
}

.support-card.primary .support-image {
    filter: brightness(0) invert(1);
}

.card-badge {
    background: var(--primary-gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-sm);
}

.support-card.primary .card-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.card-content {
    padding: 2rem;
}

.support-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.support-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.support-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.feature-item svg {
    color: var(--success-color);
    flex-shrink: 0;
}

.card-footer {
    padding: 0 2rem 2rem;
}

.support-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    width: 100%;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.support-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.support-link:hover::before {
    left: 100%;
}

.support-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.support-link.primary {
    background: var(--primary-gradient);
    color: white;
    border-color: var(--primary-color);
}

.support-link.primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.community-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.community-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.community-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.community-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.community-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.community-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.community-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.community-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.community-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.community-link:hover::before {
    opacity: 0.05;
}

.link-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-gradient);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.community-link:hover .link-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.link-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.link-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
    display: block;
    letter-spacing: -0.01em;
}

.link-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.link-arrow {
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.community-link:hover .link-arrow {
    color: var(--primary-color);
    transform: translateX(4px);
}

/* Responsive Design for New Sections */
@media (max-width: 1024px) {
    .installation-showcase {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .support-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .support-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

@media (max-width: 768px) {
    .installation-preview {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-badge {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .installation-showcase {
        gap: 2rem;
    }
    
    .install-hero {
        padding: 2rem;
    }
    
    .install-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .stat-divider {
        width: 100%;
        height: 1px;
        margin: 0;
    }
    
    .os-tabs-modern {
        gap: 0.75rem;
    }
    
    .os-tab {
        padding: 1.25rem;
    }
    
    .terminal-content {
        padding: 1.5rem;
    }
    
    .terminal-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .terminal-actions {
        justify-content: center;
    }
    
    .badge-row {
        flex-direction: column;
    }
    
    .support {
        padding: 60px 0;
    }
    
    .support-stats {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .stat-card {
        min-width: auto;
        width: 100%;
        max-width: 200px;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .community-section {
        padding: 2rem;
    }
    
    .community-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2.25rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .install-hero {
        padding: 1.5rem;
    }
    
    .platform-selector {
        padding: 1.5rem;
    }
    
    .terminal-window {
        border-radius: 12px;
    }
    
    .terminal-header {
        padding: 0.75rem 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .terminal-title {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .terminal-content {
        padding: 1rem;
        font-size: 0.875rem;
    }
    
    .command-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .support-card {
        border-radius: var(--radius-lg);
    }
    
    .card-header,
    .card-content,
    .card-footer {
        padding: 1.5rem;
    }
    
    .community-section {
        padding: 1.5rem;
    }
}

/* macOS Terminal Style Code Blocks */
.code-block, .terminal-block {
    background: var(--terminal-bg);
    border: 1px solid var(--terminal-border);
    border-radius: 12px;
    margin: 1.5rem 0;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    font-family: 'SF Mono', 'Monaco', 'Menlo', 'Consolas', monospace;
}

.code-header, .terminal-header {
    background: var(--terminal-border);
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--terminal-border);
    position: relative;
}

.code-header::before, .terminal-header::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff5f57;
    box-shadow: 20px 0 0 #ffbd2e, 40px 0 0 #28ca42;
}

.code-title, .terminal-title {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    margin-left: 60px;
}

.copy-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.copy-btn:hover {
    background: var(--accent-color);
    transform: translateY(-1px);
}

.code-block pre, .terminal-block pre {
    margin: 0;
    padding: 1.5rem;
    overflow-x: auto;
    background: transparent;
    color: var(--terminal-text);
    line-height: 1.6;
}

.code-block code, .terminal-block code {
    color: var(--terminal-text);
    font-family: 'SF Mono', 'Monaco', 'Menlo', 'Consolas', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Terminal prompt styling */
.terminal-prompt {
    color: var(--terminal-prompt);
    font-weight: 600;
}

.terminal-command {
    color: var(--terminal-text);
}

.terminal-comment {
    color: var(--terminal-comment);
    font-style: italic;
}

.terminal-string {
    color: var(--terminal-string);
}

.terminal-keyword {
    color: var(--terminal-keyword);
    font-weight: 600;
}

/* Bash/Shell specific styling */
.language-bash .token.function,
.language-shell .token.function {
    color: var(--terminal-keyword);
}

.language-bash .token.string,
.language-shell .token.string {
    color: var(--terminal-string);
}

.language-bash .token.comment,
.language-shell .token.comment {
    color: var(--terminal-comment);
}

.language-bash .token.operator,
.language-shell .token.operator {
    color: var(--terminal-prompt);
}

/* Legacy Support Section Styles - Updated for compatibility */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.support-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.support-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.support-card:hover::before {
    transform: scaleX(1);
}

.support-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--primary-color);
    transition: all 0.2s ease;
}

.support-card:hover .support-icon {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.support-icon svg {
    width: 24px;
    height: 24px;
}

.support-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.25rem;
    font-weight: 600;
}

.support-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.support-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #f1f5f9 100%);
    border-top: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 4rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(74, 144, 226, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(0, 212, 255, 0.03) 0%, transparent 50%);
    z-index: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-brand {
    max-width: 450px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.footer-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-social {
    margin-top: 1.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    margin-right: 0.75rem;
    margin-bottom: 0.75rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.social-link:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.social-link:hover::before {
    opacity: 1;
}

.footer-section {
    position: relative;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.125rem;
    letter-spacing: -0.01em;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after,
.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: 1px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
    border-radius: var(--radius-sm);
}

.footer-section a:hover {
    color: var(--primary-color);
    transform: translateX(4px);
    background: rgba(74, 144, 226, 0.05);
    padding-left: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    margin: 0 -2rem -1.5rem;
    padding-left: 2rem;
    padding-right: 2rem;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .hero {
        padding: 8rem 1.5rem 6rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
    
    .installation-content {
        padding: 3rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--glass-bg);
        backdrop-filter: var(--backdrop-blur);
        border: 1px solid var(--glass-border);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-hover);
        padding: 2rem 0;
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }
    
    .nav-menu.active {
        left: 0;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-link {
        padding: 1rem;
        border-radius: var(--radius);
        text-align: center;
    }
    
    .hero {
        padding: 6rem 1rem 4rem;
        min-height: 80vh;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.75rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
        margin-bottom: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-badge {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .header.scrolled {
        margin: 0 8px;
        width: calc(100% - 16px);
        border-radius: 0 0 16px 16px;
    }

    .nav-menu {
        gap: 0.5rem;
    }

    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .features {
        padding: 6rem 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .feature-icon {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
    }
    
    .installation {
        padding: 6rem 1rem;
    }
    
    .installation-content {
        padding: 2.5rem 1.5rem;
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .installation-preview .installation-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2rem 1.5rem;
    }
    
    .install-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .install-title-group h3 {
        font-size: 1.875rem;
    }
    
    .installation-benefits {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .installation-preview .section-title {
        font-size: 2.75rem;
        margin-bottom: 3rem;
    }
    
    .installation-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .tab-button {
        padding: 1rem;
        text-align: center;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .footer {
        padding: 3rem 1rem 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .footer-brand {
        max-width: none;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .section-subtitle {
        font-size: 1.125rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
        min-height: 52px;
    }
    
    /* Mobile responsive for OS installation tabs */
    .os-installation-tabs .tab-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .os-installation-tabs .tab-btn {
        justify-content: center;
        width: 100%;
        padding: 1rem;
    }
    
    .installation-actions {
        flex-direction: column;
    }
    
    .installation-actions .btn {
        width: 100%;
        min-width: auto;
    }
    
    .os-note {
        margin-top: 0.5rem;
        padding: 0.8rem;
    }
    
    .code-block {
        font-size: 0.8rem;
    }
    
    .code-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .installation-content {
        padding: 2rem 1rem;
    }
    
    .installation-preview .installation-content {
        padding: 1.5rem 1rem;
        gap: 2rem;
    }
    
    .install-header {
        text-align: center;
    }
    
    .install-icon {
        width: 64px;
        height: 64px;
        font-size: 2rem;
    }
    
    .install-title-group h3 {
        font-size: 1.75rem;
    }
    
    .installation-preview .section-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
    
    .installation-benefits {
        grid-template-columns: 1fr;
    }
    
    .benefit-item {
        padding: 1rem;
    }
    
    .benefit-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .install-command {
        padding: 1rem;
        font-size: 0.875rem;
    }
    
    .copy-button {
        position: static;
        margin-top: 1rem;
        width: 100%;
    }
    
    .os-note {
        padding: 1rem;
    }
    
    .os-note::before {
        position: static;
        margin-bottom: 0.5rem;
    }
    
    .os-note p {
        margin-left: 0;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

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

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Installation Page Styles */
.docs-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.docs-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.docs-section h3 {
    color: var(--text-color);
    margin: 2rem 0 1rem 0;
    font-size: 1.4rem;
}

/* OS Tabs for One-Command Setup */
.os-tabs {
    margin: 2rem 0;
}

.os-tabs .tab-buttons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.os-tabs .tab-btn {
    background: var(--card-bg);
    color: var(--text-color);
    border: 2px solid var(--border-color);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.os-tabs .tab-btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.os-tabs .tab-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.os-tabs .tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.os-tabs .tab-content.active {
    display: block;
}

.os-features {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--bg-color);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.os-features h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.os-features ul {
    margin: 0;
    padding-left: 1.5rem;
}

.os-features li {
    margin-bottom: 0.3rem;
    color: var(--text-secondary);
}

/* Installation Options Grid */
.installation-options {
    margin: 3rem 0;
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--card-hover-bg) 100%);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.installation-options h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.options-intro {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
}

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

.option-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.option-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.1);
}

.option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.option-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.option-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.option-header h4 {
    color: var(--text-color);
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.option-icon {
    color: var(--primary-color);
    flex-shrink: 0;
}

.option-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.option-badge.ci-cd {
    background: #e3f2fd;
    color: #1976d2;
}

.option-badge.update {
    background: #e8f5e8;
    color: #2e7d32;
}

.option-badge.custom {
    background: #fff3e0;
    color: #f57c00;
}

.option-badge.dev {
    background: #f3e5f5;
    color: #7b1fa2;
}

.option-badge.offline {
    background: #fce4ec;
    color: #c2185b;
}

.option-badge.minimal {
    background: #e1f5fe;
    color: #0277bd;
}

.option-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.option-features ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    display: grid;
    gap: 0.5rem;
}

.option-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.option-features li svg {
    color: var(--success-color, #10b981);
    flex-shrink: 0;
}

/* Combined Options */
.combined-options {
    margin: 3rem 0 2rem 0;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.combined-options h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.combined-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.combined-card {
    background: var(--card-hover-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.combined-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.combined-card h5 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

/* Installation Tips */
.installation-tips {
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.installation-tips h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.tip-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.tip-icon {
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.tip-item strong {
    color: var(--text-color);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.tip-item p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.tip-item code {
    background: var(--code-bg);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

/* Manual Installation Tabs */
.manual-os-tabs {
    margin: 2rem 0;
}

.manual-os-tabs .tab-buttons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.manual-os-tabs .tab-btn {
    background: var(--card-bg);
    color: var(--text-color);
    border: 2px solid var(--border-color);
    padding: 1rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
}

.manual-os-tabs .tab-btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.manual-os-tabs .tab-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.manual-os-tabs .tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.manual-os-tabs .tab-content.active {
    display: block;
}

/* Step Containers */
.step-container {
    margin: 2rem 0;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.step-header {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.step-number {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.step-header h4 {
    margin: 0;
    font-size: 1.2rem;
}

.step-content {
    padding: 1.5rem;
    background: var(--card-bg);
}

/* Distro Tabs */
.distro-tabs .tab-buttons.small {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.distro-tabs .tab-btn {
    background: var(--bg-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    font-weight: 500;
}

.distro-tabs .tab-btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.distro-tabs .tab-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Windows Options */
.windows-options .option-tabs .tab-buttons.small {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.prerequisite-list {
    display: grid;
    gap: 1rem;
}

.prereq-item {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1rem;
}

.prereq-item h5 {
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
}

.prereq-item p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.code-block.small {
    font-size: 0.8rem;
}

/* Troubleshooting Styles */
.troubleshooting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.troubleshooting-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.troubleshooting-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.troubleshooting-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

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

/* Help Resources */
.troubleshooting-resources {
    margin: 3rem 0;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.help-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.help-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.help-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.help-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.btn.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Responsive Design for Installation Page */
@media (max-width: 768px) {
    .os-tabs .tab-buttons,
    .manual-os-tabs .tab-buttons,
    .distro-tabs .tab-buttons.small {
        flex-direction: column;
    }
    
    .os-tabs .tab-btn,
    .manual-os-tabs .tab-btn {
        text-align: center;
    }
    
    .options-grid,
    .troubleshooting-grid,
    .help-grid {
        grid-template-columns: 1fr;
    }
    
    .step-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .docs-section {
        padding: 1rem;
    }
    
    .terminal-header,
    .code-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* Icon styling for navigation and other elements */
.nav-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
    opacity: 0.8;
    transition: var(--transition-fast);
}

.nav-link:hover .nav-icon {
    opacity: 1;
    transform: translateY(-1px);
}

.github-link {
    display: flex;
    align-items: center;
}

.social-icon {
    width: 20px;
    height: 20px;
    opacity: 0.8;
    transition: var(--transition-fast);
    filter: brightness(0.8);
}

.social-link:hover .social-icon {
    opacity: 1;
    transform: scale(1.1);
    filter: brightness(1);
}

.community-icon {
    width: 20px;
    height: 20px;
    opacity: 0.8;
    transition: var(--transition-fast);
}

.community-link:hover .community-icon {
    opacity: 1;
    transform: scale(1.05);
}

.feature-image {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.inline-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin: 0 2px;
    opacity: 0.8;
}

.footer-link-icon {
    width: 14px;
    height: 14px;
    margin-right: 6px;
    vertical-align: middle;
    opacity: 0.7;
    transition: var(--transition-fast);
}

.footer-section a:hover .footer-link-icon {
    opacity: 1;
    transform: translateY(-1px);
}

/* Enhanced Responsive Navigation Styles */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 24px;
    }
    
    .nav-menu {
        gap: 0.125rem;
    }
    
    .nav-link {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
    }
    
    .nav-logo h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .header {
        background: var(--bg-color);
        border-bottom: 1px solid var(--border-color);
        backdrop-filter: none;
        box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
    }
    
    .header.scrolled {
        margin: 0;
        width: 100%;
        border-radius: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .nav-actions {
        gap: 0.75rem;
    }
    
    .theme-toggle {
        width: 44px;
        height: 44px;
        padding: 0.4rem;
    }
    
    .theme-icon {
        width: 18px;
        height: 18px;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: var(--bg-color);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        padding: 6rem 2rem 2rem;
        gap: 1rem;
        border-radius: 0;
        border: none;
        backdrop-filter: blur(40px) saturate(200%);
        -webkit-backdrop-filter: blur(40px) saturate(200%);
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.15);
        overflow-y: auto;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.92);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu::before {
        display: none;
    }
    
    .nav-item {
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .nav-link {
        display: block;
        padding: 1.25rem 2rem;
        margin: 0;
        border-radius: var(--radius-lg);
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--text-color);
        background: rgba(248, 250, 252, 0.8);
        border: 2px solid rgba(229, 231, 235, 0.6);
        transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        transform: translateX(-30px);
        opacity: 0;
        animation: slideInFromLeft 0.6s ease forwards;
        backdrop-filter: blur(12px);
    }
    
    .nav-menu.active .nav-link {
        transform: translateX(0);
        opacity: 1;
    }
    
    .nav-item:nth-child(1) .nav-link { animation-delay: 0.1s; }
    .nav-item:nth-child(2) .nav-link { animation-delay: 0.2s; }
    .nav-item:nth-child(3) .nav-link { animation-delay: 0.3s; }
    .nav-item:nth-child(4) .nav-link { animation-delay: 0.4s; }
    .nav-item:nth-child(5) .nav-link { animation-delay: 0.5s; }
    .nav-item:nth-child(6) .nav-link { animation-delay: 0.6s; }
    
    .nav-link::before {
        display: none;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: var(--primary-gradient);
        color: white;
        border-color: var(--primary-color);
        transform: translateX(0) scale(1.02);
        box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.3);
    }
    
    .nav-link.github-link {
        background: linear-gradient(135deg, #24292e, #444d56);
        color: white;
        border-color: #24292e;
    }
    
    .nav-link.github-link:hover {
        background: linear-gradient(135deg, #2c3e50, #34495e);
        border-color: #2c3e50;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
    }
    
    .nav-logo h1 {
        font-size: 1.375rem;
    }
    
    /* Mobile menu overlay */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 16px;
    }
    
    .nav-menu {
        padding: 5rem 1.5rem 2rem;
    }
    
    .nav-link {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
    }
    
    .nav-logo h1 {
        font-size: 1.25rem;
    }
    
    .nav-logo {
        gap: 0.75rem;
    }
}

/* Smooth slide-in animation for mobile menu items */
@keyframes slideInFromLeft {
    from {
        transform: translateX(-30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Enhanced focus states for accessibility */
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.hamburger:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Smooth transitions for all navigation states */
.nav-link,
.nav-menu,
.hamburger,
.logo-link {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Navigation loading state (optional) */
.nav-loading {
    pointer-events: none;
    opacity: 0.7;
}

.nav-loading .nav-link {
    cursor: wait;
}

/* Print styles */
@media print {
    .header {
        position: static;
        background: transparent;
        box-shadow: none;
        border-bottom: 1px solid #ccc;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: none;
    }
}