/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #2563eb;
}

.nav-logo img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #2563eb;
}

/* Hero section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-logo {
    height: 120px;
    width: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

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

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

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

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

.btn-primary, .btn-secondary, .btn-download {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #fff;
    color: #2563eb;
}

.btn-primary:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

.btn-secondary:hover {
    background: #fff;
    color: #2563eb;
    transform: translateY(-2px);
}

.btn-download {
    background: #2563eb;
    color: #fff;
    display: block;
    text-align: center;
    margin-top: 15px;
}

.btn-download:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.build-status {
    margin-top: 30px;
}

/* Screenshots */
.screenshots {
    padding: 80px 0;
    background: #f8fafc;
}

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

.screenshot-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.screenshot-item:hover {
    transform: translateY(-5px);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-item h3 {
    padding: 20px;
    text-align: center;
    color: #333;
    font-size: 1.3rem;
}

/* Features */
.features {
    padding: 80px 0;
    background: #fff;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #1f2937;
}

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

.feature {
    text-align: center;
    padding: 30px;
    border-radius: 12px;
    background: #f8fafc;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1f2937;
}

.feature p {
    color: #6b7280;
    line-height: 1.6;
}

/* Download */
.download {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.download h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.download > .container > p {
    font-size: 1.2rem;
    margin-bottom: 60px;
    opacity: 0.9;
}

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

.download-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.download-item:hover {
    transform: translateY(-5px);
}

.download-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.download-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.download-item p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.download-note {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.download-note a {
    color: #fff;
    text-decoration: underline;
}

.additional-downloads {
    margin: 20px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.download-category {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.download-category h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.download-category a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
}

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

/* Setup */
.setup {
    padding: 80px 0;
    background: #fff;
}

.setup h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #1f2937;
}

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

.setup-item {
    background: #f8fafc;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #2563eb;
}

.setup-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1f2937;
}

.setup-item a {
    color: #2563eb;
    text-decoration: none;
}

.setup-item a:hover {
    text-decoration: underline;
}

.setup-instructions {
    background: #1f2937;
    color: white;
    padding: 40px;
    border-radius: 12px;
}

.setup-instructions h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.setup-instructions ol {
    padding-left: 20px;
}

.setup-instructions li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-info {
    text-align: right;
}

.footer-info p {
    margin-bottom: 5px;
    color: #9ca3af;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-platforms {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .features h2, .download h2, .setup h2 {
        font-size: 2rem;
    }
    
    .screenshot-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
    }
    
    .setup-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .features, .download, .setup, .screenshots {
        padding: 60px 0;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body {
        background: #1a1a1a;
        color: #e5e5e5;
    }
    
    .navbar {
        background: rgba(26, 26, 26, 0.95);
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }
    
    .navbar.scrolled {
        background: rgba(26, 26, 26, 0.98);
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    }
    
    .nav-links a {
        color: #e5e5e5;
    }
    
    .screenshots {
        background: #111;
    }
    
    .screenshot-item {
        background: #222;
    }
    
    .features {
        background: #1a1a1a;
    }
    
    .feature {
        background: #222;
    }
    
    .feature h3 {
        color: #e5e5e5;
    }
    
    .setup {
        background: #1a1a1a;
    }
    
    .setup-item {
        background: #222;
    }
    
    .setup-item h3 {
        color: #e5e5e5;
    }
}