* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #00bfff;
    --secondary-color: #0099cc;
    --dark-bg: #1e293b;
    --darker-bg: #0f172a;
    --light-text: #ffffff;
    --card-bg: #1e3a8a;
    --accent: #00d4ff;
    --success: #00ff88;
}

html {
    overflow-x: hidden;
    min-width: 320px;
    max-width: 100vw;
}

body {
    background: linear-gradient(135deg, #000000 0%, #000000 33%, #001122 68%, #002244 100%);
    background-attachment: fixed;
    color: var(--light-text);
    line-height: 1.6;
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
    padding-top: 60px;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: transparent;
    padding: 0.4rem 0;
    position: fixed;
    top: 25px;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    z-index: 1000;
    font-family: 'Orbitron', sans-serif;
    transform: scale(1);
    transform-origin: top center;
    animation: slideDownNav 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

/* 1920x1080: slightly smaller navbar buttons */
/* 1920x1080: width ~1920, height relaxed (browser chrome reduces viewport) */
@media (min-width: 1900px) and (max-width: 1940px) and (min-height: 900px) {
    /* 1920×1080: let the navbar span the full width so logo/cart can sit near edges */
    .navbar {
        --nav-button-height: 62px; /* single source of truth for top-row button height */
        top: 18px;
    }

    .nav-container {
        max-width: 100%;
        width: 100%;
        padding: 0 10px;   /* smaller side padding so logo/cart can sit closer to edges */
        position: relative;
    }

    /* Logo: keep in flex row, but it'll naturally sit close to left edge now */
    .store-logo {
        position: static;
        margin-right: 1.5rem;
        margin-left: 3.5rem;
    }

    .social-link {
        width: 64px;
        height: 58px;
        min-width: 64px;
    }
    .social-link i {
        font-size: 28px;
    }

    .social-link[title="YouTube"] i {
        font-size: 30px;
    }

    /* Make the Home/Products/Reviews/Contact pill a bit taller too */
    .nav-menu {
        height: var(--nav-button-height);
        padding: 0 2.6rem;      /* horizontal padding only */
        align-items: center;    /* vertically center the links */
    }

    .nav-menu a {
        font-size: 1.25rem;
        padding: 0 1rem;        /* keep vertical alignment, more presence via font size */
    }

    .currency-btn,
    .login-btn {
        height: var(--nav-button-height);  /* EXACT same height as social buttons */
        min-width: 92px;
    }

    .currency-btn {
        font-size: 1.35rem;
        padding: 0.8rem 1.2rem;
    }

    #currencySymbol {
        font-size: 1.05rem;
    }

    .dropdown-arrow {
        font-size: 0.85rem;
    }

    .login-btn {
        font-size: 1.08rem;
        padding: 0.8rem 1.4rem;
    }

    /* Space out money / dashboard / cart, and keep the whole group on the far right */
    .nav-actions {
        margin-left: auto;        /* pushes money + dashboard + cart to the right side */
        margin-right: 0.4rem;     /* small right margin so cart can sit further right */
        gap: 1.75rem;
    }

    .cart-icon {
        width: 58px;
        height: 58px;
    }

    .cart-icon i {
        font-size: 28px;
    }

    .cart-count {
        width: 22px;
        height: 22px;
        font-size: 0.9rem;
    }
}

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

/* 1920x1080: width ~1920, height relaxed (browser chrome reduces viewport) */
@media (min-width: 1900px) and (max-width: 1940px) and (min-height: 900px) {
    @keyframes slideDownNav {
        from {
            opacity: 0;
            transform: translateY(-50px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

@media (min-width: 2560px) {
    @keyframes slideDownNav {
        from {
            opacity: 0;
            transform: scale(1.4) translateY(-50px);
        }
        to {
            opacity: 1;
            transform: scale(1.4) translateY(0);
        }
    }
}

.nav-container {
    max-width: 1500px;
    min-width: 320px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    box-sizing: border-box;
    overflow: visible;
}

.store-logo {
    display: flex;
    align-items: center;
    z-index: 1;
    margin-right: 1rem;
}

.social-bar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-right: 1rem;
    margin-left: 2rem;
    z-index: 1;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 45px;
    min-width: 52px;
    background: linear-gradient(to bottom, rgba(15, 27, 61, 0.3), rgba(0, 0, 0, 0.25));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 13px;
    transition: all 0.3s;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.02), inset 0 0 10px rgba(255, 255, 255, 0.01), 0 2px 8px rgba(255, 255, 255, 0.03);
    padding: 0;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.45), 0 0 30px rgba(0, 191, 255, 0.3), inset 0 0 15px rgba(0, 191, 255, 0.08);
    border-color: rgba(0, 191, 255, 0.55);
}

.social-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: filter 0.3s;
}

.social-link i {
    font-size: 20px;
    color: var(--light-text);
    transition: all 0.3s;
}

.social-link[title="YouTube"] i {
    font-size: 22px;
}

.social-link:hover .social-icon {
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(0, 191, 255, 0.8));
}

.social-link:hover i {
    color: #00bfff;
    text-shadow: 0 0 8px rgba(0, 191, 255, 0.8);
}

.logo-gif {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 13px;
    background: linear-gradient(to bottom, rgba(15, 27, 61, 0.3), rgba(0, 0, 0, 0.25));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.02), inset 0 0 10px rgba(255, 255, 255, 0.01), 0 2px 8px rgba(255, 255, 255, 0.03);
    padding: 0.2rem;
    transition: all 0.3s;
    cursor: pointer;
}

.store-logo:hover .logo-gif {
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.3), 0 0 30px rgba(0, 191, 255, 0.2), inset 0 0 15px rgba(0, 191, 255, 0.05);
    border-color: rgba(0, 191, 255, 0.4);
    transform: translateY(-2px);
}

.logo h1 {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    background: linear-gradient(to bottom, rgba(15, 27, 61, 0.3), rgba(0, 0, 0, 0.25));
    backdrop-filter: blur(10px);
    border-radius: 13px;
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05), inset 0 0 20px rgba(255, 255, 255, 0.02), 0 4px 15px rgba(255, 255, 255, 0.08);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    --glow-left: 0px;
    --glow-width: 0px;
}

.nav-menu::before {
    content: '';
    position: absolute;
    top: 50%;
    left: var(--glow-left);
    width: var(--glow-width);
    height: 55%;
    transform: translateY(-50%);
    background: rgba(0, 191, 255, 0.45);
    border-radius: 8px;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1), width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 0;
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.7), inset 0 0 15px rgba(0, 191, 255, 0.3);
}

.nav-menu a {
    color: var(--light-text);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    position: relative;
    padding: 0.3rem 0.5rem;
    border-radius: 8px;
    z-index: 1;
}

.nav-menu a:hover {
    text-shadow: 0 0 6px rgba(0, 191, 255, 0.6), 0 0 12px rgba(0, 191, 255, 0.4);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
    margin-right: 1rem;
    z-index: 1;
}

.currency-btn,
.login-btn {
    background: linear-gradient(to bottom, rgba(15, 27, 61, 0.3), rgba(0, 0, 0, 0.25));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 13px;
    color: var(--light-text);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.02), inset 0 0 10px rgba(255, 255, 255, 0.01), 0 2px 8px rgba(255, 255, 255, 0.03);
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.currency-dropdown {
    position: relative;
}

