
/* ===== VERIFIED PLATFORM CARDS ===== */
.verified-platform-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.verified-platform-card:hover {
    transform: translateY(-4px);
}
.platform-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 14px;
    border: 1.5px solid;
    min-width: 160px;
    min-height: 64px;
    background: white;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: all 0.35s ease;
}
.verified-platform-card:hover .platform-badge-icon {
    box-shadow: 0 10px 32px rgba(0,0,0,0.12);
    transform: scale(1.04);
}
.platform-badge-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: white;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 100px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* ===== GLOWING CTA BUTTON ===== */
.btn-glow {
    position: relative;
    overflow: hidden;
}
.btn-glow::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}
.btn-glow:hover::before {
    transform: translateX(100%);
}

/* ===== HERO SECTION ENHANCEMENTS ===== */
.hero-animated-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.hero-animated-bg .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: blobFloat 8s ease-in-out infinite;
}
.hero-animated-bg .blob-1 {
    width: 400px; height: 400px;
    background: rgba(255, 95, 21, 0.08);
    top: -100px; right: -80px;
    animation-delay: 0s;
}
.hero-animated-bg .blob-2 {
    width: 300px; height: 300px;
    background: rgba(10, 25, 47, 0.06);
    bottom: -80px; left: -60px;
    animation-delay: 3s;
}
@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -30px) scale(1.05); }
    66% { transform: translate(-15px, 20px) scale(0.95); }
}

/* ===== MARQUEE ENHANCEMENTS ===== */
.marquee-track {
    position: relative;
}
.marquee-track::before,
.marquee-track::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.marquee-track::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa, transparent);
}
.marquee-track::after {
    right: 0;
    background: linear-gradient(to left, #f8f9fa, transparent);
}

/* ===== TRUST BAR STAT COUNTER ANIMATION ===== */
.stat-counter {
    display: inline-block;
    animation: statPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
}
.stat-counter.counted {
    opacity: 1;
}
@keyframes statPop {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

/* ===== PRODUCT CARD ENHANCED HOVER ===== */
.hero-product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255,95,21,0) 0%, rgba(255,95,21,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.hero-product-card:hover::before {
    opacity: 1;
}

/* ===== SECTION BADGE PULSE ===== */
.section-badge {
    position: relative;
}

/* ===== QUALITY STEPS CONNECTOR LINE ===== */
@media (min-width: 768px) {
    .quality-steps-grid {
        position: relative;
    }
    .quality-steps-grid::before {
        content: '';
        position: absolute;
        top: 0;
        left: 33.33%;
        right: 33.33%;
        height: 1px;
        background: linear-gradient(90deg, transparent, #FF5F15 50%, transparent);
        pointer-events: none;
    }
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #FF5F15, #ff8c00);
    z-index: 9999;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 8px rgba(255,95,21,0.6);
}

/* ===== FLOATING WHATSAPP (ENHANCED) ===== */
.floating-whatsapp {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: linear-gradient(135deg, #25d366, #1db954);
    color: white;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 6px 20px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.4);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    text-decoration: none;
    animation: wa-pulse 2.5s ease-in-out infinite;
}
@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.3); }
    50% { box-shadow: 0 6px 24px rgba(37,211,102,0.5), 0 0 0 10px rgba(37,211,102,0); }
}
.floating-whatsapp:hover {
    transform: scale(1.12) translateY(-2px);
    background: linear-gradient(135deg, #128c7e, #25d366);
    color: white;
    box-shadow: 0 12px 32px rgba(37,211,102,0.5);
}
.whatsapp-tip {
    position: absolute;
    right: 78px;
    top: 50%;
    transform: translateX(10px) translateY(-50%);
    background: white;
    color: #333;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 600;
    width: 185px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    opacity: 0;
    transition: all 0.35s ease;
    pointer-events: none;
    line-height: 1.5;
    border: 1px solid #f0f0f0;
}
.whatsapp-tip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 8px solid white;
}
.floating-whatsapp:hover .whatsapp-tip {
    opacity: 1;
    transform: translateX(0) translateY(-50%);
}

/* ---- Quote Cart Icon ---- */
.quote-cart-icon {
    position: relative;
    cursor: pointer;
    transition: all 0.25s;
}
.quote-badge {
    position: absolute;
    top: -7px;
    right: -9px;
    background: #FF5F15;
    color: white;
    font-size: 9.5px;
    font-weight: 900;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(255,95,21,0.4);
    line-height: 1;
}

