/* Explain: Solar guide landing page component styles */
.eyebrow {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.site-header {
    border-bottom: 1px solid var(--border-color);
    background: color-mix(in srgb, var(--surface-color) 92%, transparent);
    backdrop-filter: blur(18px);
}

.hero-cinematic {
    position: relative;
    isolation: isolate;
}

.solar-hero-overlay {
    background:
        radial-gradient(circle at 18% 18%, color-mix(in srgb, var(--sand-color) 74%, transparent), transparent 22rem),
        linear-gradient(115deg, color-mix(in srgb, var(--navy-color) 92%, transparent), color-mix(in srgb, var(--navy-color) 62%, transparent), color-mix(in srgb, var(--mint-color) 28%, transparent));
}

.sunburst {
    position: absolute;
    border-radius: 999px;
    background: repeating-conic-gradient(from 8deg, color-mix(in srgb, var(--sand-color) 70%, transparent) 0deg 10deg, transparent 10deg 20deg);
    opacity: 0.5;
    filter: blur(0.2px);
}

.roofline-card {
    position: relative;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--mint-color) 44%, transparent);
    background: color-mix(in srgb, var(--surface-color) 14%, transparent);
    box-shadow: 0 2rem 6rem color-mix(in srgb, var(--navy-color) 32%, transparent);
    backdrop-filter: blur(22px);
}

.guide-card,
.form-card {
    position: relative;
    z-index: 10;
    border: 1px solid color-mix(in srgb, var(--mint-color) 38%, transparent);
    background: color-mix(in srgb, var(--surface-color) 88%, transparent);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(24px);
}

.form-card::before,
.guide-modal-card::before {
    content: "";
    position: absolute;
    inset: 0.8rem;
    pointer-events: none;
    border: 1px solid color-mix(in srgb, var(--mint-color) 58%, transparent);
    border-radius: inherit;
}

.guide-status.success {
    display: block;
    border: 1px solid color-mix(in srgb, var(--aqua-color) 45%, transparent);
    background: color-mix(in srgb, var(--mint-color) 42%, transparent);
    color: var(--navy-color);
}

.guide-status.error {
    display: block;
    border: 1px solid color-mix(in srgb, var(--sand-color) 70%, transparent);
    background: color-mix(in srgb, var(--sand-color) 42%, transparent);
    color: var(--navy-color);
}

.trust-card,
.content-card,
.savings-card,
.unbiased-card,
.testimonial-card,
.checklist-card {
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    background: color-mix(in srgb, var(--surface-color) 88%, transparent);
    box-shadow: var(--shadow-card);
    transition: transform 300ms ease, border-color 300ms ease, background 300ms ease;
}

.trust-card:hover,
.content-card:hover,
.savings-card:hover,
.unbiased-card:hover,
.testimonial-card:hover,
.checklist-card:hover {
    transform: translateY(-0.35rem);
    border-color: color-mix(in srgb, var(--aqua-color) 42%, transparent);
    background: var(--surface-color);
}

.icon-badge {
    display: inline-flex;
    height: 3.25rem;
    width: 3.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: color-mix(in srgb, var(--sand-color) 74%, var(--surface-color));
    color: var(--navy-color);
}

.wave-divider {
    position: relative;
    overflow: hidden;
}

.wave-divider::before {
    content: "";
    position: absolute;
    left: -5%;
    right: -5%;
    top: -2.25rem;
    height: 4.5rem;
    border-radius: 0 0 50% 50%;
    background: inherit;
}

#guide-form,
#credibility,
#contents,
#savings,
#unbiased,
#stories,
#final-download {
    scroll-margin-top: 6rem;
}

body.guide-modal-open {
    overflow: hidden;
}

.mobile-download-button {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 9999;
    box-shadow: 0 1.2rem 3rem color-mix(in srgb, var(--navy-color) 32%, transparent);
    backdrop-filter: blur(18px);
}

.guide-modal {
    z-index: 10000;
}

.guide-modal-card {
    background: color-mix(in srgb, var(--surface-color) 90%, transparent);
    box-shadow: 0 2rem 6rem color-mix(in srgb, var(--navy-color) 42%, transparent);
    backdrop-filter: blur(24px);
}

@media (min-width: 1024px) {
    .mobile-download-button {
        display: none;
    }
}
