/* ==========================================================================
   KAMTRON - INDIA | Design System & Global Stylesheet
   Semantic CSS Custom Properties (Tokens) — Premium Dark Theme
   ========================================================================== */

/* --- Custom Properties (Design Tokens) --- */
:root {
  /* Typography */
  --font-primary: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-md: 14.04px;
  --font-size-lg: 17px;
  --font-size-xl: 18px;
  --font-size-2xl: 19.89px;
  --font-size-3xl: 24px;
  --font-size-4xl: 28px;
  --font-weight-base: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --line-height-base: 16.0005px;

  /* Color Palette — Semantic Tokens */
  --color-text-primary: #1d1d1f;
  --color-text-tertiary: #ffffff;
  --color-text-inverse: #424245;
  --color-text-muted: #86868b;

  --color-surface-base: #000000;
  --color-surface-muted: #d2d2d7;
  --color-surface-raised: #f5f5f7;
  --color-surface-strong: #635b61;

  --color-accent: #0071e3;
  --color-accent-hover: #0077ed;
  --color-accent-glow: rgba(0, 113, 227, 0.4);
  --color-accent-subtle: rgba(0, 113, 227, 0.12);

  --color-success: #30d158;
  --color-warning: #ff9f0a;
  --color-error: #ff453a;

  --color-border-default: rgba(255, 255, 255, 0.08);
  --color-border-raised: rgba(255, 255, 255, 0.12);
  --color-border-accent: rgba(0, 113, 227, 0.3);

  /* Dark Theme Overrides (default) */
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-card: #111111;
  --bg-glass: rgba(255, 255, 255, 0.04);
  --bg-glass-hover: rgba(255, 255, 255, 0.08);
  --bg-glass-strong: rgba(255, 255, 255, 0.12);

  --text-primary: #f5f5f7;
  --text-secondary: rgba(255, 255, 255, 0.65);
  --text-tertiary: rgba(255, 255, 255, 0.42);

  --header-bg-scrolled: rgba(0, 0, 0, 0.85);
}

/* --- Light Theme --- */
[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f5f5f7;
  --bg-card: #ffffff;
  --bg-glass: rgba(0, 0, 0, 0.04);
  --bg-glass-hover: rgba(0, 0, 0, 0.08);
  --bg-glass-strong: rgba(0, 0, 0, 0.12);

  --text-primary: #1d1d1f;
  --text-secondary: rgba(0, 0, 0, 0.65);
  --text-tertiary: rgba(0, 0, 0, 0.42);

  --color-border-default: rgba(0, 0, 0, 0.08);
  --color-border-raised: rgba(0, 0, 0, 0.12);
  --color-border-accent: rgba(0, 113, 227, 0.3);

  --header-bg-scrolled: rgba(255, 255, 255, 0.85);
}

:root {
  /* Spacing Scale */
  --space-1: 5.62px;
  --space-2: 7px;
  --space-3: 8px;
  --space-4: 9px;
  --space-5: 15px;
  --space-6: 17px;
  --space-7: 62px;
  --space-8: 106px;

  /* Radius & Motion */
  --radius-xs: 36px;
  --radius-sm: 50px;
  --radius-md: 56px;
  --radius-lg: 980px;

  --motion-instant: 100ms;
  --motion-fast: 320ms;
  --motion-normal: 500ms;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: 24px;

  /* Neon Blue Glow */
  --neon-glow: 0 0 20px rgba(0, 113, 227, 0.3), 0 0 40px rgba(0, 113, 227, 0.1);
  --neon-border: 0 0 2px rgba(0, 113, 227, 0.5), 0 0 8px rgba(0, 113, 227, 0.2);
}

/* --- Global Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: var(--font-size-base, 12px);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-base);
  line-height: var(--line-height-base);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--motion-fast) ease;
}

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

input,
textarea {
  font-family: inherit;
  font-size: inherit;
}

ul, ol {
  list-style: none;
}

/* --- Focus Visible (Accessibility) --- */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* -- Highlight Selection --- */
::selection {
  background: var(--color-accent);
  color: var(--color-text-tertiary);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--color-text-inverse);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-muted);
}

/* ==========================================================================
   THEME TOGGLE
   ========================================================================== */