/* ---- Search Modal ---- */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 15, 29, 0.97);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.search-container {
    width: 100%;
    max-width: 680px;
    animation: searchFadeIn 0.3s ease forwards;
}
@keyframes searchFadeIn {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
}
.search-input-wrap {
    position: relative;
    border-bottom: 2px solid #FF5F15;
    margin-bottom: 28px;
}
.search-input {
    width: 100%;
    background: transparent;
    border: none;
    color: white;
    font-size: 30px;
    font-weight: 800;
    padding: 14px 0;
    outline: none;
    font-family: inherit;
}
.search-input::placeholder {
    color: rgba(255,255,255,0.2);
}
.search-results {
    max-height: 55vh;
    overflow-y: auto;
    background: rgba(255,255,255,0.04);
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.06);
}
.search-item {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.2s;
    text-decoration: none;
}
.search-item:last-child { border-bottom: none; }
.search-item:hover {
    background: rgba(255, 255, 255, 0.08);
}
.search-img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    background: rgba(255,255,255,0.08);
    flex-shrink: 0;
}
.search-info h4 {
    color: white;
    font-weight: 700;
    font-size: 15px;
    margin: 0 0 2px;
}
.search-info span {
    color: #FF5F15;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* ---- Add to Quote Button ---- */
.btn-quote-add {
    font-size: 12.5px;
    font-weight: 700;
    color: #FF5F15;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 6px;
}
.btn-quote-add:hover {
    color: #0A192F;
}
.btn-quote-add i {
    font-size: 13px;
}

/* ---- Scroll Behaviour ---- */
html {
    scroll-behavior: smooth;
}

/* ---- Custom Selection ---- */
::selection {
    background: rgba(255, 95, 21, 0.25);
    color: #0A192F;
}

/* ---- Focus Visible ---- */
:focus-visible {
    outline: 2px solid #FF5F15;
    outline-offset: 3px;
    border-radius: 4px;
}

/* ---- Product Card Catalog ---- */
.product-card-catalog {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card-catalog:hover {
    transform: translateY(-4px);
}

/* ---- Gallery Thumb Cursor ---- */
.gallery-thumb {
    border: 2px solid #e5e7eb;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    border-radius: 8px;
}
.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: #FF5F15;
    box-shadow: 0 0 0 3px rgba(255, 95, 21, 0.15);
}

/* ---- Image hover blend ---- */
.blend-multiply {
    mix-blend-mode: multiply;
}

/* ---- Striped table rows ---- */
.specs-table tr:nth-child(even) {
    background: #f9fafb;
}

/* ---- Mobile Menu links ---- */
#mobileMenu a {
    text-decoration: none;
}

html, body {
    position: relative;
    width: 100%;
}

body {
    animation: pageLoad 0.4s ease forwards;
}
@keyframes pageLoad {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ---- Mobile Responsiveness Fixes ---- */
@media (max-width: 640px) {
    .max-w-7xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .hero-product-text {
        font-size: 9px !important;
    }
    .top-bar-link {
        font-size: 9px;
    }
    .verified-platform-card .platform-badge-icon {
        min-width: 130px;
        min-height: 52px;
        padding: 10px 16px;
    }
}

/* Prevent horizontal overflow from animations */
.overflow-x-clip {
    overflow-x: clip;
}

img {
    max-width: 100%;
    height: auto;
}

/* Ensure sticky header anchors account for header height */
:target {
    scroll-margin-top: 100px;
}
@media (min-width: 768px) {
    :target {
        scroll-margin-top: 130px;
    }
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 28px;
    width: 44px;
    height: 44px;
    background: #0A192F;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 900;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(10,25,47,0.25);
    font-size: 14px;
}
.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}
.back-to-top:hover {
    background: #FF5F15;
    box-shadow: 0 6px 20px rgba(255,95,21,0.4);
    transform: translateY(-2px);
}

/* ===== CATEGORY SIDEBAR LINK ACTIVE ===== */
.cat-sidebar-link.active {
    color: #FF5F15;
    font-weight: 800;
}

/* ===== BREADCRUMB NAV ===== */
.breadcrumb-nav a:hover {
    color: #FF5F15;
}

/* ===== PRODUCT CARD BORDER GLOW ON HOVER ===== */
.product-card-catalog:hover {
    border-color: rgba(255, 95, 21, 0.25);
    box-shadow: 0 12px 40px rgba(255, 95, 21, 0.12);
}
