/**
 * Muzo Theme - Custom Styles
 *
 * @package Muzo_Theme
 */

/* ============================================
   Page Transition Overlay
   ============================================ */
#muzo-page-transition {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: #0a0a0a;
    opacity: 1;
    pointer-events: all;
}

/* ============================================
   Scroll Progress Indicator
   ============================================ */
#muzo-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    z-index: 100000;
    background: linear-gradient(90deg, rgba(68, 90, 3, 0.3), #445A03 40%, #1B4332 100%);
    transform: scaleX(0);
    transform-origin: left;
    will-change: transform;
    pointer-events: none;
}

/* ============================================
   Custom Cursor
   ============================================ */
.muzo-cursor-dot {
    position: fixed;
    top: -4px;
    left: -4px;
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 999998;
    mix-blend-mode: difference;
    will-change: transform;
}

.muzo-cursor-ring {
    position: fixed;
    top: -20px;
    left: -20px;
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 999997;
    will-change: transform;
    transition: width 0.3s ease, height 0.3s ease, top 0.3s ease, left 0.3s ease,
                border-color 0.3s ease, background 0.3s ease, opacity 0.3s ease;
}

/* Hover state — ring expands, dot shrinks */
.muzo-cursor-dot.is-hovering {
    transform: scale(0);
}

.muzo-cursor-ring.is-hovering {
    width: 60px;
    height: 60px;
    top: -30px;
    left: -30px;
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.05);
}

/* Click state — ring contracts */
.muzo-cursor-ring.is-clicking {
    width: 32px;
    height: 32px;
    top: -16px;
    left: -16px;
    border-color: rgba(255,255,255,0.8);
}

/* Hide custom cursor on touch/mobile */
@media (pointer: coarse), (hover: none) {
    .muzo-cursor-dot,
    .muzo-cursor-ring {
        display: none !important;
    }
}

/* ============================================
   Branded Loading Screen
   ============================================ */
#muzo-page-transition .muzo-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

#muzo-page-transition .muzo-loader__logo {
    height: 40px;
    width: auto;
    opacity: 0.9;
    animation: loaderPulse 2s ease-in-out infinite;
}

@keyframes loaderPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* ============================================
   CSS Custom Properties
   ============================================ */
:root {
    --muzo-dark: #1B1B2F;
    --muzo-darker: #0a0a0a;
    --muzo-olive: #445A03;
    --muzo-forest: #1B4332;
    --muzo-charcoal: #222222;
    --muzo-sage: #D5DDD5;
    --muzo-cream: #E8DFCC;
    --muzo-offwhite: #F5F5F3;
    --muzo-green: #ffffff;
    --muzo-green-dark: #e0e0e0;
    --muzo-white: #ffffff;
    --muzo-gray: #9ca3af;
    --muzo-gray-dark: #4b5563;
    --muzo-border: #2d2d44;
    --header-height: 80px;
}

/* ============================================
   Base Styles
   ============================================ */
html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    overscroll-behavior-x: none;
    /* No overflow-x on html — it creates a second scroll context on mobile */
    scroll-snap-type: none !important;
}

body {
    background-color: var(--muzo-darker);
    color: var(--muzo-white);
    overscroll-behavior-x: none;
    overflow-x: hidden;
    max-width: 100vw;
}

/* Prevent Spline viewer from creating secondary scrollbars */
spline-viewer {
    overflow: hidden !important;
}

spline-viewer::part(canvas) {
    overflow: hidden !important;
}

/* Contain Vanta.js canvases within hero sections */
.muzo-about-hero__bg canvas,
.muzo-news-hero__bg canvas,
.muzo-contact-hero__bg canvas,
.muzo-page-hero__vanta canvas {
    max-width: 100% !important;
}

/* ============================================
   Noise/Grain Texture Overlay
   ============================================ */
.muzo-noise {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.06;
    width: 100%;
    height: 100%;
}

