/* ==========================================================================
   CSS STYLING SYSTEM - KYYBO SHOP WEBSTORE
   Aesthetics: Slate Dark Mode, Sky Blue Accents, Glassmorphism, Micro-animations
   ========================================================================== */

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

:root {
    --primary: #0f172a;          /* Slate 900 */
    --primary-dark: #070a13;     /* Deep Slate */
    --primary-light: #1e293b;    /* Slate 800 */
    --secondary: #0ea5e9;          /* Sky 500 */
    --secondary-rgb: 14, 165, 233;
    --secondary-hover: #0284c7;  /* Sky 600 */
    --accent: #38bdf8;           /* Sky 400 */
    --bg-main: #0b0f19;          /* Premium Dark Blue-Black */
    --card-bg: rgba(30, 41, 59, 0.65);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-main: #f8fafc;        /* Slate 50 */
    --text-muted: #94a3b8;       /* Slate 400 */
    --success: #10b981;          /* Emerald 500 */
    --danger: #ef4444;           /* Red 500 */
    --warning: #f59e0b;          /* Amber 500 */
    --font-sans: 'Outfit', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--primary-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

a {
    text-decoration: none;
    color: inherit;
}

/* Containers */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Navbar */
.header {
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: 2.25rem;
    object-fit: contain;
}

.logo span {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    background: linear-gradient(135deg, #ffffff 30%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 1.75rem;
    align-items: center;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn {
    padding: 0.6rem 1.25rem;
    border-radius: 0.75rem;
    font-size: 0.85rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--secondary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(var(--secondary-rgb), 0.4);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-1px);
}

.btn-select-product:disabled {
    background-color: #475569 !important;
    color: var(--text-muted) !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    transform: none !important;
    pointer-events: none;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    background-color: var(--primary-light);
    border-color: var(--text-muted);
}

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Nav Menu */
.mobile-nav {
    display: none;
    background-color: var(--primary);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.5rem 1.5rem 1.5rem;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

.mobile-nav a {
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.mobile-nav a:hover, .mobile-nav a.active {
    background-color: var(--primary-light);
    color: var(--accent);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 5rem 0 6rem 0;
    background-image: linear-gradient(to bottom, rgba(15, 23, 42, 0.85), var(--bg-main)), url('https://premify.store/assets/images/bg-pattern.svg');
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.15) 0%, rgba(var(--secondary-rgb), 0) 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 40%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.search-box {
    position: relative;
    max-width: 36rem;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-radius: 1.25rem;
}

.search-box i {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
}

.search-input {
    width: 100%;
    padding: 1.15rem 1rem 1.15rem 3.25rem;
    background-color: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    color: #ffffff;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    outline: none;
    transition: var(--transition-smooth);
}

.search-input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 2px rgba(var(--secondary-rgb), 0.25);
    background-color: rgba(30, 41, 59, 0.95);
}

/* Toolbar Section */
.toolbar-container {
    padding: 2.5rem 0 1rem 0;
    position: relative;
    z-index: 10;
}

.toolbar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    background: rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    padding: 1.25rem 1.5rem;
    border-radius: 1.25rem;
}

.dropdown-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 250px;
}

.toolbar-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Custom Dropdown Styling */
.custom-dropdown {
    position: relative;
    width: 100%;
}

.dropdown-select {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-dark);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1.2rem;
    border-radius: 0.85rem;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    user-select: none;
}

.dropdown-select:hover {
    border-color: var(--secondary);
    box-shadow: 0 0 10px rgba(var(--secondary-rgb), 0.15);
}

.custom-dropdown.open .dropdown-select {
    border-color: var(--secondary);
    box-shadow: 0 0 0 2px rgba(var(--secondary-rgb), 0.25);
}

.dropdown-select .arrow {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.custom-dropdown.open .dropdown-select .arrow {
    transform: rotate(180deg);
    color: var(--accent);
}

.dropdown-options {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    width: 100%;
    background-color: var(--primary);
    border: 1px solid var(--border-color);
    border-radius: 0.85rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    z-index: 50;
    max-height: 250px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-smooth);
}

.custom-dropdown.open .dropdown-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-option {
    padding: 0.75rem 1.2rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition-smooth);
}

.dropdown-option:hover {
    background-color: var(--primary-light);
    color: #ffffff;
}

.dropdown-option.active {
    background-color: rgba(var(--secondary-rgb), 0.15);
    color: var(--accent);
    border-left: 3px solid var(--secondary);
    font-weight: 700;
}

/* Load More / Show All Section */
.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.btn-load-more {
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 2rem;
    border-color: var(--border-color);
    background-color: rgba(30, 41, 59, 0.5);
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
}

.btn-load-more:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(var(--secondary-rgb), 0.35);
    transform: translateY(-2px);
}

/* Responsive Toolbar */
@media (max-width: 768px) {
    .toolbar-flex {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .dropdown-wrapper {
        width: 100%;
    }
}

/* Products Catalog */
.catalog-section {
    padding: 2rem 0 6rem 0;
    flex-grow: 1;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 550ms cubic-bezier(0.25, 1, 0.3, 1), 
                border-color 550ms cubic-bezier(0.25, 1, 0.3, 1), 
                box-shadow 550ms cubic-bezier(0.25, 1, 0.3, 1);
    position: relative;
    overflow: visible;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--secondary-rgb), 0.7);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(var(--secondary-rgb), 0.25);
}

.badge-stock {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background-color: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: var(--success);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.25rem 0.6rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    z-index: 2;
}

.badge-stock.empty {
    background-color: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.25);
    color: var(--danger);
}

.badge-stock .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--success);
    animation: pulse 1.5s infinite;
}

.badge-stock.empty .dot {
    background-color: var(--danger);
    animation: none;
}

.product-img-wrapper {
    background-color: rgba(15, 23, 42, 0.6);
    aspect-ratio: 1 / 1;
    border-radius: 0.85rem;
    overflow: visible;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
}