.theme-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-secondary);
  transition: color var(--motion-fast) ease, background var(--motion-fast) ease, transform var(--motion-fast) ease;
}

.theme-toggle:hover {
  color: var(--text-primary);
  background: var(--bg-glass);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.theme-toggle:active {
  transform: scale(0.88);
}

.theme-icon-sun,
.theme-icon-moon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--motion-fast) ease, transform var(--motion-fast) ease;
}

[data-theme="dark"] .theme-icon-sun,
:root:not([data-theme="light"]) .theme-icon-sun {
  display: none;
}

[data-theme="dark"] .theme-icon-moon,
:root:not([data-theme="light"]) .theme-icon-moon {
  display: flex;
}

[data-theme="light"] .theme-icon-sun {
  display: flex;
}

[data-theme="light"] .theme-icon-moon {
  display: none;
}

/* Smooth theme transition */
html {
  transition: background-color var(--motion-normal) ease, color var(--motion-normal) ease;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.neon-glow {
  box-shadow: var(--neon-glow);
}

.neon-border {
  box-shadow: var(--neon-border);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-12px) rotate(2deg);
  }
  50% {
    transform: translateY(-6px) rotate(-1deg);
  }
  75% {
    transform: translateY(-18px) rotate(1deg);
  }
}

@keyframes float-delayed {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-16px) rotate(-2deg);
  }
  50% {
    transform: translateY(-8px) rotate(1deg);
  }
  75% {
    transform: translateY(-20px) rotate(-1deg);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 113, 227, 0.2), 0 0 40px rgba(0, 113, 227, 0.05);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 113, 227, 0.4), 0 0 60px rgba(0, 113, 227, 0.15);
  }
}

@keyframes slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-in-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes blob-morph {
  0%, 100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  25% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  50% {
    border-radius: 50% 60% 30% 40% / 40% 50% 60% 50%;
  }
  75% {
    border-radius: 60% 30% 50% 60% / 30% 60% 40% 70%;
  }
}

@keyframes rotate-3d {
  0% {
    transform: perspective(800px) rotateY(0deg) rotateX(5deg);
  }
  50% {
    transform: perspective(800px) rotateY(180deg) rotateX(-5deg);
  }
  100% {
    transform: perspective(800px) rotateY(360deg) rotateX(5deg);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes border-glow {
  0%, 100% {
    border-color: rgba(0, 113, 227, 0.3);
    box-shadow: 0 0 10px rgba(0, 113, 227, 0.1);
  }
  50% {
    border-color: rgba(0, 113, 227, 0.7);
    box-shadow: 0 0 20px rgba(0, 113, 227, 0.3);
  }
}

@keyframes progress-fill {
  from { width: 0%; }
  to { width: 100%; }
}

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

/* ==========================================================================
   STICKY HEADER / NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 0;
  transition: background var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}

.site-header.scrolled {
  background: var(--header-bg-scrolled);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--color-border-default);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-accent), #00a2ff);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
  color: white;
  box-shadow: var(--neon-glow);
}

.logo-text {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  letter-spacing: -0.3px;
  color: var(--text-primary);
}

.logo-text span {
  color: var(--color-accent);
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--text-secondary);
  border-radius: 8px;
  transition: color var(--motion-fast) ease, background var(--motion-fast) ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--motion-fast) ease;
  border-radius: 1px;
}

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

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.nav-link:active {
  transform: scale(0.97);
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 200px;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--color-border-default);
  border-radius: 12px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--motion-fast) ease, transform var(--motion-fast) ease, visibility var(--motion-fast) ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-link {
  display: block;
  padding: 10px 14px;
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  border-radius: 8px;
  transition: color var(--motion-fast) ease, background var(--motion-fast) ease;
}

.nav-dropdown-link:hover {
  color: var(--text-primary);
  background: var(--bg-glass-hover);
}

.nav-dropdown-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: -2px;
}

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

/* Search Bar */
.search-container {
  position: relative;
}

.search-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-secondary);
  transition: color var(--motion-fast) ease, background var(--motion-fast) ease;
}

.search-toggle:hover {
  color: var(--text-primary);
  background: var(--bg-glass);
}

.search-toggle:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.search-toggle:active {
  transform: scale(0.92);
}