@media (prefers-reduced-motion: reduce) {
    .muzo-noise {
        display: none;
    }
}

/* ============================================
   Scroll-to-Top Button
   ============================================ */
.muzo-scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 10000;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease,
                background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.muzo-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.muzo-scroll-top:hover {
    background: rgba(68, 90, 3, 0.25);
    border-color: rgba(68, 90, 3, 0.5);
    color: #ffffff;
}

.muzo-scroll-top:active {
    transform: translateY(-2px) scale(0.95);
}

.muzo-scroll-top svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .muzo-scroll-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .muzo-scroll-top svg {
        width: 18px;
        height: 18px;
    }
}

/* Selection — Brand Olive */
::selection {
    background: rgba(68, 90, 3, 0.45);
    color: #ffffff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--muzo-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--muzo-olive);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--muzo-forest);
}

/* ============================================
   Header Styles
   ============================================ */
#site-header {
    transition: transform 0.3s ease;
}

#site-header .header-inner {
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

/* ============================================
   Button Shine Sweep (Apple-style)
   All CTA buttons across every page
   ============================================ */
.muzo-btn-shine,
.muzo-hero__btn,
.muzo-split__btn,
.muzo-fss__btn,
.muzo-news-featured__btn,
.muzo-news-cta__btn,
.muzo-news__explore-btn,
.muzo-about-cta__btn,
.muzo-contact-form__submit,
.muzo-page-hero__btn,
.muzo-order-process__btn,
.muzo-page-cta__btn,
.muzo-cta__btn,
.muzo-article__newsletter-btn,
.muzo-article__view-all,
.muzo-age-gate__btn--confirm {
    position: relative;
    overflow: hidden;
}

.muzo-btn-shine::after,
.muzo-hero__btn::after,
.muzo-split__btn::after,
.muzo-fss__btn::after,
.muzo-news-featured__btn::after,
.muzo-news-cta__btn::after,
.muzo-news__explore-btn::after,
.muzo-about-cta__btn::after,
.muzo-contact-form__submit::after,
.muzo-page-hero__btn::after,
.muzo-order-process__btn::after,
.muzo-page-cta__btn::after,
.muzo-cta__btn::after,
.muzo-article__newsletter-btn::after,
.muzo-article__view-all::after,
.muzo-age-gate__btn--confirm::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(255, 255, 255, 0.15) 45%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0.15) 55%,
        transparent 80%
    );
    transition: none;
    pointer-events: none;
}

.muzo-btn-shine:hover::after,
.muzo-hero__btn:hover::after,
.muzo-split__btn:hover::after,
.muzo-fss__btn:hover::after,
.muzo-news-featured__btn:hover::after,
.muzo-news-cta__btn:hover::after,
.muzo-news__explore-btn:hover::after,
.muzo-about-cta__btn:hover::after,
.muzo-contact-form__submit:hover::after,
.muzo-page-hero__btn:hover::after,
.muzo-order-process__btn:hover::after,
.muzo-page-cta__btn:hover::after,
.muzo-cta__btn:hover::after,
.muzo-article__newsletter-btn:hover::after,
.muzo-article__view-all:hover::after,
.muzo-age-gate__btn--confirm:hover::after {
    animation: btnShineSweep 0.6s ease forwards;
}

@keyframes btnShineSweep {
    0%   { left: -120%; }
    100% { left: 120%; }
}

/* ============================================
   Glass Morphism Card Hover — Glow Layer
   All cards across every page
   ============================================ */
/* Homepage cards */
.muzo-brands__card::after,
.muzo-clinics-grid__card::after,
.muzo-pillars__card::after,
/* News page cards */
.muzo-news-featured__card::after,
.muzo-news-card::after,
/* About page cards */
.muzo-about-values__card::after,
.muzo-about-certs__card::after,
/* Contact page cards */
.muzo-contact-cta__card::after,
/* Distributors page cards */
.muzo-partner-types__card::after,
.muzo-distributor-partners__card::after,
.muzo-spec-sheets__card::after,
/* Prescribers page cards */
.muzo-clinic-partners__card::after,
.muzo-features__card::after,
/* Single post cards */
.muzo-related-card::after,
/* Block cards */
.muzo-fss__image-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(27, 67, 50, 0.12),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