/* 3D Pop-up Logo Component Styles */
.logo-container-3d {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.logo-2d {
    position: absolute;
    width: 65%;
    height: 65%;
    object-fit: contain;
    transition: transform 550ms cubic-bezier(0.25, 1, 0.3, 1), 
                filter 550ms cubic-bezier(0.25, 1, 0.3, 1), 
                opacity 550ms cubic-bezier(0.25, 1, 0.3, 1);
    transform: translateZ(0) rotateX(0deg) rotateY(0deg) scale(1);
    z-index: 2;
    transform-origin: center center;
}

.logo-3d {
    position: absolute;
    width: 65%;
    height: 65%;
    opacity: 0;
    transform: translateY(0px) translateZ(0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(0.9);
    transition: transform 550ms cubic-bezier(0.25, 1, 0.3, 1), 
                opacity 550ms cubic-bezier(0.25, 1, 0.3, 1),
                filter 550ms cubic-bezier(0.25, 1, 0.3, 1);
    transform-style: preserve-3d;
    z-index: 3;
    pointer-events: none;
}

/* Specific Category Logo Sizing Adjustments for Visual Consistency */
.netflix-logo .logo-2d {
    transform: translateZ(0) rotateX(0deg) rotateY(0deg) scale(0.65) !important;
}
.netflix-logo .logo-3d {
    transform: translateY(0px) translateZ(0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(0.58) !important;
}
.product-card:hover .netflix-logo .logo-3d,
.flash-sale-card:hover .netflix-logo .logo-3d,
.product-image-wrapper:hover .netflix-logo .logo-3d,
.product-card.touch-hover .netflix-logo .logo-3d,
.product-image-wrapper.touch-hover .netflix-logo .logo-3d,
.flash-sale-card.touch-hover .netflix-logo .logo-3d {
    transform: translateY(-40px) translateZ(80px) rotateX(18deg) rotateY(-12deg) rotateZ(4deg) scale(0.7) !important;
}

.duolingo-logo .logo-2d {
    transform: translateZ(0) rotateX(0deg) rotateY(0deg) scale(1.3) !important;
}
.duolingo-logo .logo-3d {
    transform: translateY(0px) translateZ(0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1.17) !important;
}
.product-card:hover .duolingo-logo .logo-3d,
.flash-sale-card:hover .duolingo-logo .logo-3d,
.product-image-wrapper:hover .duolingo-logo .logo-3d,
.product-card.touch-hover .duolingo-logo .logo-3d,
.product-image-wrapper.touch-hover .duolingo-logo .logo-3d,
.flash-sale-card.touch-hover .duolingo-logo .logo-3d {
    transform: translateY(-40px) translateZ(80px) rotateX(18deg) rotateY(-12deg) rotateZ(4deg) scale(1.4) !important;
}

.logo-3d img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform-style: preserve-3d;
}

/* Layer thickness elements for 3D logo */
.logo-3d img.layer-1 { transform: translateZ(1px); filter: brightness(0.5) saturate(0.8); }
.logo-3d img.layer-2 { transform: translateZ(2px); filter: brightness(0.65) saturate(0.9); }
.logo-3d img.layer-front { 
    transform: translateZ(4px); 
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.5));
}

.logo-floor-shadow {
    position: absolute;
    bottom: 8%;
    left: 15%;
    width: 70%;
    height: 8px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 75%);
    opacity: 0.2;
    filter: blur(2px);
    transform: scale(0.8);
    transition: transform 550ms cubic-bezier(0.25, 1, 0.3, 1), 
                opacity 550ms cubic-bezier(0.25, 1, 0.3, 1),
                filter 550ms cubic-bezier(0.25, 1, 0.3, 1);
    z-index: 1;
    pointer-events: none;
}

/* Hover effects for product catalog card */
.product-card:hover .logo-2d,
.flash-sale-card:hover .logo-2d {
    transform: rotateX(70deg) translateY(20px) translateZ(-5px) scaleY(0.4) scaleX(1);
    filter: blur(3px) brightness(0.08) saturate(0);
    opacity: 0.35;
}

.product-card:hover .logo-3d,
.flash-sale-card:hover .logo-3d {
    opacity: 1;
    transform: translateY(-40px) translateZ(80px) rotateX(18deg) rotateY(-12deg) rotateZ(4deg) scale(1.1);
    filter: drop-shadow(0 8px 16px rgba(14, 165, 233, 0.35)) drop-shadow(0 0 25px rgba(168, 85, 247, 0.25));
}

.product-card:hover .logo-floor-shadow,
.flash-sale-card:hover .logo-floor-shadow {
    opacity: 0.8;
    transform: scale(1.25);
    filter: blur(3px);
}

/* Hover effects for product detail page */
.product-image-wrapper:hover .logo-2d {
    transform: rotateX(70deg) translateY(20px) translateZ(-5px) scaleY(0.4) scaleX(1);
    filter: blur(3px) brightness(0.08) saturate(0);
    opacity: 0.35;
}

.product-image-wrapper:hover .logo-3d {
    opacity: 1;
    transform: translateY(-40px) translateZ(80px) rotateX(18deg) rotateY(-12deg) rotateZ(4deg) scale(1.1);
    filter: drop-shadow(0 8px 16px rgba(14, 165, 233, 0.35)) drop-shadow(0 0 25px rgba(168, 85, 247, 0.25));
}

.product-image-wrapper:hover .logo-floor-shadow {
    opacity: 0.8;
    transform: scale(1.25);
    filter: blur(3px);
}

/* Touch active classes for mobile support */
.product-card.touch-hover .logo-2d,
.product-image-wrapper.touch-hover .logo-2d,
.flash-sale-card.touch-hover .logo-2d {
    transform: rotateX(70deg) translateY(20px) translateZ(-5px) scaleY(0.4) scaleX(1);
    filter: blur(3px) brightness(0.08) saturate(0);
    opacity: 0.35;
}

.product-card.touch-hover .logo-3d,
.product-image-wrapper.touch-hover .logo-3d,
.flash-sale-card.touch-hover .logo-3d {
    opacity: 1;
    transform: translateY(-40px) translateZ(80px) rotateX(18deg) rotateY(-12deg) rotateZ(4deg) scale(1.1);
    filter: drop-shadow(0 8px 16px rgba(14, 165, 233, 0.35)) drop-shadow(0 0 25px rgba(168, 85, 247, 0.25));
}

.product-card.touch-hover .logo-floor-shadow,
.product-image-wrapper.touch-hover .logo-floor-shadow,
.flash-sale-card.touch-hover .logo-floor-shadow {
    opacity: 0.8;
    transform: scale(1.25);
    filter: blur(3px);
}

/* Prefers Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .logo-2d, .logo-3d, .logo-floor-shadow, .product-card {
        transition: none !important;
        transform: none !important;
        filter: none !important;
        opacity: 1 !important;
    }
    .logo-3d {
        display: none !important;
    }
}

.product-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.3;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.5rem;
}

.product-sold-catalog {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    display: block;
    margin-top: -0.25rem;
    margin-bottom: 0.25rem;
}

.product-footer {
    margin-top: 1.15rem;
    padding-top: 0.9rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.06);
}

.price-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.1rem;
}

.price-value {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: -0.02em;
    margin-bottom: 0.9rem;
}

.btn-select-product {
    width: 100%;
    padding: 0.65rem 0;
}

/* Modal Styling */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background-color: var(--primary);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 30rem;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-box {
    transform: translateY(0);
}

