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

:root {
  --nav-height: 120px;
  --bg: #000000;
  --surface: #0a0a0a;
  --surface-2: #121212;
  --text: #f8fafc;
  --muted: #94a3b8;
  --line: rgba(255, 255, 255, 0.08);
  --brand: #8b5cf6;
  --brand-strong: #7c3aed;
  --brand-glow: rgba(139, 92, 246, 0.3);
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
}

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

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  background-image: 
    radial-gradient(circle at 50% -20%, rgba(139, 92, 246, 0.12), transparent 50%),
    radial-gradient(circle at 10% 20%, rgba(139, 92, 246, 0.03), transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.03), transparent 30%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

/* ========================= NAVBAR ========================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-wrapper {
  --shell-tilt-x: 0deg;
  --shell-tilt-y: 0deg;
  --shell-shift-x: 0px;
  --shell-shift-y: 0px;
  --shell-glow-x: 50%;
  --shell-glow-y: 76%;
  display: flex;
  flex-direction: column;
  padding: 12px 0;
}

.nav-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding-bottom: 12px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 32px !important;
  width: auto !important;
  object-fit: contain;
}

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-text .highlight {
  color: var(--brand);
}

.nav-search {
  flex: 1;
  max-width: 600px;
  position: relative;
  display: flex;
  align-items: center;
}

.nav-search input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 16px;
  padding-right: 48px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
}

.nav-search input:focus {
  outline: none;
  border-color: var(--brand);
  background: rgba(139, 92, 246, 0.08);
}

.search-btn {
  position: absolute;
  right: 14px;
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.mobile-menu-btn,
.mobile-search-icon {
  display: none;
  border: none;
  background: transparent;
  color: #fff;
  padding: 0;
  cursor: pointer;
}

.location-picker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.nav-bottom {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.nav-categories {
  list-style: none;
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.nav-category-item {
  flex: 0 0 auto;
}

.nav-category-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-category-icon {
  width: 20px;
  height: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  color: currentColor;
}

.nav-category-icon svg {
  width: 100%;
  height: 100%;
}

.nav-category-label {
  display: inline-block;
}

.nav-category-link:hover,
.nav-category-link.is-active {
  color: #fff;
}

.nav-categories .nav-category-link:hover {
  color: #fff;
}

/* ========================= BUTTONS ========================= */
.btn {
  border: 1px solid transparent;
  cursor: pointer;
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 20px -5px var(--brand-glow);
}

.btn-primary:hover {
  background: var(--brand-strong);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn-large {
  padding: 14px 28px;
  font-size: 16px;
}

/* ========================= HERO ========================= */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 18%, rgba(120, 55, 18, 0.2), transparent 18%),
    radial-gradient(circle at 76% 34%, rgba(76, 24, 6, 0.28), transparent 24%),
    radial-gradient(circle at 62% 92%, rgba(52, 16, 4, 0.28), transparent 28%),
    linear-gradient(118deg, #000 0%, #010101 36%, #050203 68%, #000 100%);
  padding: 72px 0 0;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.9) 34%, rgba(0, 0, 0, 0.4) 58%, rgba(0, 0, 0, 0.56) 100%),
    radial-gradient(circle at 70% 22%, rgba(255, 184, 126, 0.06), transparent 20%),
    radial-gradient(circle at 22% 14%, rgba(255, 255, 255, 0.03), transparent 26%);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(4, 4, 5, 0.88) 72%, #000 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 24%, rgba(255, 164, 102, 0.12), transparent 12%),
    radial-gradient(circle at 82% 36%, rgba(90, 28, 10, 0.12), transparent 24%),
    radial-gradient(circle at 66% 64%, rgba(255, 255, 255, 0.03), transparent 20%);
  filter: blur(34px);
  pointer-events: none;
  z-index: 0;
}

.hero-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(48px, 5vw, 88px);
  position: relative;
  z-index: 2;
  min-height: clamp(620px, 74vh, 760px);
}

.hero-content {
  flex: 1;
  max-width: 600px;
  padding-bottom: 96px;
  position: relative;
  z-index: 4;
}

