/* ============================================
   ZENTIQ EDGE - Main Stylesheet
   Pure CSS (No Tailwind CDN)
   ============================================ */

/* ============================================
   CSS CUSTOM PROPERTIES (Variables)
   ============================================ */
:root {
    /* Colors */
    --primary: #a9ed48;
    --primary-hover: #90d33d;
    --background-light: #f8fafc;
    --background-dark: #0f172a;
    --surface-light: #ffffff;
    --surface-dark: #1e293b;
    
    /* Text Colors */
    --text-light: #1e293b;
    --text-dark: #f1f5f9;
    --text-muted-light: #64748b;
    --text-muted-dark: #94a3b8;
    
    /* Border Colors */
    --border-light: #e2e8f0;
    --border-dark: #334155;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 20px rgba(169, 237, 72, 0.5);
    --shadow-glow-sm: 0 0 10px rgba(169, 237, 72, 0.3);
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;
    
    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;
    
    /* Line Heights */
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Z-Index */
    --z-dropdown: 10;
    --z-sticky: 20;
    --z-fixed: 30;
    --z-modal-backdrop: 40;
    --z-modal: 50;
    --z-popover: 60;
    --z-tooltip: 70;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    min-height: 100vh;
    overflow-x: hidden;
    transition: background-color var(--transition), color var(--transition);
}

/* Light Mode (Default) */
body {
    background-color: var(--background-light);
    color: var(--text-light);
}

/* Dark Mode */
html.dark body {
    background-color: var(--background-dark);
    color: var(--text-dark);
}

/* Selection */
::selection {
    background-color: var(--primary);
    color: #0f172a;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

html.dark ::-webkit-scrollbar-thumb {
    background: #475569;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    line-height: var(--leading-tight);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
    margin-bottom: var(--space-4);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary);
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.container-sm {
    max-width: 640px;
}

.container-md {
    max-width: 768px;
}

.container-lg {
    max-width: 1024px;
}

.container-xl {
    max-width: 1280px;
}

.container-2xl {
    max-width: 1536px;
}

/* Flexbox */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.flex-1 { flex: 1 1 0%; }
.flex-auto { flex: 1 1 auto; }
.flex-none { flex: none; }
.flex-grow { flex-grow: 1; }
.flex-shrink-0 { flex-shrink: 0; }

/* Flex Alignment */
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }

/* Grid */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

/* Gap */
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-5 { gap: var(--space-5); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }
.gap-10 { gap: var(--space-10); }
.gap-12 { gap: var(--space-12); }

/* ============================================
   SPACING UTILITIES
   ============================================ */
/* Margin */
.m-0 { margin: 0; }
.m-1 { margin: var(--space-1); }
.m-2 { margin: var(--space-2); }
.m-3 { margin: var(--space-3); }
.m-4 { margin: var(--space-4); }
.m-6 { margin: var(--space-6); }
.m-8 { margin: var(--space-8); }
.m-auto { margin: auto; }

.mx-auto { margin-left: auto; margin-right: auto; }
.my-4 { margin-top: var(--space-4); margin-bottom: var(--space-4); }
.my-6 { margin-top: var(--space-6); margin-bottom: var(--space-6); }
.my-8 { margin-top: var(--space-8); margin-bottom: var(--space-8); }

.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); }
.mt-12 { margin-top: var(--space-12); }
.mt-16 { margin-top: var(--space-16); }
.mt-20 { margin-top: var(--space-20); }

.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-10 { margin-bottom: var(--space-10); }
.mb-12 { margin-bottom: var(--space-12); }

.ml-1 { margin-left: var(--space-1); }
.ml-2 { margin-left: var(--space-2); }
.ml-4 { margin-left: var(--space-4); }
.ml-auto { margin-left: auto; }

.mr-1 { margin-right: var(--space-1); }
.mr-2 { margin-right: var(--space-2); }
.mr-4 { margin-right: var(--space-4); }
.mr-auto { margin-right: auto; }

/* Padding */
.p-0 { padding: 0; }
.p-1 { padding: var(--space-1); }
.p-2 { padding: var(--space-2); }
.p-3 { padding: var(--space-3); }
.p-4 { padding: var(--space-4); }
.p-5 { padding: var(--space-5); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }
.p-10 { padding: var(--space-10); }

.px-2 { padding-left: var(--space-2); padding-right: var(--space-2); }
.px-3 { padding-left: var(--space-3); padding-right: var(--space-3); }
.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }
.px-5 { padding-left: var(--space-5); padding-right: var(--space-5); }
.px-6 { padding-left: var(--space-6); padding-right: var(--space-6); }
.px-8 { padding-left: var(--space-8); padding-right: var(--space-8); }

.py-1 { padding-top: var(--space-1); padding-bottom: var(--space-1); }
.py-2 { padding-top: var(--space-2); padding-bottom: var(--space-2); }
.py-3 { padding-top: var(--space-3); padding-bottom: var(--space-3); }
.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.py-6 { padding-top: var(--space-6); padding-bottom: var(--space-6); }
.py-8 { padding-top: var(--space-8); padding-bottom: var(--space-8); }
.py-10 { padding-top: var(--space-10); padding-bottom: var(--space-10); }
.py-12 { padding-top: var(--space-12); padding-bottom: var(--space-12); }
.py-16 { padding-top: var(--space-16); padding-bottom: var(--space-16); }
.py-20 { padding-top: var(--space-20); padding-bottom: var(--space-20); }

