/* Layout and Section Styles */

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

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    margin: 0 0 1rem;
    background: var(--accent-gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    animation: fade-in-up 0.8s ease both;
}

body.light .hero h1 {
    background: var(--accent-gradient-hero-light);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .tagline {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--text-muted);
    margin: 0 0 3rem;
    max-width: 600px;
    animation: fade-in-up 0.8s 0.1s ease both;
}

body.light .hero .tagline {
    color: var(--text-muted-light);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fade-in-up 0.8s 0.2s ease both;
}

/* Features Section */
.features {
    position: relative;
    padding: var(--spacing-2xl) var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

.features h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin: 0 0 4rem;
    color: var(--accent);
}

body.light .features h2 {
    color: var(--accent-strong);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

/* Footer */
footer {
    position: relative;
    padding: var(--spacing-lg) var(--spacing-md) var(--spacing-md);
    text-align: center;
    color: var(--text-muted);
    border-top: 1px solid rgba(148, 163, 184, 0.15);
}

footer a {
    color: var(--accent);
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

footer a:hover {
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .theme-toggle {
        top: var(--spacing-sm);
        right: var(--spacing-sm);
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

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