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

:root {
    --bg-color: #0b1320; /* Deep navy matching the icon outlines */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #f5cb5c; /* Yellow hoodie */
    --primary-hover: #e5b340;
    --secondary: #8bd2c7; /* Mint background */
    --accent: #5da2d5; /* Blue pants/wires */
    --glass-bg: rgba(11, 19, 32, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-hover: rgba(255, 255, 255, 0.05);
    
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
    --bg-color: #f0f4f8;
    --text-main: #0b1320;
    --text-muted: #475569;
    --primary: #e5b340; /* Slightly darker for contrast */
    --primary-hover: #d4a030;
    --secondary: #61b3a6;
    --accent: #4a6893;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.1);
    --card-hover: rgba(0, 0, 0, 0.02);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    transition: background-color var(--transition-medium), color var(--transition-medium);
    overflow-x: hidden;
    line-height: 1.6;
}

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

ul {
    list-style: none;
}

/* Glassmorphism Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    background: linear-gradient(to right, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

h2 {
    font-size: 2.5rem;
}

p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-transform: none;
    transition: all var(--transition-medium);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #0b1320;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(245, 203, 92, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 203, 92, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: padding var(--transition-medium);
}

header.scrolled {
    padding: 0.5rem 0;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
}

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

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    position: relative;
    padding: 5px 0;
}

.logo-icon-container {
    position: relative;
    width: 56px;
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    animation: floatLogo 4s ease-in-out infinite;
}

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

.logo-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px dashed var(--secondary);
    opacity: 0.4;
    z-index: 1;
    animation: spinRing 12s linear infinite;
}

.logo-ring-2 {
    width: 125%;
    height: 125%;
    border: 2px dotted var(--accent);
    animation: spinRingReverse 18s linear infinite;
    opacity: 0.3;
}

@keyframes spinRing {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes spinRingReverse {
    to { transform: translate(-50%, -50%) rotate(-360deg); }
}

.logo-text-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--primary), var(--secondary), var(--accent), var(--primary));
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShine 5s linear infinite;
}

.logo-badge {
    background: rgba(245, 203, 92, 0.15);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px rgba(245, 203, 92, 0.2);
    animation: pulseBadge 2.5s infinite;
}

@keyframes pulseBadge {
    0% { box-shadow: 0 0 0 0 rgba(245, 203, 92, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(245, 203, 92, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 203, 92, 0); }
}

@keyframes gradientShine {
    to {
        background-position: -300% center;
    }
}

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

.nav-links a {
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--primary);
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background var(--transition-fast);
}

.theme-toggle:hover {
    background: var(--card-hover);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 130px; /* clearance for scroll indicator */
    position: relative;
    overflow: hidden;
}

.hero-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    opacity: 0.15;
    filter: blur(80px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: blobPulse 10s alternate infinite ease-in-out;
}

@keyframes blobPulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.15; filter: blur(80px); }
    50% { transform: translate(-45%, -55%) scale(1.1); opacity: 0.2; filter: blur(60px); }
    100% { transform: translate(-55%, -45%) scale(0.9); opacity: 0.1; filter: blur(100px); }
}

/* Premium Background Particles Blend Modes */
.premium-particles-global {
    mix-blend-mode: screen;
}

[data-theme="light"] .premium-particles-global {
    mix-blend-mode: multiply;
    filter: saturate(1.5);
}

/* Floating Elements (Legacy) */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 1;
}

.float-icon {
    position: absolute;
    color: var(--primary);
    opacity: 0.3;
    font-size: 1.5rem;
    animation: floatAnim 6s ease-in-out infinite alternate;
}

.f-icon-1 { top: 20%; left: 10%; animation-duration: 7s; }
.f-icon-2 { top: 70%; left: 15%; animation-duration: 5s; animation-delay: 1s; color: var(--secondary); }
.f-icon-3 { top: 30%; right: 15%; animation-duration: 8s; font-size: 2rem; color: var(--accent); }
.f-icon-4 { top: 80%; right: 20%; animation-duration: 6s; animation-delay: 2s; }
.f-icon-5 { top: 10%; right: 40%; animation-duration: 9s; opacity: 0.15; font-size: 2.5rem; }