.pt-4 { padding-top: var(--space-4); }
.pt-6 { padding-top: var(--space-6); }
.pt-8 { padding-top: var(--space-8); }
.pt-16 { padding-top: var(--space-16); }
.pt-20 { padding-top: var(--space-20); }
.pt-32 { padding-top: var(--space-32); }

.pb-4 { padding-bottom: var(--space-4); }
.pb-6 { padding-bottom: var(--space-6); }
.pb-8 { padding-bottom: var(--space-8); }
.pb-12 { padding-bottom: var(--space-12); }
.pb-20 { padding-bottom: var(--space-20); }
.pb-24 { padding-bottom: var(--space-24); }
.pb-32 { padding-bottom: var(--space-32); }

/* ============================================
   SIZING UTILITIES
   ============================================ */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-screen { width: 100vw; }
.w-min { width: min-content; }
.w-max { width: max-content; }
.w-fit { width: fit-content; }

.h-full { height: 100%; }
.h-auto { height: auto; }
.h-screen { height: 100vh; }
.h-min { height: min-content; }
.h-max { height: max-content; }
.h-fit { height: fit-content; }

.min-h-screen { min-height: 100vh; }
.max-w-full { max-width: 100%; }
.max-w-screen { max-width: 100vw; }
.max-w-sm { max-width: 640px; }
.max-w-md { max-width: 768px; }
.max-w-lg { max-width: 1024px; }
.max-w-xl { max-width: 1280px; }
.max-w-2xl { max-width: 1536px; }
.max-w-3xl { max-width: 1792px; }
.max-w-4xl { max-width: 2048px; }
.max-w-7xl { max-width: 1400px; }

/* ============================================
   POSITIONING
   ============================================ */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.static { position: static; }

.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }

.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.z-60 { z-index: 60; }
.z-70 { z-index: 70; }
.z-80 { z-index: 80; }

/* ============================================
   DISPLAY UTILITIES
   ============================================ */
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.hidden { display: none; }

.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-y-auto { overflow-y: auto; }
.overflow-x-auto { overflow-x: auto; }
.overflow-x-hidden { overflow-x: hidden; }

/* ============================================
   TEXT UTILITIES
   ============================================ */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-4xl { font-size: var(--text-4xl); }
.text-5xl { font-size: var(--text-5xl); }
.text-6xl { font-size: var(--text-6xl); }
.text-7xl { font-size: var(--text-7xl); }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }

.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-normal { letter-spacing: 0; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }

.leading-tight { line-height: var(--leading-tight); }
.leading-snug { line-height: var(--leading-snug); }
.leading-normal { line-height: var(--leading-normal); }
.leading-relaxed { line-height: var(--leading-relaxed); }