.modal-header {
    background-color: var(--primary-dark);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-header h3 i {
    color: var(--secondary);
}

.btn-close-modal {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-close-modal:hover {
    color: var(--danger);
    background-color: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
}

.modal-body {
    padding: 1.5rem;
    max-height: 75vh;
    overflow-y: auto;
}

/* Modal Product Summary */
.checkout-summary {
    display: flex;
    gap: 1rem;
    background-color: var(--primary-dark);
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    margin-bottom: 1.25rem;
}

.checkout-summary img {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 0.75rem;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.checkout-summary-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.checkout-summary-info h4 {
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.checkout-summary-info p {
    color: var(--accent);
    font-weight: 800;
    font-size: 0.9rem;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.form-select, .form-input {
    width: 100%;
    background-color: var(--primary-dark);
    border: 1px solid var(--border-color);
    border-radius: 0.85rem;
    padding: 0.85rem 1.15rem;
    color: #ffffff;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-smooth);
}

.form-select:focus, .form-input:focus {
    border-color: var(--secondary);
}

/* Flex Row Inputs */
.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group-half {
    flex: 1;
}

.form-row .form-group-double {
    flex: 2;
}

/* Voucher Field Overlay */
.voucher-wrapper {
    position: relative;
}

.voucher-input {
    padding-right: 4.5rem !important;
}

.btn-apply-voucher {
    position: absolute;
    right: 0.35rem;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-light);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 0.45rem 0.85rem;
    font-size: 0.75rem;
    border-radius: 0.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-apply-voucher:hover {
    background-color: var(--secondary);
    color: #ffffff;
    border-color: var(--secondary);
}

.voucher-message {
    font-size: 0.72rem;
    font-weight: 700;
    margin-top: 0.35rem;
}

.voucher-message.success { color: var(--success); }
.voucher-message.error { color: var(--danger); }

/* Billing Table */
.billing-table {
    border-top: 1px solid var(--border-color);
    margin-top: 1.5rem;
    padding-top: 1.25rem;
}

.billing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.65rem;
}

.billing-row span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.billing-row.discount span {
    color: var(--success);
}

.billing-row.total {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.05);
}

.billing-row.total span {
    font-size: 0.9rem;
    color: var(--text-main);
}

.billing-row.total .total-price {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-main);
}

.btn-checkout-submit {
    width: 100%;
    padding: 1.1rem 0;
    font-size: 1rem;
    border-radius: 0.85rem;
    margin-top: 1rem;
}

/* QRIS Payment Screen Overlay inside Modal */
.payment-screen {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0;
}

.payment-screen.active {
    display: flex;
}

.qris-badge {
    background-color: #ffffff;
    color: #0b0f19;
    padding: 0.35rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 900;
    font-size: 1rem;
    margin-bottom: 1.25rem;
    letter-spacing: 0.05em;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.qris-qr-container {
    background-color: #ffffff;
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;
    width: 180px;
}

.qris-qr-container img {
    width: 100%;
    height: 100%;
}

.payment-timer {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: var(--danger);
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.payment-status-checker {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.payment-status-checker i {
    animation: spin 1.5s linear infinite;
    color: var(--secondary);
}

.payment-success-screen {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 0;
}

.payment-success-screen.active {
    display: flex;
}

.success-icon-wrapper {
    width: 5rem;
    height: 5rem;
    background-color: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.1);
}

.success-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.success-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    max-width: 20rem;
}

.btn-invoice-copy {
    width: 100%;
}

/* Floating Widgets */
.float-wa-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background-color: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    z-index: 90;
    transition: var(--transition-smooth);
    animation: bounce-loop 2s infinite;
}

.float-wa-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

/* Toast Notification (Recent Purchases) */
.toast-notification {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background-color: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 1.15rem;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 22rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    transform: translateY(100px);
    opacity: 0;
    pointer-events: none;
    z-index: 99;
    transition: var(--transition-smooth);
}

.toast-notification.active {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.toast-body {
    display: flex;
    flex-direction: column;
}

.toast-title {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--secondary);
    text-transform: uppercase;
    margin-bottom: 0.1rem;
}

.toast-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
}

.toast-time {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Footer styling */
.footer {
    background-color: var(--primary-dark);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem 0;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h4 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.85rem;
    max-width: 20rem;
    line-height: 1.6;
}

.footer-links-col h5 {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.footer-links-col ul {
    list-style: none;
}

.footer-links-col ul li {
    margin-bottom: 0.75rem;
}

.footer-links-col ul li a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.footer-links-col ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.footer-bottom-badges {
    display: flex;
    gap: 1.25rem;
}

.footer-bottom-badges span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* Page: Cek Invoice Styles */
.invoice-page {
    padding: 4rem 0 6rem 0;
    flex-grow: 1;
}

.invoice-search-card {
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 1.5rem;
    max-width: 32rem;
    margin: 0 auto 2.5rem auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.invoice-search-card h2 {
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.5rem;
}

.invoice-search-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
    margin-bottom: 1.75rem;
}

.invoice-results {
    display: none;
    max-width: 36rem;
    margin: 0 auto;
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 1.5rem;
}

.invoice-results.active {
    display: block;
}

.invoice-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
    padding-bottom: 1.25rem;
}

.invoice-meta-item {
    display: flex;
    flex-direction: column;
}

.invoice-meta-item span.label {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
}

.invoice-meta-item span.val {
    font-size: 0.95rem;
    font-weight: 700;
    margin-top: 0.15rem;
}

.invoice-meta-item span.val.success {
    color: var(--success);
}

.invoice-credentials-box {
    margin-top: 1.5rem;
}

.invoice-credentials-box h4 {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.invoice-textarea {
    width: 100%;
    height: 12rem;
    background-color: var(--primary-dark);
    border: 1px solid var(--border-color);
    border-radius: 0.85rem;
    padding: 1rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    color: var(--accent);
    resize: none;
    outline: none;
    margin-bottom: 1.25rem;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

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

@keyframes bounce-loop {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Media Queries */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hamburger-btn {
        display: block;
    }

    /* Mobile Header Layout Enhancements */
    .navbar {
        height: 3.75rem;
    }

    .logo img {
        height: 1.8rem;
    }

    .logo span {
        font-size: 1.1rem;
    }

    /* Hide Dashboard/Login button on mobile header actions to prevent overlap */
    .nav-actions a[href="/dashboard"],
    .nav-actions a[href="/login"] {
        display: none !important;
    }

    .nav-actions {
        gap: 0.65rem;
    }

    /* Smaller button padding on mobile header actions */
    .nav-actions .btn {
        padding: 0.45rem 0.85rem;
        font-size: 0.78rem;
        border-radius: 0.6rem;
    }

    /* Form Rows Layout */
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-row .form-group-half,
    .form-row .form-group-double {
        width: 100%;
        flex: none;
    }

    /* Payment Method inside Checkout Modal (index.html inline style fallback) */
    #payment-method-group > div {
        grid-template-columns: 1fr !important;
    }

    /* Invoice Search & Details Adjustments */
    .invoice-search-card {
        padding: 1.25rem;
        border-radius: 1.25rem;
    }

    .invoice-meta-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-desc {
        font-size: 0.95rem;
    }
    
    .toast-notification {
        left: 1rem;
        right: auto;
        bottom: 5.5rem;
        max-width: 20rem;
        width: calc(100% - 2rem);
        padding: 0.6rem 0.8rem;
        gap: 0.75rem;
        border-radius: 0.85rem;
    }
    
    .toast-notification .toast-icon {
        width: 2rem;
        height: 2rem;
        font-size: 0.95rem;
    }
    
    .toast-notification .toast-title {
        font-size: 0.6rem;
    }
    
    .toast-notification .toast-text {
        font-size: 0.75rem;
    }
    
    .toast-notification .toast-time {
        font-size: 0.55rem;
        margin-top: 0.15rem;
    }
    
    .float-wa-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 3.25rem;
        height: 3.25rem;
        font-size: 1.5rem;
    }
    
    .modal-box {
        align-self: flex-end;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        max-height: 90vh;
    }
    
    .modal-overlay {
        padding: 0;
        align-items: flex-end;
    }
}

/* ==========================================================================
   CUSTOM DIALOG — Menggantikan browser alert() native
   ========================================================================== */
#kyy-dialog-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

#kyy-dialog-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

#kyy-dialog-box {
    background: linear-gradient(145deg, #0f1a2e, #0d1524);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    width: 100%;
    max-width: 22rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255,255,255,0.04) inset;
    overflow: hidden;
    transform: scale(0.88) translateY(16px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

#kyy-dialog-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: 1.5rem 1.5rem 0 0;
}

#kyy-dialog-box.type-info::before    { background: linear-gradient(90deg, #0ea5e9, transparent, #38bdf8); }
#kyy-dialog-box.type-success::before { background: linear-gradient(90deg, #10b981, transparent, #34d399); }
#kyy-dialog-box.type-error::before   { background: linear-gradient(90deg, #ef4444, transparent, #f87171); }
#kyy-dialog-box.type-warning::before { background: linear-gradient(90deg, #f59e0b, transparent, #fbbf24); }

#kyy-dialog-overlay.show #kyy-dialog-box {
    transform: scale(1) translateY(0);
}

.kyy-dialog-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem 0.75rem;
}

