/* Lucide icons fallback size */
svg.lucide {
    display: inline-block !important;
    vertical-align: middle;
    color: inherit;
    pointer-events: none;
}

[data-lucide] {
    width: auto;
    height: auto;
    display: inline-block;
}

/* Social Proof Toast */
#social-proof-container {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-proof-enter {
    transform: translateY(100px) scale(0.9);
    opacity: 0;
}

.social-proof-active {
    transform: translateY(0) scale(1);
    opacity: 1;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.33);
        opacity: 1;
    }

    80%,
    100% {
        opacity: 0;
    }
}

.pulse-dot-ring {
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Assistant', sans-serif;
    background-color: #FCFBFA;
    color: #1A1A1A;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.modal-enter {
    opacity: 0;
    transform: scale(0.9);
}

.modal-enter-active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 300ms, transform 300ms;
}

.modal-exit {
    opacity: 1;
    transform: scale(1);
}

.modal-exit-active {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 300ms, transform 300ms;
}

/* Animations */
@keyframes pulse-custom {

    0%,
    100% {
        transform: scale(1);
        background-color: #e22460;
    }

    50% {
        transform: scale(1.05);
        background-color: #f13b75;
    }
}

.animate-pulse-custom {
    animation: pulse-custom 2s ease-in-out infinite;
}

@keyframes wave {

    0%,
    100% {
        transform: scale(1);
        opacity: 0;
    }

    50% {
        transform: scale(1.4);
        opacity: 0.4;
    }
}

.animate-wave {
    animation: wave 2s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

.animate-float {
    animation: float 2s ease-in-out infinite;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* Accessibility Focus Styles */
:focus {
    outline: 3px solid #e22460;
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #e22460;
    color: white;
    padding: 8px;
    z-index: 100;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* ==========================================================================
   Brand & Technology Framework (UI/UX, Responsive Slider & Badges)
   ========================================================================== */

/* Brand Card Container */
.brand-card {
    background-color: #FCFBFA;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.brand-card:hover {
    transform: translateY(-4px);
    background-color: #ffffff;
    border-color: rgba(140, 54, 69, 0.25);
    box-shadow: 0 16px 32px -8px rgba(140, 54, 69, 0.12), 0 4px 12px -2px rgba(0, 0, 0, 0.04);
}

/* Logo Canvas: Fixed uniform 160px × 80px (2:1 ratio) */
.brand-logo-container {
    width: 160px;
    height: 80px;
    max-width: 160px;
    max-height: 80px;
    aspect-ratio: 2 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 0.5rem;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Monochrome / Subtle Grayscale by Default -> Smooth 0.3s transition to Full Color */
.brand-logo-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.72) contrast(0.95);
    transition: filter 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: filter, transform;
}

.brand-card:hover .brand-logo-img,
.brand-card:focus-within .brand-logo-img,
.brand-card:active .brand-logo-img {
    filter: grayscale(0%) opacity(1) contrast(1);
    transform: scale(1.05);
}

/* Regulatory Approval Badges */
.badge-fda {
    background-color: #EFF6FF;
    color: #1D4ED8;
    border: 1px solid #BFDBFE;
}

.badge-ce {
    background-color: #ECFDF5;
    color: #047857;
    border: 1px solid #A7F3D0;
}

.badge-moh {
    background-color: #FAF5FF;
    color: #7E22CE;
    border: 1px solid #E9D5FF;
}

/* Mobile Touch Slider (Peek-view edge margins & Snap mandatory) */
.brand-slider-track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-padding: 1rem;
    padding-bottom: 0.75rem;
}

.brand-slider-track::-webkit-scrollbar {
    display: none;
}

.brand-slider-item {
    scroll-snap-align: start;
    flex: 0 0 280px;
}

@media (max-width: 640px) {
    .brand-slider-item {
        flex: 0 0 82vw;
        max-width: 320px;
    }
}

/* Accessibility: 44px minimum touch targets */
.min-touch-target {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Infinite Carousel animation for desktop (optional pause on hover) */
@keyframes brandScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(50%);
    }
}

.brand-carousel-paused:hover .brand-carousel-inner {
    animation-play-state: paused;
}

/* ─────────────────────────────────────────────────────────────
   Articles & Clinical Guides Styles (SEO & GEO Content)
   ───────────────────────────────────────────────────────────── */
.article-card {
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-card:hover {
    transform: translateY(-4px);
    border-color: rgba(140, 54, 69, 0.25);
    box-shadow: 0 16px 32px -8px rgba(140, 54, 69, 0.12), 0 4px 12px -2px rgba(0, 0, 0, 0.04);
}

/* Lite YouTube Facade Wrapper */
.lite-youtube-wrapper {
    position: relative;
    cursor: pointer;
    background-color: #000;
    border-radius: 0.75rem;
    overflow: hidden;
}

.lite-youtube-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Article Modal Prose */
.prose h3 {
    color: #1A1A1A;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.prose p {
    color: #4B5563;
    line-height: 1.8;
    margin-bottom: 1rem;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
        transform: scale(0.97);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in {
    animation: fadeInModal 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}