.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Text Colors */
.text-primary { color: var(--primary); }
.text-white { color: #ffffff; }
.text-black { color: #000000; }

.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-slate-700 { color: #334155; }
.text-slate-800 { color: #1e293b; }
.text-slate-900 { color: #0f172a; }

html.dark .dark\:text-white { color: #ffffff; }
html.dark .dark\:text-slate-100 { color: #f1f5f9; }
html.dark .dark\:text-slate-200 { color: #e2e8f0; }
html.dark .dark\:text-slate-300 { color: #cbd5e1; }
html.dark .dark\:text-slate-400 { color: #94a3b8; }

/* ============================================
   BACKGROUND UTILITIES
   ============================================ */
.bg-primary { background-color: var(--primary); }
.bg-white { background-color: #ffffff; }
.bg-black { background-color: #000000; }
.bg-transparent { background-color: transparent; }

.bg-slate-50 { background-color: #f8fafc; }
.bg-slate-100 { background-color: #f1f5f9; }
.bg-slate-200 { background-color: #e2e8f0; }
.bg-slate-800 { background-color: #1e293b; }
.bg-slate-900 { background-color: #0f172a; }

html.dark .dark\:bg-slate-800 { background-color: #1e293b; }
html.dark .dark\:bg-slate-900 { background-color: #0f172a; }

.bg-background-light { background-color: var(--background-light); }
.bg-background-dark { background-color: var(--background-dark); }
.bg-surface-light { background-color: var(--surface-light); }
.bg-surface-dark { background-color: var(--surface-dark); }

html.dark .dark\:bg-background-dark { background-color: var(--background-dark); }
html.dark .dark\:bg-surface-dark { background-color: var(--surface-dark); }

/* Gradient Backgrounds */
.gradient-bg {
    background: radial-gradient(circle at top right, rgba(169, 237, 72, 0.15), transparent 40%),
                radial-gradient(circle at bottom left, rgba(169, 237, 72, 0.1), transparent 40%);
}

.gradient-text {
    background: linear-gradient(to right, var(--primary), #4ade80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   BORDER UTILITIES
   ============================================ */
.border { border: 1px solid var(--border-light); }
.border-0 { border: 0; }
.border-2 { border-width: 2px; }
.border-t { border-top: 1px solid var(--border-light); }
.border-b { border-bottom: 1px solid var(--border-light); }
.border-l { border-left: 1px solid var(--border-light); }
.border-r { border-right: 1px solid var(--border-light); }

.border-slate-100 { border-color: #f1f5f9; }
.border-slate-200 { border-color: #e2e8f0; }
.border-slate-300 { border-color: #cbd5e1; }
.border-slate-700 { border-color: #334155; }
.border-slate-800 { border-color: #1e293b; }
.border-primary { border-color: var(--primary); }

html.dark .dark\:border-slate-700 { border-color: #334155; }
html.dark .dark\:border-slate-800 { border-color: #1e293b; }

.rounded { border-radius: var(--radius); }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-3xl { border-radius: 2rem; }
.rounded-full { border-radius: var(--radius-full); }

/* ============================================
   SHADOW UTILITIES
   ============================================ */
.shadow { box-shadow: var(--shadow); }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-2xl { box-shadow: var(--shadow-2xl); }
.shadow-none { box-shadow: none; }
.shadow-glow { box-shadow: var(--shadow-glow); }
.shadow-glow-sm { box-shadow: var(--shadow-glow-sm); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background-color: var(--primary);
    color: #0f172a;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--border-light);
    color: inherit;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-dark {
    background-color: #0f172a;
    color: #ffffff;
}

html.dark .btn-dark {
    background-color: #ffffff;
    color: #0f172a;
}

.btn-dark:hover {
    opacity: 0.9;
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
}

.btn-full {
    width: 100%;
}

/* ============================================
   FORM ELEMENTS
   ============================================ */
input, textarea, select {
    font-family: inherit;
    font-size: var(--text-sm);
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    background-color: #ffffff;
    color: var(--text-light);
    transition: all var(--transition);
    width: 100%;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(169, 237, 72, 0.2);
}

html.dark input,
html.dark textarea,
html.dark select {
    background-color: var(--surface-dark);
    border-color: var(--border-dark);
    color: var(--text-dark);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted-light);
}

html.dark input::placeholder,
html.dark textarea::placeholder {
    color: var(--text-muted-dark);
}

/* Custom Select */
select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    height: 80px;
    transition: all var(--transition);
}

.navbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    cursor: pointer;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text .brand {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: var(--text-xl);
    letter-spacing: 0.05em;
    color: var(--text-light);
}

html.dark .logo-text .brand {
    color: #ffffff;
}

.logo-text .tagline {
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    letter-spacing: 0.4em;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-muted-light);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.nav-icon-btn {
    padding: var(--space-2);
    border-radius: var(--radius-full);
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-muted-light);
    transition: all var(--transition);
    position: relative;
}

.nav-icon-btn:hover {
    background-color: var(--surface-dark);
    color: var(--primary);
}

html.dark .nav-icon-btn:hover {
    background-color: var(--surface-dark);
}

.nav-icon-btn .material-icons {
    font-size: 24px;
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary);
    color: #0f172a;
    font-size: 10px;
    font-weight: 700;
    height: 16px;
    width: 16px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    padding: var(--space-2);
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-muted-light);
}

/* Glass Effect */
.glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

html.dark .glass {
    background: rgba(15, 23, 42, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-xl);
    max-height: 85vh;
    overflow-y: auto;
    z-index: 40;
}

html.dark .mobile-menu {
    background: var(--surface-dark);
    border-bottom-color: var(--border-dark);
}

.mobile-menu.open {
    display: block;
}

.mobile-menu-inner {
    padding: var(--space-6) var(--space-4);
}

.mobile-nav-link {
    display: block;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--text-light);
    border-radius: var(--radius-xl);
    transition: all var(--transition);
}

html.dark .mobile-nav-link {
    color: var(--text-dark);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background-color: var(--surface-dark);
    color: var(--primary);
}

html.dark .mobile-nav-link:hover,
html.dark .mobile-nav-link.active {
    background-color: rgba(169, 237, 72, 0.1);
}

/* Mobile Submenu */
.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
}

.mobile-submenu.open {
    max-height: 500px;
}

.mobile-submenu-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-base);
    font-weight: 700;
    background: var(--surface-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition);
}

html.dark .mobile-submenu-btn {
    background: rgba(15, 23, 42, 0.5);
    border-color: var(--border-dark);
    color: var(--text-dark);
}

.mobile-submenu-btn .rotate-icon {
    transition: transform var(--transition);
}

.mobile-submenu-btn.open .rotate-icon {
    transform: rotate(180deg);
}

/* ============================================
   CART SIDEBAR
   ============================================ */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 60;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.cart-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    max-width: 450px;
    background: #ffffff;
    z-index: 70;
    box-shadow: var(--shadow-2xl);
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border-light);
    transform: translateX(100%);
    transition: transform var(--transition);
}

html.dark .cart-sidebar {
    background: var(--surface-dark);
    border-left-color: var(--border-dark);
}

.cart-sidebar.open {
    transform: translateX(0);
}

.cart-header {
    padding: var(--space-5);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--surface-light);
}

html.dark .cart-header {
    background: rgba(15, 23, 42, 0.5);
    border-bottom-color: var(--border-dark);
}

.cart-header h2 {
    font-size: var(--text-xl);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.cart-close-btn {
    padding: var(--space-2);
    border-radius: var(--radius-full);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.cart-close-btn:hover {
    background: var(--surface-dark);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-5);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.cart-item {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-3);
    background: var(--surface-light);
    border-radius: var(--radius-xl);
}

html.dark .cart-item {
    background: var(--surface-dark);
}

.cart-item-image {
    width: 64px;
    height: 64px;
    background: #ffffff;
    border-radius: var(--radius);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

html.dark .cart-item-image {
    background: var(--surface-dark);
}

.cart-item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-weight: 700;
    font-size: var(--text-sm);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    font-size: var(--text-xs);
    color: var(--text-muted-light);
}

.cart-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-2);
}

.qty-control {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    height: 28px;
}

html.dark .qty-control {
    background: var(--surface-dark);
    border-color: var(--border-dark);
}

.qty-btn {
    width: 28px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-muted-light);
    transition: color var(--transition);
}

.qty-btn:hover {
    color: var(--primary);
}

.qty-btn.remove:hover {
    color: #ef4444;
}

.qty-value {
    width: 24px;
    text-align: center;
    font-size: var(--text-xs);
    font-weight: 700;
}

.cart-item-total {
    font-weight: 700;
    font-size: var(--text-sm);
    color: var(--primary);
}

.cart-item-remove {
    padding: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-muted-light);
    transition: color var(--transition);
}

.cart-item-remove:hover {
    color: #ef4444;
}

.cart-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-5);
    border-top: 1px solid var(--border-light);
    background: #ffffff;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
}

html.dark .cart-footer {
    background: var(--surface-dark);
    border-top-color: var(--border-dark);
}

.cart-totals {
    margin-bottom: var(--space-4);
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    font-size: var(--text-sm);
    color: var(--text-muted-light);
    margin-bottom: var(--space-2);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: var(--text-lg);
    font-weight: 700;
}

.cart-total .amount {
    color: var(--primary);
    font-family: 'Orbitron', sans-serif;
}

.checkout-btn {
    width: 100%;
    padding: var(--space-3);
    background: var(--primary);
    color: #0f172a;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition);
}

.checkout-btn:hover {
    background: var(--primary-hover);
    box-shadow: var(--shadow-glow);
}

/* Empty Cart */
.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 160px;
    color: var(--text-muted-light);
    gap: var(--space-2);
}

.cart-empty .material-icons {
    font-size: 48px;
    opacity: 0.2;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    padding-top: 128px;
    padding-bottom: 80px;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.hero-bg-glow.primary {
    top: 25%;
    right: -80px;
    width: 384px;
    height: 384px;
    background: var(--primary);
    opacity: 0.2;
}

.hero-bg-glow.blue {
    bottom: 0;
    left: -80px;
    width: 288px;
    height: 288px;
    background: #60a5fa;
    opacity: 0.1;
}

html.dark .hero-bg-glow.blue {
    opacity: 0.2;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: linear-gradient(to right, #ef4444, #ec4899);
    color: #ffffff;
    padding: var(--space-2) var(--space-6);
    border-radius: var(--radius-full);
    font-weight: 700;
    box-shadow: var(--shadow-lg), 0 10px 30px rgba(239, 68, 68, 0.3);
    margin-bottom: var(--space-8);
    transition: all var(--transition);
}

.hero-badge:hover {
    transform: translateY(-4px);
}

.hero-badge .material-icons {
    font-size: var(--text-sm);
}

.hero-badge .pulse {
    animation: pulse 2s infinite;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: center;
}

.hero-text {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-8);
}

html.dark .hero-label {
    background: rgba(30, 41, 59, 0.6);
    border-color: var(--border-dark);
}

.hero-label .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse 2s infinite;
}

.hero-label span {
    font-size: var(--text-sm);
    font-weight: 500;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-8);
}

.hero-title .highlight {
    background: linear-gradient(to right, var(--primary), #4ade80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: var(--text-lg);
    color: var(--text-muted-light);
    max-width: 500px;
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-8);
}

html.dark .hero-description {
    color: var(--text-muted-dark);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.hero-stats {
    display: flex;
    gap: var(--space-8);
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-light);
}

html.dark .hero-stats {
    border-top-color: var(--border-dark);
}

.hero-stat {
    text-align: left;
}

.hero-stat .value {
    font-size: var(--text-3xl);
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
}

.hero-stat .label {
    font-size: var(--text-sm);
    color: var(--text-muted-light);
}

html.dark .hero-stat .label {
    color: var(--text-muted-dark);
}

.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.hero-image-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top right, var(--surface-light), #ffffff);
    border-radius: 50%;
    opacity: 0.5;
    transform: scale(0.9);
}

html.dark .hero-image-bg {
    background: linear-gradient(to top right, var(--surface-dark), var(--background-dark));
}

.hero-image-ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(169, 237, 72, 0.2);
    border-radius: 50%;
    animation: spin 10s linear infinite;
}

.hero-image-ring-outer {
    position: absolute;
    inset: 0;
    border: 1px solid var(--border-light);
    border-radius: 50%;
    transform: scale(1.05);
    animation: spin 15s linear infinite reverse;
}

html.dark .hero-image-ring-outer {
    border-color: var(--border-dark);
}

.hero-image img {
    position: relative;
    z-index: 10;
    max-width: 400px;
    width: 100%;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.25));
    transform: rotate(12deg);
    transition: transform var(--transition);
}

.hero-image img:hover {
    transform: rotate(6deg) scale(1.05);
}

.hero-float-card {
    position: absolute;
    background: #ffffff;
    padding: var(--space-3);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(8px);
}

html.dark .hero-float-card {
    background: var(--surface-dark);
    border-color: var(--border-dark);
}

.hero-float-card.top-right {
    top: 0;
    right: 10%;
    animation: bounce 3s infinite;
}

.hero-float-card.bottom-left {
    bottom: 40px;
    left: 0;
    animation: pulse 2s infinite;
}

.hero-float-card .icon-wrap {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.hero-float-card .icon {
    background: rgba(169, 237, 72, 0.2);
    padding: var(--space-2);
    border-radius: var(--radius);
    color: #22c55e;
}

.hero-float-card .text .title {
    font-size: var(--text-xs);
    font-weight: 600;
}

.hero-float-card .text .subtitle {
    font-size: 10px;
    color: var(--text-muted-light);
}

/* ============================================
   CATEGORIES SECTION
   ============================================ */
.categories-section {
    padding: var(--space-20) 0;
    background: #ffffff;
}

html.dark .categories-section {
    background: var(--surface-dark);
}

.categories-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--space-12);
}

.categories-title {
    font-size: clamp(1.875rem, 3vw, 2.5rem);
    margin-bottom: var(--space-2);
}

.categories-title .highlight {
    color: var(--primary);
}

.categories-subtitle {
    color: var(--text-muted-light);
}

html.dark .categories-subtitle {
    color: var(--text-muted-dark);
}

.view-all-link {
    display: flex;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
    transition: all var(--transition);
}

.view-all-link:hover {
    gap: var(--space-2);
}

.view-all-link .material-icons {
    margin-left: var(--space-1);
    transition: transform var(--transition);
}

.view-all-link:hover .material-icons {
    transform: translateX(4px);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-6);
}

.category-card {
    position: relative;
    background: var(--background-light);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: all var(--transition);
}

html.dark .category-card {
    background: var(--background-dark);
    border-color: var(--border-dark);
}

.category-card:hover {
    box-shadow: var(--shadow-xl);
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary);
    opacity: 0;
    transition: opacity var(--transition);
}

.category-card:hover::before {
    opacity: 0.05;
}

.category-card-inner {
    padding: var(--space-6);
    height: 256px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}

.category-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.category-icon {
    font-size: 40px;
    color: var(--text-muted-light);
    transition: color var(--transition);
}

.category-card:hover .category-icon {
    color: var(--primary);
}

.category-count {
    background: #ffffff;
    border-radius: var(--radius-full);
    padding: var(--space-1) var(--space-2);
    font-size: var(--text-xs);
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

html.dark .category-count {
    background: var(--surface-dark);
}

.category-card-footer {
    transition: transform var(--transition);
}

.category-card:hover .category-card-footer {
    transform: translateX(4px);
}

.category-card-footer h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-1);
}

.category-card-footer p {
    font-size: var(--text-sm);
    color: var(--text-muted-light);
    margin: 0;
}

html.dark .category-card-footer p {
    color: var(--text-muted-dark);
}

.category-card-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 0;
    background: var(--primary);
    transition: width var(--transition-slow);
}

.category-card:hover .category-card-bar {
    width: 100%;
}

.category-card-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 128px;
    height: 128px;
    object-fit: cover;
    opacity: 0.1;
    border-radius: 0 0 0 48px;
    transform: translate(16px, -16px);
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products-section {
    padding: var(--space-20) 0;
}

.products-title {
    font-size: clamp(1.875rem, 3vw, 2.5rem);
    text-align: center;
    margin-bottom: var(--space-12);
}

.products-title .highlight {
    color: var(--primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-8);
}

.product-card {
    background: #ffffff;
    border-radius: var(--radius-2xl);
    padding: var(--space-4);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
}

html.dark .product-card {
    background: var(--surface-dark);
    border-color: var(--border-dark);
}

.product-card:hover {
    box-shadow: var(--shadow-glow-sm);
}

.product-image-wrap {
    position: relative;
    background: var(--surface-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: var(--space-4);
    height: 256px;
    display: flex;
    align-items: center;
    justify-content: center;
}

html.dark .product-image-wrap {
    background: var(--surface-dark);
}

.product-image {
    max-height: 160px;
    object-fit: contain;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-quick-view {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: var(--text-xs);
    font-weight: 700;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transition: all var(--transition);
    white-space: nowrap;
    border: none;
    cursor: pointer;
    z-index: 10;
}

html.dark .product-quick-view {
    background: rgba(255, 255, 255, 0.1);
}

.product-card:hover .product-quick-view {
    opacity: 1;
}

.product-quick-view:hover {
    background: var(--primary);
    color: #0f172a;
}

.product-favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ffffff;
    padding: var(--space-2);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

html.dark .product-favorite {
    background: var(--surface-dark);
}

.product-favorite:hover {
    background: var(--primary);
    color: #ffffff;
}

.product-favorite.active {
    color: #ef4444;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ef4444;
    color: #ffffff;
    font-size: var(--text-xs);
    font-weight: 700;
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius);
}

.product-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    flex: 1;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.product-name {
    font-size: var(--text-lg);
    font-weight: 700;
}

.product-price {
    color: var(--primary);
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
}

.product-description {
    font-size: var(--text-sm);
    color: var(--text-muted-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

html.dark .product-description {
    color: var(--text-muted-dark);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: var(--space-1);
}

.product-rating .material-icons {
    font-size: var(--text-sm);
    color: var(--primary);
}

.product-rating .material-icons.empty {
    color: #cbd5e1;
}

html.dark .product-rating .material-icons.empty {
    color: #475569;
}

.product-rating .count {
    font-size: var(--text-xs);
    color: var(--text-muted-light);
    margin-left: var(--space-1);
}

html.dark .product-rating .count {
    color: var(--text-muted-dark);
}

.product-actions {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-2);
    margin-top: auto;
    padding-top: var(--space-4);
}

.product-actions .cart-btn {
    grid-column: span 4;
    padding: var(--space-3);
    background: #0f172a;
    color: #ffffff;
    font-weight: 700;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    transition: opacity var(--transition);
}

html.dark .product-actions .cart-btn {
    background: #ffffff;
    color: #0f172a;
}

.product-actions .cart-btn:hover {
    opacity: 0.9;
}

.product-actions .wa-btn {
    grid-column: span 1;
    padding: var(--space-3);
    border: 2px solid #22c55e;
    color: #22c55e;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.product-actions .wa-btn:hover {
    background: #22c55e;
    color: #ffffff;
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.newsletter-section {
    padding: var(--space-20) 0;
    position: relative;
    overflow: hidden;
}

.newsletter-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.newsletter-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: var(--space-6);
}

.newsletter-title .highlight {
    color: var(--primary);
}

.newsletter-description {
    color: var(--text-muted-light);
    max-width: 500px;
    margin: 0 auto var(--space-8);
}

html.dark .newsletter-description {
    color: var(--text-muted-dark);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    background: #ffffff;
    flex: 1;
}

html.dark .newsletter-input {
    background: var(--surface-dark);
    border-color: var(--border-dark);
}

.newsletter-btn {
    padding: var(--space-4) var(--space-8);
    background: var(--primary);
    color: #0f172a;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition);
}

.newsletter-btn:hover {
    box-shadow: var(--shadow-glow);
}

.newsletter-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(169, 237, 72, 0.05), transparent);
    pointer-events: none;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #0f172a;
    color: #ffffff;
    padding-top: var(--space-16);
    padding-bottom: var(--space-8);
}

html.dark .footer {
    background: #000000;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer-brand {
    margin-bottom: var(--space-4);
}

.footer-brand .logo {
    margin-bottom: var(--space-4);
}

.footer-description {
    color: #94a3b8;
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
}

.footer-column h4 {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-6);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-3);
}

