/* ==================== VARIABLES ==================== */
:root {
    --primary: #0ea5e9;
    --primary-light: #38bdf8;
    --primary-dark: #0284c7;
    --accent: #3b82f6;

    --bg-dark: #000000;
    --bg-card: rgba(10, 10, 15, 0.6);
    --bg-glass: rgba(255, 255, 255, 0.02);

    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --border: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.03);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 60px rgba(14, 165, 233, 0.3);
    --shadow-glow-strong: 0 0 100px rgba(14, 165, 233, 0.5);

    --blur: 20px;
    --radius: 16px;
    --radius-sm: 12px;
    --radius-lg: 24px;

    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ==================== RESET ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
}

input, select {
    font-family: inherit;
}

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

/* ==================== PARTICLES CANVAS ==================== */
#particlesCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
}

/* ==================== CONTAINER ==================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

/* ==================== HEADER ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.logo-img {
    height: 50px;
    width: 50px;
    object-fit: cover;
    border-radius: 50%;
    transition: var(--transition);
    filter: drop-shadow(0 0 20px rgba(14, 165, 233, 0.3));
}

.header.scrolled .logo-img {
    height: 40px;
    width: 40px;
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 8px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link {
    position: relative;
    padding: 12px 28px;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    overflow: hidden;
    border-radius: 12px;
}

.nav-link span {
    position: relative;
    z-index: 2;
}

.nav-link-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition);
    border-radius: 12px;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover .nav-link-bg {
    opacity: 0.15;
    transform: scale(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-btn,
.icon-btn {
    position: relative;
    width: 48px;
    height: 48px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 18px;
    transition: var(--transition);
}

.search-btn:hover,
.icon-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.2);
}

.badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

/* ==================== SEARCH OVERLAY ==================== */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-close {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 20px;
    transition: var(--transition);
}

.search-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.search-container {
    max-width: 800px;
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 30px 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.search-box i {
    font-size: 32px;
    color: var(--primary);
}

.search-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 32px;
    font-weight: 300;
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-results {
    max-height: 500px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 16px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    transform: translateX(8px);
}

.search-result-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    background: var(--bg-secondary);
}

.search-result-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(6, 182, 212, 0.1));
    border: 1px solid rgba(14, 165, 233, 0.3);
    font-size: 32px;
    color: var(--primary);
}

.search-result-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.search-result-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.search-result-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-result-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(14, 165, 233, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 165, 233, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 80% 50% at 50% 50%,
        rgba(14, 165, 233, 0.15),
        transparent 70%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 50px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-badge i {
    color: var(--primary);
    font-size: 16px;
}

.hero-badge span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(48px, 8vw, 120px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 32px;
    text-transform: uppercase;
}

.title-line {
    display: block;
    overflow: hidden;
}

.word {
    display: inline-block;
    margin: 0 0.15em;
    color: var(--text-primary);
    animation: slideUp 0.8s ease both;
}

.word:nth-child(1) { animation-delay: 0.4s; }
.word:nth-child(2) { animation-delay: 0.5s; }
.word:nth-child(3) { animation-delay: 0.6s; }
.word:nth-child(4) { animation-delay: 0.7s; }

.word-gradient {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    text-shadow: 0 0 80px rgba(14, 165, 233, 0.5);
}

.word-gradient::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: blur(40px);
    opacity: 0.6;
}

.hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 48px;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease 1s both;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 14px;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    opacity: 0;
    transition: var(--transition);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(14, 165, 233, 0.6);
}

.btn-primary span,
.btn-primary i {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary);
    transform: translateY(-4px);
}

.hero-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
    animation: fadeInUp 0.8s ease 1.2s both;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 40px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-logo-3d {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    animation: float3D 6s ease-in-out infinite;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.hero-logo-3d:hover {
    transform: translateY(-50%) scale(1.05);
}

.logo-3d {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 50%;
    filter: drop-shadow(0 20px 60px rgba(14, 165, 233, 0.4));
    border: 3px solid rgba(14, 165, 233, 0.2);
    transition: var(--transition-smooth);
}

.hero-logo-3d:hover .logo-3d {
    filter: drop-shadow(0 30px 80px rgba(14, 165, 233, 0.7)) brightness(1.1);
    border-color: rgba(14, 165, 233, 0.6);
    transform: rotate(5deg);
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.2), transparent 70%);
    filter: blur(60px);
    animation: pulse 4s ease-in-out infinite;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.hero-logo-3d:hover .logo-glow {
    background: radial-gradient(circle, rgba(14, 165, 233, 0.4), transparent 70%);
    transform: translate(-50%, -50%) scale(1.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInUp 0.8s ease 1.4s both;
}

.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--border);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scrollDown 2s ease infinite;
}

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

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(100px) rotate(5deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotate(0);
    }
}