.kyy-dialog-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.type-info    .kyy-dialog-icon { background: rgba(var(--secondary-rgb),0.12); border: 1px solid rgba(var(--secondary-rgb),0.3); color: #38bdf8; }
.type-success .kyy-dialog-icon { background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.3); color: #34d399; }
.type-error   .kyy-dialog-icon { background: rgba(239,68,68,0.12);  border: 1px solid rgba(239,68,68,0.3);  color: #f87171; }
.type-warning .kyy-dialog-icon { background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.3); color: #fbbf24; }

.kyy-dialog-body {
    padding: 0.5rem 1.75rem 1.5rem;
    text-align: center;
}

.kyy-dialog-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.kyy-dialog-message {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.55;
    font-weight: 500;
}

.kyy-dialog-footer {
    padding: 0.25rem 1.5rem 1.5rem;
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.kyy-dialog-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 0.85rem;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    letter-spacing: 0.01em;
    color: #fff;
}

.type-info    .kyy-dialog-btn.btn-ok { background: linear-gradient(135deg, #0ea5e9, #0284c7); box-shadow: 0 6px 18px rgba(var(--secondary-rgb),0.4); }
.type-success .kyy-dialog-btn.btn-ok { background: linear-gradient(135deg, #10b981, #059669); box-shadow: 0 6px 18px rgba(16,185,129,0.4); }
.type-error   .kyy-dialog-btn.btn-ok { background: linear-gradient(135deg, #ef4444, #dc2626); box-shadow: 0 6px 18px rgba(239,68,68,0.4); }
.type-warning .kyy-dialog-btn.btn-ok { background: linear-gradient(135deg, #f59e0b, #d97706); box-shadow: 0 6px 18px rgba(245,158,11,0.4); }

.kyy-dialog-btn.btn-ok:hover {
    transform: translateY(-1px);
    filter: brightness(1.1);
}

.kyy-dialog-btn.btn-ok:active {
    transform: none;
}

/* Payment Method Selection Cards */
.payment-method-card {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
    min-height: 70px;
}
.payment-method-card::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    transition: var(--transition-smooth);
}
.payment-method-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(var(--secondary-rgb), 0.5);
}
.payment-method-card.active {
    background: rgba(var(--secondary-rgb), 0.12);
    border: 1px solid var(--secondary);
    box-shadow: 0 0 12px rgba(var(--secondary-rgb), 0.25);
}
.payment-method-card.active::after {
    border-color: var(--secondary);
    background: var(--secondary);
    box-shadow: 0 0 6px var(--secondary);
}

/* Flash Sale styling */
.badge-flash-sale {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #ef4444 0%, #f59e0b 100%);
    color: #ffffff;
    padding: 0.35rem 0.85rem;
    border-radius: 0.5rem;
    font-weight: 800;
    font-size: 0.72rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    z-index: 10;
    letter-spacing: 0.05em;
    animation: flash-pulse 2s infinite ease-in-out;
}

@keyframes flash-pulse {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.05); filter: brightness(1.15); box-shadow: 0 6px 16px rgba(239, 68, 68, 0.55); }
}

.product-card.flash-sale-active {
    border-color: rgba(239, 68, 68, 0.25);
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.02) 0%, rgba(13, 21, 36, 0.5) 100%);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45), 0 0 15px rgba(239, 68, 68, 0.03);
}

.original-price-strike {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-right: 0.25rem;
}

.price-value.discounted {
    color: var(--accent);
    font-weight: 900;
}

.modal-price-original-strike {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.8em;
    margin-right: 8px;
}

.modal-price-discounted {
    color: var(--accent);
    font-weight: 800;
}

/* ==========================================================================
   STATISTICS SECTION - PREMIUM GLASSMORPHISM STYLE
   ========================================================================== */
.stats-section {
    padding: 2.5rem 0;
    background: linear-gradient(180deg, var(--bg-main) 0%, var(--primary-dark) 100%);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.stat-card {
    background: rgba(30, 41, 59, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    padding: 1.5rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.05) 0%, rgba(56, 189, 248, 0) 100%);
    pointer-events: none;
    z-index: 0;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: 0 12px 25px -10px rgba(var(--secondary-rgb), 0.3);
}

.stat-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(var(--secondary-rgb), 0.15) 0%, rgba(56, 189, 248, 0.05) 100%);
    border: 1px solid rgba(var(--secondary-rgb), 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.50rem;
    color: var(--accent);
    flex-shrink: 0;
    z-index: 1;
    transition: var(--transition-smooth);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(var(--secondary-rgb), 0.25) 0%, rgba(56, 189, 248, 0.1) 100%);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.35);
    border-color: rgba(56, 189, 248, 0.4);
}

.stat-info {
    z-index: 1;
}