.footer-links a {
    font-size: var(--text-sm);
    color: #94a3b8;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--surface-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted-light);
    transition: all var(--transition);
}

html.dark .social-link {
    background: var(--surface-dark);
}

.social-link:hover {
    background: var(--primary);
    color: #0f172a;
    transform: translateY(-4px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    align-items: center;
}

.footer-copyright {
    color: #64748b;
    font-size: var(--text-sm);
}

.footer-legal {
    display: flex;
    gap: var(--space-6);
}

.footer-legal a {
    color: #64748b;
    font-size: var(--text-sm);
    transition: color var(--transition);
}

.footer-legal a:hover {
    color: var(--primary);
}

/* ============================================
   QUICK VIEW MODAL
   ============================================ */
.qv-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 80;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.qv-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.qv-panel {
    background: #ffffff;
    width: 100%;
    max-width: 900px;
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    max-height: 92vh;
    overflow: hidden;
    transform: translateY(40px) scale(0.97);
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.qv-overlay.open .qv-panel {
    transform: translateY(0) scale(1);
    opacity: 1;
}

html.dark .qv-panel {
    background: var(--surface-dark);
    border-color: var(--border-dark);
}

.qv-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--border-light);
    flex-shrink: 0;
}

html.dark .qv-header {
    border-bottom-color: var(--border-dark);
}