.currency-btn {
    width: auto;
    min-width: 60px;
    gap: 0.3rem;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 0.5rem 0.8rem;
}

#currencySymbol {
    font-size: 0.9rem;
    transition: all 0.3s;
}

.login-btn {
    width: auto;
    min-width: 60px;
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem;
    gap: 0.5rem;
    transition: all 0.3s;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s, text-shadow 0.3s;
}

.currency-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.currency-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: linear-gradient(to bottom, rgba(15, 27, 61, 0.3), rgba(0, 0, 0, 0.25));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 13px;
    padding: 0.5rem 0;
    min-width: 120px;
    max-height: 180px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05), inset 0 0 20px rgba(255, 255, 255, 0.02), 0 4px 15px rgba(255, 255, 255, 0.08);
    z-index: 1000;
}

.currency-menu::-webkit-scrollbar {
    width: 6px;
}

.currency-menu::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.currency-menu::-webkit-scrollbar-thumb {
    background: rgba(0, 191, 255, 0.3);
    border-radius: 10px;
}

.currency-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 191, 255, 0.5);
}

.currency-dropdown.active .currency-menu {
    display: block;
}

.currency-option {
    padding: 0.7rem 1rem;
    cursor: pointer;
    color: var(--light-text);
    transition: all 0.3s;
    font-size: 0.9rem;
}

.currency-option:hover {
    background: rgba(0, 191, 255, 0.1);
    color: #00bfff;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.9), 0 0 20px rgba(0, 191, 255, 0.7);
}

.currency-btn:hover,
.login-btn:hover {
    color: var(--light-text);
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.3), 0 0 30px rgba(0, 191, 255, 0.2), inset 0 0 15px rgba(0, 191, 255, 0.05);
    border-color: rgba(0, 191, 255, 0.4);
    transform: translateY(-2px);
}

.login-btn:hover {
    color: #00bfff;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.9), 0 0 20px rgba(0, 191, 255, 0.7);
}

.currency-btn:hover #currencySymbol,
.currency-btn:hover .dropdown-arrow {
    color: #00bfff;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.9), 0 0 20px rgba(0, 191, 255, 0.7);
}

.cart-icon {
    position: relative;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, rgba(15, 27, 61, 0.3), rgba(0, 0, 0, 0.25));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 13px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.02), inset 0 0 10px rgba(255, 255, 255, 0.01), 0 2px 8px rgba(255, 255, 255, 0.03);
    width: 50px;
    height: 50px;
    margin-left: 1.5rem;
}

.cart-image {
    width: 28px;
    height: 28px;
    object-fit: contain;
    object-position: center;
    filter: brightness(0) invert(1);
    transition: transform 0.3s;
    position: absolute;
    top: 50%;
    left: 48%;
    transform: translate(-50%, -50%);
}

.cart-icon i {
    font-size: 24px;
    color: var(--light-text);
    transition: all 0.3s;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cart-icon:hover {
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.3), 0 0 30px rgba(0, 191, 255, 0.2), inset 0 0 15px rgba(0, 191, 255, 0.05);
    border-color: rgba(0, 191, 255, 0.4);
    transform: translateY(-2px);
}

.cart-icon:hover .cart-image {
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(0, 191, 255, 0.8));
    transform: translate(-50%, -50%);
}

.cart-icon:hover i {
    color: #00bfff;
    text-shadow: 0 0 8px rgba(0, 191, 255, 0.8);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #000000 0%, #001122 50%, #00bfff 100%);
    background-size: 200% 200%;
    color: #ffffff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    display: none;
    opacity: 0.7;
    animation: gradientShift 3s ease infinite;
}

/* 1920x1080: cart/hero tweaks */
@media (min-width: 1900px) and (max-width: 1940px) and (min-height: 900px) {
    .hero-video {
        max-width: 540px;
        min-width: 320px;
    }

    /* On 1920×1080, keep the cart in the navbar row (no fixed positioning)
       so it naturally aligns with the logo and other buttons. */
    .cart-icon {
        position: relative;
        top: auto;
        right: auto;
        width: 58px;       /* match size from the other 1920×1080 block */
        height: 58px;
        margin-left: 1.5rem;
        margin-right: 0;
        z-index: 1100;
    }

    .cart-icon i {
        font-size: 28px;
    }

    .cart-count {
        width: 22px;
        height: 22px;
        font-size: 0.9rem;
    }

    /* Match logo size to cart size on 1920×1080 */
    .logo-gif {
        width: 58px;
        height: 58px;
    }
}

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

.cart-count.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main Content Wrapper */
main {
    max-width: 100vw;
    min-width: 320px;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Hero Section – background: put your image at images/hero-bg.png or images/hero-bg.jpg */
.hero {
    background-image: url('images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 8rem 2rem;
    text-align: left;
    margin-bottom: 4rem;
    margin-top: 50px;
    font-family: 'Orbitron', sans-serif;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
}

/* Dark gradient overlay for text readability */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.05) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    font-family: 'Orbitron', sans-serif;
    max-width: 1600px;
    min-width: 320px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

.hero-text {
    flex: 1;
    min-width: 0;
    width: 100%;
    max-width: 620px;
}

.hero-video {
    width: 100%;
    max-width: 640px;
    min-width: 300px;
    aspect-ratio: 16 / 9;
    height: auto;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
    display: block;
    visibility: visible;
    opacity: 1 !important;
}

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

.hero-video iframe {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 16 / 9;
    border: none;
    border-radius: 15px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: relative;
    z-index: 1;
    background: #000;
}

/* 1920x1080: smaller embed (after base so it wins) */
@media (min-width: 1900px) and (max-width: 1940px) and (min-height: 900px) {
    .hero-content {
        padding-left: 4rem;
    }

    .hero-video {
        max-width: 530px !important;
        min-width: 280px;
    }
}

.hero-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.25rem;
    color: white;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.5;
    word-spacing: 0.1em;
    max-width: 100%;
    animation: fadeInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.heading-word {
    display: inline-block;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-size: inherit;
}

.second-line-word {
    color: #00bfff;
    animation: gradientFlow 3s ease infinite, glowPulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    text-shadow: 0 0 20px rgba(0, 191, 255, 0.8), 0 0 40px rgba(0, 191, 255, 0.5), 0 0 60px rgba(0, 191, 255, 0.3);
    position: relative;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-size: inherit;
    transition: transform 0.3s ease;
}

@keyframes gradientFlow {
    0% {
        color: #00bfff;
        text-shadow: 0 0 20px rgba(0, 191, 255, 0.8), 0 0 40px rgba(0, 191, 255, 0.5), 0 0 60px rgba(0, 191, 255, 0.3);
    }
    50% {
        color: #00d4ff;
        text-shadow: 0 0 30px rgba(0, 212, 255, 1), 0 0 50px rgba(0, 212, 255, 0.7), 0 0 70px rgba(0, 212, 255, 0.4);
    }
    100% {
        color: #00bfff;
        text-shadow: 0 0 20px rgba(0, 191, 255, 0.8), 0 0 40px rgba(0, 191, 255, 0.5), 0 0 60px rgba(0, 191, 255, 0.3);
    }
}

@keyframes glowPulse {
    0% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.015);
    }
    50% {
        transform: scale(1.02);
    }
    75% {
        transform: scale(1.015);
    }
    100% {
        transform: scale(1);
    }
}

