/* index.css - Specific to landing page */

#hero-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

main {
    padding-top: 60px;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80vh;
    padding: 0 10%;
}

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

#hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
}

#hero-title .accent {
    color: var(--accent-green);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 16px;
}

.hero-code {
    flex: 1;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--border-radius-md);
    padding: 24px;
    box-shadow: var(--shadow);
    max-width: 500px;
    position: relative;
    overflow: hidden;
}

.hero-code::before {
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-blue));
}

.hero-code pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    word-break: break-all;
    overflow-x: hidden;
}

.stats-section {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding: 80px 10%;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stat-card {
    text-align: center;
}

.stat-card h2,
.stat-card span {
    font-size: 3rem;
    color: var(--accent-green);
    font-family: 'Space Grotesk', sans-serif;
}

.stat-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 8px;
}

.features-section {
    padding: 100px 10%;
}

.section-header h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
}

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

.feature-card {
    text-align: center;
}

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

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

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

footer {
    text-align: center;
    padding: 40px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    margin-top: 60px;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 1024px) {
    .stats-section {
        flex-wrap: wrap;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    main {
        padding-top: 20px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 5%;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
        width: 100%;
    }

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

    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-code {
        width: 100%;
        max-width: 100%;
        font-size: 0.75rem;
        padding: 16px;
        box-sizing: border-box;
    }

    .stats-section {
        flex-direction: column;
        padding: 60px 5%;
    }

    .stat-card h2,
    .stat-card span {
        font-size: 2.5rem;
    }

    .features-section {
        padding: 60px 5%;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}