/* =========================================
   looks.css | Unicorn Heart Brand Management
   ========================================= */

body {
    font-family: 'Raleway', sans-serif;
    background-color: #050505; /* Deep Black */
    color: #FFFFFF;
}

/* --- CUSTOM GOLD SCROLLBAR --- */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: #0B0E14; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    border-radius: 6px;
    border: 2px solid #0B0E14;
}

/* --- HEADER & FOOTER STYLING --- */
.main-header {
    background-color: rgba(5, 5, 5, 0.95);
    border-bottom: 1px solid #BF953F;
}
.main-footer {
    background-color: rgba(5, 5, 5, 0.95);
    border-top: 1px solid #BF953F;
    color: #BF953F;
    text-align: center;
    padding: 40px 20px;
    width: 100%;
}

/* --- PRESTIGE LOGO WRAPPER (MOBILE RESPONSIVE) --- */
.logo-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 250px; /* Forces exact size across ALL pages */
    margin: 0 auto;
}
.brand-logo-img { 
    width: 100%; 
    height: auto; 
    display: block; 
}

/* --- THE SPARKLE LOGIC --- */
.sparkle {
    position: absolute;
    color: #FCF6BA; /* Bright Gold Highlight */
    font-size: 1.2rem;
    pointer-events: none;
    opacity: 0;
    animation: twinkle 5s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(252, 246, 186, 0.8));
}

@keyframes twinkle {
    0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
    20% { opacity: 1; transform: scale(1.2) rotate(45deg); }
    40% { opacity: 0; transform: scale(0) rotate(90deg); }
}

/* --- NAVIGATION DROPDOWNS --- */
.dropdown {
    background-color: #111;
    border: 1px solid #BF953F;
    padding: 10px 0;
}
.dropdown li a { padding: 10px; display: block; font-size: 0.9rem; }

/* --- THE MASTER METALLIC SILVER CLASS --- */
a { 
    text-decoration: none; 
    color: white; 
    font-weight: 500; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
}