.search-bar {
  position: absolute;
  top: 50%;
  right: calc(100% + 8px);
  transform: translateY(-50%) scaleX(0);
  transform-origin: right;
  width: 280px;
  display: flex;
  align-items: center;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--color-border-default);
  border-radius: 12px;
  padding: 4px;
  opacity: 0;
  transition: transform var(--motion-fast) ease, opacity var(--motion-fast) ease;
}

.search-bar.active {
  transform: translateY(-50%) scaleX(1);
  opacity: 1;
}

.search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 14px;
  color: var(--text-primary);
  font-size: var(--font-size-sm);
  outline: none;
}

.search-bar input::placeholder {
  color: var(--text-tertiary);
}

.search-bar button {
  padding: 8px 14px;
  color: var(--text-secondary);
  transition: color var(--motion-fast) ease;
}

.search-bar button:hover {
  color: var(--text-primary);
}

.search-results {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 100%;
  min-width: 320px;
  background: rgba(20, 20, 20, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--color-border-default);
  border-radius: 12px;
  padding: 8px;
  max-height: 400px;
  overflow-y: auto;
  display: none;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

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

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background var(--motion-fast) ease;
  cursor: pointer;
}

.search-result-item:hover {
  background: var(--bg-glass-hover);
}

.search-result-icon {
  width: 36px;
  height: 36px;
  background: var(--bg-glass-strong);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-lg);
  flex-shrink: 0;
}

.search-result-info h4 {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--text-primary);
}

.search-result-info p {
  font-size: var(--font-size-xs);
  color: var(--text-tertiary);
  margin-top: 2px;
}

.search-no-results {
  padding: 24px;
  text-align: center;
  color: var(--text-tertiary);
  font-size: var(--font-size-sm);
}

/* Cart Button */
.cart-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-secondary);
  transition: color var(--motion-fast) ease, background var(--motion-fast) ease;
}

.cart-btn:hover {
  color: var(--text-primary);
  background: var(--bg-glass);
}

.cart-btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.cart-btn:active {
  transform: scale(0.92);
}

.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  background: var(--color-accent);
  color: white;
  font-size: 10px;
  font-weight: var(--font-weight-bold);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.4);
  transform: scale(0);
  transition: transform var(--motion-fast) ease;
}

.cart-count.has-items {
  transform: scale(1);
}

/* Explore CTA */
.explore-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--color-accent);
  color: white;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  border-radius: 980px;
  transition: background var(--motion-fast) ease, transform var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}

.explore-cta:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--neon-glow);
}

.explore-cta:focus-visible {
  outline: 2px solid white;
  outline-offset: 2px;
}

.explore-cta:active {
  transform: translateY(0) scale(0.98);
}

.explore-cta.loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.explore-cta.loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.explore-cta:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.explore-cta.error {
  background: var(--color-error);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 8px;
  color: var(--text-secondary);
  transition: color var(--motion-fast) ease, background var(--motion-fast) ease;
}

.mobile-menu-btn:hover {
  color: var(--text-primary);
  background: var(--bg-glass);
}

.mobile-menu-btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform var(--motion-fast) ease, opacity var(--motion-fast) ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--motion-fast) ease;
}

.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid var(--color-border-default);
  z-index: 999;
  padding: 24px;
  overflow-y: auto;
  transition: right var(--motion-fast) ease;
}

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

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.mobile-menu-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-secondary);
  transition: color var(--motion-fast) ease, background var(--motion-fast) ease;
}

.mobile-menu-close:hover {
  color: var(--text-primary);
  background: var(--bg-glass);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 12px;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
  color: var(--text-secondary);
  border-radius: 12px;
  transition: color var(--motion-fast) ease, background var(--motion-fast) ease;
}

.mobile-nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-glass);
}

.mobile-nav-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: -2px;
}

.mobile-nav-arrow {
  color: var(--text-tertiary);
  font-size: var(--font-size-sm);
}

.mobile-subnav {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--motion-fast) ease;
}

.mobile-subnav.open {
  max-height: 300px;
}

.mobile-subnav-link {
  display: block;
  padding: 10px 12px 10px 32px;
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
  border-radius: 8px;
  transition: color var(--motion-fast) ease, background var(--motion-fast) ease;
}

.mobile-subnav-link:hover {
  color: var(--text-primary);
  background: var(--bg-glass);
}