.second-line-word {
    color: #00bfff;
    animation: gradientFlow 3s ease infinite, glowPulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    text-shadow: 0 0 20px rgba(0, 191, 255, 0.8), 0 0 40px rgba(0, 191, 255, 0.5), 0 0 60px rgba(0, 191, 255, 0.3);
    position: relative;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-size: inherit;
    transition: transform 0.3s ease;
}

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

.hero-content p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Orbitron', sans-serif;
    line-height: 1.9;
    max-width: 100%;
    letter-spacing: 0.05em;
    word-spacing: 0.08em;
    animation: fadeInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    font-family: 'Orbitron', sans-serif;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.7s both;
}

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

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Products Section */
.products-section {
    padding: 5rem 0;
}

.products-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: white;
    animation: fadeInScale 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.9s both;
    font-weight: 700;
    letter-spacing: 0.05em;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(440px, 560px));
    gap: 2.75rem;
    margin-top: 3rem;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    max-width: 1400px;
    width: 100%;
    min-width: 320px;
    box-sizing: border-box;
    padding: 0 2rem;
    transition: grid-template-columns 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    perspective: 1400px;
}


@media (max-width: 1700px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 365px));
    }
}

@media (max-width: 1400px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 365px));
    }
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 365px));
    }
}

@media (max-width: 1000px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 365px));
    }
}

@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 365px));
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: repeat(1, minmax(280px, 365px));
    }
}

.products-section .container {
    margin-left: 0;
    margin-right: auto;
    max-width: none;
    padding-left: 20px;
    padding-right: 20px;
}

/* Product card animations */
@keyframes productCardIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes productCardGlow {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 191, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 0 8px 36px rgba(0, 0, 0, 0.45), 0 0 25px rgba(0, 191, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    }
}

@keyframes productCardShine {
    0% {
        left: -100%;
        opacity: 0;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

@keyframes productAccentPulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 191, 255, 0.4);
        opacity: 1;
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 191, 255, 0.7);
        opacity: 0.95;
    }
}

@keyframes productPriceGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
    }
    50% {
        text-shadow: 0 0 30px rgba(0, 212, 255, 0.7), 0 0 15px rgba(0, 212, 255, 0.5);
    }
}

@keyframes productThumbPlaceholder {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.08);
    }
}

@keyframes productCardTiltIdle {
    0%, 100% {
        transform: translateY(0) translateZ(0) scale(1) rotateX(0deg) rotateY(0deg);
    }
    50% {
        transform: translateY(0) translateZ(0) scale(1) rotateX(-2deg) rotateY(3deg);
    }
}

@keyframes productCardTiltIdleAlt {
    0%, 100% {
        transform: translateY(0) translateZ(0) scale(1) rotateX(0deg) rotateY(0deg);
    }
    50% {
        transform: translateY(0) translateZ(0) scale(1) rotateX(-2deg) rotateY(-3deg);
    }
}

.product-card {
    background: linear-gradient(135deg, rgba(15, 27, 61, 0.5) 0%, rgba(0, 0, 0, 0.4) 100%);
    border-radius: 0;
    padding: 0;
    transition: transform 0.5s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.5s, border 0.4s;
    border: none;
    will-change: transform;
    animation: productCardIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both, productCardGlow 4s ease-in-out infinite, productCardTiltIdle 5s ease-in-out infinite;
    animation-delay: 0.15s, 0.7s, 1.2s;
    opacity: 0;
    display: flex;
    flex-direction: column;
    min-height: 360px;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 191, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    z-index: 1;
    transition: width 0.4s, box-shadow 0.4s;
    animation: productAccentPulse 3s ease-in-out infinite;
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    transition: background 0.4s;
}

/* Shine sweep - use pseudo on content wrapper */
.product-card-content {
    position: relative;
    overflow: hidden;
}

.product-card-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.25s;
}

.product-card:hover .product-card-content::after {
    animation: productCardShine 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 1;
}

.product-card:nth-child(1) { animation-delay: 0.15s, 0.7s, 1.2s; }
.product-card:nth-child(2) { animation-delay: 0.3s, 0.7s, 1.2s; animation-name: productCardIn, productCardGlow, productCardTiltIdleAlt; }
.product-card:nth-child(3) { animation-delay: 0.45s, 0.7s, 1.2s; }
.product-card:nth-child(4) { animation-delay: 0.6s, 0.7s, 1.2s; animation-name: productCardIn, productCardGlow, productCardTiltIdleAlt; }
.product-card:nth-child(5) { animation-delay: 0.75s, 0.7s, 1.2s; }
.product-card:nth-child(6) { animation-delay: 0.9s, 0.7s, 1.2s; animation-name: productCardIn, productCardGlow, productCardTiltIdleAlt; }
.product-card:nth-child(7) { animation-delay: 1.05s, 0.7s, 1.2s; }
.product-card:nth-child(8) { animation-delay: 1.2s, 0.7s, 1.2s; animation-name: productCardIn, productCardGlow, productCardTiltIdleAlt; }

/* After entrance: only glow + idle tilt (no re-run of entrance), keeps card visible when hover ends */
.product-card.card-entered {
    animation: productCardGlow 4s ease-in-out infinite, productCardTiltIdle 5s ease-in-out infinite;
    animation-delay: 0s, 0s;
    opacity: 1;
}
.product-card.card-entered:nth-child(2),
.product-card.card-entered:nth-child(4),
.product-card.card-entered:nth-child(6),
.product-card.card-entered:nth-child(8) {
    animation-name: productCardGlow, productCardTiltIdleAlt;
}

/* When mouse is over: stop ALL animations so inline transform from JS can apply (mouse-follow tilt) */
.product-card.card-mouse-over {
    animation: none !important;
    opacity: 1;
    transition-duration: 0.15s;
}

/* Hover lift + glow: tilt is controlled by JS (mouse-follow) */
.product-card:hover {
    box-shadow: 0 24px 60px rgba(0, 191, 255, 0.35), 0 0 40px rgba(0, 191, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: productCardIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.product-card:hover .buy-now-btn {
    box-shadow: 0 6px 24px rgba(0, 191, 255, 0.45), 0 0 20px rgba(0, 191, 255, 0.2);
}

.product-card:hover::before {
    width: 8px;
    box-shadow: 0 0 30px rgba(0, 191, 255, 0.8);
    animation: none;
}

.product-card:hover::after {
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.12) 0%, transparent 55%);
}

/* Product thumbnail - add your image path in script.js product.image */
.product-thumbnail {
    width: 100%;
    height: 190px;
    min-height: 190px;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.15) 0%, rgba(0, 0, 0, 0.4) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(0, 191, 255, 0.2);
    transition: border-color 0.4s, background 0.4s;
}

.product-card:hover .product-thumbnail {
    border-bottom-color: rgba(0, 191, 255, 0.4);
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.2) 0%, rgba(0, 0, 0, 0.45) 100%);
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-thumbnail img {
    transform: scale(1.08);
}

.product-thumbnail-placeholder {
    font-size: 3.5rem;
    opacity: 0.6;
    filter: grayscale(0.3);
    transition: transform 0.4s, opacity 0.4s;
    animation: productThumbPlaceholder 3s ease-in-out infinite;
}