.stat-info h3 {
    font-size: 2.15rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 0.2rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 60%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-info p {
    font-size: 0.825rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.075em;
}

@media (max-width: 992px) {
    .stats-grid {
        gap: 1.25rem;
    }
    .stat-info h3 {
        font-size: 1.85rem;
    }
}

@media (max-width: 768px) {
    .stats-section {
        padding: 1.75rem 0;
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .stat-card {
        padding: 1.25rem 1.5rem;
    }
}

/* ==========================================================================
   PRODUCT VARIANTS POPUP TRIGGER LINK
   ========================================================================== */
.product-variants-link-wrapper {
    margin-top: 0.85rem;
    text-align: center;
}

.btn-variants-link {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: var(--transition-smooth);
    padding: 0.3rem 0.65rem;
    border-radius: 0.5rem;
    width: auto;
}

.btn-variants-link:hover {
    color: var(--accent);
    background-color: rgba(56, 189, 248, 0.06);
}

.variants-modal-list-wrapper {
    margin-top: 1.25rem;
}

.variant-list {
    list-style: none;
    padding: 0.5rem 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.variant-item {
    padding: 0.75rem;
    background-color: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    transition: var(--transition-smooth);
    text-align: left;
}

.variant-item:hover {
    border-color: rgba(var(--secondary-rgb), 0.2);
    background-color: rgba(15, 23, 42, 0.6);
}

.variant-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.variant-item-name {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text-main);
}

.variant-item-price {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--accent);
    white-space: nowrap;
}

.variant-item-stock {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--success);
    display: inline-block;
    padding: 0.15rem 0.45rem;
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 0.35rem;
    margin-bottom: 0.4rem;
}

.variant-item-stock.empty {
    color: var(--danger);
    background-color: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
}

.variant-item-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
    border-top: 1px dashed rgba(255, 255, 255, 0.05);
    padding-top: 0.4rem;
    margin-top: 0.25rem;
}

/* Mobile Optimization - 2 Columns Product Grid */
@media (max-width: 768px) {
    .container {
        padding: 0 0.75rem !important;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
    .product-card {
        padding: 0.85rem !important;
        border-radius: 1rem !important;
    }
    .product-img-wrapper {
        margin-bottom: 0.75rem !important;
        border-radius: 0.65rem !important;
    }
    .product-title {
        font-size: 0.85rem !important;
        height: 2.2rem !important;
        margin-bottom: 0.25rem !important;
        -webkit-line-clamp: 2;
    }
    .product-sold-catalog {
        font-size: 0.65rem !important;
    }
    .product-footer {
        margin-top: 0.75rem !important;
        padding-top: 0.65rem !important;
    }
    .price-label {
        font-size: 0.58rem !important;
    }
    .price-value {
        font-size: 1.05rem !important;
        margin-bottom: 0.65rem !important;
    }
    .btn-select-product {
        padding: 0.5rem 0 !important;
        font-size: 0.8rem !important;
        border-radius: 0.6rem !important;
    }
    .btn-variants-link {
        font-size: 0.68rem !important;
        padding: 0.2rem 0.4rem !important;
        width: 100%;
        justify-content: center;
        display: flex !important;
    }
    .badge-stock {
        top: 1.25rem !important;
        right: 1.25rem !important;
        padding: 0.15rem 0.45rem !important;
        font-size: 0.62rem !important;
    }
    .badge-flash-sale {
        top: 0.75rem !important;
        left: 0.75rem !important;
        padding: 0.2rem 0.5rem !important;
        font-size: 0.62rem !important;
    }
}

/* ==========================================================================
   PRODUCT DETAIL & CHECKOUT PAGE STYLE
   ========================================================================== */
.product-page {
    padding: 3rem 0 6rem 0;
    flex-grow: 1;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: start;
}

/* Left Column: Product Info Card */
.product-info-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 2.25rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.product-info-card .product-image-wrapper {
    background-color: rgba(15, 23, 42, 0.6);
    aspect-ratio: 1 / 1;
    border-radius: 1rem;
    overflow: visible;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}


.product-detail-title {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #ffffff 40%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.product-detail-meta {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.product-detail-meta .meta-item {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.product-detail-desc-box {
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
}

.product-detail-desc-box h3 {
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.product-detail-desc-box .desc-content {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    overflow-x: hidden;
}

.product-detail-desc-box .desc-content ol {
    list-style-type: decimal !important;
    margin-left: 20px !important;
    padding-left: 5px !important;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
}

.product-detail-desc-box .desc-content ul {
    list-style-type: disc !important;
    margin-left: 20px !important;
    padding-left: 5px !important;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
}

.product-detail-desc-box .desc-content li {
    display: list-item !important;
    margin-bottom: 4px !important;
}

.product-detail-desc-box .desc-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    margin: 8px 0;
}

.product-detail-desc-box .desc-content table {
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: auto;
    display: block;
    border-collapse: collapse;
    margin: 12px 0;
}

.product-detail-desc-box .desc-content pre,
.product-detail-desc-box .desc-content code {
    white-space: pre-wrap !important;
    word-wrap: break-word !important;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    padding: 2px 4px;
}

/* Right Column: Checkout Steps */
.product-form-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    overflow: visible;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    position: relative;
}
.step-card:nth-child(1) { z-index: 10; }
.step-card:nth-child(2) { z-index: 9; }
.step-card:nth-child(3) { z-index: 8; }
.step-card:nth-child(4) { z-index: 7; }
.step-card:nth-child(5) { z-index: 6; }

.step-header {
    background-color: rgba(15, 23, 42, 0.4);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
}

.step-number {
    width: 2.25rem;
    height: 2.25rem;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1rem;
    box-shadow: 0 0 10px rgba(var(--secondary-rgb), 0.3);
    flex-shrink: 0;
}

.step-header h2 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
}

.step-body {
    padding: 1.5rem;
}

/* Input layout with WhatsApp icon */
.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-icon-wrapper .input-icon {
    position: absolute;
    left: 1.15rem;
    font-size: 1.2rem;
    color: var(--success);
}

.input-icon-wrapper .form-input {
    padding-left: 3rem;
}

/* Step 2: Variant Selector Grid */
.variant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.variant-card {
    background: var(--primary-dark);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.15rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 6rem;
    position: relative;
    user-select: none;
}

.variant-card:hover {
    border-color: rgba(var(--secondary-rgb), 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.variant-card.active {
    background: rgba(var(--secondary-rgb), 0.08);
    border-color: var(--secondary);
    box-shadow: 0 0 15px rgba(var(--secondary-rgb), 0.15);
}

.variant-card.active::after {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    color: var(--accent);
    font-size: 1.1rem;
}

.variant-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    padding-right: 1.5rem; /* prevent overlap with checkmark */
    line-height: 1.35;
}

.variant-card-price-wrapper {
    display: flex;
    flex-direction: column;
}

.variant-card-price-wrapper .original-price {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: 2px;
}

.variant-card-price-wrapper .current-price {
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--accent);
}