/* Attach class="glow-text" to ANY element to make it metallic */
.glow-text {
    background: linear-gradient(to right, #9ca3af, #ffffff, #9ca3af);
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    transition: 0.5s;
    animation: luxuryPulse 8s infinite alternate;
}

/* Rules to keep headings bold and centered when using glow-text */
h1.glow-text, 
h2.glow-text {
    font-weight: 800;
    letter-spacing: 2px;
    text-align: center;
}

h1.glow-text {
    font-size: 2.8rem;
    margin-bottom: 30px;
}

h2.glow-text {
    font-size: 2.2rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

@keyframes luxuryPulse {
    0%   { filter: drop-shadow(0 0 4px rgba(168, 85, 247, 0.5)); } /* Violet */
    50%  { filter: drop-shadow(0 0 4px rgba(6, 182, 212, 0.5)); }  /* Turquoise */
    100% { filter: drop-shadow(0 0 4px rgba(236, 72, 153, 0.5)); } /* Pink */
}

/* --- EDITORIAL TEXT CONTAINERS (For Non-Parallax Pages) --- */
.content-wrapper {
    max-width: 800px; /* Aesthetically pleasing reading width */
    margin: 60px auto;
    padding: 0 20px;
    color: #E2E8F0;
    font-size: 1.15rem;
    line-height: 1.8;
}

.content-wrapper p { 
    margin-bottom: 25px; 
    font-weight: 300; 
}

/* --- THE BIO PHOTO WRAP (Editorial Style) --- */
.bio-container {
    margin-top: 40px;
}

.bio-photo {
    float: left; /* Floats image left so text wraps around the right */
    width: 250px; 
    height: auto;
    margin-right: 35px; 
    margin-bottom: 15px;
    border: 2px solid #BF953F;
    border-radius: 4px;
    box-shadow: 0 10px 25px rgba(191, 149, 63, 0.15); /* Subtle gold shadow */
}

/* Clears the float so it doesn't break the footer layout below it */
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

/* --- PANE TYPOGRAPHY (For the Home Page Parallax) --- */
.pane-content {
    background: rgba(0, 0, 0, 0.6); 
    border: 1px solid rgba(191, 149, 63, 0.3); 
    border-radius: 8px;
    backdrop-filter: blur(5px);
    padding: 30px;
    text-align: center;
}

.pane-content h1, 
.pane-content h2 {
    color: #e2b35c;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: 3px;
    /* Overrides the silver gradient so parallax headers stay pure gold */
    background: none !important; 
    -webkit-text-fill-color: #FCF6BA !important;
}
.pane-content p { color: #E2E8F0; font-weight: 300; font-size: 1.1rem; }
/* --- THE MASTER METALLIC SILVER CLASS --- */
a { 
    text-decoration: none; 
    color: white; 
    font-weight: 500; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
}

/* This targets BOTH nav links and any spans with the class */
.glow-text {
    background: linear-gradient(to right, #9ca3af, #ffffff, #9ca3af);
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    transition: 0.5s;
    animation: luxuryPulse 8s infinite alternate;
    display: inline-block; /* Crucial for gradients on spans to work perfectly */
}
/* --- UTILITY: GOLD SHIMMER TEXT --- */
/* Attach to any span to highlight key phrases */
.text-shimmer-gold {
    font-weight: 800; /* Bolds the text so the gradient is visible */
    background: linear-gradient(
        to right, 
        #BF953F 0%, 
        #FCF6BA 20%, 
        #B38728 40%, 
        #FBF5B7 60%, 
        #AA771C 80%, 
        #BF953F 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    animation: goldShine 4s linear infinite;
    display: inline-block; /* Prevents line-break rendering errors */
}

@keyframes goldShine {
    to {
        background-position: 200% center;
    }
}

@keyframes luxuryPulse {
    0%   { filter: drop-shadow(0 0 4px rgba(168, 85, 247, 0.5)); } /* Violet */
    50%  { filter: drop-shadow(0 0 4px rgba(6, 182, 212, 0.5)); }  /* Turquoise */
    100% { filter: drop-shadow(0 0 4px rgba(236, 72, 153, 0.5)); } /* Pink */
}

/* --- EDITORIAL TEXT CONTAINERS (For Non-Parallax Pages) --- */
.content-wrapper {
    max-width: 800px; 
    margin: 60px auto;
    padding: 0 20px;
    color: #E2E8F0;
    font-size: 1.15rem;
    line-height: 1.8;
}

/* Layout for the structural headings */
.content-wrapper h1, 
.content-wrapper h2 {
    font-weight: 800;
    letter-spacing: 2px;
    text-align: center;
    text-transform: uppercase;
}

.content-wrapper h1 {
    font-size: 2.8rem;
    margin-bottom: 40px;
}

.content-wrapper h2 {
    font-size: 2.2rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

.content-wrapper p { 
    margin-bottom: 25px; 
    font-weight: 300; 
}
/* --- MOBILE PARALLAX OPTIMIZATION --- */
@media (max-width: 768px) {
    .parallax-pane {
        /* Increase the height on mobile so more of the image can "fit" */
        min-height: 650px; 
    }

    .parallax-pane::before {
        /* FIX: Disable 'fixed' on mobile to stop the "extreme zoom" bug */
        background-attachment: scroll !important; 
        
        /* FIX: Focus on the top-center so your face stays in frame */
        background-position: center top !important; 
        
        /* Ensure the image doesn't scale larger than the screen width */
        background-size: cover; 
    }
    
    .pane-content {
        /* Pull the text box down slightly on mobile so it doesn't cover your face */
        margin-top: 250px; 
        width: 90%;
    }
}
/* Update this at the bottom of looks.css */
@media (max-width: 768px) {
    .parallax-pane {
        min-height: 600px; 
    }

    .parallax-pane::before {
        background-attachment: scroll !important; 
        background-position: center center !important; /* Resets focal point */
        background-size: cover; 
    }
    
    .pane-content {
        margin-top: 0; /* Removed the old hack */
        width: 95%;
    }
}
/* Add this to the BOTTOM of your CSS file */

/* --- MOBILE SPECIFIC OVERRIDES --- */
@media (max-width: 768px) {
    .parallax-pane::before {
        /* FIX: When on mobile, pull the image up so your face doesn't get cropped */
        background-position: center 25% !important; 
        
        /* FIX: Disable 'fixed' parallax on mobile to prevent extreme zooming */
        background-attachment: scroll !important; 
    }
}
/* Update this inside your @media (max-width: 768px) block at the bottom of looks.css */
    .pane-content {
        margin-top: 0; 
        width: 85%; /* Pulls the box away from the screen edges */
        max-width: 555px; /* Ensures it stays a readable column on large phones/tablets */
        padding: 25px 15px; /* Slightly tighter internal padding for mobile */
    }
    /* --- MOBILE SPECIFIC OVERRIDES --- */
@media (max-width: 768px) {
    
    .parallax-pane {
        /* Use viewport height so it adapts to different iPhone/Android sizes */
        min-height: 75vh; 
        padding-bottom: 20px; /* Pushes the text box closer to the bottom edge */
    }

    .parallax-pane::before {
        background-attachment: scroll !important; 
        
        /* THE BUMP: 0% is the absolute top of the image. 
           If it's still cutting off your head, change 10% to 5% or 0% */
        background-position: center 10% !important; 
        
        background-size: cover; 
    }
    
    /* Shrink the box footprint to clear the background action */
    .pane-content {
        width: 90%;
        padding: 20px 15px;
        margin-top: 0;
        margin-bottom: 10px; /* Forces it to the floor of the pane */
    }

    /* Scale down the massive headers for mobile */
    .pane-content h1, 
    .pane-content h1.glow-text {
        font-size: 2rem; 
        margin-bottom: 15px;
    }

    .pane-content h2, 
    .pane-content h2.glow-text {
        font-size: 1.6rem; 
        margin-top: 10px;
        margin-bottom: 15px;
    }

    .pane-content p {
        font-size: 0.95rem; 
        line-height: 1.5; 
        margin-bottom: 15px;
    }
}
/* --- AUTHORITY Q&A ACCORDION --- */
.faq-container {
    margin-top: 50px;
    padding: 40px;
    border: 1px solid #BF953F;
    border-radius: 4px;
    background: rgba(11, 14, 20, 0.4); /* Deep subtle backing */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.faq-item {
    border-bottom: 1px solid rgba(191, 149, 63, 0.2);
    margin-bottom: 10px;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: #E2E8F0;
    font-size: 1.15rem;
    font-weight: 500;
    font-family: 'Raleway', sans-serif;
    text-align: left;
    padding: 20px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #BF953F;
}

/* The Animated Star */
.faq-icon {
    color: #BF953F;
    font-size: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}

/* The Hidden Text Box */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.faq-answer p {
    padding-bottom: 20px;
    margin: 0;
    color: #A0AEC0;
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 300;
}

/* --- THE ACTIVE (OPEN) STATE --- */
.faq-item.active .faq-icon {
    transform: rotate(180deg) scale(1.2); /* Spins and slightly enlarges */
    color: #FCF6BA; /* Brightens */
    text-shadow: 0 0 10px rgba(252, 246, 186, 0.8);
}

.faq-item.active .faq-answer {
    max-height: 1500px; /* Expands smoothly */
    padding: 15px 20px;
}
/* Update this inside your @media (max-width: 768px) block at the bottom of looks.css */
    
    /* 1. Scale down general page text */
    .content-wrapper p {
        font-size: 0.95rem; 
        line-height: 1.6; 
    }

    /* 2. Fix the "Jagged Kerning" Bio Layout */
    .bio-photo {
        float: none; /* Stops the text from trying to squeeze next to the photo */
        display: block;
        margin: 0 auto 25px auto; /* Centers the photo perfectly above the text */
        width: 100%;
        max-width: 220px; /* Slightly smaller for phone screens */
    }

    /* Ensure the bio text stays clean and readable */
    .bio-container p {
        text-align: left; 
    }
    /* =========================================
   SERVICES PAGE: METALLICS & PRICING
   ========================================= */

/* --- SLENDER METALLIC DIVIDERS --- */
.metallic-divider {
    width: 100%;
    height: 6px; /* Slender cut */
    position: relative;
    z-index: 5;
}

.divider-copper {
    background: linear-gradient(to right, #4a2e1b, #b87333, #e8a58a, #b87333, #4a2e1b);
    box-shadow: 0 0 15px rgba(184, 115, 51, 0.4);
}

.divider-silver {
    background: linear-gradient(to right, #4b5563, #9ca3af, #ffffff, #9ca3af, #4b5563);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.divider-gold {
    background: linear-gradient(to right, #AA771C, #BF953F, #FCF6BA, #BF953F, #AA771C);
    box-shadow: 0 0 15px rgba(252, 246, 186, 0.4);
}

/* --- TIER-SPECIFIC TEXT GRADIENTS --- */
.text-copper {
    background: linear-gradient(to right, #e8a58a, #b87333, #e8a58a);
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
}

.text-silver {
    background: linear-gradient(to right, #ffffff, #9ca3af, #ffffff);
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
}

.text-gold {
    background: linear-gradient(to right, #FCF6BA, #BF953F, #FCF6BA);
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
}

/* --- SERVICE CARD & LIST FORMATTING --- */
.service-card {
    text-align: center;
}

.price-tag {
    font-size: 1.5rem !important;
    color: #E2E8F0;
    margin-bottom: 5px !important;
}

.hours-tag {
    font-size: 1rem;
    color: #9ca3af;
    font-weight: 300;
}

.target-demo {
    font-size: 1.05rem;
    color: #A0AEC0;
    margin-bottom: 25px !important;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.deliverables-list {
    list-style: none;
    padding: 0;
    text-align: left;
    display: inline-block; /* Keeps the left-aligned text centered in the box */
}

.deliverables-list li {
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 500;
    color: #ffffff;
}

/* --- STANDALONE SERVICES CARDS --- */
.standalone-card {
    border: 1px solid #BF953F; 
    padding: 35px; 
    border-radius: 4px; 
    margin-bottom: 25px; 
    background: rgba(11, 14, 20, 0.4);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.standalone-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: 1px;
}

.standalone-price {
    color: #BF953F; 
    margin-top: 15px !important; 
    font-size: 1.1rem;
}
/* --- SERVICES PAGE: SOLID TIER PANES --- */
.service-tier-pane {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;      /* PERFECTLY CENTERS VERTICALLY */
    justify-content: center;  /* Centers horizontally */
    background-color: #050505; /* Deep Prestige Black */
    padding: 60px 20px;
}

/* Enhances the content box so it stands out against the solid black background */
.service-tier-pane .pane-content {
    background-color: #0B0E14; /* Slightly lighter midnight tone for contrast */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9); /* Deep shadow to make it "float" */
    margin: 0 auto !important; /* Overrides any homepage mobile hacks */
    width: 100%;
    max-width: 600px; /* Keeps the card at a clean, readable width */
}
/* ==========================================================================
   UHBM Premium Action Button
   ========================================================================== */

/* --- Resting State --- */
.uhbm-button {
    position: relative;
    display: inline-block;
    border: 1px solid #BF953F;
    padding: 15px 30px;
    font-weight: 800;
    color: #BF953F;
    background-color: transparent;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    overflow: hidden; /* Contains the sweeping shimmer */
    z-index: 1;
    letter-spacing: 1px;
}

/* --- Hover State: Gold Activation & High Contrast --- */
.uhbm-button:hover {
    background-color: #BF953F;
    color: #000000; /* Sharp black text for absolute contrast and premium feel */
    box-shadow: 0 0 15px rgba(191, 149, 63, 0.4);
}

/* --- The Sweeping Shimmer --- */
.uhbm-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: skewX(-20deg);
    z-index: -1; /* Keeps the shimmer behind the text */
}

.uhbm-button:hover::before {
    animation: shimmer-sweep 1.5s infinite;
}

@keyframes shimmer-sweep {
    0% { left: -150%; }
    50% { left: 150%; }
    100% { left: 150%; } /* Pauses briefly before sweeping again */
}

/* --- Sparkle Construction --- */
.uhbm-button .sparkle {
    position: absolute;
    width: 14px;
    height: 14px;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
}

/* Creating the cross-beams of the sparkle */
.uhbm-button .sparkle::before,
.uhbm-button .sparkle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: #FFFFFF;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    box-shadow: 0 0 4px #FFFFFF;
}

/* Horizontal beam */
.uhbm-button .sparkle::before { width: 100%; height: 1.5px; }
/* Vertical beam */
.uhbm-button .sparkle::after { width: 1.5px; height: 100%; }

/* Sparkle Placement */
.uhbm-button .top-left {
    top: 6px;
    left: 10px;
}

.uhbm-button .bottom-right {
    bottom: 6px;
    right: 10px;
}

/* --- Sparkle Animations (Triggered on Hover) --- */

/* Top-left: Consistent, soft twinkling */
.uhbm-button:hover .top-left {
    animation: twinkle 1.5s infinite ease-in-out;
}

/* Bottom-right: Quick, sharp flash */
.uhbm-button:hover .bottom-right {
    animation: quick-flash 2.5s infinite linear;
    animation-delay: 0.5s; /* Offsets the animation so they don't fire at the exact same time */
}

@keyframes twinkle {
    0%, 100% { opacity: 0; transform: scale(0.5) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.2) rotate(45deg); }
}

@keyframes quick-flash {
    0%, 85%, 100% { opacity: 0; transform: scale(0.2) rotate(0deg); }
    90% { opacity: 1; transform: scale(1.6) rotate(90deg); }
    95% { opacity: 0; transform: scale(0.5) rotate(135deg); }
}
/* ==========================================================================
   Calendly Native Widget Override: Sovereign Pulse & Gold Halo
   ========================================================================== */

/* Target the specific "pill" inside the Calendly wrapper */
.calendly-badge-widget .calendly-badge-content {
    /* The !important tags force Calendly's native CSS to surrender to yours */
    animation: sovereign-pulse 3.5s infinite ease-in-out !important;
    transform-origin: center center !important;
}

/* The Animation: A breathing gold halo with a subtle attention-grabbing tilt */
@keyframes sovereign-pulse {
    0% {
        transform: scale(1) rotate(0deg);
        box-shadow: 0 0 0 0 rgba(191, 149, 63, 0.8) !important;
    }
    15% {
        /* The widget breathes in and tilts slightly right */
        transform: scale(1.04) rotate(1.5deg);
        box-shadow: 0 0 15px 5px rgba(191, 149, 63, 0.6) !important;
    }
    30% {
        /* Tilts slightly left while the halo expands and softens */
        transform: scale(1.04) rotate(-1.5deg);
        box-shadow: 0 0 25px 10px rgba(191, 149, 63, 0.2) !important;
    }
    45% {
        /* Settles back to resting state */
        transform: scale(1) rotate(0deg);
        box-shadow: 0 0 0 0 rgba(191, 149, 63, 0) !important;
    }
    100% {
        /* Long pause before the next pulse so it isn't annoying to the user */
        transform: scale(1) rotate(0deg);
        box-shadow: 0 0 0 0 rgba(191, 149, 63, 0) !important;
    }
}

/* ==========================================================================
   Floating Action Container (Image + Button)
   ========================================================================== */

/* The invisible box that holds everything in the bottom corner */
.floating-widget-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column; /* Stacks the image on top of the button */
    align-items: center;    /* Keeps the arrow perfectly centered */
    gap: 0px;               /* Keeps them tight together. Adjust if you need more space */
    pointer-events: none;   /* Allows users to click 'through' the invisible box */
}

/* Re-enable clicking specifically for the button */
.floating-widget-container .uhbm-pill-button {
    pointer-events: auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5); /* Depth shadow */
}

/* The Prompt Arrow Image */
.floating-prompt-image {
    width: 150px;
    height: 90px;
    object-fit: contain; /* Ensures the image doesn't stretch or warp */
    pointer-events: none; /* Prevents the image from being accidentally highlighted/clicked */
    
    /* A gentle, continuous floating motion */
    animation: gentle-bob 3.5s infinite ease-in-out;
}

@keyframes gentle-bob {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); } /* Bobs up slightly */
}

/* --- Mobile Optimization --- */
@media (max-width: 768px) {
    .floating-widget-container {
        bottom: 15px;
        right: 15px;
    }
    
    /* Scales the image down slightly so it doesn't overwhelm smaller phone screens */
    .floating-prompt-image {
        width: 120px; 
        height: 72px;
    }
    
    /* Shrinks the button text slightly for mobile */
    .floating-widget-container .uhbm-pill-button {
        padding: 12px 25px;
        font-size: 0.85rem;
    }
}
/* ==========================================================================
   1. UHBM Premium Pill Button (The Cosmetics & Animations)
   ========================================================================== */

.uhbm-pill-button {
    position: relative;
    display: inline-block;
    border: 1px solid #BF953F;
    padding: 15px 35px;
    font-weight: 800;
    color: #BF953F;
    background-color: transparent;
    border-radius: 50px; /* Creates the pill shape */
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    overflow: hidden; 
    z-index: 1;
    letter-spacing: 1px;
    font-family: 'Raleway', sans-serif;
}

.uhbm-pill-button:hover {
    background-color: #BF953F;
    color: #000000; 
    box-shadow: 0 0 15px rgba(191, 149, 63, 0.4);
}

.uhbm-pill-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: skewX(-20deg);
    z-index: -1; 
}

.uhbm-pill-button:hover::before {
    animation: shimmer-sweep 1.5s infinite;
}

/* Sparkles for the Pill Button */
.uhbm-pill-button .sparkle {
    position: absolute;
    width: 14px;
    height: 14px;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
}

.uhbm-pill-button .sparkle::before,
.uhbm-pill-button .sparkle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: #FFFFFF;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    box-shadow: 0 0 4px #FFFFFF;
}

.uhbm-pill-button .sparkle::before { width: 100%; height: 1.5px; }
.uhbm-pill-button .sparkle::after { width: 1.5px; height: 100%; }

.uhbm-pill-button .top-left { top: 8px; left: 18px; }
.uhbm-pill-button .bottom-right { bottom: 8px; right: 18px; }

.uhbm-pill-button:hover .top-left { animation: twinkle 1.5s infinite ease-in-out; }
.uhbm-pill-button:hover .bottom-right { animation: quick-flash 2.5s infinite linear; animation-delay: 0.5s; }


/* ==========================================================================
   2. Floating Action Container (The Positioning & Arrow Image)
   ========================================================================== */

.floating-widget-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column; 
    align-items: center;    
    gap: 0px;               
    pointer-events: none;   
}

.floating-widget-container .uhbm-pill-button {
    pointer-events: auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5); 
}

.floating-prompt-image {
    width: 150px;
    height: 90px;
    object-fit: contain; 
    pointer-events: none; 
    animation: gentle-bob 3.5s infinite ease-in-out;
}

/* Animations */
@keyframes shimmer-sweep {
    0% { left: -150%; }
    50% { left: 150%; }
    100% { left: 150%; } 
}
@keyframes twinkle {
    0%, 100% { opacity: 0; transform: scale(0.5) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.2) rotate(45deg); }
}
@keyframes quick-flash {
    0%, 85%, 100% { opacity: 0; transform: scale(0.2) rotate(0deg); }
    90% { opacity: 1; transform: scale(1.6) rotate(90deg); }
    95% { opacity: 0; transform: scale(0.5) rotate(135deg); }
}
@keyframes gentle-bob {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); } 
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .floating-widget-container {
        bottom: 15px;
        right: 15px;
    }
    .floating-prompt-image {
        width: 120px; 
        height: 72px;
    }
    .floating-widget-container .uhbm-pill-button {
        padding: 12px 25px;
        font-size: 0.85rem;
    }
}
/* ==========================================================================
   Modal & Local Discount Styling
   ========================================================================== */