.float-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.1;
    animation: floatAnim 10s ease-in-out infinite alternate;
}

.f-orb-1 {
    top: 20%; left: 20%; width: 200px; height: 200px; background: var(--secondary);
    animation-duration: 12s;
}

.f-orb-2 {
    bottom: 20%; right: 10%; width: 250px; height: 250px; background: var(--accent);
    animation-duration: 15s;
}

@keyframes floatAnim {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-30px) rotate(15deg); }
}
    z-index: -1;
    animation: blobBounce 10s infinite alternate ease-in-out;
}

@keyframes blobBounce {
    0% { transform: translate(-50%, -50%) scale(1); }
    100% { transform: translate(-50%, -60%) scale(1.1); }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Sections */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.product-card {
    border-radius: 1rem;
    overflow: hidden;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card::before {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    z-index: 10;
    transition: all 0.7s ease;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    background: var(--card-hover);
    border-color: var(--primary);
}

.product-card:hover::before {
    left: 200%;
}

[data-theme="light"] .product-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.product-img-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #fff; /* In case of contain */
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

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

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.product-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-desc {
    font-size: 0.875rem;
    flex: 1;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.price strike {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 0.5rem;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: #fbbf24;
}

/* Single Product Page */
.single-product {
    padding-top: 120px;
    min-height: calc(100vh - 100px);
}

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

.product-gallery {
    border-radius: 1rem;
    overflow: hidden;
}

.product-gallery img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 1rem;
}

.product-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: none;
    -webkit-text-fill-color: initial;
    color: var(--text-main);
}

.product-meta-large {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.product-actions {
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
}

/* Feature Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform var(--transition-fast);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* Footer */
footer {
    background: var(--glass-bg);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

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

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
}

/* ============================================
   HAMBURGER BUTTON
   ============================================ */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 8px;
    transition: all 0.3s ease;
    z-index: 1100;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

.hamburger:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.05);
}

.hamburger:hover .bar { background: #000; }

.hamburger .bar {
    width: 22px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform-origin: center;
}

.hamburger.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   OFF-CANVAS BACKDROP
   ============================================ */
.offcanvas-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1099;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.offcanvas-backdrop.visible {
    display: block;
}

.offcanvas-backdrop.active {
    opacity: 1;
}

/* ============================================
   OFF-CANVAS DRAWER
   ============================================ */
.offcanvas {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 85vw;
    height: 100%;
    background: var(--bg-color);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border-left: 1px solid var(--glass-border);
    overflow: hidden;
}

.offcanvas.open {
    transform: translateX(0);
}

/* Gradient top bar */
.offcanvas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    z-index: 1;
}

/* Decorative background orb */
.offcanvas::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.08;
    border-radius: 50%;
    pointer-events: none;
}

/* Offcanvas Header */
.offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid var(--glass-border);
}

.offcanvas-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.offcanvas-logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.offcanvas-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.25s ease;
}

.offcanvas-close:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: white;
    transform: rotate(90deg);
}

/* Offcanvas Nav Links */
.offcanvas-nav {
    flex: 1;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    overflow-y: auto;
}

.offcanvas-nav a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.1rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid transparent;
    opacity: 0;
    transform: translateX(20px);
}