.variant-card.active .variant-card-price-wrapper .current-price {
    color: var(--success);
}

.variant-card-stock {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.variant-card.disabled {
    opacity: 0.45;
    cursor: not-allowed !important;
    pointer-events: none;
    background-color: rgba(30, 41, 59, 0.2);
}

.variant-desc-box {
    background: rgba(255,255,255,0.02);
    border: 1px dashed var(--border-color);
    border-radius: 0.85rem;
    padding: 0.9rem 1.15rem;
}

.variant-desc-content {
    font-size: 0.85rem;
    color: var(--danger);
    font-weight: 600;
    line-height: 1.5;
    white-space: pre-wrap;
}

/* Step 3: Payment Method Refinement */
.payment-method-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.payment-card {
    background: var(--primary-dark);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.25rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    user-select: none;
}

.payment-card:hover {
    border-color: rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

.payment-card.active {
    background: rgba(16, 185, 129, 0.05);
    border-color: var(--success);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

.payment-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-card .payment-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.payment-card .payment-info i {
    font-size: 1.4rem;
}

.payment-card .payment-info .icon-qris {
    color: var(--accent);
}

.payment-card .payment-info .icon-saldo {
    color: var(--success);
}

.payment-card .payment-text {
    display: flex;
    flex-direction: column;
}

.payment-card .payment-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-main);
}

.payment-card .payment-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.payment-card .payment-check {
    opacity: 0;
    color: var(--success);
    font-size: 1.15rem;
    transition: var(--transition-smooth);
}

.payment-card.active .payment-check {
    opacity: 1;
}

.payment-card-price {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 0.6rem;
    margin-top: 0.25rem;
}

.payment-card.active .payment-card-price {
    color: var(--success);
}

/* Step 4: Qty Spinner & Voucher */
.qty-spinner {
    display: flex;
    align-items: center;
    background: var(--primary-dark);
    border: 1px solid var(--border-color);
    border-radius: 0.85rem;
    padding: 0.25rem 0.5rem;
    max-width: 140px;
}

.qty-spinner .btn-qty {
    width: 2.25rem;
    height: 2.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.5rem;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    user-select: none;
}

.qty-spinner .btn-qty:hover {
    background: rgba(255, 255, 255, 0.1);
}

.qty-spinner input {
    flex: 1;
    width: 100%;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    text-align: center;
    outline: none;
    -moz-appearance: textfield;
}

.qty-spinner input::-webkit-outer-spin-button,
.qty-spinner input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.limit-info-text {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 700;
    margin-top: 0.4rem;
}

/* Responsive Grid columns */
@media (max-width: 1024px) {
    .product-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-info-card {
        position: relative;
        top: 0;
    }
}

@media (max-width: 576px) {
    .payment-method-grid {
        grid-template-columns: 1fr;
    }
    
    .variant-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

/* Country Selector Styles */
.country-select-trigger {
    transition: var(--transition-smooth);
}
.country-select-trigger:hover {
    border-color: rgba(var(--secondary-rgb), 0.4) !important;
    background: rgba(255, 255, 255, 0.06) !important;
}
.country-dropdown-menu {
    border-color: rgba(255,255,255,0.08) !important;
    z-index: 9999 !important;
}
.country-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.65rem 1rem !important;
    cursor: pointer;
    transition: background 0.15s ease;
    white-space: nowrap !important;
}
.country-item:hover {
    background: rgba(255, 255, 255, 0.05);
}
.country-item-left {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 0.85rem !important;
    color: var(--text-main) !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
}
.country-item-right {
    font-size: 0.85rem !important;
    color: var(--text-muted) !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}
.country-list-scroll::-webkit-scrollbar {
    width: 6px;
}
.country-list-scroll::-webkit-scrollbar-track {
    background: transparent;
}
.country-list-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== PAGE LOADING OVERLAY ===== */
#page-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    opacity: 1;
    visibility: visible;
}

#page-loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.page-loading-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 1rem;
    animation: loadingPulse 1.6s ease-in-out infinite;
}

.page-loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(var(--secondary-rgb), 0.15);
    border-top-color: var(--secondary);
    border-radius: 50%;
    animation: spinRing 0.75s linear infinite;
}

.page-loading-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.05em;
    animation: loadingTextBlink 1.6s ease-in-out infinite;
}

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

@keyframes loadingPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.95); }
}

@keyframes loadingTextBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

/* Fade-in content after loading */
.product-page {
    animation: none;
}
.product-page.content-ready {
    animation: fadeInUp 0.4s ease forwards;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   TRANSACTION WARRANTY & REAL-TIME CHAT STYLING
   ========================================================================== */
.warranty-chat-container {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    padding: 1.5rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.warranty-chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
}

.chat-messages-area {
    height: 300px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.5rem;
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
}

.chat-bubble {
    max-width: 75%;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    font-size: 0.85rem;
    line-height: 1.4;
    word-wrap: break-word;
    position: relative;
}

.chat-bubble.admin {
    align-self: flex-start;
    background: var(--primary-light);
    color: var(--text-main);
    border-bottom-left-radius: 0.25rem;
    border: 1px solid var(--border-color);
}

.chat-bubble.user {
    align-self: flex-end;
    background: var(--secondary);
    color: #ffffff;
    border-bottom-right-radius: 0.25rem;
    box-shadow: 0 4px 10px rgba(var(--secondary-rgb), 0.2);
}

.chat-bubble-time {
    display: block;
    font-size: 0.65rem;
    margin-top: 0.35rem;
    opacity: 0.7;
    text-align: right;
}

.chat-bubble img {
    max-width: 100%;
    max-height: 180px;
    border-radius: 0.5rem;
    margin-bottom: 0.35rem;
    display: block;
    object-fit: contain;
}

.chat-input-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    position: relative;
}

.chat-btn-attach {
    background: var(--primary-light);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.chat-btn-attach:hover {
    color: var(--accent);
    background-color: var(--primary-dark);
    border-color: var(--secondary);
}

.chat-input-field {
    flex: 1;
    background: var(--primary-dark);
    border: 1px solid var(--border-color);
    color: #ffffff;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    outline: none;
    transition: var(--transition-smooth);
}

.chat-input-field:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 8px rgba(var(--secondary-rgb), 0.2);
}

.chat-btn-send {
    background: var(--secondary);
    border: none;
    color: #ffffff;
    padding: 0 1.25rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    transition: var(--transition-smooth);
}

.chat-btn-send:hover {
    background-color: var(--secondary-hover);
}

.chat-attachment-preview-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(var(--secondary-rgb), 0.1);
    border: 1px solid rgba(var(--secondary-rgb), 0.3);
    padding: 0.5rem;
    border-radius: 0.5rem;
    margin-top: 0.25rem;
    font-size: 0.78rem;
}

.chat-attachment-preview-box img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 4px;
}

