/**
 * PowerNest Controls - Custom Stylesheet
 * Theme: Industrial Navy Blue (#0B192C) + Energetic Amber Orange (#FF6B00)
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --color-navy-dark: #07101e;
    --color-navy: #0b192c;
    --color-navy-light: #1e3a5f;
    --color-navy-muted: #334e68;
    --color-orange: #ff6b00;
    --color-orange-hover: #ea580c;
    --color-orange-light: #fff7ed;
    --color-slate-bg: #f8fafc;
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

body {
    font-family: var(--font-sans);
    color: #1e293b;
    background-color: #fdfdfd;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* -------------------------------------------------------------
 * Custom Utility Classes & Brand Colors
 * ------------------------------------------------------------- */
.bg-navy-dark   { background-color: var(--color-navy-dark); }
.bg-navy        { background-color: var(--color-navy); }
.bg-navy-light  { background-color: var(--color-navy-light); }
.text-navy      { color: var(--color-navy); }
.text-navy-light{ color: var(--color-navy-light); }
.border-navy    { border-color: var(--color-navy); }

.bg-brand-orange { background-color: var(--color-orange); }
.bg-brand-orange:hover { background-color: var(--color-orange-hover); }
.text-brand-orange { color: var(--color-orange); }
.border-brand-orange { border-color: var(--color-orange); }
.bg-brand-orange-light { background-color: var(--color-orange-light); }

/* -------------------------------------------------------------
 * Subtle Card Animations & Hover Effects
 * ------------------------------------------------------------- */
.hover-lift {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px -6px rgba(11, 25, 44, 0.12), 0 8px 16px -8px rgba(11, 25, 44, 0.08);
}

/* Subtle glow for orange buttons */
.btn-orange-glow {
    box-shadow: 0 4px 14px 0 rgba(255, 107, 0, 0.35);
    transition: all 0.2s ease-in-out;
}

.btn-orange-glow:hover {
    box-shadow: 0 6px 20px 0 rgba(255, 107, 0, 0.5);
    transform: translateY(-1px);
}

/* -------------------------------------------------------------
 * Infinite Brand Logo Marquee / Slider
 * ------------------------------------------------------------- */
@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    display: flex;
    width: 200%;
    animation: marquee 28s linear infinite;
}

.animate-marquee:hover {
    animation-play-state: paused;
}

/* -------------------------------------------------------------
 * Floating Action Buttons (WhatsApp & Quick Call)
 * ------------------------------------------------------------- */
.floating-actions {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fab-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    text-decoration: none;
}

.fab-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}

.fab-whatsapp {
    background-color: #25D366;
}

.fab-call {
    background-color: var(--color-orange);
}

.fab-tooltip {
    position: absolute;
    right: 64px;
    background: #0b192c;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateX(6px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.fab-btn:hover .fab-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Pulse animation on whatsapp */
@keyframes fab-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.fab-whatsapp {
    animation: fab-pulse 2.4s infinite;
}

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

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* -------------------------------------------------------------
 * Decorative Hero Grid & Industrial Dots
 * ------------------------------------------------------------- */
.hero-pattern {
    background-color: #0b192c;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
}

.hero-industrial-gradient {
    background: linear-gradient(135deg, #07101e 0%, #0b192c 55%, #132742 100%);
}

/* -------------------------------------------------------------
 * Toast / Flash Alert Banner
 * ------------------------------------------------------------- */
.toast-notice {
    animation: slideInDown 0.35s ease-out forwards;
}

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

/* =============================================================
 * RICH ANIMATIONS SYSTEM - INDUSTRIAL MODERN
 * ============================================================= */

/* 1. Smooth Floating Physics */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-12px) rotate(1.5deg);
    }
}

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

.animate-float-slow {
    animation: floatSlow 6s ease-in-out infinite;
}

/* 2. Glowing Orange Aura */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(255, 107, 0, 0.3), 0 0 30px rgba(255, 107, 0, 0.15);
    }
    50% {
        box-shadow: 0 0 25px rgba(255, 107, 0, 0.65), 0 0 45px rgba(255, 107, 0, 0.3);
    }
}

.animate-glow {
    animation: pulseGlow 2.5s infinite;
}

