

.section {
    display: none;
    transition: opacity 0.2s ease;
    /* Smooth fade for visibility */
}
.section.active {
    display: block;
    opacity: 1;
}

.section.inactive {
    opacity: 0;
    /* Fade out inactive sections */
    pointer-events: none;
    /* Disable interactions on inactive */
}

/* === HERO / HOME SECTION === */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: calc(100vh - 180px);
    padding: 2rem 1rem;
}

.hero-icon {
    width: 5rem;
    height: 5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    animation: float 3s ease-in-out infinite;
}

.hero-icon svg {
    width: 100%;
    height: 100%;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.hero-tagline {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
    width: 100%;
    max-width: 280px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.2s;
}

.feature:hover {
    border-color: var(--accent-color);
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.1);
}

.feature svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    color: var(--accent-color);
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--text-primary);
    color: #fff;
    border: none;
    border-radius: 0.625rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 1rem;
}

.hero-cta:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-cta:active {
    transform: translateY(0);
}

.hero-cta svg {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.2s;
}

.hero-cta:hover svg {
    transform: translateX(4px);
}

.hero-footer {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-top: 1.5rem;
}

/* Desktop: horizontal features */
@media (min-width: 35em) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-tagline {
        font-size: 1.25rem;
    }

    .hero-features {
        flex-direction: row;
        max-width: none;
        justify-content: center;
    }

    .feature {
        padding: 1rem 1.25rem;
    }
}

/* === DEBUG === */
#signal-trace {
    position: fixed;
    top: 10px;
    right: 10px;
    background: #f0f0f0;
    padding: 5px;
    font-size: 12px;
}