.chat-attachment-remove {
    cursor: pointer;
    color: var(--danger);
    font-weight: bold;
}

/* ==========================================================================
   FLASH SALE SECTION
   ========================================================================== */
.flash-sale-section {
    padding: 2.5rem 0 1rem 0;
    position: relative;
}

.flash-sale-container {
    background: linear-gradient(135deg, rgba(var(--secondary-rgb), 0.1) 0%, rgba(30, 41, 59, 0.3) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(var(--secondary-rgb), 0.2);
    border-radius: 1.5rem;
    padding: 1.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.flash-sale-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.flash-sale-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.flash-icon-circle {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.25rem;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.flash-sale-title h2 {
    font-size: 1.6rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.025em;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    margin: 0;
}

.flash-sale-timer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    font-family: monospace;
}

.flash-sale-timer i {
    color: var(--accent);
    font-size: 0.95rem;
}

.flash-sale-carousel {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    padding-bottom: 0.75rem;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary) rgba(15, 23, 42, 0.2);
}

.flash-sale-carousel::-webkit-scrollbar {
    height: 6px;
}

.flash-sale-carousel::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.2);
    border-radius: 10px;
}

.flash-sale-carousel::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 10px;
}

.flash-sale-card {
    flex: 0 0 200px;
    width: 200px;
    min-width: 200px;
    max-width: 200px;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-smooth);
}

.flash-sale-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--secondary-rgb), 0.35);
    background: rgba(15, 23, 42, 0.65);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.fs-card-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background-color: var(--danger);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.25rem 0.5rem;
    border-radius: 0.4rem;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

.fs-card-img-wrapper {
    background-color: rgba(15, 23, 42, 0.6);
    aspect-ratio: 1 / 1;
    border-radius: 0.85rem;
    overflow: visible;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
}



.fs-card-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fs-card-prices {
    margin-top: auto;
    margin-bottom: 0.75rem;
}

.fs-card-original {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-decoration: line-through;
    display: block;
    margin-bottom: 0.1rem;
}

.fs-card-sale {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--accent);
}

.fs-card-progress-container {
    margin-top: auto;
}

.fs-card-countdown-wrapper {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 0.5rem;
    padding: 0.25rem 0.5rem;
    margin-bottom: 0.65rem;
    display: inline-flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.fs-card-countdown-wrapper div {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #ef4444;
    font-weight: 700;
    font-size: 0.65rem;
    font-family: inherit;
}

.fs-card-stock-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.62rem;
    font-weight: 800;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.fs-card-stock-label span.sisa-pcs {
    color: var(--accent);
}

.fs-card-progress-bar {
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.fs-card-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
    border-radius: 10px;
}

/* Product Page Guide Styling */
#product-guide-section .guide-card {
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.25rem;
}

#product-guide-section .video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    background: #000;
}

#product-guide-section .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

#product-guide-section .video-item-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

#product-guide-section .guide-rich-content ul, #product-guide-section .guide-rich-content ol {
    padding-left: 0;
    list-style: none;
    margin-bottom: 1rem;
}

#product-guide-section .guide-rich-content li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
}

#product-guide-section .terms-content li::before {
    content: "•";
    position: absolute;
    left: 0.25rem;
    top: -0.1rem;
    color: #8b5cf6;
    font-size: 1.25rem;
    font-weight: bold;
}

#product-guide-section .warranty-content li::before {
    content: "•";
    position: absolute;
    left: 0.25rem;
    top: -0.1rem;
    color: #10b981;
    font-size: 1.25rem;
    font-weight: bold;
}

/* Custom CSS Counter overrides for public terms, privacy, guide, and product pages */
.terms-card,
.privacy-card,
.guide-rich-content,
.desc-content,
.terms-content {
    counter-reset: custom-ol-counter 0;
}

.terms-card ol,
.privacy-card ol,
.guide-rich-content ol,
.desc-content ol,
.terms-content ol {
    list-style-type: none !important;
    counter-reset: none !important;
    padding-left: 0 !important;
}

.terms-card ol > li:not([class*="ql-indent-"]),
.privacy-card ol > li:not([class*="ql-indent-"]),
.guide-rich-content ol > li:not([class*="ql-indent-"]),
.desc-content ol > li:not([class*="ql-indent-"]),
.terms-content ol > li:not([class*="ql-indent-"]) {
    counter-increment: custom-ol-counter !important;
    position: relative !important;
    padding-left: 1.5rem !important;
}

.terms-card ol > li:not([class*="ql-indent-"])::before,
.privacy-card ol > li:not([class*="ql-indent-"])::before,
.guide-rich-content ol > li:not([class*="ql-indent-"])::before,
.desc-content ol > li:not([class*="ql-indent-"])::before,
.terms-content ol > li:not([class*="ql-indent-"])::before {
    content: counter(custom-ol-counter, decimal) ". " !important;
    position: absolute !important;
    left: 0 !important;
    font-weight: 700;
    color: #ffffff;
}

/* Indented list items styling on public pages (sub-items / nested lists) */
.terms-card li[class*="ql-indent-"],
.privacy-card li[class*="ql-indent-"],
.guide-rich-content li[class*="ql-indent-"],
.desc-content li[class*="ql-indent-"],
.terms-content li[class*="ql-indent-"] {
    list-style-type: none !important;
    position: relative !important;
}

.terms-card li.ql-indent-1,
.privacy-card li.ql-indent-1,
.guide-rich-content li.ql-indent-1,
.desc-content li.ql-indent-1,
.terms-content li.ql-indent-1 {
    padding-left: 2.5rem !important;
}

.terms-card li.ql-indent-1::before,
.privacy-card li.ql-indent-1::before,
.guide-rich-content li.ql-indent-1::before,
.desc-content li.ql-indent-1::before,
.terms-content li.ql-indent-1::before {
    content: "•" !important;
    position: absolute !important;
    left: 1.5rem !important;
    color: var(--text-muted);
}

.terms-card li.ql-indent-2,
.privacy-card li.ql-indent-2,
.guide-rich-content li.ql-indent-2,
.desc-content li.ql-indent-2,
.terms-content li.ql-indent-2 {
    padding-left: 3.5rem !important;
}

.terms-card li.ql-indent-2::before,
.privacy-card li.ql-indent-2::before,
.guide-rich-content li.ql-indent-2::before,
.desc-content li.ql-indent-2::before,
.terms-content li.ql-indent-2::before {
    content: "◦" !important;
    position: absolute !important;
    left: 2.5rem !important;
    color: var(--text-muted);
}


/* ==========================================================================
   HERO REDESIGN SECTION - PREMIUM DARK THEME
   ========================================================================== */
.hero-redesign {
    position: relative;
    padding: 7.5rem 0 6.5rem 0;
    background: linear-gradient(135deg, #050b18 0%, #02050c 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.hero-glow-redesign {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, rgba(59, 130, 246, 0.03) 50%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    filter: blur(50px);
}

.hero-container-redesign {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 5;
}

/* Left Column Styling */
.hero-left-redesign {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.2);
    color: #38bdf8;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.05);
}

