/* ─── GROK-STYLE STARFIELD BACKGROUND ─── */
body {
    background: #000 !important;
}

#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #000;
    pointer-events: none;
}

/* Ensure all content sections are transparent to show the starfield */
.hero,
.section,
.footer,
nav,
.product-hero,
.detail,
.cta-section,
.benefits,
.bio,
.stress,
.cta-final {
    position: relative;
    z-index: 1;
    background-color: transparent !important;
    background-image: none !important;
}

/* Subtle overlays for specific sections if needed */
.benefits {
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url('assets/flors.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
}

.advantages {
    background: linear-gradient(to bottom, transparent, rgba(56, 1, 66, 0.3), transparent) !important;
}

.hero-bg,
.product-hero-bg {
    opacity: 0.2 !important;
}


/* ─── LE SAVIEZ-VOUS ? BUTTON ─── */
.fact-btn {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 9999;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text);
    padding: 0.8rem 1.2rem;
    border-radius: 50px;
    font-family: var(--font-b);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.fact-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--neon-green);
    transform: translateY(-3px);
    color: var(--neon-green);
    box-shadow: 0 10px 25px rgba(93, 255, 158, 0.2);
}

.fact-btn .icon {
    font-size: 1rem;
}

/* ─── FACTS MODAL ─── */
.fact-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    padding: 2rem;
}

.fact-modal.active {
    opacity: 1;
    pointer-events: all;
}

.fact-modal-content {
    background: #0a0a0a;
    border: 1px solid rgba(255, 128, 220, 0.2);
    width: 100%;
    max-width: 500px;
    border-radius: 28px;
    padding: 3rem 2.5rem;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 128, 220, 0.1);
}

.fact-modal.active .fact-modal-content {
    transform: scale(1) translateY(0);
}

.fact-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.fact-modal-close:hover {
    color: var(--neon-pink);
}

.fact-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
}

.fact-modal-header h3 {
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--neon-pink);
}

.fact-count {
    font-family: var(--font-b);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 700;
}

.fact-text {
    font-size: 1.1rem;
    color: var(--text-bright);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    min-height: 80px;
    transition: opacity 0.3s ease;
}

.fact-modal-footer {
    text-align: right;
}

.next-fact-btn {
    background: transparent;
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-b);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.next-fact-btn:hover {
    background: var(--neon-green);
    color: #000;
    box-shadow: 0 0 20px rgba(93, 255, 158, 0.4);
}

/* ─── WHATSAPP FLOAT ─── */
.whatsapp-float {
    right: auto !important;
    left: 28px !important;
    bottom: 28px !important;
    /* Hidden by default */
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(25px) scale(0.75) !important;
    transition:
        opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
        transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
        visibility 0.8s !important;
}

/* Tooltip repositioned to the right (button is on left side) */
.whatsapp-float .wa-tooltip {
    right: auto !important;
    left: 72px !important;
    transform-origin: left center;
    white-space: nowrap !important;
    font-size: .75rem !important;
    background: rgba(0, 0, 0, 0.85) !important;
    border: 1px solid rgba(37, 211, 102, 0.4) !important;
    opacity: 0;
    transition: opacity 0.4s ease !important;
}

/* ─── PERMANENTLY REVEALED ─── */
body.wa-revealed .whatsapp-float {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
    animation: waPulse 2.5s ease-in-out infinite !important;
    transition:
        opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s,
        transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s !important;
}

/* Tooltip always visible once revealed */
body.wa-revealed .whatsapp-float .wa-tooltip {
    opacity: 1 !important;
    pointer-events: none !important;
}

@keyframes waPulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, .45);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, .75), 0 0 0 10px rgba(37, 211, 102, .12);
    }
}


/* ─── ENHANCED PRODUCT HERO GLOW EFFECT ─── */
@keyframes magicalBreathe {
    0% {
        opacity: 0.5;
        transform: scale(1) translateY(0);
        filter: hue-rotate(0deg);
    }

    100% {
        opacity: 1;
        transform: scale(1.1) translateY(-10px);
        filter: hue-rotate(15deg);
    }
}

.product-hero-glow {
    animation: magicalBreathe 6s ease-in-out infinite alternate !important;
    background: radial-gradient(ellipse at 50% 50%, rgba(255, 128, 220, 0.15) 0%, rgba(93, 255, 158, 0.1) 40%, transparent 70%) !important;
}

/* Subtle separator line to transition smoothly */
.product-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(93, 255, 158, 0.3), transparent);
}

















/* ─── PRODUCT IMG CARD (product pages) — clean display ─── */
/* The _final images already have flower + rock baked in, no tricks needed */
.product-img-card {
    position: relative;
    background: #000 !important;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.5) !important;
}

.product-img-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    mix-blend-mode: normal !important;
    filter: none !important;
    transform: scale(1) !important;
    transition: transform 0.5s ease !important;
}

.product-img-card:hover img {
    transform: scale(1.04) !important;
}