.product-card:hover .product-thumbnail-placeholder {
    opacity: 0.9;
    transform: scale(1.1);
    animation: none;
}

.product-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    margin-bottom: 1rem;
    display: none;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.product-image .product-icon {
    font-size: 3rem;
}

.product-card > * {
    position: relative;
    z-index: 2;
}

.product-card-content {
    padding: 2rem;
    padding-left: 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card-content .product-title,
.product-card-content .product-subtitle,
.product-card-content .product-description,
.product-card-content .product-footer {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-card-content .product-title {
    transform: translateY(-2px);
}

.product-card:hover .product-card-content .product-footer {
    transform: translateY(2px);
}

.product-title {
    font-size: 2.2rem;
    margin-bottom: 0.6rem;
    color: white;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.product-subtitle {
    display: inline-block;
    font-size: 0.82rem;
    margin-bottom: 1.25rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.4rem 1rem;
    background: rgba(0, 191, 255, 0.15);
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 4px;
    width: fit-content;
    position: relative;
}

.product-subtitle::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--primary-color);
}

.product-description {
    color: rgba(224, 224, 224, 0.85);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
    flex-grow: 1;
    padding-left: 0.5rem;
    border-left: 2px solid rgba(0, 191, 255, 0.2);
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 191, 255, 0.2);
    position: relative;
}

.product-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color) 0%, transparent 100%);
}

.product-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 0.02em;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    position: relative;
    animation: productPriceGlow 3s ease-in-out infinite;
}

.product-card:hover .product-price {
    animation: productPriceGlow 1.2s ease-in-out infinite;
}

.add-to-cart,
.view-details-btn,
.buy-now-btn {
    padding: 0.8rem 1.9rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 191, 255, 0.3);
    position: relative;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
    text-transform: uppercase;
    letter-spacing: 0.05em;
    overflow: hidden;
}

.buy-now-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.buy-now-btn:hover::before {
    left: 100%;
}

.add-to-cart:hover,
.view-details-btn:hover,
.buy-now-btn:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.5), 0 0 30px rgba(0, 191, 255, 0.3);
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

/* Feature Comparison Table */
.feature-comparison {
    margin-top: 5rem;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.comparison-title {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.comparison-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.65);
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: linear-gradient(to bottom, rgba(15, 27, 61, 0.4), rgba(0, 0, 0, 0.3));
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.25);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.comparison-table thead {
    background: rgba(0, 0, 0, 0.4);
}

.comparison-table th {
    padding: 1.25rem 1.5rem;
    text-align: left;
    color: white;
    font-weight: 700;
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comparison-table th:first-child {
    width: 40%;
}

.comparison-table th:not(:first-child) {
    text-align: center;
    width: 30%;
}

.comparison-table tbody tr {
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
    transition: background 0.3s;
}

.comparison-table tbody tr:hover {
    background: rgba(59, 130, 246, 0.12);
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table td {
    padding: 1.25rem 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.comparison-table td:not(:first-child) {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
}

.comparison-table .checkmark {
    color: var(--success);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.comparison-table .cross {
    color: #ef4444;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

/* How it works */
@keyframes howTitleIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes howStepIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes stepNumberPulse {
    0%, 100% {
        box-shadow: 0 0 25px rgba(0, 191, 255, 0.5), 0 0 50px rgba(0, 191, 255, 0.2);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 35px rgba(0, 191, 255, 0.7), 0 0 70px rgba(0, 191, 255, 0.3);
        transform: scale(1.05);
    }
}

@keyframes arrowFlow {
    0%, 100% {
        opacity: 0.5;
        transform: translateX(0);
    }
    50% {
        opacity: 1;
        transform: translateX(6px);
    }
}

@keyframes stepCardGlow {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 191, 255, 0.2);
    }
    50% {
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(0, 191, 255, 0.15);
    }
}

.how-it-works {
    margin-top: 6rem;
    margin-bottom: 4rem;
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 4rem 2rem;
}

.how-it-works-title {
    font-size: 2.6rem;
    color: white;
    margin-bottom: 0.75rem;
    text-align: center;
    font-weight: 800;
    letter-spacing: 0.08em;
    animation: howTitleIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.how-it-works-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.25rem;
    margin-bottom: 4rem;
    line-height: 1.6;
    animation: howSubtitleIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.how-it-works .steps {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.how-it-works .step {
    flex: 1;
    min-width: 240px;
    max-width: 360px;
    background: linear-gradient(145deg, rgba(15, 27, 61, 0.5) 0%, rgba(0, 0, 0, 0.4) 100%);
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s, border-color 0.4s;
    animation: howStepIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) both;
    position: relative;
    overflow: hidden;
}

.how-it-works .step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.how-it-works .step:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 191, 255, 0.25), 0 0 40px rgba(0, 191, 255, 0.1);
    border-color: rgba(0, 191, 255, 0.5);
}

.how-it-works .step:hover::before {
    opacity: 1;
}

.how-it-works .steps > .step:nth-child(1) { animation-delay: 0.35s; }
.how-it-works .steps > .step-arrow:nth-child(2) { animation-delay: 0.5s; }
.how-it-works .steps > .step:nth-child(3) { animation-delay: 0.55s; }
.how-it-works .steps > .step-arrow:nth-child(4) { animation-delay: 0.7s; }
.how-it-works .steps > .step:nth-child(5) { animation-delay: 0.75s; }

.how-it-works .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: 800;
    font-size: 1.75rem;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 25px rgba(0, 191, 255, 0.5), 0 0 50px rgba(0, 191, 255, 0.2);
    animation: stepNumberPulse 2.5s ease-in-out infinite;
    transition: transform 0.3s;
}

.how-it-works .step:hover .step-number {
    animation: stepNumberPulse 1s ease-in-out infinite;
}

.how-it-works .step-title {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.how-it-works .step-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

.how-it-works .step-arrow {
    display: flex;
    align-items: center;
    color: rgba(0, 191, 255, 0.6);
    font-size: 2.25rem;
    font-weight: bold;
    animation: howStepIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) both, arrowFlow 2s ease-in-out infinite;
}

@media (max-width: 700px) {
    .how-it-works .steps {
        flex-direction: column;
        align-items: center;
    }
    .how-it-works .step-arrow {
        transform: rotate(90deg);
    }
    .how-it-works .step-arrow {
        animation: howStepIn 0.6s both, arrowFlow 2s ease-in-out infinite;
    }
    .how-it-works .step {
        max-width: 100%;
    }
}

/* Why Shop With Us Section */
.why-shop-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 17, 34, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%);
    animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 1.8s both;
    opacity: 0;
}

.why-shop-title {
    text-align: center;
    margin-bottom: 0.5rem;
}

.why-shop-subtitle {
    text-align: center;
    color: rgba(0, 212, 255, 0.8);
    font-size: 1.15rem;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.15em;
    margin-bottom: 3rem;
}

.why-shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.why-shop-card {
    background: linear-gradient(145deg, rgba(15, 27, 61, 0.5) 0%, rgba(0, 0, 0, 0.4) 100%);
    border: 1px solid rgba(0, 191, 255, 0.15);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                border-color 0.3s,
                box-shadow 0.4s;
    animation: whyShopCardIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.why-shop-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.6), transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
}