.hero-badge i {
    font-size: 0.9rem;
}

.hero-headline {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    text-align: left;
}

.hero-headline .gradient-text {
    background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2.25rem;
    max-width: 90%;
    text-align: left;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.25rem;
    width: 100%;
}

.btn-primary-redesign {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.85rem 2rem;
    background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary-redesign:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.45);
}

.btn-outline-redesign {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.85rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 12px;
    text-decoration: none;
    transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-outline-redesign:hover {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hero-benefits {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.benefit-pill {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.text-cyan { color: #22d3ee; }
.text-blue { color: #3b82f6; }
.text-yellow { color: #facc15; }

/* Right Column (Mascot & Orbit) Styling */
.hero-right-redesign {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.mascot-orbit-container {
    position: relative;
    width: 380px;
    height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-bg {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, transparent 70%);
    z-index: 0;
    filter: blur(20px);
}

.orbit-ring {
    position: absolute;
    border: 1px dashed rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.ring-1 {
    width: 320px;
    height: 320px;
    transform: rotateX(65deg) rotateY(-15deg);
}

.ring-2 {
    width: 240px;
    height: 240px;
    transform: rotateX(70deg) rotateY(15deg);
}

/* Mascot Wrapper & Interactive drag support */
.mascot-wrapper {
    position: relative;
    width: 260px;
    height: 260px;
    z-index: 5;
    cursor: grab;
    touch-action: none;
    user-select: none;
    animation: mascot-idle 3s ease-in-out infinite;
}

.mascot-wrapper:active {
    cursor: grabbing;
}

.mascot-hover-zone {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mascot-hover-zone:hover {
    transform: scale(1.08) rotate(3deg);
}

.mascot-image {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    pointer-events: none;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.4));
}

@keyframes mascot-idle {
    0% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -10px, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

/* Floating Card Base Styles */
.floating-card {
    position: absolute;
    background: rgba(10, 16, 30, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.55rem 0.85rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.78rem;
    z-index: 10;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.floating-card:hover {
    border-color: #38bdf8;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.35);
}

.card-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    border-radius: 4px;
}

/* Positions of Floating Cards around the Mascot */
.pos-netflix {
    top: 5%;
    left: -15%;
    animation: float-netflix 6s ease-in-out infinite;
}

.pos-chatgpt {
    top: 42%;
    left: -22%;
    animation: float-chatgpt 7s ease-in-out infinite;
}

.pos-youtube {
    bottom: 5%;
    left: -15%;
    animation: float-youtube 6.5s ease-in-out infinite;
}

.pos-disney {
    top: 0%;
    right: -10%;
    animation: float-disney 7.5s ease-in-out infinite;
}

.pos-spotify {
    top: 35%;
    right: -20%;
    animation: float-spotify 6.8s ease-in-out infinite;
}

.pos-capcut {
    bottom: 12%;
    right: -15%;
    animation: float-capcut 8s ease-in-out infinite;
}

/* Animations for organic float & sway sways */
@keyframes float-netflix {
    0% { transform: translate(0, 0); }
    50% { transform: translate(8px, -12px); }
    100% { transform: translate(0, 0); }
}

@keyframes float-chatgpt {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-10px, 8px); }
    100% { transform: translate(0, 0); }
}

@keyframes float-youtube {
    0% { transform: translate(0, 0); }
    50% { transform: translate(6px, 10px); }
    100% { transform: translate(0, 0); }
}

@keyframes float-disney {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-8px, -10px); }
    100% { transform: translate(0, 0); }
}

@keyframes float-spotify {
    0% { transform: translate(0, 0); }
    50% { transform: translate(10px, -6px); }
    100% { transform: translate(0, 0); }
}

@keyframes float-capcut {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-6px, 12px); }
    100% { transform: translate(0, 0); }
}

/* Integrated Statistics Section Bottom of Hero */
.hero-stats-container {
    margin-top: 5rem;
    position: relative;
    z-index: 5;
}

.stats-grid-redesign {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-card-redesign {
    background: rgba(10, 16, 30, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.25rem;
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.stat-card-redesign:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.25);
    box-shadow: 0 10px 25px -10px rgba(56, 189, 248, 0.2);
}

.stat-icon-redesign {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.85rem;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.15) 0%, rgba(37, 99, 235, 0.05) 100%);
    border: 1px solid rgba(56, 189, 248, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #38bdf8;
    flex-shrink: 0;
}

.stat-info-redesign h3 {
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 0.15rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 60%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-info-redesign p {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hide old sections */
.hero, .stats-section {
    display: none !important;
}

/* ==========================================================================
   RESPONSIVE DESIGN REDESIGN HERO OVERRIDES
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-headline {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-redesign {
        padding: 5.5rem 0 4.5rem 0;
    }
    
    .hero-container-redesign {
        grid-template-columns: 1fr;
        gap: 4.5rem;
        text-align: center;
    }
    
    .hero-left-redesign {
        align-items: center;
    }
    
    .hero-badge {
        margin-bottom: 1.25rem;
    }
    
    .hero-headline {
        font-size: 2.6rem;
    }
    
    .hero-subtitle {
        max-width: 100%;
        font-size: 0.95rem;
        margin-bottom: 1.75rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .btn-primary-redesign, .btn-outline-redesign {
        width: 100%;
        box-sizing: border-box;
        padding: 0.8rem 1.5rem;
    }
    
    .hero-benefits {
        justify-content: center;
    }
    
    .hero-right-redesign {
        order: -1; /* Mascot on top in mobile */
        margin-bottom: 1rem;
    }
    
    .mascot-orbit-container {
        width: 280px;
        height: 280px;
    }
    
    .orbit-ring.ring-1 {
        width: 250px;
        height: 250px;
    }
    
    .orbit-ring.ring-2 {
        width: 180px;
        height: 180px;
    }
    
    .mascot-wrapper {
        width: 180px;
        height: 180px;
    }
    
    .floating-card {
        padding: 0.4rem 0.65rem;
        font-size: 0.65rem;
        gap: 6px;
    }
    
    .card-icon {
        width: 14px;
        height: 14px;
    }
    
    .pos-netflix {
        left: -8%;
        top: 2%;
    }
    
    .pos-chatgpt {
        left: -15%;
        top: 40%;
    }
    
    .pos-youtube {
        left: -8%;
        bottom: 2%;
    }
    
    .pos-disney {
        right: -8%;
        top: -2%;
    }
    
    .pos-spotify {
        right: -15%;
        top: 35%;
    }
    
    .pos-capcut {
        right: -8%;
        bottom: 8%;
    }
    
    .hero-stats-container {
        margin-top: 3rem;
    }
    
    .stats-grid-redesign {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card-redesign {
        padding: 1rem 1.5rem;
    }
}