.qv-header .label {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.qv-header h2 {
    font-size: var(--text-lg);
}

.qv-close {
    padding: var(--space-2);
    border-radius: var(--radius-full);
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-muted-light);
    transition: all var(--transition);
}

.qv-close:hover {
    background: var(--surface-light);
}

html.dark .qv-close:hover {
    background: var(--surface-dark);
}

.qv-body {
    flex: 1;
    overflow-y: auto;
}

.qv-content {
    display: flex;
    flex-direction: column;
}

.qv-gallery {
    padding: var(--space-5);
    background: var(--surface-light);
    flex-shrink: 0;
}

html.dark .qv-gallery {
    background: rgba(30, 41, 59, 0.5);
}

.qv-main-image {
    aspect-ratio: 4/3;
    background: #ffffff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-6);
    position: relative;
}

html.dark .qv-main-image {
    background: var(--surface-dark);
    border-color: var(--border-dark);
}

.qv-main-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform var(--transition-slow);
}

.qv-main-image:hover img {
    transform: scale(1.05);
}

.qv-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: #0f172a;
    font-size: var(--text-xs);
    font-weight: 700;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow);
}

.qv-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-2);
    margin-top: var(--space-3);
}

.qv-thumb {
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border-light);
    padding: 4px;
    cursor: pointer;
    transition: all var(--transition);
}