.why-shop-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(0, 212, 255, 0.45);
    box-shadow: 0 12px 40px rgba(0, 191, 255, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.why-shop-card:hover::before {
    transform: scaleX(1);
}

.why-shop-card[data-delay="0"] { animation-delay: 2s; }
.why-shop-card[data-delay="1"] { animation-delay: 2.15s; }
.why-shop-card[data-delay="2"] { animation-delay: 2.3s; }
.why-shop-card[data-delay="3"] { animation-delay: 2.45s; }
.why-shop-card[data-delay="4"] { animation-delay: 2.6s; }
.why-shop-card[data-delay="5"] { animation-delay: 2.75s; }

@keyframes whyShopCardIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.why-shop-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.2), rgba(0, 100, 150, 0.1));
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 16px;
    font-size: 1.75rem;
    color: var(--accent);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s,
                color 0.3s;
}

.why-shop-card:hover .why-shop-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.4);
    color: #00ffff;
    animation: whyShopIconPulse 1.5s ease-in-out infinite;
}

@keyframes whyShopIconPulse {
    0%, 100% { box-shadow: 0 0 25px rgba(0, 212, 255, 0.4); }
    50% { box-shadow: 0 0 35px rgba(0, 212, 255, 0.7); }
}

.why-shop-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
    color: #fff;
}

.why-shop-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Reviews Section */
.reviews-section {
    padding: 4rem 0;
    background: rgba(0, 0, 0, 0.25);
    animation: fadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) 1.9s both;
    opacity: 0;
}

.reviews-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin: -0.25rem auto 2rem;
    max-width: 560px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.review-card {
    background: linear-gradient(145deg, rgba(30, 58, 138, 0.4) 0%, rgba(15, 23, 42, 0.6) 100%);
    border: 1px solid rgba(0, 191, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    font-size: 3rem;
    font-family: Georgia, serif;
    color: rgba(0, 212, 255, 0.25);
    line-height: 1;
}

.review-card:hover {
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.12);
}

.review-stars {
    color: #fbbf24;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.review-stars .review-star-empty {
    color: rgba(255, 255, 255, 0.25);
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 1rem;
    padding-left: 0.5rem;
    font-style: italic;
}

.review-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.review-name {
    font-weight: 600;
    color: var(--accent);
    font-size: 0.9rem;
}

.review-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    animation: fadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) 2s both;
    opacity: 0;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    background: var(--card-bg);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 10px;
    color: var(--light-text);
    font-family: inherit;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-button {
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-button:hover {
    background: var(--secondary-color);
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid rgba(0, 191, 255, 0.15);
    box-shadow: -5px 0 40px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(0, 191, 255, 0.08);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    opacity: 0;
}

.cart-sidebar.open {
    right: 0;
    opacity: 1;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 191, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    animation: fadeInDown 0.5s ease-out 0.1s both;
}

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

.cart-header h2 {
    color: white;
}

.close-cart {
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    position: relative;
    pointer-events: auto;
}

.close-cart:hover {
    color: var(--primary-color);
    transform: rotate(90deg) scale(1.1);
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.8);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    animation: fadeIn 0.6s ease-out 0.2s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.cart-items::-webkit-scrollbar {
    width: 8px;
}

.cart-items::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.cart-items::-webkit-scrollbar-thumb {
    background: rgba(0, 191, 255, 0.3);
    border-radius: 10px;
    transition: background 0.3s;
}

.cart-items::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 191, 255, 0.5);
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 191, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 191, 255, 0.15);
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInItem 0.4s ease-out both;
    animation-delay: calc(var(--item-index, 0) * 0.1s);
}

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

.cart-item:hover {
    background: rgba(0, 191, 255, 0.15);
    border-color: rgba(0, 191, 255, 0.3);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 191, 255, 0.2);
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.cart-item-price {
    color: var(--accent);
}

.remove-item {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.remove-item:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.5);
    transform: translateY(-2px) scale(1.05);
}

.empty-cart {
    text-align: center;
    color: rgba(224, 224, 224, 0.5);
    padding: 2rem;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 191, 255, 0.2);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.cart-total {
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(0, 191, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 191, 255, 0.2);
    border-radius: 10px;
    font-size: 1.2rem;
    color: white;
    box-shadow: 0 2px 10px rgba(0, 191, 255, 0.1);
}

.cart-total strong {
    text-shadow: 0 0 8px rgba(0, 191, 255, 0.4);
    font-size: 1.2rem;
}

.checkout-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #059669, #047857, #059669);
    background-size: 200% 200%;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.4);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out 0.3s both, gradientShift 3s ease infinite;
}

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

.checkout-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.checkout-button:hover::before {
    left: 100%;
}