@keyframes float3D {
    0%, 100% {
        transform: translateY(-50%) translateX(0) rotateY(0deg);
    }
    25% {
        transform: translateY(-55%) translateX(10px) rotateY(5deg);
    }
    50% {
        transform: translateY(-50%) translateX(0) rotateY(0deg);
    }
    75% {
        transform: translateY(-45%) translateX(-10px) rotateY(-5deg);
    }
}


@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes scrollDown {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    50% {
        opacity: 0;
        transform: translateY(8px);
    }
    100% {
        opacity: 0;
        transform: translateY(8px);
    }
}

/* ==================== PRODUCTS SECTION - NEW UNIQUE DESIGN ==================== */
.products-section {
    padding: 120px 0;
    position: relative;
    z-index: 10;
    background: var(--bg-dark);
}

.products-container-new {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Products Header */
.products-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
    gap: 40px;
    animation: fadeInUp 0.8s ease backwards;
}

.header-content {
    flex: 1;
}

.products-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur));
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 100px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.badge-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(59, 130, 246, 0.2));
    opacity: 0;
    transition: var(--transition);
}

.products-badge:hover .badge-glow {
    opacity: 1;
}

.products-badge i {
    font-size: 16px;
    color: var(--primary);
    position: relative;
    z-index: 1;
    animation: float3D 3s ease-in-out infinite;
}

.products-badge span {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    z-index: 1;
}

.products-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 16px;
}

.products-title .title-line {
    display: block;
}

.products-title .title-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.products-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 500px;
}

/* Sort Controls */
.sort-controls {
    display: flex;
    gap: 12px;
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px;
}

.sort-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    white-space: nowrap;
}

.sort-btn i {
    font-size: 14px;
    transition: var(--transition);
}

.sort-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 10px;
    opacity: 0;
    transition: var(--transition);
}

.sort-btn:hover {
    color: var(--text-primary);
}

.sort-btn:hover i {
    transform: rotate(-10deg) scale(1.1);
}

.sort-btn.active {
    color: white;
}

.sort-btn.active::before {
    opacity: 1;
}

.sort-btn span,
.sort-btn i {
    position: relative;
    z-index: 1;
}

/* Category Navigation */
.category-nav {
    display: flex;
    gap: 12px;
    margin-bottom: 64px;
    overflow-x: auto;
    padding: 8px 0;
    animation: fadeInUp 0.8s ease 0.2s backwards;
    scrollbar-width: none;
}

.category-nav::-webkit-scrollbar {
    display: none;
}

.category-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur));
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.pill-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0;
    transition: var(--transition);
}

.category-pill i {
    font-size: 18px;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.category-pill span {
    position: relative;
    z-index: 1;
}

.pill-count {
    min-width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.category-pill:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.category-pill:hover i {
    transform: rotate(-15deg) scale(1.1);
}

.category-pill.active {
    color: white;
    border-color: transparent;
}

.category-pill.active .pill-bg {
    opacity: 1;
}

.category-pill.active .pill-count {
    background: rgba(255, 255, 255, 0.2);
}

/* Products Bento Grid */
.products-bento {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

/* Product Card with 3D Tilt Effect */
.product-card {
    background: var(--bg-card);
    backdrop-filter: blur(var(--blur));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    perspective: 1000px;
    z-index: 1;
}

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

/* Gradient Border Effect */
.product-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--primary), var(--accent), var(--primary));
    background-size: 200% 200%;
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: opacity 0.5s;
    z-index: -1;
    animation: gradientShift 3s ease infinite;
}

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

.product-card:hover::before {
    opacity: 1;
}