.offcanvas.open .offcanvas-nav a {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered animation for each link */
.offcanvas.open .offcanvas-nav a:nth-child(1) { transition-delay: 0.08s; }
.offcanvas.open .offcanvas-nav a:nth-child(2) { transition-delay: 0.12s; }
.offcanvas.open .offcanvas-nav a:nth-child(3) { transition-delay: 0.16s; }
.offcanvas.open .offcanvas-nav a:nth-child(4) { transition-delay: 0.20s; }
.offcanvas.open .offcanvas-nav a:nth-child(5) { transition-delay: 0.26s; }
.offcanvas.open .offcanvas-nav a:nth-child(6) { transition-delay: 0.30s; }
.offcanvas.open .offcanvas-nav a:nth-child(7) { transition-delay: 0.34s; }
.offcanvas.open .offcanvas-nav a:nth-child(8) { transition-delay: 0.38s; }

.offcanvas-nav a .nav-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.offcanvas-nav a:hover {
    color: var(--text-main);
    background: var(--glass-bg);
    border-color: var(--glass-border);
    transform: translateX(4px);
}

.offcanvas-nav a:hover .nav-icon {
    background: var(--primary);
    border-color: var(--primary);
    color: #000;
}

.offcanvas-nav a.active {
    color: var(--primary);
    background: rgba(245, 203, 92, 0.08);
    border-color: rgba(245, 203, 92, 0.2);
}

.offcanvas-nav a.active .nav-icon {
    background: var(--primary);
    border-color: var(--primary);
    color: #000;
}

/* Offcanvas Divider */
.offcanvas-divider {
    height: 1px;
    background: var(--glass-border);
    margin: 0.5rem 0;
}

/* Offcanvas Footer */
.offcanvas-footer {
    padding: 1.5rem 1.75rem;
    border-top: 1px solid var(--glass-border);
}

.offcanvas-theme-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.offcanvas-theme-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.offcanvas-theme-btn {
    width: 44px;
    height: 24px;
    border-radius: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    padding: 3px;
}

.offcanvas-social {
    display: flex;
    gap: 0.75rem;
}

.offcanvas-social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

.offcanvas-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #000;
    transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE — TABLET (max 992px)
   ============================================ */
@media (max-width: 992px) {
    .product-layout {
        grid-template-columns: 1fr;
    }

    .hero-content h1 { font-size: 3rem; }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================ */
@media (max-width: 768px) {
    /* Typography */
    h1 { font-size: 2.4rem !important; line-height: 1.2; letter-spacing: -0.025em; }
    h2 { font-size: 1.9rem; letter-spacing: -0.02em; }
    h3 { font-size: 1.25rem; }

    /* Container padding */
    .container { padding: 0 1.25rem; }

    /* Header */
    header { padding: 0; }

    .nav-content {
        padding: 0.85rem 1.25rem;
        justify-content: space-between;
    }

    /* Show hamburger, hide desktop nav */
    .hamburger { display: flex; }
    .nav-links  { display: none; }

    /* Hero */
    .hero {
        min-height: 100svh;
        padding-top: 70px;
        padding-bottom: 140px; /* keep scroll indicator clear on mobile */
        text-align: center;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-btns .btn { width: 100%; max-width: 300px; justify-content: center; }

    /* Section padding */
    section { padding: 3rem 0; }

    /* Stats */
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

    /* Features */
    .features-grid { grid-template-columns: 1fr; gap: 1.5rem; }

    /* Products */
    .products-grid { grid-template-columns: 1fr; gap: 1.5rem; }

    /* Testimonials */
    .testimonials-track .testimonial-card { width: 280px; }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    /* Scroll indicator */
    .scroll-indicator-container { bottom: 24px; }

    /* Policy pages content */
    .policy-content { padding: 2rem 1.25rem; }
    .policy-content h2 { font-size: 1.4rem; }

    /* Product detail page */
    .product-layout { gap: 2rem; }
    .product-sidebar { position: static; }

    /* Contact form */
    .contact-grid { grid-template-columns: 1fr; }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE (max 480px)
   ============================================ */
@media (max-width: 480px) {
    h1 { font-size: 2rem !important; letter-spacing: -0.02em; }
    h2 { font-size: 1.65rem; }

    .logo-text  { font-size: 1.2rem; }
    .logo-badge { display: none; }

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

    .stat-card { padding: 1.5rem; }

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

    /* Section headings */
    section > .container > h2,
    section > .container > .section-header h2 {
        font-size: 1.6rem;
    }

    .testimonials-track .testimonial-card { width: 90vw; }

    /* Footer icons row */
    .footer-social { justify-content: flex-start; }
}


/* Raw HTML Description Styles */
.product-description {
    max-width: 800px;
    margin: 0 auto;
}
.product-description h2, .product-description h3, .product-description h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}
.product-description p {
    margin-bottom: 1rem;
}
.product-description ul, .product-description ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--text-muted);
}

/* Custom Cursor — desktop/mouse only */
@media (pointer: fine) {
    body, a, button, .product-card {
        cursor: none;
    }
}

.cursor-dot {
    position: fixed;
    top: 0; left: 0;
    width: 6px; height: 6px;
    background: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

.cursor-outline {
    position: fixed;
    top: 0; left: 0;
    width: 30px; height: 30px;
    border: 2px solid var(--secondary);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9998;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.cursor-hover {
    width: 50px;
    height: 50px;
    background-color: rgba(139, 210, 199, 0.2); /* Soft secondary tint */
    border-color: transparent;
}
.product-description ul {
    list-style-type: disc;
}
.product-description img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    height: auto;
    border-radius: 0.5rem;
    margin: 2rem auto;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Animations */
/* Animations */
.fade-up, .fade-in, .slide-in-left, .slide-in-right {
    opacity: 0;
    will-change: opacity, transform;
}

.fade-up { transform: translateY(40px); }
.slide-in-left { transform: translateX(-40px); }
.slide-in-right { transform: translateX(40px); }

.fade-up.visible { animation: fadeUpAnim 0.8s forwards cubic-bezier(0.2, 0.8, 0.2, 1); }
.fade-in.visible { animation: fadeInAnim 1s forwards ease-in-out; }
.slide-in-left.visible { animation: slideInLeftAnim 0.8s forwards cubic-bezier(0.2, 0.8, 0.2, 1); }
.slide-in-right.visible { animation: slideInRightAnim 0.8s forwards cubic-bezier(0.2, 0.8, 0.2, 1); }

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

@keyframes fadeUpAnim {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInAnim {
    to { opacity: 1; }
}
@keyframes slideInLeftAnim {
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRightAnim {
    to { opacity: 1; transform: translateX(0); }
}

/* Testimonials Carousel */
.testimonials-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.testimonials-carousel-wrapper::before,
.testimonials-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.testimonials-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-main), transparent);
}

.testimonials-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-main), transparent);
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll-carousel 30s linear infinite;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