.checkout-button:hover {
    background: linear-gradient(135deg, #047857, #065f46, #047857);
    background-size: 200% 200%;
    box-shadow: 0 6px 25px rgba(5, 150, 105, 0.6);
    transform: translateY(-3px);
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1500;
}

.cart-overlay.active {
    display: block;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

/* Responsive Design */
@media (min-width: 2560px) and (max-height: 1080px) {
    html {
        zoom: 1;
    }
    
    .navbar {
        transform: scale(1.7);
        top: 5px;
    }

    .nav-actions {
        margin-right: 8rem;
    }

    .logo-gif {
        width: 64px;
        height: 64px;
    }

    .nav-menu {
        padding: 1rem 2rem;
    }

    .nav-menu a {
        font-size: 1.05rem;
    }

    .currency-btn,
    .login-btn {
        height: 52px;
        font-size: 1rem;
    }

    .cart-icon {
        width: 60px;
        height: 60px;
        margin-left: 0.75rem;
    }

    .container {
        max-width: 1400px;
    }
    
    .nav-container {
        max-width: 1400px;
    }
    
    .hero-content {
        max-width: 1800px;
        padding: 0 2rem;
    }
    
    .hero-video {
        width: 100%;
        max-width: 640px;
        min-width: 350px;
        aspect-ratio: 16 / 9;
        height: auto;
        position: relative;
    }
    
    .hero-video iframe {
        width: 100% !important;
        height: 100% !important;
        aspect-ratio: 16 / 9;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 365px));
        margin-left: auto;
        margin-right: auto;
        gap: 2rem;
    }
    
    .hero-content h2 {
        font-size: clamp(1.75rem, 3.5vw, 2.4rem);
    }
    
    .hero-content p {
        font-size: clamp(0.9rem, 1.3vw, 1.1rem);
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .detail-container {
        max-width: 1600px;
    }
    
    .hero {
        padding: 6rem 2rem;
    }
    
    .products-section {
        padding: 3rem 0;
    }
    
    .why-shop-section {
        padding: 3rem 0;
    }
    
    .reviews-section {
        padding: 3rem 0;
    }
    
    .contact-section {
        padding: 3rem 0;
    }
}

@media (min-width: 2560px) and (min-height: 1081px) {
    html {
        zoom: 1;
    }
    
    .navbar {
        transform: scale(1.8);
        top: 10px;
    }

    .nav-actions {
        margin-right: 9rem;
    }

    .logo-gif {
        width: 64px;
        height: 64px;
    }

    .nav-menu {
        padding: 1.1rem 2.3rem;
    }

    .nav-menu a {
        font-size: 1.1rem;
    }

    .currency-btn,
    .login-btn {
        height: 55px;
        font-size: 1.05rem;
    }

    .social-link {
        width: 62px;
        height: 55px;
        min-width: 62px;
    }

    .social-link i {
        font-size: 24px;
    }

    .social-link[title="YouTube"] i {
        font-size: 27px;
    }

    .social-bar {
        margin-left: 9rem;
    }

    .cart-icon {
        width: 64px;
        height: 64px;
        margin-left: 0.75rem;
    }

    .container {
        max-width: 1600px;
    }
    
    .nav-container {
        max-width: 1600px;
    }
    
    .hero-content {
        max-width: 2000px;
        padding: 0 2rem;
    }
    
    .hero-video {
        width: 100%;
        max-width: 780px;
        min-width: 400px;
        aspect-ratio: 16 / 9;
        height: auto;
        position: relative;
    }
    
    .hero-video iframe {
        width: 100% !important;
        height: 100% !important;
        aspect-ratio: 16 / 9;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 365px));
        margin-left: auto;
        margin-right: auto;
        gap: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: clamp(2.1rem, 4.2vw, 3.5rem);
        line-height: 1.6;
        word-spacing: 0.12em;
        letter-spacing: 0.07em;
        margin-bottom: 1.5rem;
        max-width: 1000px;
    }
    
    .hero-content p {
        font-size: clamp(1.1rem, 1.6vw, 1.4rem);
        line-height: 2;
        word-spacing: 0.1em;
        letter-spacing: 0.06em;
        margin-bottom: 2.25rem;
        max-width: 900px;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .detail-container {
        max-width: 1800px;
    }
    
    .products-grid {
        max-width: 1550px;
        grid-template-columns: repeat(auto-fit, minmax(500px, 640px));
        gap: 3.25rem;
    }
    
    .product-card {
        min-height: 400px;
        clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 32px 100%, 0 calc(100% - 32px));
    }
    
    .product-card::before {
        width: 8px;
    }
    
    .product-card:hover::before {
        width: 10px;
    }
    
    .product-thumbnail {
        height: 220px;
        min-height: 220px;
    }
    
    .product-thumbnail-placeholder {
        font-size: 4rem;
    }
    
    .product-card-content {
        padding: 2.25rem;
        padding-left: 2.75rem;
    }
    
    .product-title {
        font-size: 2.6rem;
    }
    
    .product-subtitle {
        font-size: 0.9rem;
        padding: 0.45rem 1.1rem;
    }
    
    .product-description {
        font-size: 1.1rem;
    }
    
    .product-price {
        font-size: 2.1rem;
    }
    
    .buy-now-btn {
        padding: 0.9rem 2.2rem;
        font-size: 1.05rem;
        clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    }
    
    .buy-now-btn:hover {
        clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    }
    
    .how-it-works-title {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .how-it-works-subtitle {
        font-size: 1.4rem;
        margin-bottom: 4.5rem;
    }
    
    .how-it-works .steps {
        gap: 3rem;
    }
    
    .how-it-works .step {
        max-width: 400px;
        padding: 3rem;
    }
    
    .how-it-works .step-number {
        width: 4.5rem;
        height: 4.5rem;
        font-size: 2rem;
        margin-bottom: 1.75rem;
    }
    
    .how-it-works .step-title {
        font-size: 1.75rem;
    }
    
    .how-it-works .step-desc {
        font-size: 1.15rem;
    }
    
    .how-it-works .step-arrow {
        font-size: 2.5rem;
    }
    
    .how-it-works {
        max-width: 1600px;
        margin-top: 7rem;
        margin-bottom: 5rem;
        padding: 5rem 2rem;
    }
}

@media (min-width: 1920px) and (max-width: 2559px) {
    .hero-content {
        padding-left: 2rem;
    }
    
    .hero-text {
        padding-left: 0;
        margin-left: 0;
    }
    
    .hero-content h2 {
        max-width: 800px;
    }
    
    .hero-content p {
        max-width: 700px;
    }
    
    .hero-video {
        margin-left: auto;
    }
}

/* 1920x1080: push hero content right (must come after 1920-2559 block) */
@media (min-width: 1900px) and (max-width: 1940px) and (min-height: 700px) {
    .hero-content {
        transform: translateX(140px);
    }
}

/* 1440p (2560x1440): bigger navbar – override animation so scale applies */
@media (min-width: 2550px) and (max-width: 2600px) and (min-height: 1080px) {
    @keyframes slideDownNav {
        from {
            opacity: 0;
            transform: scale(1.35) translateY(-50px);
        }
        to {
            opacity: 1;
            transform: scale(1.35) translateY(0);
        }
    }

    .navbar {
        transform-origin: top center;
        top: 8px;
    }

    .store-logo {
        margin-left: 8rem;
    }

    .nav-actions {
        margin-right: 8rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero-content h2 {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }

    .products-grid {
        grid-template-columns: repeat(1, 365px);
        margin-left: 2rem;
        gap: 1.5rem;
        justify-content: center;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

/* Product Detail Page */
@keyframes detailPageReveal {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes detailSlideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes detailImageReveal {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* Tab content: smooth crossfade when switching */
@keyframes tabContentEnter {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Price update pulse - shorter */
@keyframes pricePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.015); }
}

/* Duration option select pop - shorter */
@keyframes durationPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

/* Quantity bump - subtle */
@keyframes quantityBump {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.015); }
}

/* List item stagger (used when tab content enters) - keyframe kept for possible reuse */
@keyframes listItemReveal {
    from {
        opacity: 0;
        transform: translateX(-8px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.product-detail-page {
    min-height: 100vh;
    padding: 2rem;
    padding-top: 6rem;
    background: linear-gradient(135deg, #000000 0%, #000000 33%, #001122 68%, #002244 100%);
    background-attachment: fixed;
    position: relative;
    opacity: 0;
    transition: opacity 0.35s ease-out;
}

.product-detail-page::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 80% 50% at 50% 100%, rgba(0, 191, 255, 0.03) 0%, transparent 60%);
    z-index: 0;
}

.product-detail-page.is-visible {
    animation: detailPageReveal 0.4s ease-out forwards;
}

.product-detail-page .detail-container {
    opacity: 0;
}

.product-detail-page.is-visible .detail-container {
    animation: detailSlideUp 0.35s cubic-bezier(0.34, 1.2, 0.64, 1) 0.05s forwards;
}

.product-detail-page .detail-header {
    opacity: 0;
    transform: translateY(12px);
}

.product-detail-page.is-visible .detail-header {
    animation: detailSlideUp 0.3s cubic-bezier(0.34, 1.2, 0.64, 1) 0.1s forwards;
}

.product-detail-page .detail-media {
    opacity: 0;
}

.product-detail-page.is-visible .detail-media {
    animation: detailImageReveal 0.4s cubic-bezier(0.34, 1.2, 0.64, 1) 0.12s forwards;
}

.product-detail-page .detail-media img {
    transition: transform 0.4s ease;
}

.product-detail-page .detail-media:hover img {
    transform: scale(1.02);
}

.product-detail-page .detail-tabs {
    opacity: 0;
    transform: translateY(8px);
}

.product-detail-page.is-visible .detail-tabs {
    animation: detailSlideUp 0.3s cubic-bezier(0.34, 1.2, 0.64, 1) 0.18s forwards;
}

.product-detail-page .detail-content {
    opacity: 0;
    transform: translateY(8px);
}

.product-detail-page.is-visible .detail-content {
    animation: detailSlideUp 0.3s cubic-bezier(0.34, 1.2, 0.64, 1) 0.2s forwards;
}

.product-detail-page .detail-right {
    opacity: 0;
}

.product-detail-page.is-visible .detail-right {
    animation: detailSidebarReveal 0.4s cubic-bezier(0.34, 1.2, 0.64, 1) 0.18s forwards;
}

.detail-container {
    max-width: 1360px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2.5rem;
    padding: 2rem 1.5rem 3rem;
    position: relative;
    z-index: 1;
    align-items: start;
}

.detail-left {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    min-width: 0;
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.detail-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: 0.03em;
    text-shadow: 0 0 40px rgba(0, 212, 255, 0.15);
    transition: color 0.3s ease;
}

.status-badge {
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.status-badge.operational {
    background: linear-gradient(135deg, #0d9668 0%, #059669 50%, #10b981 100%);
    color: #fff;
    box-shadow: 0 2px 16px rgba(16, 185, 129, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.status-badge:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.5);
}

.detail-media {
    width: 100%;
    height: 500px;
    position: relative;
    background: linear-gradient(180deg, rgba(0, 20, 40, 0.6) 0%, rgba(0, 0, 0, 0.7) 100%);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 191, 255, 0.18);
    box-shadow:
        0 0 0 1px rgba(0, 191, 255, 0.06),
        0 4px 6px rgba(0, 0, 0, 0.3),
        0 20px 50px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.detail-media::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.4), transparent);
    opacity: 0.8;
    z-index: 1;
}

.detail-media:hover {
    border-color: rgba(0, 191, 255, 0.3);
    box-shadow:
        0 0 0 1px rgba(0, 191, 255, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.35),
        0 28px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(0, 191, 255, 0.08);
}

.detail-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-tabs {
    display: flex;
    gap: 0;
    padding: 0.2rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 10, 24, 0.6) 100%);
    border: 1px solid rgba(0, 191, 255, 0.15);
    border-radius: 14px;
    width: fit-content;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04),
                0 0 24px rgba(0, 191, 255, 0.06);
    position: relative;
    overflow: hidden;
}