/* Glow Effect on Hover */
.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
                rgba(14, 165, 233, 0.08) 0%,
                transparent 60%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 0;
}

.product-card:hover::after {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 80px rgba(14, 165, 233, 0.25);
    border-color: transparent;
}

/* Product Icon with Parallax */
.product-icon {
    font-size: 80px;
    margin-bottom: 32px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    filter: drop-shadow(0 10px 30px rgba(14, 165, 233, 0.2));
    will-change: transform;
}

.product-card:hover .product-icon {
    transform: scale(1.15) rotateY(10deg) rotateX(-5deg);
    filter: drop-shadow(0 20px 50px rgba(14, 165, 233, 0.4));
}

/* Product Category Tag */
.product-category {
    display: inline-block;
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(59, 130, 246, 0.15));
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-light);
    margin-bottom: 20px;
    transition: var(--transition);
}

.product-card:hover .product-category {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.3), rgba(59, 130, 246, 0.3));
    border-color: rgba(14, 165, 233, 0.5);
    color: var(--text-primary);
    transform: translateX(6px);
}

/* Product Name */
.product-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
    transition: var(--transition);
    line-height: 1.2;
}

.product-card:hover .product-name {
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(14, 165, 233, 0.5);
    transform: translateX(4px);
}

/* Product Description */
.product-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    transition: var(--transition);
}

.product-card:hover .product-description {
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Product Footer */
.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
    flex-wrap: wrap;
}

/* Product Price */
.product-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition);
    filter: drop-shadow(0 2px 8px rgba(14, 165, 233, 0.3));
    flex: 1 1 auto;
    min-width: 0;
    word-break: break-word;
}

.product-card:hover .product-price {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: var(--text-primary);
    background-clip: unset;
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(14, 165, 233, 0.6), 0 2px 10px rgba(0, 0, 0, 0.3);
    filter: drop-shadow(0 4px 16px rgba(14, 165, 233, 0.5));
}

/* Add to Cart Button */
.add-to-cart-btn {
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    border-radius: 14px;
    color: white !important;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.35);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    white-space: nowrap;
}

.add-to-cart-btn,
.add-to-cart-btn * {
    color: white !important;
}

.add-to-cart-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

.add-to-cart-btn:hover::before {
    opacity: 1;
}

.add-to-cart-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 36px rgba(14, 165, 233, 0.5);
    color: white !important;
}

.add-to-cart-btn:hover,
.add-to-cart-btn:hover *,
.add-to-cart-btn:hover span,
.add-to-cart-btn:hover i {
    color: white !important;
}

.product-card:hover .add-to-cart-btn,
.product-card:hover .add-to-cart-btn *,
.product-card:hover .add-to-cart-btn:hover,
.product-card:hover .add-to-cart-btn:hover * {
    color: white !important;
}

.add-to-cart-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.add-to-cart-btn i,
.add-to-cart-btn span,
.add-to-cart-btn {
    position: relative;
    z-index: 1;
    color: white !important;
}

.add-to-cart-btn i {
    font-size: 16px;
    transition: transform 0.4s;
    color: white;
}

.add-to-cart-btn:hover i {
    transform: rotate(-15deg) scale(1.1);
    color: white !important;
}

/* ==================== PAGINATION ==================== */
.pagination-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 60px;
    padding: 24px;
}

.pagination-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    transform: scale(1.05);
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-page {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.pagination-page:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.pagination-page.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-color: transparent;
    color: white;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
}

/* ==================== CART SIDEBAR ==================== */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 2000;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100vh;
    background: var(--bg-card);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border-left: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2001;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px;
    border-bottom: 1px solid var(--border);
}

.cart-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
}

.close-btn {
    width: 40px;
    height: 40px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 18px;
    transition: var(--transition);
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border-color: var(--primary);
    transform: rotate(90deg);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 32px;
}

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

.cart-body::-webkit-scrollbar-track {
    background: transparent;
}

.cart-body::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

.cart-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
    gap: 16px;
}

.empty-state i {
    font-size: 64px;
    opacity: 0.2;
}

.empty-state p {
    font-size: 16px;
    font-weight: 500;
}

.cart-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    transition: var(--transition);
}

.cart-item:hover {
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.04);
}