html.dark .qv-thumb {
    background: var(--surface-dark);
    border-color: var(--border-dark);
}

.qv-thumb:hover,
.qv-thumb.active {
    border-color: var(--primary);
}

.qv-thumb.active {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.qv-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qv-info {
    padding: var(--space-5);
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.qv-subtitle {
    font-size: var(--text-sm);
    color: var(--text-muted-light);
    margin-bottom: var(--space-3);
}

html.dark .qv-subtitle {
    color: var(--text-muted-dark);
}

.qv-rating {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.qv-stars {
    display: flex;
    color: var(--primary);
}

.qv-stars .material-icons {
    font-size: var(--text-sm);
}

.qv-review-count {
    font-size: var(--text-xs);
    color: var(--text-muted-light);
}

.qv-price-row {
    display: flex;
    align-items: flex-end;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-5);
    border-bottom: 1px solid var(--border-light);
}

html.dark .qv-price-row {
    border-bottom-color: var(--border-dark);
}

.qv-price {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--primary);
    font-family: 'Orbitron', sans-serif;
}

.qv-old-price {
    font-size: var(--text-sm);
    color: var(--text-muted-light);
    text-decoration: line-through;
    margin-bottom: 2px;
}

.qv-save {
    font-size: var(--text-xs);
    font-weight: 600;
    color: #16a34a;
    background: rgba(34, 197, 94, 0.1);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius);
    margin-bottom: 4px;
}