/* The clickable trigger text */
.uhbm-text-link {
    color: #BF953F;
    text-decoration: underline;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.uhbm-text-link:hover {
    color: #FFFFFF;
}

/* The dark background overlay */
.uhbm-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999; /* Sits on top of absolutely everything */
    left: 0; 
    top: 0;
    width: 100%; 
    height: 100%;
    background-color: rgba(5, 5, 5, 0.85); /* Deep dark overlay */
    backdrop-filter: blur(5px); /* Blurs the website behind it */
}

/* The actual pop-up box */
.uhbm-modal-content {
    background-color: #0B0E14; /* UHBM Dark Gray/Black */
    margin: 10% auto; /* Centers it vertically and horizontally */
    padding: 40px;
    border: 1px solid #BF953F; /* Signature Gold Border */
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9);
    position: relative;
    text-align: center;
    animation: modalFadeIn 0.4s ease-out; /* Smooth slide-in effect */
}

/* The 'X' close button */
.uhbm-modal-close {
    color: #CCCCCC;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.uhbm-modal-close:hover {
    color: #BF953F;
}

/* The highlighted discount box */
.discount-box {
    background: rgba(191, 149, 63, 0.1); /* 10% opacity gold background */
    border: 1px dashed #BF953F;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.discount-box p {
    font-size: 1.25rem;
    margin: 10px 0;
    color: #FFFFFF;
}