.cart-item-icon {
    font-size: 36px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.cart-item-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.cart-item-price {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.remove-item {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 8px;
    transition: var(--transition);
    font-size: 16px;
}

.remove-item:hover {
    color: #ef4444;
    transform: scale(1.2);
}

.cart-footer {
    padding: 32px;
    border-top: 1px solid var(--border);
}

.total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    font-size: 18px;
    font-weight: 600;
}

.total-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.checkout-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    font-size: 16px;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

.checkout-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.6);
}

.checkout-btn:active {
    transform: translateY(0);
}

/* ==================== MODAL ==================== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 32px;
}

.modal.active {
    display: flex;
}

.modal-box {
    width: 100%;
    max-width: 480px;
    background: var(--bg-card);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
    position: relative;
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.modal-box .close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
}

.modal-box h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 40px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group input {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.input-group input::placeholder {
    color: var(--text-muted);
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin-top: 32px;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.6);
}

.submit-btn:active {
    transform: translateY(0);
}

.toggle-text {
    text-align: center;
    margin-top: 32px;
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 500;
}

.toggle-text a {
    color: var(--primary);
    font-weight: 700;
    transition: var(--transition);
}

.toggle-text a:hover {
    color: var(--primary-light);
}

/* ==================== FOOTER ==================== */
.footer {
    margin-top: 120px;
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
    background: var(--bg-card);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    position: relative;
    z-index: 10;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    height: 50px;
    width: 50px;
    object-fit: cover;
    border-radius: 50%;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 500;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 8px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 48px;
    height: 48px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 20px;
    transition: var(--transition);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-4px);
}

.footer-copy {
    padding-top: 40px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-copy p {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
    .hero-logo-3d {
        display: none;
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: clamp(40px, 6vw, 80px);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    /* Make header more compact on mobile */
    .header {
        padding: 12px 0;
    }

    .header.scrolled {
        padding: 10px 0;
    }

    .nav {
        display: none;
    }

    /* Compact logo on mobile */
    .logo-img {
        height: 36px !important;
        width: 36px !important;
    }

    .logo-text {
        font-size: 22px !important;
    }

    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        background: rgba(14, 165, 233, 0.2) !important;
        border: 1px solid var(--primary) !important;
        border-radius: var(--radius-sm);
        color: var(--primary) !important;
        font-size: 18px;
        cursor: pointer;
        transition: var(--transition);
        z-index: 1001;
        position: relative;
        flex-shrink: 0;
        box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
    }

    .mobile-menu-btn:hover {
        background: rgba(14, 165, 233, 0.3) !important;
    }

    .mobile-menu-btn:active {
        transform: scale(0.95);
    }

    .header .container {
        justify-content: space-between;
        gap: 8px;
    }
    
    .header-actions {
        gap: 6px;
        flex-wrap: nowrap;
    }

    /* Compact icon buttons on mobile */
    .search-btn,
    .icon-btn {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    /* Compact currency selector on mobile */
    .currency-selector-nav {
        padding: 6px 10px !important;
        font-size: 12px !important;
        border-radius: 6px !important;
    }

    /* Compact badge on mobile */
    .badge {
        min-width: 18px;
        height: 18px;
        font-size: 10px;
        top: -4px;
        right: -4px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: clamp(32px, 10vw, 64px);
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        gap: 40px;
    }

    /* New Products Section Responsive */
    .products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .sort-controls {
        width: 100%;
        flex-wrap: wrap;
    }

    .sort-btn {
        flex: 1;
        min-width: max-content;
    }

    .category-nav {
        margin-bottom: 48px;
    }

    .products-bento {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card {
        padding: 32px;
    }

    .product-icon {
        font-size: 64px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-social {
        justify-content: center;
    }

    .search-box {
        padding: 24px 28px;
    }

    .search-box input {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 80px 0 40px;
    }

    .hero-content {
        padding: 0 16px;
    }

    .hero-title {
        font-size: clamp(24px, 10vw, 40px);
        margin-bottom: 16px;
    }

    .hero-description {
        font-size: 14px;
        margin-bottom: 32px;
    }

    .hero-cta {
        gap: 12px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 14px 24px;
        font-size: 14px;
    }

    .hero-stats {
        gap: 24px;
        margin-top: 40px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 12px;
    }

    /* Products Mobile */
    .products-container-new {
        padding: 0 16px;
    }

    .products-title {
        font-size: clamp(28px, 8vw, 40px);
        margin-bottom: 24px;
    }

    .products-header {
        gap: 20px;
    }

    .sort-controls {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .sort-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 14px;
    }

    .category-nav {
        margin-bottom: 32px;
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .category-pill {
        padding: 12px 20px;
        font-size: 13px;
        white-space: nowrap;
    }

    .products-bento {
        gap: 16px;
    }

    .product-card {
        padding: 20px;
    }

    .product-icon {
        font-size: 56px;
        margin-bottom: 16px;
    }

    .product-name {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .product-price {
        font-size: 24px;
    }

    .product-description {
        font-size: 13px;
    }

    .modal-box {
        padding: 24px 20px;
        max-width: 95%;
    }

    .cart-sidebar {
        width: 100%;
    }

    .cart-header,
    .cart-body,
    .cart-footer {
        padding: 20px;
    }

    .cart-item {
        padding: 16px;
        gap: 12px;
    }

    .cart-item-info {
        gap: 8px;
    }

    .cart-item-name {
        font-size: 14px;
    }

    .cart-item-price {
        font-size: 16px;
    }

    .search-box {
        padding: 20px 24px;
    }

    .search-box input {
        font-size: 20px;
    }
}

/* ==================== PRODUCT DETAIL PAGE ==================== */

/* Product Detail Section */
.product-detail-section {
    min-height: 100vh;
    padding: 140px 0 80px;
    position: relative;
    z-index: 1;
}

/* Back Button */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur));
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    margin-bottom: 48px;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateX(-4px);
}

.back-btn i {
    font-size: 14px;
    transition: var(--transition);
}

.back-btn:hover i {
    transform: translateX(-4px);
}

/* Product Detail Grid */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) backwards;
}

/* Left Side - Image */
.product-detail-left {
    position: sticky;
    top: 140px;
    height: fit-content;
}

.product-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 24px;
}