.mobile-cta {
  display: flex;
  margin-top: 24px;
  padding: 14px 24px;
  background: var(--color-accent);
  color: white;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
  border-radius: 980px;
  justify-content: center;
  transition: background var(--motion-fast) ease, transform var(--motion-fast) ease;
}

.mobile-cta:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
}

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

.hero-bg-blob {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  top: -100px;
  right: -200px;
  animation: blob-morph 12s ease-in-out infinite;
  pointer-events: none;
}

.hero-bg-blob:nth-child(2) {
  width: 400px;
  height: 400px;
  top: auto;
  bottom: -100px;
  right: auto;
  left: -100px;
  background: radial-gradient(circle, rgba(0, 170, 255, 0.08) 0%, transparent 70%);
  animation-delay: -6s;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  animation: slide-in-left 0.8s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-glass);
  border: 1px solid var(--color-border-default);
  border-radius: 980px;
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--color-success);
  border-radius: 50%;
  animation: pulse-glow 2s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: var(--font-weight-bold);
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--color-accent), #00a2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(var(--font-size-lg), 1.5vw, var(--font-size-3xl));
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 500px;
  margin-bottom: 36px;
  font-weight: var(--font-weight-medium);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--color-accent);
  color: white;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
  border-radius: 980px;
  transition: background var(--motion-fast) ease, transform var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}

.hero-btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--neon-glow);
}

.hero-btn-primary:focus-visible {
  outline: 2px solid white;
  outline-offset: 3px;
}

.hero-btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.hero-btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.hero-btn-primary.loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.hero-btn-primary.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--bg-glass);
  border: 1px solid var(--color-border-default);
  color: var(--text-primary);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
  border-radius: 980px;
  transition: background var(--motion-fast) ease, border-color var(--motion-fast) ease, transform var(--motion-fast) ease;
}

.hero-btn-secondary:hover {
  background: var(--bg-glass-hover);
  border-color: var(--color-border-raised);
  transform: translateY(-2px);
}

.hero-btn-secondary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.hero-btn-secondary:active {
  transform: translateY(0) scale(0.98);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border-default);
}

.hero-stat-value {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
}

.hero-stat-label {
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
  margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: slide-in-right 0.8s ease-out;
}

.hero-3d-container {
  position: relative;
  width: 400px;
  height: 400px;
}

.hero-3d-icon {
  position: absolute;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.15), rgba(0, 170, 255, 0.08));
  border: 1px solid rgba(0, 113, 227, 0.2);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.hero-3d-icon:nth-child(1) {
  top: 40px;
  left: 40px;
  animation-delay: 0s;
}

.hero-3d-icon:nth-child(2) {
  bottom: 60px;
  right: 40px;
  animation: float-delayed 7s ease-in-out infinite;
  animation-delay: -2s;
  width: 100px;
  height: 100px;
  font-size: 40px;
}

.hero-3d-icon:nth-child(3) {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;
  font-size: 64px;
  animation: rotate-3d 12s linear infinite;
  box-shadow: 0 0 40px rgba(0, 113, 227, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-3d-icon .icon-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 3s ease-in-out infinite;
  pointer-events: none;
}

.hero-3d-icon:nth-child(2) .icon-glow {
  animation-delay: -1.5s;
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 50%;
  opacity: 0.3;
  animation: float 8s ease-in-out infinite;
}

/* ==========================================================================
   PRODUCT HUBS GRID
   ========================================================================== */
.product-hubs {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: var(--font-weight-bold);
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section-description {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.hubs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.hub-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--color-border-default);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: transform var(--motion-fast) ease, border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
  overflow: hidden;
  cursor: pointer;
  animation: slide-in-up 0.6s ease-out backwards;
}

.hub-card:nth-child(1) { animation-delay: 0.1s; }
.hub-card:nth-child(2) { animation-delay: 0.2s; }
.hub-card:nth-child(3) { animation-delay: 0.3s; }
.hub-card:nth-child(4) { animation-delay: 0.4s; }

.hub-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, transparent 0%, var(--color-border-default) 50%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: opacity var(--motion-fast) ease;
}

.hub-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-accent);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), var(--neon-glow);
}

.hub-card:hover::before {
  background: linear-gradient(135deg, transparent 0%, var(--color-accent) 50%, transparent 100%);
  opacity: 0.5;
}

