/* Explain: Reusable component styles like cards, buttons, and modals. */
.eyebrow {
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

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

.orb {
    position: absolute;
    border-radius: 999px;
    background: color-mix(in srgb, var(--primary-color) 16%, transparent);
    border: 1px solid color-mix(in srgb, var(--primary-color) 30%, transparent);
    animation: orbDrift 9s ease-in-out infinite;
    pointer-events: none;
}

.orb:nth-child(2n) {
    animation-delay: -3s;
}

.orb:nth-child(3n) {
    animation-delay: -6s;
}

.float-icon {
    animation: iconPulse 3s ease-in-out infinite;
    transform-origin: center;
}

.lead-card {
    position: relative;
    z-index: 75;
    width: min(36rem, 100%);
    border: 8px solid color-mix(in srgb, var(--cream-color) 88%, transparent);
    border-radius: 3rem;
    background:
        radial-gradient(circle at 16% 12%, color-mix(in srgb, var(--secondary-color) 62%, transparent), transparent 10rem),
        radial-gradient(circle at 92% 90%, color-mix(in srgb, var(--primary-color) 16%, transparent), transparent 11rem),
        color-mix(in srgb, var(--cream-color) 96%, transparent);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.cream-panel {
    position: relative;
    border: 1px solid color-mix(in srgb, var(--primary-color) 18%, transparent);
    border-radius: 2rem;
    background: color-mix(in srgb, var(--surface-color) 88%, transparent);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
}

.trust-item {
    display: flex;
    min-height: 4rem;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border-radius: 999px;
    color: var(--charcoal-color);
    font-size: 0.9rem;
    font-weight: 900;
}

.concern-card,
.ingredient-card,
.step-card,
.faq-card,
.gallery-card {
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    background: color-mix(in srgb, var(--surface-color) 90%, transparent);
    box-shadow: var(--shadow-card);
    transition: transform 300ms ease, border-color 300ms ease, background 300ms ease;
}

.review-card {
    border: 1px solid color-mix(in srgb, var(--cream-color) 20%, transparent);
    border-radius: 2rem;
    background: color-mix(in srgb, var(--cream-color) 12%, transparent);
    box-shadow: var(--shadow-card);
    transition: transform 300ms ease, border-color 300ms ease, background 300ms ease;
}

.concern-card:hover,
.ingredient-card:hover,
.step-card:hover,
.gallery-card:hover {
    transform: translateY(-0.35rem);
    border-color: color-mix(in srgb, var(--primary-color) 55%, transparent);
    background: color-mix(in srgb, var(--surface-color) 100%, transparent);
}

.review-card:hover {
    transform: translateY(-0.35rem);
    border-color: color-mix(in srgb, var(--secondary-color) 70%, transparent);
    background: color-mix(in srgb, var(--cream-color) 18%, transparent);
}

.icon-dot {
    display: inline-flex;
    height: 3.25rem;
    width: 3.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: color-mix(in srgb, var(--primary-color) 16%, var(--cream-color));
    color: var(--primary-hover);
    font-size: 1.15rem;
}

.gallery-card {
    overflow: hidden;
}

.gallery-card img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
}

.callback-status.success {
    display: block;
    border: 1px solid color-mix(in srgb, var(--primary-color) 50%, transparent);
    background: color-mix(in srgb, var(--primary-color) 14%, transparent);
    color: var(--charcoal-color);
}

.callback-status.error {
    display: block;
    border: 1px solid color-mix(in srgb, var(--accent-color) 48%, transparent);
    background: color-mix(in srgb, var(--accent-color) 12%, transparent);
    color: var(--charcoal-color);
}

.floating-contact-open {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 950;
    display: none;
    opacity: 0;
    pointer-events: none;
    transform: translateY(0.75rem);
    box-shadow: 0 1.2rem 3rem color-mix(in srgb, var(--charcoal-color) 26%, transparent);
}

.floating-contact-open.is-visible {
    display: inline-flex;
    opacity: 0.98;
    pointer-events: auto;
    transform: translateY(0);
}

#concerns,
#ingredients,
#how-it-works,
#reviews,
#faq,
#buy {
    scroll-margin-top: 6rem;
}

.lead-modal {
    z-index: 1000;
}

.lead-modal::backdrop {
    background: color-mix(in srgb, var(--charcoal-color) 52%, transparent);
    backdrop-filter: blur(8px);
}

@media (max-width: 640px) {
    .lead-card {
        width: min(28rem, 100%);
        border-width: 5px;
        border-radius: 2.5rem;
    }

    .floating-contact-open {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }
}

@keyframes orbDrift {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(0.8rem, -1rem, 0) scale(1.06);
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    35% {
        transform: rotate(-6deg) scale(1.08);
    }
    70% {
        transform: rotate(5deg) scale(1.04);
    }
}