/* ========================================
   Audio.Family — Section-Specific Styles
   ======================================== */

/* ---- HERO SECTION ---- */
.hero {
    position: relative;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: var(--z-behind);
    overflow: hidden;
}

.hero__bg::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -20%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.12) 0%, transparent 60%);
    animation: float 8s ease-in-out infinite;
}

.hero__bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -20%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(255, 184, 108, 0.08) 0%, transparent 60%);
    animation: float 10s ease-in-out infinite reverse;
}

.hero__content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: var(--z-base);
}

.hero__badge {
    margin-bottom: var(--space-6);
}

.hero__title {
    font-family: var(--font-heading);
    font-size: var(--fs-5xl);
    font-weight: var(--fw-black);
    color: var(--color-text-heading);
    margin-bottom: var(--space-6);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero__subtitle {
    font-size: var(--fs-lg);
    color: var(--color-text-muted);
    max-width: 560px;
    margin: 0 auto var(--space-10);
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.hero__waveform {
    margin-top: var(--space-16);
    display: flex;
    justify-content: center;
}

.hero__waveform canvas {
    width: 100%;
    max-width: 700px;
    height: 120px;
    opacity: 0.6;
}

/* ---- Trust indicators under hero ---- */
.hero__trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    margin-top: var(--space-12);
    flex-wrap: wrap;
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
}

.hero__trust-item svg {
    width: 18px;
    height: 18px;
    color: var(--color-success);
}

@media (max-width: 768px) {
    .hero__title {
        font-size: var(--fs-3xl);
    }

    .hero__subtitle {
        font-size: var(--fs-base);
    }

    .hero__trust {
        gap: var(--space-4);
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: var(--fs-2xl);
    }
}

/* ---- PROBLEM SECTION ---- */
.problem {
    background: linear-gradient(180deg, var(--color-bg) 0%, #0f0a12 100%);
}

.problem__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

.problem__card {
    padding: var(--space-6);
}

.problem__card .card__icon--danger {
    background: var(--color-danger-dim);
    color: var(--color-danger);
}

.problem__callout {
    margin-top: var(--space-10);
    background: var(--color-danger-dim);
    border: 1px solid rgba(255, 85, 85, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--space-6) var(--space-8);
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
}

.problem__callout-icon {
    font-size: var(--fs-2xl);
    flex-shrink: 0;
    line-height: 1;
}

.problem__callout-text {
    font-size: var(--fs-md);
    color: var(--color-text);
    line-height: 1.7;
}

.problem__callout-text strong {
    color: var(--color-danger);
}

@media (max-width: 768px) {
    .problem__grid {
        grid-template-columns: 1fr;
    }
}

/* ---- SOLUTION SECTION ---- */
.solution {
    background: linear-gradient(180deg, #0f0a12 0%, var(--color-bg) 100%);
}

.solution__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

@media (max-width: 1024px) {
    .solution__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .solution__grid {
        grid-template-columns: 1fr;
    }
}

/* ---- HOW IT WORKS SECTION ---- */
.how-it-works__steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-10);
    max-width: 650px;
    margin: 0 auto;
    position: relative;
}

.how-it-works__steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 27px;
    bottom: 28px;
    width: 2px;
    background: linear-gradient(180deg, var(--color-primary), var(--color-warm));
    opacity: 0.3;
}

/* ---- USE CASES SECTION ---- */
.use-cases__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.use-case-card {
    text-align: center;
    padding: var(--space-8) var(--space-6);
}

.use-case-card__emoji {
    font-size: var(--fs-3xl);
    margin-bottom: var(--space-4);
    display: block;
}

@media (max-width: 1024px) {
    .use-cases__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .use-cases__grid {
        grid-template-columns: 1fr;
    }
}

/* ---- TRUST SECTION ---- */
.trust {
    background: var(--color-surface);
    border-top: var(--border-subtle);
    border-bottom: var(--border-subtle);
}

.trust__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.trust-item {
    text-align: center;
    padding: var(--space-6);
}

.trust-item__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-4);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-2xl);
    background: var(--color-success-dim);
}

.trust-item__title {
    font-family: var(--font-heading);
    font-size: var(--fs-base);
    font-weight: var(--fw-semibold);
    color: var(--color-text-heading);
    margin-bottom: var(--space-2);
}

.trust-item__text {
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .trust__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .trust__grid {
        grid-template-columns: 1fr;
    }
}

/* ---- PRICING SECTION ---- */
.pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    align-items: start;
}

.pricing__note {
    text-align: center;
    margin-top: var(--space-10);
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
}

.pricing__note svg {
    display: inline;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    color: var(--color-warm);
    margin-right: var(--space-1);
}

@media (max-width: 1024px) {
    .pricing__grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
}

/* ---- VISION SECTION ---- */
.vision {
    text-align: center;
}

.vision__manifesto {
    max-width: 700px;
    margin: 0 auto var(--space-10);
}

.vision__quote {
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    font-weight: var(--fw-bold);
    color: var(--color-text-heading);
    line-height: 1.4;
    margin-bottom: var(--space-6);
}

.vision__text {
    font-size: var(--fs-md);
    color: var(--color-text-muted);
    line-height: 1.8;
}

.vision__testimonials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    max-width: 800px;
    margin: var(--space-12) auto 0;
}

@media (max-width: 768px) {
    .vision__quote {
        font-size: var(--fs-xl);
    }

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

/* ---- FOOTER ---- */
.footer {
    background: var(--color-surface);
    border-top: var(--border-subtle);
    padding: var(--space-16) 0 var(--space-8);
}

.footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-10);
    margin-bottom: var(--space-12);
}

.footer__brand {
    max-width: 300px;
}

.footer__brand-name {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    color: var(--color-text-heading);
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.footer__brand-text {
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
    line-height: 1.7;
}

.footer__col-title {
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--color-text-heading);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer__link {
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
    transition: color var(--duration-fast);
}

.footer__link:hover {
    color: var(--color-primary-glow);
}

.footer__bottom {
    border-top: var(--border-subtle);
    padding-top: var(--space-8);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer__copyright {
    font-size: var(--fs-xs);
    color: var(--color-text-muted);
}

.footer__socials {
    display: flex;
    gap: var(--space-4);
}

.footer__social {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-text-muted);
    transition: all var(--duration-fast);
}

.footer__social:hover {
    background: var(--color-primary-dim);
    color: var(--color-primary);
}

.footer__social svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .footer__top {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
    }

    .footer__brand {
        grid-column: 1 / -1;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer__top {
        grid-template-columns: 1fr;
    }
}