.hub-card:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.hub-card:active {
  transform: translateY(-2px);
}

.hub-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: var(--bg-glass);
  border: 1px solid var(--color-border-default);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  transition: border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}

.hub-card:hover .hub-icon {
  border-color: var(--color-accent);
  box-shadow: 0 0 20px rgba(0, 113, 227, 0.2);
}

.hub-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin-bottom: 8px;
}

.hub-meta {
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
  margin-bottom: 20px;
  line-height: 1.5;
}

.hub-price {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-accent);
  margin-bottom: 16px;
}

.hub-price span {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-base);
  color: var(--text-tertiary);
  text-decoration: line-through;
  margin-left: 8px;
}

.hub-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  background: var(--bg-glass);
  border: 1px solid var(--color-border-default);
  color: var(--text-primary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  border-radius: 980px;
  transition: background var(--motion-fast) ease, border-color var(--motion-fast) ease, transform var(--motion-fast) ease;
}

.hub-btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--neon-glow);
}

.hub-btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.hub-btn:active {
  transform: translateY(0) scale(0.97);
}

.hub-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.hub-btn.loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.hub-btn.loading::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

/* ==========================================================================
   PRODUCT LISTING GRID
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--color-border-default);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  transition: transform var(--motion-fast) ease, border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
  overflow: hidden;
  animation: slide-in-up 0.5s ease-out backwards;
}

.product-card.hidden {
  display: none;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, transparent 0%, var(--color-border-default) 50%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: opacity var(--motion-fast) ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-accent);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), var(--neon-glow);
}

.product-card:hover::before {
  background: linear-gradient(135deg, transparent 0%, var(--color-accent) 50%, transparent 100%);
  opacity: 0.4;
}

.product-card:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.product-card:active {
  transform: translateY(-1px);
}

.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 980px;
  font-size: 11px;
  font-weight: var(--font-weight-medium);
  background: var(--color-accent-subtle);
  color: var(--color-accent);
  border: 1px solid var(--color-border-accent);
}

.product-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--bg-glass);
  border: 1px solid var(--color-border-default);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  transition: border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}

.product-card:hover .product-card-icon {
  border-color: var(--color-accent);
  box-shadow: 0 0 16px rgba(0, 113, 227, 0.15);
}

.product-card-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin-bottom: 4px;
}

.product-card-category {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-bottom: 12px;
}

.product-card-price {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-accent);
  margin-bottom: 16px;
}

.product-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: var(--color-accent);
  border: 1px solid var(--color-accent);
  color: white;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  border-radius: 980px;
  transition: background var(--motion-fast) ease, transform var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}

.product-card-btn:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--neon-glow);
}

.product-card-btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.product-card-btn:active {
  transform: translateY(0) scale(0.97);
}

.product-card-btn.loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.product-card-btn.loading::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.product-card-btn.selected {
  background: var(--color-success);
  border-color: var(--color-success);
}

.hub-btn.error {
  background: var(--color-error);
  border-color: var(--color-error);
  color: white;
}

.hub-btn.selected {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: white;
}

.hub-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  background: var(--color-accent);
  color: white;
  font-size: 10px;
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 980px;
  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.3);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  background: var(--bg-secondary);
  border-top: 1px solid var(--color-border-default);
  padding: 80px 0 32px;
  margin-top: 80px;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  animation: border-glow 3s ease-in-out infinite;
}

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

/* Footer Col 1: Brand */
.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-bio {
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 320px;
}

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

.footer-social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-glass);
  border: 1px solid var(--color-border-default);
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: var(--font-size-lg);
  transition: color var(--motion-fast) ease, background var(--motion-fast) ease, border-color var(--motion-fast) ease, transform var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}

.footer-social-link:hover {
  transform: translateY(-3px);
}

.footer-social-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.footer-social-link[aria-label="Instagram"]:hover {
  color: #e1306c;
  border-color: #e1306c;
  box-shadow: 0 0 20px rgba(225, 48, 108, 0.3);
}