.product-icon-hero {
    position: relative;
    z-index: 2;
    animation: floatSlow 6s ease-in-out infinite;
}

.product-icon-hero i {
    font-size: clamp(120px, 15vw, 200px);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 10px 40px rgba(14, 165, 233, 0.4));
}

.product-glow-effect {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center,
        rgba(14, 165, 233, 0.15) 0%,
        transparent 70%
    );
    animation: pulse 3s ease-in-out infinite;
}

.product-category-badge {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: var(--radius-sm);
    margin-bottom: 32px;
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.3);
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur));
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.trust-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(14, 165, 233, 0.3);
    transform: translateX(8px);
}

.trust-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(59, 130, 246, 0.2));
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.trust-icon i {
    font-size: 24px;
    color: var(--primary);
}

.trust-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.trust-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.trust-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Right Side - Product Info */
.product-detail-right {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.product-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.product-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stars {
    display: flex;
    gap: 4px;
}

.stars i {
    font-size: 18px;
    color: #fbbf24;
}

.rating-text {
    font-size: 14px;
    color: var(--text-secondary);
}

.product-description {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Features List */
.product-features-list {
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}

.features-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.features-title i {
    font-size: 24px;
    color: var(--primary);
}

.features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style: none;
}

.features li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    color: var(--text-secondary);
    padding-left: 8px;
}

.features li i {
    font-size: 16px;
    color: var(--primary);
    flex-shrink: 0;
}

/* Purchase Section */
.purchase-section {
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.price-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-main {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.currency {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-secondary);
}

.price-amount {
    font-size: 64px;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.price-currency {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Quantity Section */
.quantity-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quantity-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.qty-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 16px;
    transition: var(--transition);
}

.qty-btn:hover {
    background: rgba(14, 165, 233, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    transform: scale(1.05);
}

.qty-btn:active {
    transform: scale(0.95);
}

#qtyInput {
    width: 80px;
    height: 48px;
    text-align: center;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    outline: none;
    transition: var(--transition);
}

#qtyInput:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

/* Total Container */
.total-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: rgba(14, 165, 233, 0.05);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: var(--radius-sm);
}

.total-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.total-amount {
    font-size: 32px;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--primary);
}

