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

:root {
    /* Colors - Swiss Spa Dark Theme */
    --bg: #0a0a0b;
    --bg-subtle: #0f1011;
    --card: #1a1b1d;
    --card-hover: #1f2123;
    --surface: #252729;
    --surface-hover: #2a2c2f;
    --text: #f8f9fa;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;
    --text-subtle: #6b7280;
    --border: #374151;
    --border-subtle: #2d3748;
    --border-hover: #4b5563;
    --primary: #10b981;
    --primary-hover: #059669;
    --primary-dark: #047857;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* Spacing */
    --spacing-unit: 4px;
}

html {
    scroll-behavior: smooth;
}

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

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

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1001;
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
}

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

.version-badge {
    padding: 4px 10px;
    background: var(--primary);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 120px 0 100px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-subtle) 0%, var(--bg) 100%);
    position: relative;
    overflow: visible;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 50px;
    margin-bottom: 32px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}



.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

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

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--card);
    color: var(--text);
    border: 1px solid var(--border);
}

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

.btn-icon {
    display: flex;
    align-items: center;
    width: 20px;
    height: 20px;
}

.btn-icon svg {
    width: 20px;
    height: 20px;
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 20;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: auto;
}

.stat-item {
    text-align: center;
    padding: 24px 20px;
    background: var(--card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                border-color 0.3s ease,
                box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

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

.stat-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.2);
}

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

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.4;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg);
    position: relative;
    z-index: 1;
}

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

.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 2;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

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

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

.version-info {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 16px;
    flex-wrap: wrap;
}

.current-version,
.release-date {
    padding: 8px 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.download-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.download-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.platform-icon {
    color: var(--primary);
    margin-bottom: 24px;
}

.platform-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.platform-desc {
    color: var(--text-muted);
    margin-bottom: 28px;
    font-size: 0.95rem;
}

.download-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.btn-download {
    background: var(--primary);
    color: white;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.file-info {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--surface);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.file-size {
    font-weight: 600;
    color: var(--text-secondary);
}

.alternative-downloads {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.alternative-downloads p {
    color: var(--text-muted);
    margin-bottom: 12px;
}

.alt-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.alt-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.alt-links a:hover {
    text-decoration: underline;
}

/* Screenshots Section */
.screenshots {
    padding: 100px 0;
    background: var(--bg);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

@media (max-width: 968px) {
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
}

.screenshot-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.screenshot-img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid var(--border);
    transition: transform 0.3s ease;
}

.screenshot-card:hover .screenshot-img {
    transform: scale(1.02);
}

.screenshot-placeholder {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--surface) 0%, var(--card) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border);
}

.placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.placeholder-icon {
    font-size: 3rem;
    opacity: 0.5;
}

.placeholder-text {
    color: var(--text-muted);
    font-weight: 500;
}

.screenshot-caption {
    padding: 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-align: center;
}

/* Tech Stack Section */
.tech-stack {
    padding: 100px 0;
    background: var(--bg-subtle);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
}

.tech-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.tech-item:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}



.tech-name {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.tech-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: var(--bg);
    border-top: 1px solid var(--border);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
}

/* Main Footer Content */
.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: start;
}

/* Brand Section */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.brand-logo {
    display: flex;
    gap: 16px;
    align-items: center;
}

.footer-logo {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

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

.brand-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
    background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-tagline {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.brand-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.version-badge-footer,
.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.version-badge-footer {
    background: linear-gradient(135deg, var(--primary) 0%, var(--warning) 100%);
    color: white;
    border-color: var(--primary);
}

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

/* Footer Links */
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.column-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.column-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 1px;
}

.column-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.column-links li {
    margin: 0;
}

.column-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 0;
    transition: all 0.3s ease;
    border-radius: var(--radius-sm);
    position: relative;
}

.column-links a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.column-links a::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.column-links a:hover::before {
    width: 4px;
}


/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    gap: 40px;
}

.footer-copyright {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.copyright-text,
.developer-credit,
.inspiration-credit {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.developer-link {
    color: var(--primary);
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.developer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s ease;
}

.developer-link:hover {
    color: var(--primary-hover);
}

.developer-link:hover::after {
    width: 100%;
}

.inspiration-credit a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.inspiration-credit a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.footer-organization {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.organization-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.org-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.flenco-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0;
    background: transparent;
    border: none;
}

.flenco-link:hover {
    transform: translateY(-2px);
}

.flenco-logo-img {
    height: 32px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.flenco-link:hover .flenco-logo-img {
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.5));
    transform: scale(1.05);
}

/* Footer Beta Notice */
.footer-beta-notice {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.beta-notice-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.1) 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-lg);
    color: var(--warning);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    backdrop-filter: blur(10px);
}