.footer-social-link[aria-label="YouTube"]:hover {
  color: #ff0000;
  border-color: #ff0000;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

.footer-social-link[aria-label="Twitter"]:hover {
  color: #1da1f2;
  border-color: #1da1f2;
  box-shadow: 0 0 20px rgba(29, 161, 242, 0.3);
}

.footer-social-link[aria-label="Facebook"]:hover {
  color: #1877f2;
  border-color: #1877f2;
  box-shadow: 0 0 20px rgba(24, 119, 242, 0.3);
}

.footer-social-link[aria-label="LinkedIn"]:hover {
  color: #0a66c2;
  border-color: #0a66c2;
  box-shadow: 0 0 20px rgba(10, 102, 194, 0.3);
}

/* Footer Col 2: Quick links */
.footer-heading {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

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

.footer-link {
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
  transition: color var(--motion-fast) ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
}

.footer-link:hover {
  color: var(--color-accent);
}

.footer-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Footer Col 3: Popular Products */
.footer-products {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-product-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background var(--motion-fast) ease;
  cursor: pointer;
}

.footer-product-item:hover {
  background: var(--bg-glass);
}

.footer-product-icon {
  width: 36px;
  height: 36px;
  background: var(--bg-glass-strong);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-lg);
  flex-shrink: 0;
}

.footer-product-name {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--text-primary);
}

.footer-product-price {
  font-size: var(--font-size-xs);
  color: var(--text-tertiary);
  margin-top: 2px;
}

/* Footer Col 4: Newsletter */
.newsletter-text {
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-glass);
  border: 1px solid var(--color-border-default);
  border-radius: 12px;
  transition: border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}

.newsletter-input-wrapper:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-subtle);
}

.newsletter-input-wrapper.error {
  border-color: var(--color-error);
}

.newsletter-input-wrapper.success {
  border-color: var(--color-success);
}

.newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 14px 14px;
  color: var(--text-primary);
  font-size: var(--font-size-sm);
  outline: none;
}

.newsletter-input::placeholder {
  color: var(--text-tertiary);
}

.newsletter-input-wrapper .newsletter-btn {
  padding: 10px 16px;
  margin: 4px;
  background: var(--color-accent);
  color: white;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  border-radius: 8px;
  transition: background var(--motion-fast) ease, opacity var(--motion-fast) ease;
  white-space: nowrap;
}

.newsletter-input-wrapper .newsletter-btn:hover {
  background: var(--color-accent-hover);
}

.newsletter-input-wrapper .newsletter-btn:focus-visible {
  outline: 2px solid white;
  outline-offset: 2px;
}

.newsletter-input-wrapper .newsletter-btn:active {
  transform: scale(0.97);
}

.newsletter-input-wrapper .newsletter-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.newsletter-status {
  font-size: var(--font-size-xs);
  padding: 8px 12px;
  border-radius: 8px;
  display: none;
}

.newsletter-status.error {
  display: block;
  background: rgba(255, 69, 58, 0.1);
  color: var(--color-error);
  border: 1px solid rgba(255, 69, 58, 0.2);
}

.newsletter-status.success {
  display: block;
  background: rgba(48, 209, 88, 0.1);
  color: var(--color-success);
  border: 1px solid rgba(48, 209, 88, 0.2);
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--color-border-default);
}

.footer-copyright {
  font-size: var(--font-size-xs);
  color: var(--text-tertiary);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal-link {
  font-size: var(--font-size-xs);
  color: var(--text-tertiary);
  transition: color var(--motion-fast) ease;
}

.footer-legal-link:hover {
  color: var(--color-accent);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--color-border-default);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color var(--motion-fast) ease;
}

.faq-item:hover {
  border-color: var(--color-border-raised);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
  color: var(--text-primary);
  text-align: left;
  background: transparent;
  transition: color var(--motion-fast) ease;
}

.faq-question:hover {
  color: var(--color-accent);
}

.faq-question:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: -2px;
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--text-tertiary);
  transition: transform var(--motion-fast) ease, color var(--motion-fast) ease;
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--color-accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--motion-fast) ease, padding var(--motion-fast) ease;
  padding: 0 24px;
}

.faq-answer p {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  padding-bottom: 20px;
}