html.dark .qv-save {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.qv-colors {
    margin-bottom: var(--space-4);
}

.qv-colors .label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-2);
}

.qv-color-options {
    display: flex;
    gap: var(--space-2);
}

.qv-color-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    border: 2px solid #ffffff;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform var(--transition);
}

html.dark .qv-color-btn {
    border-color: var(--surface-dark);
}

.qv-color-btn:hover {
    transform: scale(1.15);
}

.qv-color-btn.active {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.qv-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2);
    margin-bottom: var(--space-5);
}

.qv-spec {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: var(--surface-light);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
}

html.dark .qv-spec {
    background: var(--surface-dark);
    border-color: var(--border-dark);
}

.qv-spec-icon {
    padding: 6px;
    background: #ffffff;
    border-radius: var(--radius);
}

html.dark .qv-spec-icon {
    background: var(--surface-dark);
}

.qv-spec-icon .material-icons {
    font-size: 16px;
    color: var(--primary);
}

.qv-spec-text .label {
    font-size: 10px;
    color: var(--text-muted-light);
}

html.dark .qv-spec-text .label {
    color: var(--text-muted-dark);
}

.qv-spec-text .value {
    font-size: var(--text-xs);
    font-weight: 600;
}

.qv-tabs {
    border-bottom: 1px solid var(--border-light);
    margin: 0 calc(var(--space-5) * -1) var(--space-4);
    padding: 0 var(--space-5);
    margin-left: calc(var(--space-5) * -1);
    margin-right: calc(var(--space-5) * -1);
    padding-left: var(--space-5);
    padding-right: var(--space-5);
}

html.dark .qv-tabs {
    border-bottom-color: var(--border-dark);
}

.qv-tabs nav {
    display: flex;
    gap: var(--space-4);
    overflow-x: auto;
}

.qv-tab-btn {
    padding: var(--space-3) 2px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--text-muted-light);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition);
}

.qv-tab-btn:hover {
    color: var(--text-light);
}

html.dark .qv-tab-btn:hover {
    color: #ffffff;
}

.qv-tab-btn.active {
    border-bottom-color: var(--primary);
    color: var(--primary);
}

.qv-tab-content {
    font-size: var(--text-sm);
    color: var(--text-muted-light);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-5);
}

html.dark .qv-tab-content {
    color: var(--text-muted-dark);
}

.qv-tab-content.hidden {
    display: none;
}

.qv-stock {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-xs);
    color: var(--text-muted-light);
    margin-bottom: var(--space-5);
}

html.dark .qv-stock {
    color: var(--text-muted-dark);
}

.qv-stock .in-stock {
    display: flex;
    align-items: center;
    gap: 4px;
}

.qv-stock .in-stock .material-icons {
    font-size: var(--text-sm);
    color: #22c55e;
}