/* Homepage hover triggers */
.muzo-brands__link:hover .muzo-brands__card::after,
.muzo-brands__item:hover .muzo-brands__card::after,
.muzo-clinics-grid__link:hover .muzo-clinics-grid__card::after,
.muzo-clinics-grid__item:hover .muzo-clinics-grid__card::after,
.muzo-pillars__card:hover::after,
/* News page */
.muzo-news-featured__card:hover::after,
.muzo-news-card:hover::after,
/* About page */
.muzo-about-values__card:hover::after,
.muzo-about-certs__card:hover::after,
/* Contact page */
.muzo-contact-cta__card:hover::after,
/* Distributors page */
.muzo-partner-types__card:hover::after,
.muzo-distributor-partners__card:hover::after,
.muzo-spec-sheets__card:hover::after,
/* Prescribers page */
.muzo-clinic-partners__link:hover .muzo-clinic-partners__card::after,
.muzo-clinic-partners__item:hover .muzo-clinic-partners__card::after,
.muzo-features__card:hover::after,
/* Single post */
.muzo-related-card:hover::after,
/* Block cards */
.muzo-fss__image-card:hover::after {
    opacity: 1;
}

/* Enhanced backdrop blur on hover — all cards */
.muzo-brands__link:hover .muzo-brands__card,
.muzo-brands__item:hover .muzo-brands__card,
.muzo-clinics-grid__link:hover .muzo-clinics-grid__card,
.muzo-clinics-grid__item:hover .muzo-clinics-grid__card,
.muzo-pillars__card:hover,
.muzo-news-featured__card:hover,
.muzo-news-card:hover,
.muzo-about-values__card:hover,
.muzo-about-certs__card:hover,
.muzo-contact-cta__card:hover,
.muzo-partner-types__card:hover,
.muzo-distributor-partners__card:hover,
.muzo-spec-sheets__card:hover,
.muzo-clinic-partners__link:hover .muzo-clinic-partners__card,
.muzo-clinic-partners__item:hover .muzo-clinic-partners__card,
.muzo-features__card:hover,
.muzo-related-card:hover {
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
}

/* ============================================
   Footer Reveal — footer hides behind content,
   revealed as you scroll past the last section
   ============================================ */
.muzo-footer--reveal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.muzo-footer--reveal + .muzo-footer-spacer {
    display: block;
}

body > main,
body > .site-main {
    position: relative;
    z-index: 10;
    background: #0a0a0a;
}

/* ============================================
   Card Hover Effects
   ============================================ */
.card-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* ============================================
   Form Styles
   ============================================ */
.muzo-form input,
.muzo-form textarea,
.muzo-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--muzo-darker);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    color: var(--muzo-white);
    transition: border-color 0.3s ease;
}

.muzo-form input:focus,
.muzo-form textarea:focus,
.muzo-form select:focus {
    outline: none;
    border-color: var(--muzo-olive);
}

.muzo-form input::placeholder,
.muzo-form textarea::placeholder {
    color: var(--muzo-gray-dark);
}

.muzo-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muzo-gray);
}

/* Contact Form 7 Integration */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--muzo-darker);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    color: var(--muzo-white);
    transition: border-color 0.3s ease;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--muzo-olive);
}

.wpcf7-form input[type="submit"] {
    background-color: var(--muzo-olive);
    color: var(--muzo-white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: #527108;
}

/* ============================================
   Pagination
   ============================================ */
.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.nav-links .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--muzo-white);
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-links .page-numbers:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.nav-links .page-numbers.current {
    background-color: var(--muzo-green);
    color: var(--muzo-white);
}

.nav-links .prev,
.nav-links .next {
    background: transparent;
}

