/* Global Styles */
:root {
    --primary-color: #2196F3;
    --secondary-color: #FFC107;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #666;
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-hover: 0 15px 40px rgba(0,0,0,0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 30px rgba(0,0,0,0.15);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    height: 40px;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.nav-menu li {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: var(--primary-color);
    background: rgba(33, 150, 243, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    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 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,197.3C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
}

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

.hero-subtitle {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 300;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 50px;
    justify-content: center;
    margin-top: 60px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.stat i {
    font-size: 2.5rem;
}

.stat span {
    font-size: 1rem;
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-in 0.3s backwards;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-in 0.6s backwards;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 1s ease-in 0.9s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--light-color);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-light);
}

.about-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.about-badges img {
    height: 25px;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

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

/* Features Section */
.features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), #1976D2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Download Section */
.download {
    padding: 100px 0;
    background: var(--light-color);
}

.download-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 40px;
}

.download-intro a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.download-intro a:hover {
    text-decoration: underline;
}

/* Interactive Download Selector */
.download-selector {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    margin: 40px auto;
    max-width: 900px;
}

.selector-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    border-left: 3px solid #cbd5e0;
    padding-left: 20px;
}

.selector-row:last-child {
    margin-bottom: 0;
}

.selector-label {
    min-width: 200px;
    font-weight: 600;
    color: var(--dark-color);
    padding-top: 8px;
    font-size: 1rem;
}

.selector-options {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.selector-btn {
    padding: 8px 20px;
    border: 2px solid #e0e0e0;
    background: white;
    color: #666;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: 80px;
    text-align: center;
}

.selector-btn:hover:not(:disabled) {
    border-color: var(--primary-color);
    background: #f0f7ff;
    color: var(--primary-color);
}

.selector-btn.active {
    background: #000;
    color: white;
    border-color: #000;
}

.selector-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f5f5f5;
}

.selector-btn.loading {
    opacity: 0.6;
}

.download-result {
    margin-top: 30px;
    padding: 25px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
}

.download-result .selector-label {
    margin-bottom: 15px;
}

.result-message {
    color: #666;
    font-style: italic;
}

.download-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-color), #1976D2);
    color: white !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.download-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(33, 150, 243, 0.4);
}

.file-info {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
}

.not-available {
    color: #d32f2f;
    font-weight: 500;
    padding: 15px;
    background: #ffebee;
    border-radius: 6px;
    border-left: 4px solid #d32f2f;
}

@media (max-width: 768px) {
    .selector-row {
        flex-direction: column;
        gap: 10px;
    }

    .selector-label {
        min-width: auto;
        padding-top: 0;
    }

    .selector-options {
        width: 100%;
    }

    .selector-btn {
        flex: 1;
        min-width: 60px;
    }
    
    .download-selector {
        padding: 20px;
    }
}