.qv-stock .shipping {
    display: flex;
    align-items: center;
    gap: 4px;
}

.qv-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: auto;
}

.qv-actions button,
.qv-actions a {
    flex: 1;
    min-width: 100px;
    padding: var(--space-3);
    font-weight: 700;
    font-size: var(--text-sm);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    cursor: pointer;
    transition: all var(--transition);
}

.qv-cart-btn {
    background: #0f172a;
    color: #ffffff;
    border: none;
}

html.dark .qv-cart-btn {
    background: #ffffff;
    color: #0f172a;
}

.qv-cart-btn:hover {
    opacity: 0.9;
}

.qv-buy-btn {
    background: var(--primary);
    color: #0f172a;
    border: none;
    box-shadow: 0 0 12px rgba(169, 237, 72, 0.3);
}

.qv-buy-btn:hover {
    background: var(--primary-hover);
}

.qv-wa-btn {
    border: 2px solid #22c55e;
    color: #22c55e;
    text-decoration: none;
}

html.dark .qv-wa-btn {
    color: #4ade80;
    border-color: #4ade80;
}

.qv-wa-btn:hover {
    background: #22c55e;
    color: #ffffff;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: #ffffff;
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    min-width: 260px;
    max-width: 90vw;
    transform: translateX(110%);
    transition: transform 0.3s ease-out;
}

html.dark .toast {
    background: var(--surface-dark);
    border-color: var(--border-dark);
}

.toast.show {
    transform: translateX(0);
}

.toast .material-icons {
    color: var(--primary);
}

.toast span:last-child {
    font-weight: 500;
    font-size: var(--text-sm);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes bounceSlight {
    0%, 100% {
        transform: translateY(-5%);
    }
    50% {
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes scaleIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

.animate-slide-down {
    animation: slideDown 0.3s ease-out forwards;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

.animate-bounce-slight {
    animation: bounceSlight 2s infinite;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (min-width: 480px) {
    .newsletter-form {
        flex-direction: row;
    }
}

@media (min-width: 640px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .cart-sidebar {
        max-width: 450px;
    }
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .qv-content {
        flex-direction: row;
    }
    
    .qv-gallery {
        width: 45%;
    }
    
    .qv-overlay {
        align-items: center;
        padding: var(--space-6);
    }
    
    .qv-panel {
        border-radius: var(--radius-2xl);
        max-height: 88vh;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding-top: 160px;
        padding-bottom: 128px;
    }
    
    .hero-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-image {
        min-height: 600px;
    }
    
    .hero-float-card.top-right {
        right: 10%;
    }
    
    .hero-float-card.bottom-left {
        bottom: 80px;
        left: 0;
    }
}

@media (min-width: 1280px) {
    .nav-menu {
        display: flex;
    }
}

/* Hide on desktop */
@media (min-width: 768px) {
    .mobile-menu {
        display: none !important;
    }
}

/* Show on mobile */
@media (max-width: 767px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
}

/* ============================================
   UTILITY CLASSES FOR VISIBILITY
   ============================================ */
@media (max-width: 639px) {
    .sm\:hidden { display: none; }
    .sm\:block { display: block; }
    .sm\:flex { display: flex; }
}

@media (max-width: 767px) {
    .md\:hidden { display: none; }
    .md\:block { display: block; }
    .md\:flex { display: flex; }
}

@media (max-width: 1023px) {
    .lg\:hidden { display: none; }
    .lg\:block { display: block; }
    .lg\:flex { display: flex; }
}

@media (max-width: 1279px) {
    .xl\:hidden { display: none; }
    .xl\:block { display: block; }
    .xl\:flex { display: flex; }
}

/* Dark mode visibility */
html.dark .dark\:hidden { display: none; }
html.dark .dark\:block { display: block; }
html.dark .dark\:flex { display: flex; }

/* Light mode visibility */
:not(html.dark) .dark\:hidden { display: none; }

/* ============================================
   SPECIAL COMPONENTS
   ============================================ */

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
    padding: var(--space-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    z-index: 20;
}

html.dark .dropdown-menu {
    background: var(--surface-dark);
    border-color: var(--border-dark);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-2) var(--space-3);
    font-weight: 500;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
}

.dropdown-item:hover {
    background: var(--surface-light);
    color: var(--primary);
}

html.dark .dropdown-item:hover {
    background: var(--surface-dark);
}

/* Sub-dropdown */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .submenu {
    position: absolute;
    left: 100%;
    top: 0;
    margin-left: var(--space-2);
    min-width: 180px;
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
    padding: var(--space-2);
    display: none;
}

html.dark .dropdown-submenu .submenu {
    background: var(--surface-dark);
    border-color: var(--border-dark);
}

.dropdown-submenu:hover .submenu {
    display: block;
}

.submenu-link {
    display: block;
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-sm);
    color: var(--text-muted-light);
    border-radius: var(--radius);
    transition: color var(--transition);
}

html.dark .submenu-link {
    color: var(--text-muted-dark);
}

.submenu-link:hover {
    color: var(--primary);
}

/* Material Icons */
.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'liga';
}

.material-icons-outlined {
    font-family: 'Material Icons Outlined';
}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
}