.detail-tabs::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.4), transparent);
    opacity: 0.8;
}

.tab-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    padding: 0.7rem 1.5rem;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 10px;
    transition: color 0.28s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.28s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.28s ease,
                box-shadow 0.28s ease,
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                text-shadow 0.28s ease;
}

.tab-btn:hover {
    color: rgba(255, 255, 255, 0.95);
    background: rgba(0, 191, 255, 0.08);
    text-shadow: 0 0 12px rgba(0, 212, 255, 0.4);
    transform: translateY(-1px);
}

.tab-btn.active {
    color: #fff;
    background: linear-gradient(180deg, rgba(0, 191, 255, 0.22), rgba(0, 131, 255, 0.16));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12),
                0 0 20px rgba(0, 191, 255, 0.15);
    border: 1px solid rgba(0, 191, 255, 0.35);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.35);
}

.tab-btn.active:hover {
    background: linear-gradient(180deg, rgba(0, 191, 255, 0.28), rgba(0, 131, 255, 0.2));
    border-color: rgba(0, 191, 255, 0.45);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15),
                0 0 24px rgba(0, 191, 255, 0.25);
    text-shadow: 0 0 14px rgba(0, 212, 255, 0.5);
}

.tab-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.5);
}

.detail-content {
    margin-top: 1.5rem;
    position: relative;
    min-height: 220px;
    background: linear-gradient(145deg, rgba(0, 8, 20, 0.6) 0%, rgba(0, 4, 12, 0.8) 100%);
    border: 1px solid rgba(0, 191, 255, 0.12);
    border-radius: 12px;
    padding: 1.75rem 2rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03),
                inset 0 0 60px rgba(0, 191, 255, 0.02),
                0 0 0 1px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.detail-content:hover {
    border-color: rgba(0, 191, 255, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04),
                inset 0 0 60px rgba(0, 191, 255, 0.03),
                0 0 0 1px rgba(0, 0, 0, 0.3),
                0 0 32px rgba(0, 191, 255, 0.06);
}

.detail-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.5), transparent 40%, transparent 60%, rgba(0, 212, 255, 0.2));
    border-radius: 3px 0 0 3px;
}

.tab-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-content.active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

.tab-content.tab-entering {
    position: relative;
    opacity: 1;
    pointer-events: auto;
    animation: tabContentEnter 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.tab-content h3 {
    color: rgba(0, 212, 255, 0.9);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    margin: 0 0 1.25rem 0;
    padding: 0 0 0.75rem 0.6rem;
    border-bottom: 1px solid rgba(0, 191, 255, 0.15);
    position: relative;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.tab-content h3::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    border-radius: 0 2px 0 0;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    line-height: 2.5;
    font-size: 0.92rem;
}

.detail-list li {
    padding: 0.35rem 1rem 0.35rem 2.25rem;
    position: relative;
    border-radius: 6px;
    transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                text-shadow 0.25s ease;
}

.detail-list li:hover {
    color: #fff;
    background: rgba(0, 191, 255, 0.06);
    transform: translateX(6px);
    text-shadow: 0 0 12px rgba(0, 212, 255, 0.25);
}

.detail-list li::before {
    content: "";
    position: absolute;
    left: 0.5rem;
    top: 0.9em;
    width: 6px;
    height: 2px;
    background: rgba(0, 212, 255, 0.6);
    border-radius: 1px;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.detail-list li:hover::before {
    background: rgba(0, 212, 255, 0.95);
    box-shadow: 0 0 14px rgba(0, 212, 255, 0.7);
    transform: scaleX(1.4);
}

.detail-right {
    position: sticky;
    top: 80px;
    height: fit-content;
}

.detail-sidebar {
    position: relative;
    background: linear-gradient(180deg, rgba(8, 16, 32, 0.98) 0%, rgba(6, 12, 24, 0.99) 50%, rgba(4, 10, 20, 1) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 191, 255, 0.12);
    border-radius: 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04),
                0 0 0 1px rgba(0, 0, 0, 0.2),
                0 16px 48px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Soft top accent: blends into card */
.detail-sidebar::before {
    content: "";
    display: block;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 191, 255, 0.3) 20%,
        rgba(0, 212, 255, 0.45) 50%,
        rgba(0, 191, 255, 0.3) 80%,
        transparent 100%);
    opacity: 0.9;
}

.detail-sidebar::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.4), transparent 30%, transparent 70%, rgba(0, 212, 255, 0.2));
    border-radius: 3px 0 0 3px;
    pointer-events: none;
}

.detail-sidebar:hover {
    border-color: rgba(0, 191, 255, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05),
                0 0 0 1px rgba(0, 0, 0, 0.2),
                0 20px 56px rgba(0, 0, 0, 0.4),
                0 0 40px rgba(0, 191, 255, 0.08);
}

/* Sidebar sections – HUD style */
.detail-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(0, 212, 255, 0.75);
    margin-bottom: 0.6rem;
    text-shadow: 0 0 12px rgba(0, 212, 255, 0.15);
}

.detail-duration {
    padding: 1.5rem 1.75rem 0;
}