.beta-notice-content strong {
    font-weight: 700;
    color: var(--warning);
}

.beta-notice-content i {
    color: var(--warning);
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-links {
        gap: 24px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .download-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .footer-organization {
        align-items: center;
    }
    
    .organization-info {
        flex-direction: column;
        gap: 8px;
    }
    
    .beta-notice-content {
        font-size: 0.85rem;
        padding: 10px 16px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-content {
        flex-direction: column;
        gap: 16px;
        padding: 12px 0;
    }
    
    .nav-links {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 60px;
    }
    
    .btn-large {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-stats {
        gap: 32px;
        flex-wrap: wrap;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .footer-main {
        gap: 32px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-bottom {
        gap: 20px;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .brand-logo {
        justify-content: center;
    }
    
    .brand-badges {
        justify-content: center;
    }
    
    .organization-info {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .flenco-logo-img {
        height: 28px;
        filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.3));
    }
    
    .beta-notice-content {
        font-size: 0.8rem;
        padding: 8px 12px;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .nav-brand {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .nav-title {
        font-size: 1.25rem;
    }
    
    .version-badge {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    .nav-links {
        gap: 12px;
        font-size: 0.85rem;
    }
    
    .nav-bmc-btn span {
        display: none;
    }
    
    .nav-bmc-btn {
        padding: 6px 10px;
    }
    
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    
    .hero-buttons {
        margin-bottom: 40px;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .stat-value {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .feature-card {
        padding: 24px;
    }
    
    .feature-title {
        font-size: 1.1rem;
    }
    
    .feature-description {
        font-size: 0.9rem;
    }
    
    .download-card {
        padding: 24px;
    }
    
    .platform-name {
        font-size: 1.3rem;
    }
    
    .platform-desc {
        font-size: 0.9rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .tech-item {
        padding: 20px 16px;
    }
    
    .tech-name {
        font-size: 1rem;
    }
    
    .tech-desc {
        font-size: 0.8rem;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-main {
        gap: 24px;
        margin-bottom: 40px;
    }
    
    .footer-logo {
        width: 48px;
        height: 48px;
    }
    
    .brand-text h3 {
        font-size: 1.3rem;
    }
    
    .brand-description {
        font-size: 0.85rem;
    }
    
    .version-badge-footer,
    .platform-badge {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
    
    .column-title {
        font-size: 0.95rem;
        margin-bottom: 16px;
    }
    
    .column-links a {
        font-size: 0.85rem;
        padding: 6px 0;
    }
    
    .footer-bottom {
        gap: 16px;
        padding-top: 24px;
    }
    
    .copyright-text,
    .developer-credit,
    .inspiration-credit {
        font-size: 0.85rem;
    }
    
    .org-label {
        font-size: 0.85rem;
    }
    
    .bmc-button-footer {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
    
    .flenco-logo-img {
        height: 24px;
        filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.3));
    }
    
    .beta-notice-content {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
    
    .beta-notice-content span {
        line-height: 1.4;
    }
    
    .beta-banner-content {
        font-size: 0.75rem;
        padding: 0 30px;
    }
    
    .beta-banner-content span {
        text-align: center;
        line-height: 1.4;
    }
}

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

.feature-card,
.download-card,
.screenshot-card,
.tech-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

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

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

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


/* Lightbox for Screenshots */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-lg);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.screenshot-img {
    cursor: zoom-in;
}

/* ============================================ */
/* ICON ENHANCEMENTS */
/* ============================================ */

/* Global icon styling */
[data-lucide] {
    display: inline-block;
    vertical-align: middle;
    stroke-width: 2;
    transition: all 0.2s ease;
}

/* Version badge icons */
.version-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Nav link icons */
.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Hero badge icons */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Hero stats icons */
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Section header icons */
.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Version info icons */
.version-info span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Platform description icons */
.platform-desc {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* File info icons */
.file-info span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Screenshot badge */
.screenshot-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(16, 185, 129, 0.9);
    backdrop-filter: blur(8px);
    color: white;
    padding: 6px 12px;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

/* Screenshot caption icons */
.screenshot-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Tech item icons */
.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tech-item [data-lucide] {
    color: var(--primary);
}

/* Footer brand icons */
.footer-brand-text p {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Footer column headers */
.footer-column h4 {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Footer links */
.footer-column a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Footer bottom icons */
.footer-bottom p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.footer-inspired {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Alternative downloads icons */
.alternative-downloads p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.alt-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Button icons */
.btn [data-lucide] {
    transition: transform 0.2s ease;
}

.btn:hover [data-lucide] {
    transform: translateY(-2px);
}

/* Download button hover effect */
.btn-download:hover [data-lucide] {
    animation: bounce 0.6s ease infinite;
}

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

/* Feature icon hover effect */
.feature-card:hover .feature-icon [data-lucide] {
    transform: scale(1.1) rotate(5deg);
}

/* Platform icon hover effect */
.download-card:hover .platform-icon [data-lucide] {
    transform: scale(1.1);
    color: var(--primary);
}

/* Screenshot card hover effect */
.screenshot-card {
    position: relative;
}

.screenshot-card:hover .screenshot-badge {
    transform: scale(1.05);
}

/* Smooth icon transitions */
[data-lucide] {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Icon color variations */
.primary-icon {
    color: var(--primary);
}

.accent-icon {
    color: var(--accent);
}

.success-icon {
    color: var(--success);
}

.warning-icon {
    color: var(--warning);
}

/* Responsive icon sizes */
@media (max-width: 768px) {
    .hero-stats [data-lucide] {
        width: 20px !important;
        height: 20px !important;
    }
    
    .section-header [data-lucide] {
        width: 28px !important;
        height: 28px !important;
    }
    
    .platform-icon [data-lucide] {
        width: 40px !important;
        height: 40px !important;
    }
    
    .tech-item [data-lucide] {
        width: 28px !important;
        height: 28px !important;
    }
}

/* ============================================ */
/* NAVIGATION BUY ME A COFFEE BUTTON */
/* ============================================ */

.nav-bmc-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #FFDD00 0%, #FDB813 100%);
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(255, 221, 0, 0.3);
    border: 2px solid transparent;
}

.nav-bmc-btn:hover {
    background: linear-gradient(135deg, #FDB813 0%, #FFDD00 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 221, 0, 0.5);
    border-color: rgba(255, 221, 0, 0.5);
}

.nav-bmc-btn [data-lucide] {
    stroke-width: 2.5;
}

/* ============================================ */
/* FOOTER ENHANCEMENTS */
/* ============================================ */

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer-info p {
    margin: 0;
}

.developer-link {
    color: var(--primary);
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.developer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s ease;
}

.developer-link:hover {
    color: var(--primary-hover);
}

.developer-link:hover::after {
    width: 100%;
}

.footer-branding {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.powered-by {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.flenco-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.flenco-link:hover {
    transform: translateY(-2px);
}

.flenco-logo-container {
    padding: 8px 16px;
    background: radial-gradient(ellipse at center, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0.08) 50%, 
        rgba(255, 255, 255, 0.02) 100%);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.flenco-link:hover .flenco-logo-container {
    background: radial-gradient(ellipse at center, 
        rgba(255, 255, 255, 0.25) 0%, 
        rgba(255, 255, 255, 0.15) 50%, 
        rgba(255, 255, 255, 0.05) 100%);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 6px 16px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 20px rgba(16, 185, 129, 0.2);
    transform: scale(1.05);
}

.flenco-logo-img {
    height: 32px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
    filter: brightness(1.1) contrast(1.1);
}

.flenco-link:hover .flenco-logo-img {
    filter: brightness(1.2) contrast(1.2);
}

/* Footer Buy Me a Coffee Button */
.bmc-button-footer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #FFDD00 0%, #FDB813 100%);
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(255, 221, 0, 0.4);
    border: 2px solid transparent;
}

.bmc-button-footer:hover {
    background: linear-gradient(135deg, #FDB813 0%, #FFDD00 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255, 221, 0, 0.6);
    border-color: rgba(255, 221, 0, 0.6);
}

.bmc-button-footer [data-lucide] {
    stroke-width: 2.5;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-legal a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.beta-notice {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--warning);
    font-weight: 600;
    background: rgba(245, 158, 11, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-bottom {
        gap: 20px;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-legal span {
        display: none;
    }
    
    .bmc-img {
        height: 36px;
    }
}

/* Beta badge in nav */
.version-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--warning) 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
}

/* ============================================ */
/* BETA WARNING BANNER */
/* ============================================ */

.beta-banner {
    background: linear-gradient(135deg, var(--warning) 0%, #d97706 100%);
    color: white;
    padding: 12px 0;
    position: relative;
    z-index: 1002;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.beta-banner.hidden {
    display: none;
}

.beta-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.9rem;
    position: relative;
}

.beta-banner-content strong {
    font-weight: 700;
}

.beta-banner-close {
    position: absolute;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.beta-banner-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .beta-banner-content {
        font-size: 0.8rem;
        padding: 0 40px;
    }
    
    .beta-banner-content span {
        text-align: center;
    }
}

/* ============================================ */
/* ENHANCED ANIMATIONS & POLISH */
/* ============================================ */

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

/* Enhanced hero section */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent 0%, var(--bg) 100%);
    pointer-events: none;
    z-index: 0;
}

/* Feature cards hover enhancement */
.feature-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(16, 185, 129, 0.15);
    border-color: var(--primary);
}

/* Download cards enhancement */
.download-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.download-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(16, 185, 129, 0.2);
    border-color: var(--primary);
}

.download-card:hover .platform-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Screenshot cards enhancement */
.screenshot-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.screenshot-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(16, 185, 129, 0.15);
}

.screenshot-card:hover .screenshot-img {
    transform: scale(1.02);
}

.screenshot-img {
    transition: transform 0.3s ease;
}

/* Tech items enhancement */
.tech-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-item:hover {
    transform: translateY(-8px);
    background: var(--card-hover);
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.1);
}

.tech-item:hover [data-lucide] {
    transform: scale(1.2) rotate(10deg);
    color: var(--primary-hover);
}

/* Button enhancements */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Section headers enhancement */
.section-header {
    animation: fadeInUp 0.6s ease-out;
}

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

/* Navbar enhancement */
.navbar {
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 11, 0.98);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Hero stats animation - Desktop only */
@media (min-width: 769px) {
    .stat-item {
        animation: scaleIn 0.6s ease-out backwards;
    }

    .stat-item:nth-child(1) {
        animation-delay: 0.1s;
    }

    .stat-item:nth-child(2) {
        animation-delay: 0.2s;
    }

    .stat-item:nth-child(3) {
        animation-delay: 0.3s;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Improved spacing */
.section-header {
    margin-bottom: 60px;
}

.features-grid,
.download-grid,
.screenshots-grid,
.tech-grid {
    gap: 32px;
}

/* Enhanced shadows for depth */
.card,
.feature-card,
.download-card,
.screenshot-card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
}

/* Gradient text enhancement */
.gradient-text {
    animation: gradientShift 3s ease infinite;
    background-size: 200% auto;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

/* Loading state for images */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

/* Improved link hover states */
a {
    transition: all 0.2s ease;
}

/* Enhanced focus states for accessibility */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Responsive enhancements */
@media (max-width: 768px) {
    .nav-bmc-btn span {
        display: none;
    }
    
    .nav-bmc-btn {
        padding: 8px 12px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .features-grid,
    .download-grid,
    .screenshots-grid {
        gap: 24px;
    }
}

/* Print styles */
@media print {
    .navbar,
    .beta-banner,
    .hero-buttons,
    .bmc-button-footer,
    .nav-bmc-btn {
        display: none;
    }
}

/* ============================================ */
/* SCROLL TO TOP BUTTON */
/* ============================================ */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--primary-hover);
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.6);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ============================================ */
/* COMPREHENSIVE RESPONSIVE DESIGN */
/* ============================================ */

/* Large Tablets and Small Desktops (1024px and below) */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .download-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Medium screens - adjust stats to 2 columns */
@media (max-width: 900px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        max-width: 500px;
    }
    
    .stat-item:last-child {
        grid-column: 1 / -1;
        max-width: 250px;
        margin: 0 auto;
    }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
    /* Navigation */
    .nav-content {
        flex-direction: column;
        gap: 16px;
        padding: 12px 0;
    }
    
    .nav-brand {
        width: 100%;
        justify-content: center;
    }
    
    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .nav-link {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    .nav-bmc-btn span {
        display: none;
    }
    
    .nav-bmc-btn {
        padding: 8px 12px;
    }
    
    /* Beta Banner */
    .beta-banner-content {
        font-size: 0.8rem;
        padding: 0 40px;
        text-align: center;
    }
    
    /* Hero Section */
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 60px;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 400px;
        transform: none;
        will-change: auto;
    }
    
    .stat-item {
        padding: 20px 16px;
        transition: none;
        transform: none;
        will-change: auto;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    /* Features */
    .features {
        padding: 60px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .feature-card {
        padding: 24px;
    }
    
    /* Download Section */
    .download {
        padding: 60px 0;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .version-info {
        flex-direction: column;
        gap: 8px;
    }
    
    /* Screenshots */
    .screenshots {
        padding: 60px 0;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    /* Tech Stack */
    .tech-stack {
        padding: 60px 0;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }
    
    .footer-brand {
        justify-content: center;
    }
    
    .footer-links {
        width: 100%;
        justify-content: center;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-bottom {
        gap: 20px;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-legal span {
        display: none;
    }
    
    .flenco-logo-container {
        padding: 6px 12px;
    }
    
    .flenco-logo-img {
        height: 28px;
    }
    
    .bmc-button-footer {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* Mobile Landscape and Small Tablets (640px and below) */
@media (max-width: 640px) {
    /* Typography */
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    /* Navigation */
    .nav-logo {
        width: 36px;
        height: 36px;
    }
    
    .nav-title {
        font-size: 1.25rem;
    }
    
    .version-badge {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    /* Hero */
    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 16px;
    }
    
    /* Cards */
    .feature-card,
    .download-card,
    .screenshot-card {
        padding: 20px;
    }
    
    .feature-icon,
    .platform-icon {
        width: 48px;
        height: 48px;
    }
    
    .feature-icon [data-lucide],
    .platform-icon [data-lucide] {
        width: 32px !important;
        height: 32px !important;
    }
    
    /* Tech Grid */
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-item {
        padding: 24px;
    }
    
    /* Footer */
    .footer-brand-text h3 {
        font-size: 1.2rem;
    }
    
    .footer-column h4 {
        font-size: 0.95rem;
    }
    
    .footer-column a {
        font-size: 0.85rem;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    /* Navigation */
    .nav-links {
        gap: 8px;
    }
    
    .nav-link {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
    
    .nav-link [data-lucide] {
        width: 14px !important;
        height: 14px !important;
    }
    
    /* Hero */
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }
    
    .hero-buttons {
        margin-bottom: 40px;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    /* Sections */
    .features,
    .download,
    .screenshots,
    .tech-stack {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    /* Cards */
    .feature-card,
    .download-card,
    .screenshot-card,
    .tech-item {
        padding: 16px;
    }
    
    .feature-title,
    .platform-name,
    .tech-name {
        font-size: 1rem;
    }
    
    .feature-description,
    .platform-desc,
    .tech-desc {
        font-size: 0.85rem;
    }
    
    /* Download Section */
    .file-info {
        flex-direction: column;
        gap: 4px;
        font-size: 0.8rem;
    }
    
    .btn-download {
        width: 100%;
        justify-content: center;
    }
    
    /* Screenshots */
    .screenshot-badge {
        font-size: 0.7rem;
        padding: 4px 8px;
        top: 12px;
        left: 12px;
    }
    
    .screenshot-caption {
        font-size: 0.85rem;
    }
    
    /* Footer */
    .footer {
        padding: 32px 0 16px;
    }
    
    .footer-brand {
        flex-direction: column;
        gap: 12px;
    }
    
    .footer-logo {
        width: 36px;
        height: 36px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 24px;
    }
    
    .footer-column {
        width: 100%;
    }
    
    .footer-info p {
        font-size: 0.85rem;
    }
    
    .powered-by {
        font-size: 0.85rem;
    }
    
    .flenco-logo-img {
        height: 24px;
    }
    
    .bmc-button-footer {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
    
    .footer-legal {
        font-size: 0.75rem;
    }
    
    .beta-notice {
        font-size: 0.75rem;
        padding: 3px 10px;
    }
    
    /* Scroll to Top */
    .scroll-to-top {
        bottom: 16px;
        right: 16px;
        width: 42px;
        height: 42px;
    }
    
    .scroll-to-top [data-lucide] {
        width: 18px !important;
        height: 18px !important;
    }
}

/* Extra Small Mobile (360px and below) */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .nav-title {
        font-size: 1.1rem;
    }
    
    .version-badge {
        font-size: 0.65rem;
        padding: 2px 6px;
    }
    
    .btn-large {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .feature-card,
    .download-card,
    .screenshot-card,
    .tech-item {
        padding: 12px;
    }
}

/* Landscape Orientation Fixes */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        padding: 40px 0 30px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 16px;
    }
    
    .hero-description {
        margin-bottom: 24px;
    }
    
    .hero-buttons {
        margin-bottom: 32px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        max-width: 600px;
    }
    
    .stat-item {
        padding: 16px 12px;
    }
    
    .stat-value {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .flenco-logo-img,
    .nav-logo,
    .footer-logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Dark Mode Preference (if user prefers light) */
@media (prefers-color-scheme: light) {
    /* Keep dark theme but could add light theme toggle here */
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    .btn,
    .nav-link,
    .bmc-button-footer,
    .nav-bmc-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Remove hover effects on touch devices */
    .feature-card:hover,
    .download-card:hover,
    .screenshot-card:hover,
    .tech-item:hover {
        transform: none;
    }
    
    /* Tap highlight color */
    * {
        -webkit-tap-highlight-color: rgba(16, 185, 129, 0.2);
    }
}

/* iPad Pro and Large Tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .features-grid,
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .download-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Ultra-wide Screens */
@media (min-width: 1920px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 5rem;
    }
    
    .hero-description {
        font-size: 1.4rem;
    }
}

/* ============================================ */
/* MOBILE-SPECIFIC ENHANCEMENTS */
/* ============================================ */

/* Prevent text size adjustment on orientation change */
html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Smooth scrolling on iOS */
body {
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
}

/* Optimize scrolling performance */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Force hardware acceleration on mobile */
@media (max-width: 768px) {
    .hero,
    .hero-content,
    .hero-stats,
    .features,
    section {
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }
}

/* Better font rendering on mobile */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Prevent zoom on input focus (iOS) */
@media (max-width: 768px) {
    input,
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* Safe area for notched devices (iPhone X+) */
@supports (padding: max(0px)) {
    body {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
    }
    
    .navbar,
    .beta-banner {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
    }
}

/* Improve button tap on mobile */
button,
a {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

/* Allow text selection in content */
p,
h1,
h2,
h3,
h4,
h5,
h6,
li {
    -webkit-user-select: text;
    user-select: text;
}

/* Optimize images for mobile */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Better table overflow on mobile */
@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Sticky elements on mobile */
@media (max-width: 768px) {
    .navbar {
        position: sticky;
        top: 0;
        z-index: 1001;
    }
    
    .beta-banner {
        position: relative;
        z-index: 1002;
    }
    
    html {
        scroll-padding-top: 80px;
    }
}

/* Improve modal on mobile */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 16px;
    }
    
    .modal-dialog {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
}

/* Better spacing for mobile cards */
@media (max-width: 640px) {
    .feature-card,
    .download-card,
    .screenshot-card {
        margin-bottom: 0;
    }
}

/* Optimize animations for mobile performance */
@media (max-width: 768px) {
    * {
        animation-duration: 0.2s !important;
        transition-duration: 0.15s !important;
    }
    
    /* Disable hover effects on mobile for better performance */
    .stat-item:hover {
        transform: none;
        border-color: var(--border-subtle);
        box-shadow: none;
    }
    
    .stat-item::before {
        display: none;
    }
    
    /* Force GPU acceleration */
    .hero-stats,
    .stat-item {
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
    }
}

/* Hide elements on very small screens */
@media (max-width: 360px) {
    .hero-badge [data-lucide] {
        display: none;
    }
    
    .stat-item [data-lucide] {
        width: 18px !important;
        height: 18px !important;
    }
}

/* Landscape mobile optimization */
@media (max-width: 896px) and (orientation: landscape) {
    .hero {
        padding: 30px 0 20px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .stat-item {
        padding: 12px 8px;
    }
    
    .features,
    .download,
    .screenshots,
    .tech-stack {
        padding: 40px 0;
    }
}

/* Foldable devices */
@media (max-width: 653px) {
    .container {
        padding: 0 12px;
    }
}

/* Better grid for tablets in portrait */
@media (min-width: 641px) and (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .download-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