.version-section {
    margin-bottom: 60px;
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.version-section.stable {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.version-header {
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.version-info {
    text-align: center;
    margin: 30px 0 50px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.version-badge {
    background: var(--primary-color);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
}

.version-badge.beta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-size: 1.2rem;
    padding: 12px 30px;
}

.version-badge.stable {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    font-size: 1.1rem;
    padding: 12px 28px;
}

.version-description {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.release-date {
    background: white;
    padding: 10px 25px;
    border-radius: 25px;
    color: var(--text-color);
    border: 2px solid var(--primary-color);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.download-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.download-card.compact {
    padding: 25px;
    background: white;
}

.download-card.compact h4 {
    font-size: 1.1rem;
    margin: 10px 0 15px;
    color: var(--dark-color);
}

.os-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.download-card h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.os-support {
    color: var(--text-light);
    margin-bottom: 30px;
}

.download-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-download {
    background: var(--primary-color);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-download:hover {
    background: #1976D2;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(33, 150, 243, 0.4);
}

.btn-download-small {
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    min-width: 120px;
}

.btn-download-small:hover {
    background: #1976D2;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

.btn-secondary-small {
    background: #6c757d;
}

.btn-secondary-small:hover {
    background: #545b62;
}

.download-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.os-icon-small {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.file-info {
    font-size: 0.9rem;
    color: var(--text-light);
}

.all-releases {
    text-align: center;
    margin-top: 50px;
}

/* Version Tabs */
.version-tabs {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
}

.version-tab {
    background: white;
    border: 2px solid #dee2e6;
    color: var(--text-color);
    padding: 12px 30px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.version-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

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

.version-content {
    display: none;
    animation: fadeIn 0.5s;
}

.version-content.active {
    display: block;
}

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

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

.python-install {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-top: 60px;
}

.python-install h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.python-install h3 i {
    color: var(--primary-color);
}

.code-block {
    background: var(--dark-color);
    color: #00ff41;
    padding: 20px;
    border-radius: var(--border-radius);
    font-family: 'Courier New', monospace;
    position: relative;
    overflow-x: auto;
    margin: 20px 0;
}

.code-block code {
    display: block;
    white-space: pre;
}

.copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.copy-btn:hover {
    background: rgba(255,255,255,0.2);
}

.install-note {
    text-align: center;
    color: var(--text-light);
    margin-top: 15px;
}

/* Quick Start Section */
.quickstart {
    padding: 100px 0;
}

.quickstart-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.tab-btn {
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary-color);
    color: white;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s;
}

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

.tab-content h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.step-number {
    min-width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #1976D2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
}

.quickstart-note {
    text-align: center;
    margin-top: 30px;
    color: var(--text-light);
}

.quickstart-note a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.supported-formats {
    background: var(--light-color);
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 0.95rem;
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: var(--light-color);
}

.gallery-tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 40px 0;
    flex-wrap: nowrap;
    overflow: visible;
}

.gallery-tab {
    background: white;
    border: 2px solid #dee2e6;
    color: var(--text-color);
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.gallery-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.gallery-tab.active {
    background: linear-gradient(135deg, var(--primary-color), #1976D2);
    color: white;
    border-color: var(--primary-color);
}

.gallery-content {
    display: none;
    animation: fadeIn 0.5s;
}

.gallery-content.active {
    display: block;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.gallery-item-wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: white;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.gallery-overlay p {
    font-size: 0.95rem;
}

/* Resources Section */
.resources {
    padding: 100px 0;
}

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

.resource-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

.resource-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    color: var(--primary-color);
}

.resource-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.resource-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.resource-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: white;
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

.footer-bottom p {
    margin: 5px 0;
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 20px rgba(33, 150, 243, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #1976D2;
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        transform: translateY(-120%);
        transition: var(--transition);
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-menu li {
        width: 100%;
        justify-content: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid,
    .download-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item-wide {
        grid-column: span 1;
    }

    .gallery-tabs {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
        overflow: visible;
    }

    .gallery-tab {
        flex-shrink: 1;
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .version-tabs {
        flex-direction: column;
        gap: 10px;
    }

    .version-tab {
        width: 100%;
    }

    .step {
        flex-direction: column;
        gap: 15px;
    }

    .code-block {
        font-size: 0.85rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* Language Switcher Styles */
.language-switcher {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--primary-color), #1976D2);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(33, 150, 243, 0.3);
    white-space: nowrap;
    outline: none;
}

.lang-btn:focus {
    outline: 2px solid rgba(33, 150, 243, 0.5);
    outline-offset: 2px;
}

.lang-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
}

.lang-btn i {
    font-size: 1.1rem;
}

#currentLang {
    font-size: 0.85rem;
    font-weight: 700;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 150px;
    overflow: hidden;
    z-index: 1001;
    border: 1px solid rgba(0,0,0,0.05);
}

.lang-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: white;
    border-left: 1px solid rgba(0,0,0,0.05);
    border-top: 1px solid rgba(0,0,0,0.05);
    transform: rotate(45deg);
}

.language-switcher:hover .lang-dropdown,
.lang-dropdown:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    width: 100%;
    padding: 12px 20px;
    border: none;
    background: white;
    color: var(--text-color);
    text-align: left;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    outline: none;
}

.lang-option:focus {
    background: rgba(33, 150, 243, 0.1);
    color: var(--primary-color);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: rgba(33, 150, 243, 0.1);
    color: var(--primary-color);
    padding-left: 25px;
}

.lang-option.active {
    background: linear-gradient(135deg, var(--primary-color), #1976D2);
    color: white;
    font-weight: 600;
}

/* Mobile Language Switcher */
@media (max-width: 768px) {
    .language-switcher {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 10px;
        margin-left: 0;
        margin-bottom: 10px;
    }
    
    .lang-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    .lang-dropdown {
        left: 50%;
        right: auto;
        transform: translateX(-50%) translateY(-10px);
        width: 200px;
        z-index: 1002;
    }
    
    .language-switcher:hover .lang-dropdown,
    .lang-dropdown:hover {
        transform: translateX(-50%) translateY(0);
    }
}

/* Python Installation Steps Styles */
.install-steps-compact {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
}

.install-step-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    background: rgba(33, 150, 243, 0.05);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.install-step-item:hover {
    background: rgba(33, 150, 243, 0.1);
    transform: translateX(5px);
}

.step-badge {
    min-width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-color), #1976D2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(33, 150, 243, 0.3);
}

.step-info {
    flex: 1;
}

.step-info h4 {
    margin: 0 0 8px 0;
    color: var(--text-color);
    font-size: 1.1rem;
}

.step-info p {
    margin: 5px 0;
    color: var(--text-light);
    line-height: 1.6;
}

.note-small {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 500;
    margin-top: 8px !important;
}

.example-text {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 8px !important;
}

.inline-code {
    background: rgba(0, 0, 0, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--primary-color);
}

.code-note {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-top: 10px;
    font-weight: 500;
}

.install-note {
    margin-top: 20px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1), rgba(33, 150, 243, 0.05));
    border-radius: 8px;
    color: var(--text-light);
    text-align: center;
    border: 1px solid rgba(33, 150, 243, 0.2);
}

.install-note i {
    color: var(--primary-color);
    margin-right: 5px;
}

/* Responsive adjustments for installation steps */
@media (max-width: 768px) {
    .install-step-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .step-badge {
        align-self: flex-start;
    }
}

/* ===== MODERN DOWNLOAD SECTION STYLES ===== */

/* Download Category */
.download-category {
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(248,249,250,0.9));
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.category-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-title i {
    font-size: 1.5rem;
}

/* Platform Downloads */
.platform-downloads {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.platform-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 2px solid rgba(33, 150, 243, 0.15);
    transition: all 0.3s ease;
}

.platform-section:hover {
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.15);
    transform: translateY(-2px);
}

.platform-header {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(33, 150, 243, 0.1);
}

.platform-header i {
    font-size: 1.6rem;
    color: var(--primary-color);
}

/* Variant List */
.variant-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-variant {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 18px;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.03), rgba(33, 150, 243, 0.06));
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.download-variant:hover {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.08), rgba(33, 150, 243, 0.12));
    transform: translateX(5px);
}

.variant-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.variant-name {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
}

.file-size {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Modern Download Button */
.btn-download-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-color), #1976D2);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
    white-space: nowrap;
}

.btn-download-modern:hover {
    background: linear-gradient(135deg, #1976D2, #1565C0);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(33, 150, 243, 0.4);
}

.btn-download-modern i {
    font-size: 1.1rem;
}

/* Wheel Downloads */
.wheel-downloads {
    margin-top: 15px;
}

.wheel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.wheel-card {
    background: white;
    border-radius: 12px;
    padding: 18px;
    border: 2px solid rgba(255, 193, 7, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wheel-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.2);
    transform: translateY(-3px);
}

.wheel-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 193, 7, 0.2);
}

.wheel-header i {
    font-size: 1.4rem;
    color: var(--secondary-color);
}

.wheel-python {
    font-weight: 700;
    color: var(--text-color);
    font-size: 1.05rem;
}

.wheel-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wheel-platform {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.wheel-size {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

.btn-download-wheel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--secondary-color), #FFB300);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(255, 193, 7, 0.3);
    text-align: center;
}

.btn-download-wheel:hover {
    background: linear-gradient(135deg, #FFB300, #FFA000);
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(255, 193, 7, 0.4);
}

/* Version Section Adjustments */
.version-section {
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    border: 2px solid rgba(33, 150, 243, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.version-section.beta {
    border-color: rgba(255, 152, 0, 0.3);
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.05), rgba(255, 193, 7, 0.05));
}

.version-section.stable {
    border-color: rgba(76, 175, 80, 0.3);
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05), rgba(139, 195, 74, 0.05));
}

.version-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.version-badge {
    font-size: 1.2rem;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.version-badge.beta {
    background: linear-gradient(135deg, #FF9800, #FFC107);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

.version-badge.stable {
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
    color: white;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.release-date {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Responsive Design for Download Section */
@media (max-width: 768px) {
    .platform-downloads {
        gap: 15px;
    }
    
    .download-variant {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .btn-download-modern {
        width: 100%;
        justify-content: center;
    }
    
    .wheel-grid {
        grid-template-columns: 1fr;
    }
    
    .version-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .category-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .download-category {
        padding: 18px;
    }
    
    .platform-section {
        padding: 15px;
    }
    
    .variant-name {
        font-size: 0.9rem;
    }
    
    .file-size {
        font-size: 0.8rem;
    }
}