.duration-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.duration-option {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease,
                box-shadow 0.25s ease, transform 0.2s ease, text-shadow 0.25s ease;
}

.duration-option.duration-just-selected {
    animation: durationPop 0.25s ease-out forwards;
}

.duration-option:hover {
    background: rgba(0, 191, 255, 0.08);
    border-color: rgba(0, 191, 255, 0.35);
    color: #fff;
    text-shadow: 0 0 12px rgba(0, 212, 255, 0.6), 0 0 24px rgba(0, 191, 255, 0.4);
    box-shadow: 0 0 16px rgba(0, 191, 255, 0.2), 0 0 0 1px rgba(0, 191, 255, 0.2);
}

.duration-option.active {
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.18), rgba(0, 131, 255, 0.14));
    border-color: rgba(0, 191, 255, 0.4);
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.35);
    box-shadow: 0 0 0 1px rgba(0, 191, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.duration-option.active:hover {
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.25), rgba(0, 131, 255, 0.2));
    border-color: rgba(0, 191, 255, 0.55);
    color: #fff;
    text-shadow: 0 0 14px rgba(0, 212, 255, 0.7), 0 0 28px rgba(0, 191, 255, 0.45);
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.25), 0 0 0 1px rgba(0, 191, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.detail-sidebar .detail-price {
    padding: 1.25rem 1.75rem 0.2rem;
}

.detail-sidebar .detail-stock {
    padding: 0 1.75rem 1.15rem;
    margin: 0 1.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.detail-sidebar .detail-quantity {
    padding: 1.35rem 1.75rem 0.6rem;
}

.detail-quantity .detail-label {
    margin-bottom: 0.5rem;
}

/* Quantity: unified segmented control */
.quantity-selector {
    display: flex;
    align-items: stretch;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.5) 100%);
    border: 1px solid rgba(0, 191, 255, 0.12);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.28s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s ease;
}

.quantity-selector.quantity-bump {
    animation: quantityBump 0.25s ease-out;
}

.quantity-selector:hover {
    border-color: rgba(0, 191, 255, 0.2);
}

.quantity-selector:focus-within {
    border-color: rgba(0, 191, 255, 0.4);
    box-shadow: 0 0 0 1px rgba(0, 191, 255, 0.15), 0 0 20px rgba(0, 191, 255, 0.1);
}

.qty-btn {
    background: rgba(255, 255, 255, 0.03);
    border: none;
    color: rgba(255, 255, 255, 0.85);
    width: 44px;
    min-height: 44px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 500;
    transition: background 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.25s ease,
                text-shadow 0.25s ease;
}

.qty-btn:hover {
    background: rgba(0, 191, 255, 0.12);
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.35);
}

.qty-btn:active {
    background: rgba(0, 191, 255, 0.2);
}

#detailQuantity {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 0.6rem 0.75rem;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    transition: outline 0.2s ease;
}

#detailQuantity:focus {
    outline: none;
}

#detailQuantity::-webkit-inner-spin-button,
#detailQuantity::-webkit-outer-spin-button {
    opacity: 0;
}

.detail-quantity small {
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.75rem;
    margin-top: 0.45rem;
    letter-spacing: 0.02em;
}

.detail-add-cart,
.detail-buy-now {
    width: calc(100% - 3.5rem);
    margin-left: 1.75rem;
    margin-right: 1.75rem;
    padding: 1rem 1.25rem;
    border: none;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.28s ease,
                background 0.28s ease,
                border-color 0.28s ease,
                text-shadow 0.28s ease;
}

.detail-add-cart {
    margin-top: 1.1rem;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.85), rgba(0, 131, 255, 0.75));
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2),
                0 0 0 1px rgba(0, 191, 255, 0.2),
                0 4px 20px rgba(0, 191, 255, 0.25);
    text-shadow: 0 0 12px rgba(0, 212, 255, 0.3);
}

.detail-add-cart:hover {
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.95), rgba(0, 191, 255, 0.9));
    transform: translateY(-3px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25),
                0 0 0 1px rgba(0, 191, 255, 0.35),
                0 8px 28px rgba(0, 191, 255, 0.4);
    text-shadow: 0 0 18px rgba(0, 212, 255, 0.5);
}

.detail-add-cart:active {
    transform: translateY(-1px) scale(0.98);
}

.detail-add-cart i,
.detail-buy-now i {
    font-size: 0.95em;
    opacity: 0.95;
}

.detail-buy-now {
    margin-top: 0.65rem;
    margin-bottom: 1.75rem;
    background: transparent;
    border: 1px solid rgba(0, 191, 255, 0.4);
    color: rgba(0, 212, 255, 0.95);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.detail-buy-now:hover {
    background: rgba(0, 191, 255, 0.1);
    border-color: rgba(0, 191, 255, 0.55);
    transform: translateY(-3px);
    box-shadow: 0 0 24px rgba(0, 191, 255, 0.15), 0 0 0 1px rgba(0, 191, 255, 0.2);
    text-shadow: 0 0 14px rgba(0, 212, 255, 0.4);
}

.detail-buy-now:active {
    transform: translateY(-1px) scale(0.98);
}

.detail-price {
    font-size: 2.35rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.detail-price span {
    color: var(--accent);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.35);
    transition: text-shadow 0.35s ease;
}

.detail-price.price-updating span {
    animation: pricePulse 0.32s ease-out;
}

.detail-sidebar:hover .detail-price span {
    text-shadow: 0 0 24px rgba(0, 212, 255, 0.45);
}

.detail-stock {
    color: rgba(52, 211, 153, 0.95);
    font-weight: 600;
    font-size: 0.9rem;
}

.detail-quantity {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-quantity label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Product detail page: 1920×1080 */
@media (min-width: 1900px) and (max-width: 1940px) and (min-height: 900px) {
    .product-detail-page {
        padding-top: 5.5rem;
    }

    .detail-container {
        max-width: 1500px;
        gap: 2.5rem;
        padding: 2.5rem 2rem 3rem;
    }

    .detail-title {
        font-size: 2.25rem;
    }

    .detail-media {
        height: 520px;
        border-radius: 14px;
    }

    .detail-sidebar {
        border-radius: 18px;
    }

    .detail-price {
        font-size: 2.75rem;
    }
}

@media (max-width: 1024px) {
    .detail-container {
        grid-template-columns: 1fr;
    }
    
    .detail-right {
        position: relative;
        top: 0;
    }
}

@media (max-width: 600px) {
    .product-detail-page {
        padding: 1rem;
        padding-top: 5rem;
    }

    .detail-container {
        padding: 1rem 0.5rem 2rem;
    }

    .detail-title {
        font-size: 1.5rem;
    }

    .detail-media {
        height: 280px;
    }

    .detail-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .tab-btn {
        font-size: 0.9rem;
        padding: 0.4rem 0.75rem;
    }

    .duration-options {
        grid-template-columns: 1fr;
    }

    .detail-sidebar .detail-duration,
    .detail-sidebar .detail-price,
    .detail-sidebar .detail-stock,
    .detail-sidebar .detail-quantity {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .detail-sidebar .detail-stock {
        margin-left: 1.25rem;
        margin-right: 1.25rem;
    }

    .detail-add-cart,
    .detail-buy-now {
        width: calc(100% - 2.5rem);
        margin-left: 1.25rem;
        margin-right: 1.25rem;
    }
}