/* 3. Ripple Pulse Rings (for Floating WhatsApp & Status Dots) */
@keyframes pulseRing {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.35);
        opacity: 0;
    }
    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

.animate-pulse-ring {
    position: relative;
}
.animate-pulse-ring::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: inherit;
    background: inherit;
    opacity: 0.6;
    animation: pulseRing 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
    z-index: -1;
    pointer-events: none;
}

/* 4. Luxury Sheen Wipe (Buttons & Cards) */
.btn-sheen {
    position: relative;
    overflow: hidden;
}

.btn-sheen::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(
        60deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    transition: none;
    pointer-events: none;
}

.btn-sheen:hover::after {
    left: 140%;
    transition: left 0.75s ease-in-out;
}

/* 5. Shimmer Gradient Wave */
@keyframes shimmerWave {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.animate-shimmer {
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0) 100%);
    background-size: 200% 100%;
    animation: shimmerWave 3s infinite;
}

/* 6. Subtle Bounce */
@keyframes bounceSubtle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

.animate-bounce-subtle {
    animation: bounceSubtle 2s ease-in-out infinite;
}

/* 7. Slow Cog/Gear Rotation */
@keyframes spinSlow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-spin-slow {
    animation: spinSlow 18s linear infinite;
}

/* 8. Interactive Card 3D Lift & Shadow Elevation */
.card-interactive {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s ease;
    will-change: transform, box-shadow;
}

.card-interactive:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 35px -8px rgba(11, 25, 44, 0.12), 
                0 10px 18px -6px rgba(255, 107, 0, 0.08);
    border-color: rgba(255, 107, 0, 0.45);
}

/* 9. Image Zoom Within Container */
.img-zoom-hover {
    overflow: hidden;
}

.img-zoom-hover img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-zoom-hover:hover img {
    transform: scale(1.08);
}

/* 10. Nav Links Underline Animation */
.nav-link-animated {
    position: relative;
    display: inline-block;
}

.nav-link-animated::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-orange);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link-animated:hover::after,
.nav-link-animated.active::after {
    width: 100%;
}

/* 11. Radar Status Ping */
.badge-ping-dot {
    position: relative;
    display: inline-flex;
}

.badge-ping-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 9999px;
    background-color: currentColor;
    opacity: 0.5;
    animation: pulseRing 1.8s infinite cubic-bezier(0, 0, 0.2, 1);
}

/* 12. Top Scroll Reading Progress Bar */
#scrollProgressBar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #FF6B00 0%, #FFA726 50%, #FF6B00 100%);
    z-index: 9999;
    width: 0%;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.6);
}

/* 13. Back to Top Button */
#backToTopBtn {
    position: fixed;
    bottom: 86px;
    right: 24px;
    z-index: 49;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0B192C;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(11, 25, 44, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#backToTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

#backToTopBtn:hover {
    background: #FF6B00;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 12px 28px rgba(255, 107, 0, 0.45);
}

/* 14. Brand Logo Marquee Polish */
.animate-marquee img {
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: grayscale(30%);
}

.animate-marquee img:hover {
    transform: scale(1.1);
    filter: grayscale(0%);
}

/* 15. Hero Swiper Slider Customization */
.hero-swiper {
    width: 100%;
    position: relative;
}

.hero-swiper .swiper-pagination {
    bottom: 58px !important;
    z-index: 25;
}

@media (min-width: 640px) {
    .hero-swiper .swiper-pagination {
        bottom: 66px !important;
    }
}

.hero-swiper .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    background: rgba(255, 255, 255, 0.45);
    opacity: 1;
    border-radius: 9999px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    margin: 0 5px !important;
}

.hero-swiper .swiper-pagination-bullet-active {
    width: 32px;
    background: #FF6B00;
    box-shadow: 0 0 12px rgba(255, 107, 0, 0.7);
}

.hero-swiper-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(6, 13, 25, 0.65);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 25;
}

.hero-swiper-btn:hover {
    background: #FF6B00;
    border-color: #FF6B00;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.45);
}

.hero-swiper-btn::after {
    display: none !important;
}