.faq-question[aria-expanded="true"] + .faq-answer {
  padding-top: 0;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .hubs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-3d-container {
    width: 300px;
    height: 300px;
  }

  .hero-3d-icon {
    width: 80px;
    height: 80px;
    font-size: 32px;
  }

  .hero-3d-icon:nth-child(3) {
    width: 120px;
    height: 120px;
    font-size: 48px;
  }

  .hero-3d-icon:nth-child(2) {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-menu-overlay {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-content {
    order: 2;
  }

  .hero-visual {
    order: 1;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-3d-container {
    width: 250px;
    height: 250px;
  }

  .hubs-grid {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

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

  .explore-cta {
    display: none;
  }

  .search-bar {
    width: 220px;
  }
}

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

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

  .hero-3d-container {
    width: 200px;
    height: 200px;
  }

  .hero-3d-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .hero-3d-icon:nth-child(3) {
    width: 90px;
    height: 90px;
    font-size: 36px;
  }

  .hero-3d-icon:nth-child(2) {
    width: 55px;
    height: 55px;
    font-size: 20px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .hub-card {
    padding: 24px 20px;
  }
  .product-card {
    padding: 24px 20px;
  }
}

/* ==========================================================================
   PRODUCT DETAIL MODAL
   ========================================================================== */
.product-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.product-modal {
  background: var(--bg-card);
  border: 1px solid var(--color-border-default);
  border-radius: 24px;
  max-width: 680px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s ease;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.product-modal-overlay.active .product-modal {
  transform: translateY(0) scale(1);
}

.product-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border-default);
  background: var(--bg-glass);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.product-modal-close:hover {
  background: var(--color-border-default);
  transform: scale(1.05);
}

.product-modal-body {
  display: flex;
  gap: 0;
}

.product-modal-image {
  flex: 0 0 280px;
  padding: 40px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-glass);
  border-right: 1px solid var(--color-border-default);
  min-height: 280px;
}

.product-modal-icon {
  font-size: 80px;
  line-height: 1;
}

.product-modal-image img {
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: 12px;
}

.product-modal-info {
  flex: 1;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-modal-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 980px;
  font-size: 11px;
  font-weight: var(--font-weight-medium);
  background: var(--color-accent-subtle);
  color: var(--color-accent);
  border: 1px solid var(--color-border-accent);
  width: fit-content;
}

.product-modal-title {
  font-size: 22px;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

.product-modal-short {
  font-size: 14px;
  color: var(--text-tertiary);
  margin: 0;
  line-height: 1.5;
}

.product-modal-price {
  font-size: 24px;
  font-weight: var(--font-weight-bold);
  color: var(--color-accent);
}

.product-modal-price .regular {
  font-size: 16px;
  color: var(--text-tertiary);
  text-decoration: line-through;
  font-weight: var(--font-weight-base);
  margin-right: 8px;
}

.product-modal-price .sale-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 980px;
  font-size: 11px;
  font-weight: var(--font-weight-semibold);
  background: var(--color-success);
  color: white;
  margin-left: 8px;
  vertical-align: middle;
}

.product-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--text-tertiary);
}

.product-modal-meta span {
  padding: 4px 10px;
  background: var(--bg-glass);
  border: 1px solid var(--color-border-default);
  border-radius: 980px;
}

.product-modal-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.product-modal-stock {
  font-size: 13px;
  font-weight: var(--font-weight-medium);
}

.product-modal-stock.in-stock { color: var(--color-success); }
.product-modal-stock.out-of-stock { color: var(--color-error); }
.product-modal-stock.on-backorder { color: var(--status-warning); }

.product-modal-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--color-accent);
  border: 1px solid var(--color-accent);
  color: white;
  font-size: 15px;
  font-weight: var(--font-weight-semibold);
  border-radius: 980px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  width: fit-content;
}

.product-modal-add-btn:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--neon-glow);
}

.product-modal-add-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.product-modal-add-btn.loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.product-modal-add-btn.loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.product-modal-add-btn.selected {
  background: var(--color-success);
  border-color: var(--color-success);
}

@media (max-width: 640px) {
  .product-modal-body {
    flex-direction: column;
  }
  .product-modal-image {
    flex: none;
    padding: 24px;
    min-height: 180px;
    border-right: none;
    border-bottom: 1px solid var(--color-border-default);
  }
  .product-modal-icon {
    font-size: 56px;
  }
  .product-modal-info {
    padding: 24px;
  }
  .product-modal-title {
    font-size: 18px;
  }
}