/* Action Buttons */
.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.btn-add-cart,
.btn-buy-now {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-add-cart {
    background: var(--bg-glass);
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-add-cart:hover {
    background: rgba(14, 165, 233, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.3);
}

.btn-buy-now {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: 2px solid transparent;
    color: white;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.3);
}

.btn-buy-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(14, 165, 233, 0.5);
}

.btn-buy-now::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    opacity: 0;
    transition: var(--transition);
}

.btn-buy-now:hover::before {
    opacity: 1;
}

.btn-add-cart span,
.btn-buy-now span,
.btn-add-cart i,
.btn-buy-now i {
    position: relative;
    z-index: 1;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.payment-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.payment-icons {
    display: flex;
    gap: 16px;
}

.payment-icons i {
    font-size: 32px;
    color: var(--text-secondary);
    transition: var(--transition);
    cursor: pointer;
}

.payment-icons i:hover {
    color: var(--primary);
    transform: translateY(-4px);
}

/* Additional Info */
.additional-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-secondary);
}

.info-item i {
    font-size: 16px;
    color: var(--primary);
    flex-shrink: 0;
}

/* Related Products */
.related-products {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.related-products .section-title {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 32px;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 48px;
}

.related-products .section-title i {
    font-size: 28px;
    color: var(--primary);
}

.no-related {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
    font-size: 16px;
}

/* Notification */
.notification {
    position: fixed;
    top: 100px;
    right: 40px;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 28px;
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur));
    border: 1px solid var(--primary);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.3);
    opacity: 0;
    transform: translateX(400px);
    transition: var(--transition);
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification i {
    font-size: 20px;
    color: var(--primary);
}

/* Responsive - Product Detail */
@media (max-width: 1200px) {
    .product-detail-grid {
        gap: 60px;
    }
}

@media (max-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .product-detail-left {
        position: relative;
        top: 0;
    }

    .action-buttons {
        grid-template-columns: 1fr;
    }

    .purchase-section {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .product-detail-section {
        padding: 120px 0 60px;
    }

    .back-btn {
        margin-bottom: 32px;
        padding: 12px 24px;
        font-size: 14px;
    }

    .product-icon-hero i {
        font-size: 100px;
    }

    .product-title {
        font-size: clamp(28px, 6vw, 40px);
    }

    .price-amount {
        font-size: clamp(36px, 8vw, 48px);
    }

    .currency {
        font-size: 24px;
    }

    .price-currency {
        font-size: 16px;
    }

    .purchase-section {
        padding: 24px;
        gap: 20px;
    }

    .product-features-list {
        padding: 20px;
    }

    .features-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .features li {
        font-size: 14px;
        padding-left: 6px;
    }

    .trust-indicators {
        gap: 12px;
    }

    .trust-item {
        padding: 14px;
    }

    .trust-icon {
        width: 40px;
        height: 40px;
    }

    .trust-icon i {
        font-size: 20px;
    }

    .trust-title {
        font-size: 14px;
    }

    .trust-desc {
        font-size: 12px;
    }

    .quantity-controls {
        gap: 12px;
    }

    .qty-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    #qtyInput {
        width: 70px;
        height: 40px;
        font-size: 16px;
    }

    .total-container {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .total-label {
        font-size: 14px;
    }

    .total-amount {
        font-size: 28px;
    }

    .notification {
        right: 20px;
        left: 20px;
        max-width: calc(100% - 40px);
        padding: 16px 20px;
        font-size: 14px;
    }

    .product-description {
        font-size: 15px;
    }

    .product-category-badge {
        padding: 10px 24px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .product-detail-section {
        padding: 100px 0 40px;
    }

    .back-btn {
        margin-bottom: 24px;
        padding: 10px 20px;
        font-size: 13px;
    }

    .product-icon-hero i {
        font-size: 80px;
    }

    .product-title {
        font-size: 24px;
    }

    .price-amount {
        font-size: 32px;
    }

    .currency {
        font-size: 20px;
    }

    .purchase-section {
        padding: 20px;
        gap: 16px;
    }

    .product-features-list {
        padding: 16px;
    }

    .features-title {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .features li {
        font-size: 13px;
        gap: 10px;
    }

    .trust-item {
        padding: 12px;
    }

    .trust-icon {
        width: 36px;
        height: 36px;
    }

    .trust-icon i {
        font-size: 18px;
    }

    .qty-btn {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    #qtyInput {
        width: 60px;
        height: 36px;
        font-size: 14px;
    }

    .total-amount {
        font-size: 24px;
    }

    .btn-add-cart,
    .btn-buy-now {
        padding: 14px 24px;
        font-size: 14px;
    }

    .product-category-badge {
        padding: 8px 20px;
        font-size: 11px;
    }
}

/* Force white text on add-to-cart button - Maximum specificity */
button.add-to-cart-btn,
button.add-to-cart-btn:hover,
button.add-to-cart-btn:focus,
button.add-to-cart-btn:active,
button.add-to-cart-btn *,
button.add-to-cart-btn:hover *,
button.add-to-cart-btn:focus *,
button.add-to-cart-btn:active * {
    color: white !important;
    -webkit-text-fill-color: white !important;
}

/* ==================== MOBILE MENU ==================== */

/* Mobile Menu Button - Hidden on desktop by default */
.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1001;
    position: relative;
    flex-shrink: 0;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

/* Mobile Menu Header */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.mobile-menu-header .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.mobile-menu-header .logo:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-close:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: #ef4444;
    color: #ef4444;
    transform: rotate(90deg);
}

/* Mobile Menu Content */
.mobile-menu-content {
    display: flex;
    flex-direction: column;
    padding: 24px 0;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.mobile-menu-link i {
    font-size: 20px;
    width: 24px;
    text-align: center;
    color: var(--primary);
}

.mobile-menu-link:hover,
.mobile-menu-link:active {
    background: rgba(14, 165, 233, 0.1);
    color: var(--text-primary);
    border-left-color: var(--primary);
    padding-left: 28px;
}

/* ==================== RECHARGE BALANCE MODAL - SIMPLIFIED ==================== */
#rechargeBalanceModal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#rechargeBalanceModal[style*="flex"] {
    display: flex !important;
}

#rechargeModalContent {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

#rechargeModalHeader {
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(14, 165, 233, 0.05);
}

#rechargeModalTitle {
    margin: 0;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

#rechargeModalTitle i {
    color: #0ea5e9;
    font-size: 26px;
}