/* ============================================
   Animation Classes
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ============================================
   Reduced Motion Support
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================
   Product Card Strain Colors
   ============================================ */
.strain-indica {
    background-color: #9333ea;
}

.strain-sativa {
    background-color: #eab308;
}

.strain-hybrid {
    background-color: #22c55e;
}

/* ============================================
   Glassmorphism Effects
   ============================================ */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-dark {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   Gradient Text
   ============================================ */
.gradient-text {
    background: linear-gradient(135deg, var(--muzo-green) 0%, #3CB371 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Loading States
   ============================================ */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--muzo-green);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   Mobile Menu Animation
   ============================================ */
#mobile-menu {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#mobile-menu.hidden {
    opacity: 0;
    visibility: hidden;
}

#mobile-menu:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   FAQ Accordion Animation
   ============================================ */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-toggle.active + .faq-content {
    max-height: 1000px;
}

/* ============================================
   Age Gate Styles - Liquid Glass Premium
   ============================================ */

/* Main age gate container */
.muzo-age-gate {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: ageGateFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.muzo-age-gate.hidden {
    display: none;
}

/* Backdrop - blurs the site behind */
.muzo-age-gate__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(30px) saturate(0.8);
    -webkit-backdrop-filter: blur(30px) saturate(0.8);
    animation: ageGateBackdropIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Container for centering */
.muzo-age-gate__container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 560px;
    animation: ageGateBoxIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.1s forwards;
    opacity: 0;
    transform: translateY(20px) scale(0.96);
}

/* The liquid glass box */
.muzo-age-gate__box {
    position: relative;
    background: rgba(20, 20, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: 56px 48px;
    text-align: center;
    backdrop-filter: blur(40px) saturate(1.4);
    -webkit-backdrop-filter: blur(40px) saturate(1.4);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 1px 0 0 rgba(255, 255, 255, 0.1) inset,
        0 -1px 0 0 rgba(0, 0, 0, 0.3) inset,
        0 25px 80px rgba(0, 0, 0, 0.5),
        0 10px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Subtle gradient overlay for depth */
.muzo-age-gate__box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
}

/* Logo */
.muzo-age-gate__logo {
    height: 48px;
    width: auto;
    margin: 0 auto 32px;
    display: block;
    filter: brightness(1.1);
}

.muzo-age-gate__logo-text {
    display: block;
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin: 0 auto 32px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Title */
.muzo-age-gate__title {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Text */
.muzo-age-gate__text {
    font-family: 'JetBrains Mono', 'SF Mono', Monaco, monospace;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 36px;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons container */
.muzo-age-gate__buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

/* Button base styles */
.muzo-age-gate__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    height: 52px;
    padding: 0 32px;
    font-family: 'JetBrains Mono', 'SF Mono', Monaco, monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Confirm button - glass with subtle green tint */
.muzo-age-gate__btn--confirm {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 4px 20px rgba(0, 0, 0, 0.3);
}

.muzo-age-gate__btn--confirm:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 8px 30px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(255, 255, 255, 0.1);
}

/* Deny button - more subtle glass */
.muzo-age-gate__btn--deny {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.muzo-age-gate__btn--deny:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

/* Animations */
@keyframes ageGateFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes ageGateBackdropIn {
    from {
        backdrop-filter: blur(0px) saturate(1);
        -webkit-backdrop-filter: blur(0px) saturate(1);
        background: rgba(10, 10, 10, 0);
    }
    to {
        backdrop-filter: blur(20px) saturate(0.8);
        -webkit-backdrop-filter: blur(20px) saturate(0.8);
        background: rgba(10, 10, 10, 0.4);
    }
}

@keyframes ageGateBoxIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .muzo-age-gate {
        padding: 20px;
    }

    .muzo-age-gate__box {
        padding: 36px 24px;
        border-radius: 20px;
    }

    .muzo-age-gate__logo {
        height: 40px;
        margin-bottom: 24px;
    }

    .muzo-age-gate__title {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }

    .muzo-age-gate__text {
        font-size: 11px;
        margin-bottom: 28px;
    }

    .muzo-age-gate__btn {
        min-width: 200px;
        height: 48px;
        font-size: 10px;
    }
}

/* Small mobile */
@media (max-width: 390px) {
    .muzo-age-gate {
        padding: 16px;
    }

    .muzo-age-gate__box {
        padding: 32px 20px;
    }

    .muzo-age-gate__btn {
        min-width: 180px;
        height: 44px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .muzo-age-gate,
    .muzo-age-gate__backdrop,
    .muzo-age-gate__container {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .muzo-age-gate__backdrop {
        backdrop-filter: blur(20px) saturate(0.8);
        -webkit-backdrop-filter: blur(20px) saturate(0.8);
    }
}

/* ============================================
   Cookie Notice Styles
   ============================================ */
#cookie-notice {
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
}

/* Text Balance for better headline wrapping */
.text-balance {
    text-wrap: balance;
}

/* ============================================
   Gradient Text Shimmer — Section Titles
   Animated gradient sweep on key headlines
   ============================================ */
/* Homepage section titles */
.muzo-brands__title,
.muzo-clinics-grid__title,
.muzo-pillars__title,
.muzo-cta__title,
.muzo-news__title,
/* About page */
.muzo-about-mission__title,
.muzo-about-values__title,
.muzo-about-story__title,
.muzo-about-certs__title,
.muzo-about-cta__title,
/* Contact page */
.muzo-contact-cta__title,
/* Distributors page */
.muzo-partner-types__title,
.muzo-distributor-partners__title,
.muzo-order-process__title,
.muzo-spec-sheets__title,
.muzo-page-cta__title,
/* News page */
.muzo-news-cta__title,
/* FSS panels */
.muzo-fss__title {
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #ffffff 40%,
        rgba(255,255,255,0.5) 50%,
        #ffffff 60%,
        #ffffff 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleShimmer 6s ease-in-out infinite;
}

@keyframes titleShimmer {
    0%, 100% { background-position: 100% 0; }
    50% { background-position: -100% 0; }
}

/* Ensure hero titles stay solid white (no shimmer) */
.muzo-about-hero__title,
.muzo-contact-hero__title,
.muzo-news-hero__title,
.muzo-page-hero__title,
.muzo-article__title {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #ffffff;
    background-clip: unset;
    animation: none;
}

/* Prevent shimmer from hiding text-reveal split headings.
   Once JS splits text into spans, spans inherit transparent fill
   but NOT the gradient background — making text invisible. */
[data-text-reveal] {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    animation: none !important;
    color: #ffffff !important;
}

/* ============================================
   Eyebrow Tabs — Harrods Green
   Global override for all eyebrow pill elements
   ============================================ */
[class*="__eyebrow"] {
    background: #445A03 !important;
    border-color: rgba(68, 90, 3, 0.6) !important;
    color: #ffffff !important;
}

/* ============================================
   Primary CTA Buttons — Solid Olive Green
   High-impact brand accent on main action buttons
   ============================================ */
.muzo-hero__btn--primary,
.muzo-cta__btn,
.muzo-page-cta__btn,
.muzo-about-cta__btn,
.muzo-news-cta__btn,
.muzo-contact-form__submit,
.muzo-age-gate__btn--confirm,
.muzo-order-process__btn,
.muzo-fss__btn,
.muzo-split__btn {
    background: #445A03 !important;
    border: 1px solid rgba(68, 90, 3, 0.8) !important;
    color: #ffffff !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

.muzo-hero__btn--primary:hover,
.muzo-cta__btn:hover,
.muzo-page-cta__btn:hover,
.muzo-about-cta__btn:hover,
.muzo-news-cta__btn:hover,
.muzo-contact-form__submit:hover,
.muzo-age-gate__btn--confirm:hover,
.muzo-order-process__btn:hover,
.muzo-fss__btn:hover,
.muzo-split__btn:hover {
    background: #527108 !important;
    border-color: #527108 !important;
    box-shadow: 0 10px 40px rgba(68, 90, 3, 0.35), 0 0 60px rgba(68, 90, 3, 0.12) !important;
}

/* ============================================
   Typography — Space Grotesk Sitewide
   Brand font for ALL text across the site
   ============================================ */
html,
body,
body *:not([class*="Mono"]):not(code):not(pre):not(kbd):not(samp) {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
}

h1, h2, h3, h4, h5, h6,
[class*="__title"],
[class*="__headline"],
.muzo-hero__headline,
.muzo-age-gate__title {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* Body text, paragraphs, links, buttons */
p, a, span, li, label, input, textarea, select, button,
[class*="__desc"],
[class*="__content"] p,
[class*="__subtitle"],
[class*="__value"],
[class*="__label"],
[class*="__btn"],
[class*="__name"],
[class*="__card-desc"],
.muzo-about-story__content p {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* ============================================
   Navigation — Olive Green Hover
   Underline sweep on hover for nav links
   ============================================ */
.muzo-nav-link {
    position: relative !important;
}

.muzo-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--muzo-olive);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}

.muzo-nav-link:hover::after {
    width: 100%;
    left: 0;
}

/* Contact button — olive tint on hover */
.muzo-contact-btn:hover .muzo-contact-text {
    color: #ffffff !important;
}

.muzo-contact-btn:hover .muzo-contact-icon {
    background: rgba(68, 90, 3, 0.3) !important;
    border-color: rgba(68, 90, 3, 0.5) !important;
}

/* ============================================
   Feature/Process Icons — Olive Green SVGs
   Brand-colored icons across all card sections
   ============================================ */
.muzo-features__icon,
.muzo-partner-types__icon,
.muzo-order-process__feature-icon,
.muzo-spec-sheets__icon,
.muzo-about-values__icon,
.muzo-about-certs__icon,
.muzo-pillars__icon,
.muzo-contact-info__icon {
    background: rgba(68, 90, 3, 0.15) !important;
    border-color: rgba(68, 90, 3, 0.3) !important;
}

.muzo-features__icon svg,
.muzo-partner-types__icon svg,
.muzo-order-process__feature-icon svg,
.muzo-spec-sheets__icon svg,
.muzo-about-values__icon svg,
.muzo-about-certs__icon svg,
.muzo-pillars__icon svg,
.muzo-contact-info__icon svg {
    stroke: #445A03 !important;
    color: #445A03 !important;
}

/* ============================================
   Section Divider Lines — Olive Green Gradient
   ============================================ */
.muzo-brands__line,
.muzo-clinics-grid__line,
.muzo-pillars__line,
.muzo-news__line,
.muzo-clinic-partners__line,
.muzo-partner-types__line,
.muzo-distributor-partners__line,
.muzo-order-process__line,
.muzo-spec-sheets__line,
.muzo-contact-cta__line,
.muzo-news-featured__line {
    background: linear-gradient(90deg, transparent, rgba(68, 90, 3, 0.4), transparent) !important;
}

/* Disable shimmer for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .muzo-brands__title,
    .muzo-clinics-grid__title,
    .muzo-pillars__title,
    .muzo-cta__title,
    .muzo-news__title,
    .muzo-about-mission__title,
    .muzo-about-values__title,
    .muzo-about-story__title,
    .muzo-about-certs__title,
    .muzo-about-cta__title,
    .muzo-contact-cta__title,
    .muzo-partner-types__title,
    .muzo-distributor-partners__title,
    .muzo-order-process__title,
    .muzo-spec-sheets__title,
    .muzo-page-cta__title,
    .muzo-news-cta__title,
    .muzo-fss__title {
        animation: none;
        background: none;
        -webkit-background-clip: unset;
        -webkit-text-fill-color: #ffffff;
        background-clip: unset;
    }
}