.hero-badge {
  display: inline-flex;
  padding: 6px 14px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 999px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--muted);
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.trust-line {
  color: var(--muted);
  font-size: 14px;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-badge,
  .hero h1,
  .hero-subtitle,
  .hero-actions,
  .trust-line {
    opacity: 0;
    transform: translateY(18px);
    animation: heroCopyEnter 860ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .hero-badge { animation-delay: 80ms; }
  .hero h1 { animation-delay: 150ms; }
  .hero-subtitle { animation-delay: 230ms; }
  .hero-actions { animation-delay: 310ms; }
  .trust-line { animation-delay: 390ms; }
}

.hero-visual {
  flex: 1.14;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(560px, 68vh, 760px);
  position: relative;
  z-index: 2;
}

.hero-media-cinematic {
  --hero-tilt-x: 0deg;
  --hero-tilt-y: 0deg;
  --hero-shift-x: 0px;
  --hero-shift-y: 0px;
  --hero-lag-x: 0px;
  --hero-lag-y: 0px;
  --hero-pointer-x: 62%;
  --hero-pointer-y: 26%;
  --hero-lag-pointer-x: 62%;
  --hero-lag-pointer-y: 26%;
  width: min(100%, 720px);
  height: min(72vh, 760px);
  min-height: 600px;
  position: relative;
  display: grid;
  place-items: center;
  perspective: 2200px;
  transform-style: preserve-3d;
  overflow: visible;
}

.hero-media-cinematic::before {
  content: '';
  position: absolute;
  inset: 10% 2% 12% 14%;
  border-radius: 44% 56% 40% 60% / 52% 38% 62% 48%;
  background:
    radial-gradient(circle at var(--hero-lag-pointer-x) var(--hero-lag-pointer-y), rgba(255, 182, 126, 0.2), transparent 14%),
    radial-gradient(circle at 74% 28%, rgba(255, 255, 255, 0.08), transparent 16%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  filter: blur(52px);
  opacity: 0.24;
  transform: translate3d(calc(var(--hero-lag-x) * 0.14), calc(var(--hero-lag-y) * 0.14), 0);
  z-index: 0;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-media-cinematic::after {
  content: '';
  position: absolute;
  left: 6%;
  right: -2%;
  bottom: 0;
  height: 30%;
  background:
    radial-gradient(ellipse at 56% 48%, rgba(255, 164, 102, 0.16) 0%, rgba(66, 22, 6, 0.08) 42%, transparent 74%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  filter: blur(38px);
  opacity: 0.42;
  z-index: 0;
}

.hero-vfx-glow,
.hero-vfx-camera,
.hero-vfx-ring,
.hero-vfx-arc,
.hero-vfx-sweep,
.hero-vfx-particles,
.hero-vfx-haze,
.hero-vfx-floor,
.hero-device {
  position: absolute;
  pointer-events: none;
}

.hero-vfx-glow,
.hero-vfx-camera,
.hero-vfx-ring,
.hero-vfx-arc,
.hero-vfx-sweep,
.hero-vfx-particles,
.hero-vfx-haze {
  opacity: 0;
  transition: opacity 1s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.hero-vfx-glow {
  inset: 12% 4% 18% 28%;
  background:
    radial-gradient(circle at var(--hero-lag-pointer-x) var(--hero-lag-pointer-y), rgba(255, 164, 102, 0.22) 0%, rgba(255, 164, 102, 0.08) 14%, rgba(55, 18, 8, 0.14) 38%, transparent 66%),
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.04), transparent 18%);
  filter: blur(56px);
  transform: translate3d(calc(var(--hero-lag-x) * 0.14), calc(var(--hero-lag-y) * 0.14), 0) scale(0.8);
  z-index: 1;
  transition-delay: 60ms;
}

.hero-vfx-camera {
  inset: 16% -8% -10% 18%;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.22) 22%, rgba(0, 0, 0, 0.12) 78%, rgba(0, 0, 0, 0.86) 100%),
    url('assets/hero-main.png') center bottom / 88% auto no-repeat;
  opacity: 0;
  filter: brightness(0.34) saturate(0.82) contrast(1.08);
  transform: translate3d(calc(var(--hero-lag-x) * -0.14), calc(var(--hero-lag-y) * -0.12), 0) scale(1.08);
  mask: linear-gradient(90deg, transparent 0%, #000 18%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask: linear-gradient(90deg, transparent 0%, #000 18%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  z-index: 1;
  transition-delay: 120ms;
}

.hero-vfx-ring {
  width: min(64vw, 560px);
  aspect-ratio: 1;
  left: 58%;
  top: 44%;
  border-radius: 50%;
  border: 1px solid rgba(255, 194, 145, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.01), 0 0 22px rgba(255, 154, 86, 0.04);
  filter: blur(1px);
  transform: translate(calc(-50% + (var(--hero-lag-x) * 0.08)), calc(-50% + (var(--hero-lag-y) * 0.08))) scale(0.82) rotate(-10deg);
  z-index: 2;
  transition-delay: 220ms;
}

.hero-vfx-arc {
  inset: 10% -4% 22% 28%;
  border-radius: 50%;
  border: 1px solid transparent;
  border-right-color: rgba(255, 176, 120, 0.08);
  border-top-color: rgba(255, 255, 255, 0.02);
  filter: drop-shadow(0 0 12px rgba(255, 170, 110, 0.06));
  transform: translate3d(calc(var(--hero-lag-x) * -0.1), calc(var(--hero-lag-y) * -0.12), 0) rotate(-18deg) scale(0.92);
  z-index: 2;
  transition-delay: 280ms;
}

.hero-vfx-sweep {
  inset: 2% -8% 20% 42%;
  background:
    linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.03) 18%, rgba(255, 225, 196, 0.16) 42%, rgba(255, 168, 108, 0.1) 56%, transparent 78%),
    radial-gradient(circle at 54% 28%, rgba(255, 166, 108, 0.1), transparent 24%);
  filter: blur(24px);
  mix-blend-mode: screen;
  transform: translate3d(calc(var(--hero-lag-x) * -0.04), calc(var(--hero-lag-y) * -0.06), 0) rotate(-2deg) scaleX(0.42);
  z-index: 2;
  transition-delay: 480ms;
}