.testimonials-track .testimonial-card {
    display: flex;
    flex-direction: column;
    width: 400px;
    flex-shrink: 0;
    white-space: normal;
    margin-bottom: 0;
    animation: none; /* Remove fadeUp for carousel items to prevent jumping */
    opacity: 1;
    transform: none;
    padding: 2.5rem;
    border-radius: 1rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonials-track .testimonial-card p {
    flex-grow: 1;
}

.testimonials-track .testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

@keyframes scroll-carousel {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 1rem));
    }
}

@media (max-width: 768px) {
    .testimonials-track .testimonial-card {
        width: 300px;
    }
}

/* Scroll Indicator */
.scroll-indicator-container {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 20;
    opacity: 0.8;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Fix fade-up transform override */
.scroll-indicator-container.fade-up {
    transform: translateX(-50%) translateY(30px) !important;
}

.scroll-indicator-container.fade-up.visible {
    transform: translateX(-50%) translateY(0) !important;
}

.scroll-indicator-container:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px) !important;
}

.scroll-mouse {
    width: 32px;
    height: 54px;
    border: 2px solid transparent;
    background-image: linear-gradient(var(--bg-color), var(--bg-color)), linear-gradient(135deg, var(--primary), var(--secondary));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.scroll-wheel {
    width: 4px;
    height: 10px;
    background: var(--accent);
    border-radius: 2px;
    animation: scrollWheel 2s ease-out infinite;
    box-shadow: 0 0 10px var(--accent);
}

.scroll-indicator-container::after {
    content: 'Scroll Down';
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulseText 2s infinite;
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; height: 10px; }
    40% { transform: translateY(12px); opacity: 1; height: 14px; }
    80% { transform: translateY(22px); opacity: 0; height: 4px; }
    100% { transform: translateY(0); opacity: 0; }
}

@keyframes pulseText {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}