#closeRechargeBalanceModal {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#closeRechargeBalanceModal:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #ef4444;
    transform: rotate(90deg);
}

#rechargeModalBody {
    padding: 32px;
}

#rechargeFormGroup {
    margin-bottom: 24px;
}

#rechargeLabel {
    display: block;
    margin-bottom: 10px;
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
}

#rechargeBalanceAmount {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

#rechargeBalanceAmount:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.07);
}

#rechargeBalanceAmount:focus {
    border-color: #0ea5e9;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

#rechargeMinAmount {
    display: block;
    margin-top: 8px;
    color: #94a3b8;
    font-size: 13px;
}

#rechargeQuickOptions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.rechargeQuickBtn {
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rechargeQuickBtn:hover {
    background: rgba(14, 165, 233, 0.15);
    border-color: #0ea5e9;
    color: #0ea5e9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

#rechargeModalFooter {
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    background: rgba(14, 165, 233, 0.03);
}

#cancelRechargeBalance {
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#cancelRechargeBalance:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

#confirmRechargeBalance {
    padding: 14px 32px;
    background: linear-gradient(135deg, #0ea5e9, #3b82f6);
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.4);
}

#confirmRechargeBalance:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5);
}

#confirmRechargeBalance i,
#confirmRechargeBalance span {
    position: relative;
    z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
    #rechargeModalContent {
        max-width: 100%;
        border-radius: 16px;
    }

    #rechargeModalHeader {
        padding: 20px;
    }

    #rechargeModalTitle {
        font-size: 20px;
    }

    #rechargeModalBody {
        padding: 24px;
    }

    #rechargeQuickOptions {
        grid-template-columns: 1fr;
    }

    #rechargeModalFooter {
        padding: 20px;
        flex-direction: column;
    }

    #cancelRechargeBalance,
    #confirmRechargeBalance {
        width: 100%;
        justify-content: center;
    }
}