.hero-vfx-particles {
  inset: 10% 8% 18% 24%;
  background-image:
    radial-gradient(circle at 18% 30%, rgba(255, 255, 255, 0.28) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 24%, rgba(255, 201, 143, 0.34) 0 1.2px, transparent 2.2px),
    radial-gradient(circle at 64% 72%, rgba(255, 255, 255, 0.18) 0 1px, transparent 2px),
    radial-gradient(circle at 34% 80%, rgba(255, 255, 255, 0.2) 0 1px, transparent 2px),
    radial-gradient(circle at 82% 62%, rgba(255, 184, 126, 0.2) 0 1px, transparent 2px);
  background-repeat: no-repeat;
  filter: blur(0.3px);
  transform: translateY(18px);
  z-index: 2;
  transition-delay: 640ms;
}

.hero-vfx-particles::before,
.hero-vfx-particles::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, transparent 0%, rgba(255, 255, 255, 0.1) 46%, transparent 58%);
  filter: blur(16px);
}

.hero-vfx-particles::before {
  opacity: 0.24;
  transform: translateX(-10%) rotate(8deg);
  animation: heroSweep 7s ease-in-out infinite;
}

.hero-vfx-particles::after {
  opacity: 0.16;
  transform: translateX(8%) rotate(-10deg);
  animation: heroSweep 9s ease-in-out infinite reverse;
}

.hero-vfx-haze {
  left: 18%;
  right: -2%;
  bottom: -1%;
  height: 44%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(8, 5, 4, 0.12) 32%, rgba(5, 5, 5, 0.92) 100%);
  filter: blur(20px);
  transform: translateY(24px);
  z-index: 3;
  transition-delay: 80ms;
}

