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

body {
    font-family: 'Inter', sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

body.drawer-open {
    overflow: hidden;
}

a {
    color: #fff;
    text-decoration: none;
}

ul {
    list-style: none;
}

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

/* Navigation */
#navbar {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 4rem);
    max-width: 1200px; /* Adjusted for better responsiveness */
    background: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid #333;
    border-radius: 9999px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    transition: color 0.3s ease;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background: #111;
    z-index: 1001;
    transition: right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #333;
}

.close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

.drawer-nav {
    padding: 1.5rem;
}

.drawer-nav a {
    display: block;
    padding: 1rem 0;
    transition: color 0.3s ease;
}

.drawer-nav a:hover {
    color: #aaa;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 2rem;
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #aaa;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid #333;
    border-radius: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.hero-screenshot {
    margin-top: 3rem;
    max-width: 800px;
    width: 100%;
}

.hero-screenshot img {
    width: 100%;
    border-radius: 1rem;
    border: 1px solid #333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: #ddd;
}

.btn-secondary {
    border: 1px solid #fff;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #000;
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    text-align: center;
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: #111;
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid #333;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.feature-card .material-icons {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #aaa;
}

/* Comparison Section */
.comparison {
    padding: 6rem 2rem;
}

.comparison-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.comparison h2 {
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.comparison-card {
    background: #111;
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid #333;
}

.comparison-card.highlight {
    border-color: #fff;
}

.comparison-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.comparison-card ul {
    text-align: left;
    margin-bottom: 2rem;
}

.comparison-card li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Documentation Section */
.documentation {
    padding: 6rem 2rem;
}

.docs-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.documentation h2 {
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

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

.doc-card {
    background: #111;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #333;
    text-align: left;
}

.doc-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.doc-card p {
    color: #aaa;
    margin-bottom: 1rem;
}

.doc-card ul {
    list-style: none;
}

.doc-card li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.code-snippet {
    background: #000;
    padding: 1rem;
    border-radius: 0.5rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    white-space: pre-wrap;
}

/* Download Page */
.download-page {
    padding: 8rem 2rem 4rem;
    text-align: center;
}

.download-page h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.download-page p {
    color: #aaa;
    margin-bottom: 4rem;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.download-card .material-icons {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.download-card .version-info {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 1.5rem;
}


/* Footer */
footer {
    padding: 4rem 2rem;
    text-align: center;
    border-top: 1px solid #333;
}

.footer-links {
    margin-bottom: 1.5rem;
}

.footer-links a {
    margin: 0 1rem;
    color: #aaa;
    transition: color 0.3s;
}

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

.copyright p {
    color: #777;
    font-size: 0.9rem;
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.animate-fade-in-down {
    animation: fadeInDown 0.8s ease-out forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; }

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }

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

    .comparison-grid {
        gap: 2rem;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
}