.discount-box strong {
    color: #BF953F; /* Highlights the percentage in bright gold */
    font-size: 1.4rem;
}

/* Drop-in Animation */
@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .uhbm-modal-content {
        margin: 25% auto; /* Drops it lower on mobile screens */
        padding: 30px 20px;
    }
    
    .discount-box p {
        font-size: 1.1rem;
    }
    
    .uhbm-text-link {
        font-size: 1rem;
    }
}
/* =========================================
   DIAGNOSTIC QUIZ AESTHETICS (quiz.js)
   ========================================= */

.results-container {
    max-width: 650px;
    margin: 0 auto;
    padding: 30px 20px;
    background: rgba(11, 14, 20, 0.4);
    border: 1px solid rgba(191, 149, 63, 0.2);
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* The Question Text */
.quiz-question {
    font-family: 'Raleway', sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: #E2E8F0;
    margin-bottom: 25px;
    text-align: left;
    line-height: 1.5;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(191, 149, 63, 0.2);
}

/* The Options Container */
.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

/* The Individual Answers (Buttons) */
.quiz-option {
    background: rgba(5, 5, 5, 0.8); 
    border: 1px solid rgba(160, 174, 192, 0.3); /* Subtle silver border */
    color: #A0AEC0; /* Muted text */
    padding: 18px 25px;
    border-radius: 4px;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1.5;
}

/* Hover State for Answers */
.quiz-option:hover {
    background: rgba(191, 149, 63, 0.05); /* Faint gold tint */
    border-color: #BF953F; /* Snaps to solid gold */
    color: #FCF6BA; /* Brightens text */
    transform: translateX(5px); /* Slight nudge to the right */
}

/* The Main Call-to-Action Buttons (Pill Shape) */
.uhbm-pill-button {
    display: inline-block;
    background: transparent;
    border: 1px solid #BF953F;
    color: #BF953F;
    padding: 15px 35px;
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    border-radius: 50px; /* Elegant pill shape */
    margin-top: 15px;
    position: relative;
    overflow: hidden;
}

.uhbm-pill-button:hover {
    background: linear-gradient(to right, #AA771C, #BF953F, #FCF6BA, #BF953F, #AA771C);
    color: #050505; /* Invert text to black */
    border-color: transparent;
    box-shadow: 0 0 20px rgba(252, 246, 186, 0.4);
}

/* The Final Result Highlight */
.score-highlight {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 25px 0;
    background: linear-gradient(to right, #e8a58a, #b87333, #FCF6BA);
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
}
/* --- MOBILE SPECIFIC OVERRIDES (Ultra-Optimized for Small Screens) --- */
@media (max-width: 768px) {
    
    /* 1. Give the section a bit more height to breathe */
    .parallax-pane {
        min-height: 85vh; /* Increased from 75vh to ensure background visibility */
        padding-bottom: 15px; /* Pushed even closer to the bottom edge */
    }

    .parallax-pane::before {
        background-attachment: scroll !important; 
        background-position: center 5% !important; /* Kept high to protect the face focus */
        background-size: cover; 
    }
    
    /* 2. Shrink the box footprint drastically */
    .pane-content {
        width: 92%;
        padding: 15px 12px; /* Extremely tight internal padding */
        margin-top: 0;
        margin-bottom: 5px;
    }

    /* 3. Scale down the massive headers for mobile */
    .pane-content h1, 
    .pane-content h1.glow-text {
        font-size: 1.6rem; /* Scaled down from 2rem */
        margin-bottom: 10px;
    }

    .pane-content h2, 
    .pane-content h2.glow-text {
        font-size: 1.4rem; /* Scaled down from 1.6rem */
        margin-top: 5px;
        margin-bottom: 10px;
    }

    /* 4. Tightly pack the paragraph text */
    .pane-content p {
        font-size: 0.85rem; /* Scaled down from 0.95rem */
        line-height: 1.4; /* Tighter line spacing */
        margin-bottom: 12px;
    }

    /* 5. Scale down the Call-to-Action buttons */
    .uhbm-button, 
    .uhbm-pill-button {
        padding: 12px 20px; /* Thinner button */
        font-size: 0.8rem; /* Smaller text */
        margin-top: 5px;
    }
}