.hero-vfx-floor {
  left: 34%;
  right: -6%;
  bottom: 4%;
  height: 16%;
  opacity: 0;
  background:
    radial-gradient(ellipse at 58% 44%, rgba(255, 168, 108, 0.12) 0%, rgba(64, 22, 8, 0.1) 42%, transparent 76%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  filter: blur(18px);
  transform: translateY(20px) scaleX(0.9);
  z-index: 2;
  transition: opacity 1s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 240ms;
}

.hero-device {
  width: min(54vw, 680px);
  max-width: 100%;
  right: -8%;
  bottom: -10%;
  z-index: 4;
  opacity: 0;
  filter: blur(18px);
  transform: translate3d(20px, 36px, 0) scale(0.92);
  transform-origin: 56% 28%;
  mask: linear-gradient(180deg, #000 0%, #000 74%, transparent 100%);
  -webkit-mask: linear-gradient(180deg, #000 0%, #000 74%, transparent 100%);
  transition: transform 1.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.05s ease, filter 1.05s ease;
  will-change: transform, opacity, filter;
  transition-delay: 360ms;
}

.hero-device::before {
  content: '';
  position: absolute;
  inset: auto 28% 12% 16%;
  height: 10%;
  background: radial-gradient(ellipse at center, rgba(255, 161, 104, 0.16) 0%, rgba(82, 41, 17, 0.1) 42%, transparent 78%);
  filter: blur(24px);
  z-index: -1;
}

.hero-device::after {
  content: '';
  position: absolute;
  inset: 2% 6% 24% 8%;
  background: linear-gradient(116deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.03) 18%, rgba(255, 255, 255, 0) 38%, rgba(255, 196, 145, 0.05) 62%, rgba(255, 255, 255, 0.12) 100%);
  opacity: 0.12;
  mix-blend-mode: screen;
  filter: blur(10px);
  mask: linear-gradient(140deg, transparent 0%, #000 24%, #000 72%, transparent 100%);
  -webkit-mask: linear-gradient(140deg, transparent 0%, #000 24%, #000 72%, transparent 100%);
  transform: translate3d(calc(var(--hero-lag-x) * -0.18), calc(var(--hero-lag-y) * -0.2), 0);
  transition: opacity 900ms ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-device-orbit {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
  transform: translate3d(var(--hero-shift-x), var(--hero-shift-y), 0) rotateX(var(--hero-tilt-x)) rotateY(var(--hero-tilt-y));
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-media-cinematic.is-loaded .hero-vfx-glow {
  opacity: 0.42;
  transform: translate3d(calc(var(--hero-lag-x) * 0.14), calc(var(--hero-lag-y) * 0.14), 0) scale(1);
  animation: heroGlowPulse 12s ease-in-out infinite;
}

.hero-media-cinematic.is-loaded .hero-vfx-camera {
  opacity: 0.26;
  transform: translate3d(calc(var(--hero-lag-x) * -0.14), calc(var(--hero-lag-y) * -0.12), 0) scale(1.02);
  animation: heroCameraDrift 18s ease-in-out infinite;
}

.hero-media-cinematic.is-loaded .hero-vfx-ring {
  opacity: 0.1;
  animation: heroRingOrbit 24s linear infinite, heroRingPulse 12s ease-in-out infinite;
}

.hero-media-cinematic.is-loaded .hero-vfx-arc {
  opacity: 0.12;
  transform: translate3d(calc(var(--hero-lag-x) * -0.1), calc(var(--hero-lag-y) * -0.12), 0) rotate(-18deg) scale(1);
}

.hero-media-cinematic.is-loaded .hero-vfx-sweep {
  opacity: 0.34;
  transform: translate3d(calc(var(--hero-lag-x) * -0.04), calc(var(--hero-lag-y) * -0.06), 0) rotate(-2deg) scaleX(1);
  animation: heroSweepDrift 11s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.hero-media-cinematic.is-loaded .hero-vfx-particles {
  opacity: 0.08;
  transform: translateY(0);
  animation: heroParticleDrift 24s linear infinite;
}

.hero-media-cinematic.is-loaded .hero-vfx-haze {
  opacity: 1;
  transform: translateY(0);
}

.hero-media-cinematic.is-loaded .hero-vfx-floor {
  opacity: 0.36;
  transform: translateY(0) scaleX(1);
  animation: heroFloorPulse 14s ease-in-out infinite;
}

.hero-media-cinematic.is-loaded .hero-device {
  opacity: 1;
  filter: none;
  transform: translate3d(0, 0, 0) scale(1);
}

.hero-media-cinematic.is-loaded .hero-device::after {
  opacity: 0.42;
  animation: heroReflectionSweep 9.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

#heroImage {
  width: 100%;
  max-width: none;
  margin: 0;
  transform: rotate(-3deg) scale(1.22);
  transform-origin: 58% 30%;
  filter: brightness(0.78) saturate(0.74) contrast(1.08) drop-shadow(0 66px 130px rgba(0, 0, 0, 0.82)) drop-shadow(0 0 20px rgba(255, 168, 108, 0.08));
  animation: heroDeviceFloat 12s ease-in-out infinite;
}

.hero-media-static .hero-device-orbit,
.hero-media-static .hero-vfx-glow,
.hero-media-static .hero-vfx-arc,
.hero-media-cinematic.hero-media-static::before {
  transition-duration: 0ms;
}

@keyframes heroDeviceFloat {
  0%,
  100% {
    transform: rotate(-3deg) scale(1.22) translateY(0);
  }
  50% {
    transform: rotate(-1.8deg) scale(1.235) translateY(-8px);
  }
}

@keyframes heroCopyEnter {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroGlowPulse {
  0%,
  100% {
    filter: blur(42px) saturate(102%);
  }
  50% {
    filter: blur(50px) saturate(108%);
  }
}

@keyframes heroCameraDrift {
  0%,
  100% {
    transform: translate3d(calc(var(--hero-lag-x) * -0.14), calc(var(--hero-lag-y) * -0.12), 0) scale(1.02);
    filter: brightness(0.34) saturate(0.82) contrast(1.08);
  }
  50% {
    transform: translate3d(calc((var(--hero-lag-x) * -0.14) + 8px), calc((var(--hero-lag-y) * -0.12) - 5px), 0) scale(1.045);
    filter: brightness(0.38) saturate(0.86) contrast(1.1);
  }
}

@keyframes heroRingOrbit {
  0% {
    transform: translate(calc(-50% + (var(--hero-lag-x) * 0.08)), calc(-50% + (var(--hero-lag-y) * 0.08))) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(calc(-50% + (var(--hero-lag-x) * 0.08)), calc(-50% + (var(--hero-lag-y) * 0.08))) scale(1.03) rotate(180deg);
  }
  100% {
    transform: translate(calc(-50% + (var(--hero-lag-x) * 0.08)), calc(-50% + (var(--hero-lag-y) * 0.08))) scale(1) rotate(360deg);
  }
}

@keyframes heroRingPulse {
  0%,
  100% {
    filter: blur(1px) brightness(0.82);
  }
  50% {
    filter: blur(1px) brightness(1);
  }
}

@keyframes heroParticleDrift {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes heroSweep {
  0% {
    opacity: 0;
    transform: translateX(-18%) rotate(8deg);
  }
  50% {
    opacity: 0.28;
  }
  100% {
    opacity: 0;
    transform: translateX(20%) rotate(8deg);
  }
}

@keyframes heroSweepDrift {
  0% {
    opacity: 0.18;
    transform: translate3d(calc((var(--hero-lag-x) * -0.1) - 26px), calc(var(--hero-lag-y) * -0.12), 0) rotate(-13deg) scaleX(0.88);
  }
  50% {
    opacity: 0.78;
    transform: translate3d(calc((var(--hero-lag-x) * -0.1) + 10px), calc((var(--hero-lag-y) * -0.12) - 4px), 0) rotate(-11deg) scaleX(1.04);
  }
  100% {
    opacity: 0.22;
    transform: translate3d(calc((var(--hero-lag-x) * -0.1) + 30px), calc(var(--hero-lag-y) * -0.12), 0) rotate(-9deg) scaleX(0.9);
  }
}

@keyframes heroFloorPulse {
  0%,
  100% {
    filter: blur(20px) brightness(0.92);
  }
  50% {
    filter: blur(24px) brightness(1);
  }
}

@keyframes heroReflectionSweep {
  0% {
    opacity: 0.18;
    transform: translate3d(calc((var(--hero-lag-x) * -0.18) - 12px), calc(var(--hero-lag-y) * -0.2), 0);
  }
  50% {
    opacity: 0.48;
    transform: translate3d(calc((var(--hero-lag-x) * -0.04) + 14px), calc((var(--hero-lag-y) * -0.12) - 3px), 0);
  }
  100% {
    opacity: 0.2;
    transform: translate3d(calc((var(--hero-lag-x) * -0.14) + 30px), calc(var(--hero-lag-y) * -0.16), 0);
  }
}

@keyframes heroLegacyEntranceLiquid {
  0% {
    opacity: 0;
    transform: translateY(600px) translateZ(-800px) rotateX(-50deg) rotateY(20deg);
    filter: brightness(0) blur(50px) saturate(0);
  }
  30% {
    opacity: 0.4;
    filter: brightness(1.8) blur(15px) saturate(0.5);
  }
  70% {
    opacity: 1;
    transform: translateY(-20px) translateZ(30px) rotateX(5deg) rotateY(-2deg);
    filter: brightness(1.1) blur(2px) saturate(1.1);
  }
  100% {
    opacity: 1;
    transform: translateY(0) translateZ(0) rotateX(0) rotateY(0);
    filter: brightness(1) blur(0) saturate(1);
  }
}

@keyframes heroLegacyGlowPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 35px rgba(255, 92, 0, 0.12)) drop-shadow(0 0 12px rgba(255, 255, 255, 0.04));
  }
  50% {
    filter: drop-shadow(0 0 65px rgba(255, 92, 0, 0.45)) drop-shadow(0 0 25px rgba(255, 255, 255, 0.18));
  }
}

@media (min-width: 1025px) {
  .hero {
    padding: 100px 0 0;
    background: #000;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.9) 34%, rgba(0, 0, 0, 0.4) 58%, rgba(0, 0, 0, 0.56) 100%),
      radial-gradient(circle at 70% 22%, rgba(255, 184, 126, 0.06), transparent 20%),
      radial-gradient(circle at 22% 14%, rgba(255, 255, 255, 0.03), transparent 26%);
  }

  .hero::after {
    height: 180px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(4, 4, 5, 0.88) 72%, #000 100%);
  }

  .hero-glow {
    background: radial-gradient(circle at 70% 50%, rgba(255, 100, 0, 0.15), transparent 70%);
    filter: none;
  }

  .hero-wrapper {
    gap: 60px;
    align-items: center;
    min-height: auto;
    margin-bottom: -40px;
  }

  .hero-content {
    max-width: 500px;
    padding-bottom: 0;
  }

  .hero-visual {
    flex: 1.5;
    justify-content: center;
    align-items: flex-start;
    min-height: 0;
  }

  .hero-media-cinematic {
    width: auto;
    height: auto;
    min-height: 0;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    perspective: 2500px;
    transform-style: preserve-3d;
  }

  .hero-media-cinematic::before,
  .hero-media-cinematic::after,
  .hero-vfx-glow,
  .hero-vfx-camera,
  .hero-vfx-ring,
  .hero-vfx-arc,
  .hero-vfx-sweep,
  .hero-vfx-particles,
  .hero-vfx-haze,
  .hero-vfx-floor,
  .hero-device::before,
  .hero-device::after {
    display: none;
  }

  .hero-device,
  .hero-device-orbit {
    position: static;
    inset: auto;
    width: auto;
    height: auto;
    max-width: none;
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
    mask: none;
    -webkit-mask: none;
    overflow: visible;
  }

  #heroImage {
    width: 150%;
    max-width: 1000px;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center;
    margin-top: 40px;
    margin-right: -20%;
    margin-bottom: -250px;
    transform-origin: center center;
    perspective: 2500px;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform, filter, opacity;
    filter: none;
    animation:
      heroLegacyEntranceLiquid 3.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards,
      heroLegacyGlowPulse 6s ease-in-out infinite 3.2s;
  }

  .hero-media-cinematic.is-loaded .hero-device {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

@keyframes shellAuraPulse {
  0%,
  100% {
    filter: blur(18px) saturate(102%);
    opacity: 0.82;
  }
  50% {
    filter: blur(24px) saturate(116%);
    opacity: 1;
  }
}

@keyframes shellSheenDrift {
  0% {
    opacity: 0;
    transform: translate3d(-18%, 0, 0) rotate(10deg);
  }
  14% {
    opacity: 0.18;
  }
  50% {
    opacity: 0.34;
  }
  100% {
    opacity: 0;
    transform: translate3d(18%, 0, 0) rotate(10deg);
  }
}

@keyframes shellChipSheen {
  0% {
    transform: translateX(-135%) skewX(-18deg);
  }
  100% {
    transform: translateX(140%) skewX(-18deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-wrapper,
  .nav-wrapper::before,
  .nav-wrapper::after,
  .nav-top,
  .nav-top::before,
  .nav-top::after,
  .nav-top > *,
  .nav-actions > *,
  .nav-bottom,
  .nav-category-item,
  .nav-category-link,
  .nav-category-link::after,
  .hero-media-cinematic::before,
  .hero-vfx-glow,
  .hero-vfx-camera,
  .hero-vfx-ring,
  .hero-vfx-arc,
  .hero-vfx-sweep,
  .hero-vfx-particles,
  .hero-vfx-particles::before,
  .hero-vfx-particles::after,
  .hero-vfx-haze,
  .hero-vfx-floor,
  .hero-device,
  .hero-device::after,
  .hero-device-orbit,
  #heroImage {
    animation: none !important;
    transition: none !important;
  }
}

/* ========================= SERVICES ========================= */
.services-overview {
  padding: 60px 0;
  background: #000;
}

.services-group {
  margin-bottom: 60px;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 40px;
  color: #fff;
  letter-spacing: -0.02em;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 24px;
}

.icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.icon-box {
  width: 64px;
  height: 64px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  transition: all 0.3s ease;
}

.icon-box svg { width: 28px; height: 28px; }

.icon-card:hover { transform: translateY(-8px); }

.icon-card:hover .icon-box {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: 0 15px 30px -5px var(--brand-glow);
}

.icon-card span {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.icon-card:hover span { color: #fff; }

/* ========================= PRODUCTS ========================= */
.products-section { padding: 60px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.filters { display: flex; justify-content: center; gap: 8px; margin-bottom: 32px; }

.filter-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.filter-btn.active { border-color: var(--brand); color: #fff; background: rgba(139, 92, 246, 0.1); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

.product-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-10px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.8);
}

.product-img {
  height: 200px;
  background: #050505;
  border-radius: 12px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-img img { max-width: 85%; max-height: 85%; object-fit: contain; }

.card-meta-row { display: flex; gap: 8px; margin-bottom: 16px; }
.card-meta-pill {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; color: var(--muted);
  background: rgba(255,255,255,0.05); padding: 4px 10px; border-radius: 999px;
}
.meta-icon { width: 14px; height: 14px; color: var(--brand); }

.price { font-size: 26px; font-weight: 800; margin-bottom: 20px; color: #fff; }

/* ========================= SELL SECTION ========================= */
.sell-section { padding: 60px 0 100px; }
.sell-card {
  background: linear-gradient(135deg, #050505 0%, #111 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 100px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
}

.sell-card h2 { font-size: 48px; font-weight: 800; margin-bottom: 16px; }
.sell-card p { color: var(--muted); font-size: 18px; max-width: 600px; margin: 0 auto 32px; }

/* ========================= FOOTER ========================= */
.footer { padding: 80px 0 40px; background: #050505; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; margin-bottom: 60px; }
.logo-img-footer { height: 48px; margin-bottom: 20px; }
.footer-col p { color: var(--muted); line-height: 1.8; }
.footer-bottom { text-align: center; color: #444; font-size: 13px; padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.05); }

/* ========================= WHATSAPP ========================= */
.whatsapp-fixed { position: fixed; right: 24px; bottom: 24px; z-index: 1000; }
.whatsapp-float {
  background: #25D366; color: #fff; width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
  cursor: pointer; border: none; font-size: 0;
}
.whatsapp-float::before { content: 'WA'; font-size: 16px; font-weight: 800; }
.whatsapp-tooltip { position: absolute; right: 70px; top: 50%; transform: translateY(-50%); background: #fff; color: #000; padding: 6px 12px; border-radius: 8px; font-size: 12px; font-weight: 600; white-space: nowrap; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }

.nav-mobile-hero {
  display: none; /* Hidden on desktop */
}

/* ========================= RESPONSIVE ========================= */
@media (max-width: 1024px) {
  .navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #000;
    height: auto;
  }

  .mobile-menu-btn,
  .mobile-search-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: rgba(255, 255, 255, 0.92);
    border-radius: 10px;
  }

  .nav-wrapper {
    position: relative; /* Anchor for absolute hero */
    display: flex;
    flex-direction: column;
    padding: 0;
  }

  .nav-top {
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: relative;
    z-index: 20; /* Keep top bar above hero container if needed */
  }

  .logo-link {
    z-index: 30; /* Higher than hero image (15) */
    position: relative;
  }

  .logo-text {
    font-size: 16px;
    display: block !important;
  }

  .nav-btn {
    z-index: 30; /* Higher than hero image (15) */
    position: relative;
  }

  .mobile-search-icon {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
  }

  .nav-mobile-hero {
    display: block;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    height: 140px;
    z-index: 15; /* Sits behind logo and buttons */
    pointer-events: none;
    display: flex;
    align-items: flex-end;
  }

  .mobile-hero-img {
    height: 100%;
    width: auto;
    object-fit: contain;
    object-position: bottom;
    filter: drop-shadow(0 -10px 20px var(--brand-glow));
    animation: mobileHeroEntrance 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

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

  .nav-bottom {
    background: #000;
    position: relative;
    z-index: 10;
    border-top: 1px solid var(--line);
    padding: 10px 20px;
  }

  .hero { 
    padding-top: 40px; 
    border-top: none; 
    border-bottom: 1px solid var(--line);
  }
  .hero-visual { display: none; }
  
  .hero-wrapper { flex-direction: column; text-align: center; min-height: auto; gap: 0; }
  .hero-content { max-width: 100%; padding-bottom: 40px; }
  .hero-actions { justify-content: center; }
}

@media (max-width: 480px) {
  .nav-mobile-hero { height: 110px; } /* Slightly smaller for very narrow screens to avoid overlaps */
  .logo-text { font-size: 14px; }
  .nav-top { padding: 0 12px; }
}

@media (max-width: 768px) {
  .navbar {
    background: transparent;
    border-bottom: none;
    padding-top: 4px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .navbar .container {
    width: min(1200px, calc(100% - 8px));
  }

  .nav-wrapper {
    position: relative;
    background: linear-gradient(180deg, rgba(12, 16, 25, 0.98) 0%, rgba(11, 15, 23, 0.98) 58%, rgba(10, 14, 20, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
      0 18px 44px rgba(0, 0, 0, 0.42),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
    isolation: isolate;
    transform-style: preserve-3d;
    perspective: 1200px;
  }

  .nav-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at var(--shell-glow-x) var(--shell-glow-y), rgba(255, 153, 96, 0.16), transparent 24%),
      radial-gradient(circle at 50% 24%, rgba(133, 92, 248, 0.1), transparent 36%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
    filter: blur(18px);
    opacity: 0.72;
    pointer-events: none;
    z-index: 0;
  }

  .nav-wrapper::after {
    content: '';
    position: absolute;
    inset: -18% -42%;
    background: linear-gradient(112deg, transparent 28%, rgba(255, 255, 255, 0.04) 42%, rgba(255, 255, 255, 0.14) 50%, transparent 60%);
    mix-blend-mode: screen;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    animation: shellSheenDrift 12s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    animation-play-state: paused;
  }

  .nav-wrapper.is-loaded {
    box-shadow:
      0 26px 60px rgba(0, 0, 0, 0.52),
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 0 0 1px rgba(255, 255, 255, 0.02);
  }

  .nav-wrapper.is-loaded::after {
    opacity: 0.36;
    animation-play-state: running;
  }

  .nav-top {
    height: 104px;
    padding: 14px 18px 0;
    align-items: flex-start;
    gap: 14px;
    position: relative;
    background:
      radial-gradient(circle at 50% 82%, rgba(255, 152, 95, 0.34), transparent 18%),
      radial-gradient(circle at 52% 74%, rgba(145, 92, 248, 0.24), transparent 26%),
      linear-gradient(180deg, rgba(13, 18, 28, 0.98) 0%, rgba(12, 16, 24, 0.98) 100%);
    transform: translate3d(calc(var(--shell-shift-x) * 0.05), calc(var(--shell-shift-y) * 0.04), 0) rotateX(var(--shell-tilt-x)) rotateY(var(--shell-tilt-y));
    transform-origin: 50% 40%;
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav-top::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 10px;
    width: min(60vw, 214px);
    height: 110px;
    transform: translateX(-50%);
    background:
      radial-gradient(circle at 50% 72%, rgba(255, 158, 103, 0.5) 0%, rgba(255, 158, 103, 0.18) 24%, rgba(145, 92, 248, 0.18) 44%, transparent 74%),
      radial-gradient(circle at 50% 52%, rgba(255, 255, 255, 0.1), transparent 42%);
    filter: blur(18px);
    pointer-events: none;
    z-index: 0;
  }

  .nav-top::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: min(56vw, 188px);
    height: 74px;
    transform: translateX(-50%);
    background: url('assets/hero-2.png') center -12px / 188px auto no-repeat;
    filter: drop-shadow(0 18px 32px rgba(255, 148, 93, 0.24)) drop-shadow(0 0 24px rgba(154, 99, 255, 0.18));
    pointer-events: none;
    z-index: 1;
  }

  .nav-top > * {
    position: relative;
    z-index: 2;
  }

  .mobile-menu-btn,
  .mobile-search-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.88);
  }

  .mobile-menu-btn {
    background: transparent;
  }

  .logo-link {
    gap: 10px;
  }

  .logo-img {
    height: 28px !important;
  }

  .logo-text {
    font-size: 17px;
    letter-spacing: -0.03em;
  }

  .nav-actions {
    gap: 12px;
  }

  .nav-btn {
    position: relative;
    overflow: hidden;
    padding: 10px 18px;
    min-width: 62px;
    border-radius: 12px;
    font-size: 14px;
    box-shadow: 0 10px 24px rgba(139, 92, 246, 0.28);
  }

  .nav-btn::before {
    content: '';
    position: absolute;
    inset: -2px -46%;
    background: linear-gradient(110deg, transparent 32%, rgba(255, 255, 255, 0.14) 48%, rgba(255, 255, 255, 0.46) 54%, transparent 68%);
    transform: translateX(-135%) skewX(-18deg);
    opacity: 0;
    pointer-events: none;
  }

  .nav-mobile-hero {
    display: none;
  }

  .mobile-hero-img {
    display: none;
  }

  .nav-bottom {
    padding: 5px 8px 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 14, 20, 0.98);
    position: relative;
    z-index: 2;
    transform: translate3d(calc(var(--shell-shift-x) * 0.03), calc(var(--shell-shift-y) * 0.04), 0);
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav-categories {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    overflow: visible;
  }

  .nav-category-item {
    min-width: 0;
  }

  .nav-category-primary {
    display: block;
  }

  .nav-category-extra {
    display: none;
  }

  .nav-category-link {
    width: 100%;
    min-height: 42px;
    padding: 3px 1px 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    position: relative;
    color: rgba(228, 234, 244, 0.74);
    font-size: 9.25px;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-align: center;
    white-space: nowrap;
    line-height: 1.15;
    transition: color 0.28s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), filter 0.32s ease;
  }

  .nav-category-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    color: inherit;
  }

  .nav-category-label {
    display: block;
    max-width: 100%;
  }

  .nav-category-link.is-active {
    color: #aa72ff;
  }

  .nav-category-link.is-active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 36px;
    height: 3px;
    transform: translateX(-50%) scaleX(0.18);
    transform-origin: center;
    border-radius: 999px;
    background: linear-gradient(90deg, #8d54f8 0%, #c484ff 100%);
    opacity: 0;
    transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1), opacity 320ms ease;
  }

  .nav-wrapper.is-loaded .nav-category-link.is-active::after {
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
  }

  .hero {
    padding-top: 56px;
  }

  .whatsapp-fixed {
    display: none;
  }

  .hero h1 { font-size: 40px; }
  .footer-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) and (prefers-reduced-motion: no-preference) {
  .nav-wrapper {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.988);
    filter: blur(16px) saturate(88%);
    transition:
      opacity 720ms ease,
      transform 1100ms cubic-bezier(0.16, 1, 0.3, 1),
      filter 900ms ease,
      box-shadow 900ms ease;
  }

  .nav-wrapper.is-loaded {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: none;
  }

  .nav-top::before {
    opacity: 0;
    transform: translate3d(calc(-50% + (var(--shell-shift-x) * 0.08)), 14px, 0) scale(0.82);
    transition: opacity 840ms ease 120ms, transform 1240ms cubic-bezier(0.16, 1, 0.3, 1) 120ms;
    animation: shellAuraPulse 9s ease-in-out infinite;
    animation-play-state: paused;
  }

  .nav-top::after {
    opacity: 0;
    transform: translate3d(calc(-50% + (var(--shell-shift-x) * 0.05)), 16px, 0) scale(0.9);
    transition: opacity 760ms ease 200ms, transform 1240ms cubic-bezier(0.16, 1, 0.3, 1) 200ms;
  }

  .nav-wrapper.is-loaded .nav-top::before {
    opacity: 0.96;
    transform: translate3d(calc(-50% + (var(--shell-shift-x) * 0.08)), 0, 0) scale(1);
    animation-play-state: running;
  }

  .nav-wrapper.is-loaded .nav-top::after {
    opacity: 1;
    transform: translate3d(calc(-50% + (var(--shell-shift-x) * 0.05)), 0, 0) scale(1);
  }

  .nav-top > .mobile-menu-btn,
  .nav-top > .logo-link,
  .nav-actions > * {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
    transition: opacity 620ms ease, transform 880ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-top > .mobile-menu-btn {
    transition-delay: 180ms;
  }

  .nav-top > .logo-link {
    transition-delay: 230ms;
  }

  .nav-actions > .nav-btn {
    transition-delay: 280ms;
  }

  .nav-actions > .mobile-search-icon {
    transition-delay: 330ms;
  }

  .nav-wrapper.is-loaded .nav-top > .mobile-menu-btn,
  .nav-wrapper.is-loaded .nav-top > .logo-link,
  .nav-wrapper.is-loaded .nav-actions > * {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .nav-bottom {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
    transition: opacity 620ms ease 300ms, transform 900ms cubic-bezier(0.16, 1, 0.3, 1) 300ms;
  }

  .nav-category-item {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
    transition: opacity 520ms ease, transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-category-item:nth-child(1) { transition-delay: 360ms; }
  .nav-category-item:nth-child(2) { transition-delay: 400ms; }
  .nav-category-item:nth-child(3) { transition-delay: 440ms; }
  .nav-category-item:nth-child(4) { transition-delay: 480ms; }
  .nav-category-item:nth-child(5) { transition-delay: 520ms; }

  .nav-wrapper.is-loaded .nav-bottom,
  .nav-wrapper.is-loaded .nav-category-item {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 768px) and (hover: hover) and (pointer: fine) {
  .nav-btn:hover::before,
  .nav-btn:focus-visible::before {
    opacity: 0.82;
    animation: shellChipSheen 1.15s cubic-bezier(0.22, 1, 0.36, 1) 1;
  }

  .nav-btn:hover,
  .nav-btn:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(139, 92, 246, 0.34);
  }

  .nav-category-link:hover,
  .nav-category-link:focus-visible {
    color: #fff;
    filter: brightness(1.08);
    transform: translateY(-2px);
  }
}