/* 16. Swiper Motion Choreography & Ken Burns Zoom */
.hero-swiper .hero-slide-bg {
    transform: scale(1.01);
    transition: transform 6.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.hero-swiper .swiper-slide-active .hero-slide-bg {
    transform: scale(1.1);
}

/* Staggered entrance for slide elements */
.hero-swiper .hero-slide-badge,
.hero-swiper .hero-slide-title,
.hero-swiper .hero-slide-desc,
.hero-swiper .hero-slide-btns {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.hero-swiper .swiper-slide-active .hero-slide-badge {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 180ms;
}

.hero-swiper .swiper-slide-active .hero-slide-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 320ms;
}

.hero-swiper .swiper-slide-active .hero-slide-desc {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 480ms;
}

.hero-swiper .swiper-slide-active .hero-slide-btns {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 640ms;
}

/* Navigation Arrows micro-interaction */
.hero-swiper-btn i {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-swiper-button-prev:hover i {
    transform: translateX(-3px);
}

.hero-swiper-button-next:hover i {
    transform: translateX(3px);
}

/* Active bullet pulse */
@keyframes bulletPulseAura {
    0%, 100% {
        box-shadow: 0 0 8px rgba(255, 107, 0, 0.6);
    }
    50% {
        box-shadow: 0 0 16px rgba(255, 107, 0, 0.95), 0 0 28px rgba(255, 107, 0, 0.45);
    }
}

.hero-swiper .swiper-pagination-bullet-active {
    animation: bulletPulseAura 2.2s infinite ease-in-out;
}

/* Related Products Swiper Styling */
.related-products-swiper {
    padding-bottom: 2.5rem !important;
}

.related-swiper-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #cbd5e1;
    opacity: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.related-swiper-pagination .swiper-pagination-bullet-active {
    width: 26px;
    border-radius: 9999px;
    background: #FF6600 !important;
    box-shadow: 0 0 10px rgba(255, 102, 0, 0.5);
}

/* =============================================================
 * 17. PRODUCT DETAIL PAGE ANIMATIONS & MICRO-INTERACTIONS
 * ============================================================= */
@keyframes quoteBoxPulse {
    0%, 100% {
        border-color: rgba(255, 140, 56, 0.55);
        box-shadow: 0 2px 10px rgba(255, 107, 0, 0.04);
    }
    50% {
        border-color: rgba(255, 107, 0, 0.95);
        box-shadow: 0 4px 18px rgba(255, 107, 0, 0.12);
    }
}

.product-quote-box-pulse {
    animation: quoteBoxPulse 3.5s ease-in-out infinite;
    transition: all 0.3s ease;
}

.product-quote-box-pulse:hover {
    border-color: #FF6B00 !important;
    box-shadow: 0 6px 22px rgba(255, 107, 0, 0.18) !important;
    transform: translateY(-1px);
}

/* Product stage image hover */
.product-showcase-stage {
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-showcase-stage:hover {
    box-shadow: 0 16px 36px -10px rgba(11, 25, 44, 0.08);
}

/* Angle thumbnail buttons micro-interaction */
.thumb-view-btn {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.thumb-view-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 25, 44, 0.08);
}

.thumb-view-btn:active {
    transform: scale(0.96);
}

/* Trust badges interactive elevation */
.trust-badge-pill {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.trust-badge-pill:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 107, 0, 0.45) !important;
    background-color: #fff7ed !important;
    color: #c2410c !important;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.1);
}

/* Table row interactive animation */
.spec-table-row {
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.spec-table-row:hover {
    background-color: rgba(255, 247, 237, 0.8) !important;
}

.spec-table-row:hover th {
    color: #ea580c;
}

/* Subtle clock tick/bounce */
@keyframes clockTick {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

.animate-clock-tick {
    display: inline-block;
    animation: clockTick 3s ease-in-out infinite;
}

/* Ambient backdrop gradient orbs */
.product-ambient-orb-1 {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.08) 0%, rgba(255, 107, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: floatSlow 8s ease-in-out infinite;
}

.product-ambient-orb-2 {
    position: absolute;
    bottom: 40px;
    left: -60px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(30, 58, 95, 0.08) 0%, rgba(30, 58, 95, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: float 7s ease-in-out infinite;
}



