/* ============================================
   AITIZ — Premium Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Brand */
  --bg-0: #07070a;
  --bg-1: #0c0c12;
  --bg-2: #11111a;
  --bg-3: #181822;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hi: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-hi: rgba(255, 255, 255, 0.16);

  --text: #f5f5f7;
  --text-dim: rgba(245, 245, 247, 0.72);
  --text-mute: rgba(245, 245, 247, 0.48);

  --accent: #7c5cff;            /* electric violet */
  --accent-2: #19d5ff;           /* cyan glow */
  --accent-3: #ff8a3d;           /* warm */
  --success: #4ade80;
  --danger: #ff5d6c;

  /* Gradients */
  --grad-brand: linear-gradient(120deg, #7c5cff 0%, #19d5ff 100%);
  --grad-warm: linear-gradient(120deg, #ff8a3d 0%, #ff5d6c 100%);
  --grad-iris: conic-gradient(from 220deg at 50% 50%,
    #7c5cff, #19d5ff, #ff8a3d, #ff5d6c, #7c5cff);

  /* Typography */
  --font-display: 'Instrument Serif', 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-full: 999px;

  /* Shadow */
  --shadow-sm: 0 2px 8px rgba(0,0,0,.32);
  --shadow-md: 0 12px 32px rgba(0,0,0,.4);
  --shadow-glow: 0 0 48px rgba(124, 92, 255, .35);
  --shadow-glow-cyan: 0 0 48px rgba(25, 213, 255, .25);

  /* Layout */
  --container: 1280px;
  --nav-h: 72px;

  /* Motion */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out-back: cubic-bezier(.34, 1.56, .64, 1);
  --t-fast: .2s;
  --t-med: .4s;
  --t-slow: .8s;
}

/* ============================================
   Reset & Base
   ============================================ */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

html, body { height: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* Page background — gradient mesh */
body::before {
  content: '';
  position: fixed;
  inset: -20%;
  z-index: -2;
  background:
    radial-gradient(60% 40% at 20% 15%, rgba(124, 92, 255, .22), transparent 60%),
    radial-gradient(50% 45% at 85% 30%, rgba(25, 213, 255, .14), transparent 60%),
    radial-gradient(45% 50% at 50% 100%, rgba(255, 138, 61, .10), transparent 60%);
  pointer-events: none;
  animation: meshMove 24s ease-in-out infinite alternate;
}

/* Subtle grain */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

@keyframes meshMove {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(2%, -2%, 0) scale(1.05); }
}

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

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

ul, ol { list-style: none; padding: 0; }

input, textarea, select {
  font: inherit; color: inherit;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 16px;
  width: 100%;
  outline: none;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}

input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  background: rgba(124, 92, 255, .06);
}

::selection { background: var(--accent); color: white; }

/* ============================================
   Typography
   ============================================ */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--accent-2);
}

h1, h2, h3, h4 {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.625rem);
}

p { color: var(--text-dim); }

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--text-dim);
  max-width: 620px;
  line-height: 1.55;
}

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ============================================
   Layout
   ============================================ */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: clamp(64px, 10vw, 128px) 0;
  position: relative;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 56px;
  max-width: 720px;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--r-full);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              box-shadow var(--t-med) var(--ease);
  will-change: transform;
  white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--text);
  color: var(--bg-0);
  font-weight: 600;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease);
  z-index: -1;
}

.btn-primary:hover { color: white; border-color: transparent; }
.btn-primary:hover::before { opacity: 1; }

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  background: var(--surface-hi);
  border-color: var(--border-hi);
  transform: translateY(-1px);
}

.btn-icon {
  width: 44px; height: 44px;
  padding: 0;
  border-radius: 50%;
}

.btn-arrow {
  transition: transform var(--t-fast) var(--ease);
}

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

/* Magnetic hover wrapper handled by JS */
.magnetic { display: inline-block; }

/* ============================================
   Navbar
   ============================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease),
              backdrop-filter var(--t-med) var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(7, 7, 10, 0.72);
  border-bottom-color: var(--border);
  backdrop-filter: saturate(1.4) blur(20px);
  -webkit-backdrop-filter: saturate(1.4) blur(20px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  gap: 24px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.nav-logo-mark {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  color: white;
  font-size: 19px;
  box-shadow: var(--shadow-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-links a {
  padding: 8px 16px;
  border-radius: var(--r-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  transition: color var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease);
  position: relative;
}

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

.nav-links a.active {
  color: var(--text);
  background: var(--surface-hi);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Lang switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lang-switch button {
  padding: 6px 10px;
  border-radius: var(--r-full);
  color: var(--text-mute);
  transition: all var(--t-fast) var(--ease);
}

.lang-switch button:hover { color: var(--text-dim); }

.lang-switch button.active {
  color: var(--bg-0);
  background: var(--text);
}

/* Mobile menu */
.nav-burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
}

.nav-burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  position: relative;
  transition: transform var(--t-fast) var(--ease);
}

.nav-burger span::before,
.nav-burger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  transition: transform var(--t-fast) var(--ease), top var(--t-fast) var(--ease);
}

.nav-burger span::before { top: -6px; }
.nav-burger span::after  { top: 6px; }

.nav.menu-open .nav-burger span { background: transparent; }
.nav.menu-open .nav-burger span::before { top: 0; transform: rotate(45deg); }
.nav.menu-open .nav-burger span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }

  .nav.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    position: absolute;
    top: var(--nav-h);
    left: 16px; right: 16px;
    padding: 16px;
    background: rgba(12, 12, 18, 0.96);
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .nav.menu-open .nav-links a {
    padding: 12px 16px;
    font-size: 16px;
  }
}

/* ============================================
   Hero
   ============================================ */

.hero {
  min-height: min(100vh, 920px);
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 96px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(420px, 60vw, 720px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--grad-iris);
  filter: blur(80px);
  opacity: .35;
  animation: orbSpin 30s linear infinite;
  z-index: -1;
}

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

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 13px;
  color: var(--text-dim);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-badge-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  font-size: 11px;
  color: white;
  font-weight: 600;
  box-shadow: 0 0 18px rgba(124, 92, 255, .6);
}

.hero h1 {
  max-width: 14ch;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--text-dim);
  max-width: 560px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.hero-stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  width: 100%;
  max-width: 880px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-stat {
  padding: 24px;
  background: var(--surface);
  text-align: center;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-mute);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 4px;
}

@media (max-width: 720px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   Glass Card
   ============================================ */

.glass {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}

.glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,.12), transparent 30%, transparent 70%, rgba(255,255,255,.06));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* ============================================
   Features
   ============================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.feature {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease);
}

.feature:hover {
  transform: translateY(-4px);
  border-color: var(--border-hi);
}

.feature-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(124, 92, 255, .25), rgba(25, 213, 255, .15));
  border: 1px solid var(--border);
}

.feature-icon svg { width: 22px; height: 22px; color: var(--accent-2); }

.feature h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

.feature p {
  font-size: 14.5px;
  line-height: 1.55;
}

/* ============================================
   Product cards (Catalog)
   ============================================ */

.catalog-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  margin-bottom: 28px;
}

.search-box {
  flex: 1 1 280px;
  position: relative;
  min-width: 240px;
}

.search-box svg {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--text-mute);
  pointer-events: none;
}

.search-box input {
  padding-left: 44px;
  background: rgba(0, 0, 0, .25);
  border-color: transparent;
  border-radius: var(--r-md);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  padding: 9px 14px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  transition: all var(--t-fast) var(--ease);
  cursor: pointer;
}

.chip:hover { color: var(--text); border-color: var(--border-hi); }

.chip.active {
  color: var(--bg-0);
  background: var(--text);
  border-color: var(--text);
}

.sort-select {
  width: auto;
  padding: 10px 36px 10px 16px;
  font-size: 13.5px;
  font-weight: 500;
  background: rgba(0,0,0,.25);
  border-radius: var(--r-md);
  border-color: transparent;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23a3a3a8' stroke-width='2' viewBox='0 0 24 24'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

.sort-select option { background: var(--bg-2); }

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

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease);
  isolation: isolate;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hi);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(124,92,255,.15);
}

.product-media {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at center, rgba(124,92,255,.18), transparent 70%), #0a0a14;
}

.product-media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

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

.product-badges {
  position: absolute;
  top: 14px; left: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--r-full);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.badge-new { background: rgba(74, 222, 128, .18); color: #4ade80; border: 1px solid rgba(74, 222, 128, .3); }
.badge-sale { background: rgba(255, 93, 108, .2); color: #ff7b87; border: 1px solid rgba(255, 93, 108, .3); }
.badge-hot { background: rgba(255, 138, 61, .18); color: #ffa363; border: 1px solid rgba(255, 138, 61, .3); }

.product-wishlist {
  position: absolute;
  top: 14px; right: 14px;
  width: 38px; height: 38px;
  background: rgba(7, 7, 10, .55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text);
  transition: all var(--t-fast) var(--ease);
  z-index: 2;
}

.product-wishlist:hover { background: rgba(255, 93, 108, .25); color: #ff8a92; }
.product-wishlist svg { width: 16px; height: 16px; }
.product-wishlist.active { background: rgba(255, 93, 108, .35); color: #ff8a92; }
.product-wishlist.active svg { fill: currentColor; }

.product-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.product-category {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.product-name {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.3;
}

.product-card a.product-name:hover { color: var(--accent-2); }

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
}

.product-prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.product-price {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.product-price-old {
  font-size: 0.9rem;
  color: var(--text-mute);
  text-decoration: line-through;
}

.product-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
}

.product-rating svg { width: 13px; height: 13px; color: var(--accent-3); }

.empty-state {
  text-align: center;
  padding: 80px 16px;
  border: 1px dashed var(--border);
  border-radius: var(--r-lg);
  color: var(--text-mute);
}

/* ============================================
   Footer
   ============================================ */

.footer {
  border-top: 1px solid var(--border);
  padding: 80px 0 36px;
  margin-top: 64px;
  background: linear-gradient(180deg, transparent, rgba(124, 92, 255, .04));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 56px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 18px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
  color: var(--text-dim);
  font-size: 14.5px;
  transition: color var(--t-fast) var(--ease);
}

.footer-col a:hover { color: var(--text); }

.footer-about p {
  font-size: 14.5px;
  line-height: 1.6;
  margin: 16px 0 24px;
  max-width: 320px;
}

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

.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  transition: all var(--t-fast) var(--ease);
}

.footer-social a:hover {
  background: var(--surface-hi);
  border-color: var(--border-hi);
  transform: translateY(-2px);
}

.footer-social svg { width: 16px; height: 16px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-mute);
}

@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Reveal animation
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  will-change: transform, opacity;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .4s;  }
.reveal[data-delay="6"] { transition-delay: .48s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================
   Custom cursor (desktop only)
   ============================================ */

@media (hover: hover) and (pointer: fine) {
  .cursor {
    position: fixed;
    top: 0; left: 0;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent-2);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width .2s var(--ease), height .2s var(--ease), background .2s var(--ease);
    mix-blend-mode: difference;
  }

  .cursor-ring {
    position: fixed;
    top: 0; left: 0;
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .4);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width .25s var(--ease), height .25s var(--ease), border-color .2s var(--ease);
  }

  .cursor.hover { width: 14px; height: 14px; }
  .cursor-ring.hover { width: 60px; height: 60px; border-color: var(--accent-2); }
}

@media (hover: none) {
  .cursor, .cursor-ring { display: none; }
}

/* ============================================
   Page subhero (inner pages)
   ============================================ */

.page-hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 64px;
  position: relative;
  text-align: center;
}

.page-hero .container { display: flex; flex-direction: column; align-items: center; gap: 20px; }

.page-hero h1 { max-width: 18ch; }

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-mute);
  font-family: var(--font-mono);
}

.breadcrumbs a:hover { color: var(--text); }

/* ============================================
   Contact
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

@media (max-width: 920px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info { display: flex; flex-direction: column; gap: 16px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
}

.contact-item-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124, 92, 255, .25), rgba(25, 213, 255, .15));
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-item-icon svg { width: 20px; height: 20px; color: var(--accent-2); }

.contact-item h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: 14.5px; color: var(--text-dim); }
.contact-item a:hover { color: var(--text); }

.contact-form {
  padding: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

@media (max-width: 540px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
}

.form-field { margin-bottom: 14px; }

.form-field label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 8px;
}

.form-field textarea { min-height: 120px; resize: vertical; }

.form-status {
  font-size: 13.5px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  margin-top: 14px;
  display: none;
}

.form-status.show { display: block; }
.form-status.success { background: rgba(74, 222, 128, .1); color: var(--success); border: 1px solid rgba(74, 222, 128, .25); }
.form-status.error { background: rgba(255, 93, 108, .1); color: var(--danger); border: 1px solid rgba(255, 93, 108, .25); }

/* ============================================
   FAQ
   ============================================ */

.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  border-radius: var(--r-md);
  overflow: hidden;
  transition: background var(--t-fast) var(--ease);
}

.faq-q {
  width: 100%;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.faq-q-icon {
  width: 28px; height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}

.faq-q-icon svg { width: 12px; height: 12px; }

.faq-item.open .faq-q-icon {
  transform: rotate(45deg);
  background: var(--accent);
  border-color: var(--accent);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-med) var(--ease);
  padding: 0 24px;
}

.faq-item.open .faq-a {
  max-height: 240px;
}

.faq-a p {
  padding-bottom: 22px;
  font-size: 14.5px;
  line-height: 1.65;
  max-width: 680px;
}

/* ============================================
   CTA Section
   ============================================ */

.cta-block {
  padding: clamp(48px, 8vw, 96px);
  text-align: center;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(124, 92, 255, .25), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
}

.cta-block h2 { max-width: 18ch; margin: 12px auto 16px; }
.cta-block p { max-width: 48ch; margin: 0 auto 28px; }

/* ============================================
   Testimonials
   ============================================ */

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.testimonial {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--text);
  letter-spacing: -0.01em;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.testimonial-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  font-weight: 600;
  color: white;
  font-size: 14px;
}

.testimonial-name { font-weight: 600; font-size: 14px; line-height: 1.2; }
.testimonial-role { font-size: 12.5px; color: var(--text-mute); margin-top: 2px; }

/* ============================================
   Team
   ============================================ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.team-card {
  padding: 28px;
  text-align: center;
}

.team-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 36px;
  color: white;
  box-shadow: 0 8px 24px rgba(124, 92, 255, .35);
}

.team-name { font-weight: 600; font-size: 1rem; }
.team-role { color: var(--text-mute); font-size: 13.5px; margin-top: 2px; font-family: var(--font-mono); letter-spacing: 0.04em; }

/* ============================================
   Product detail page
   ============================================ */

.product-detail {
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 96px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}

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

.product-detail-media {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: radial-gradient(ellipse at center, rgba(124,92,255,.18), transparent 70%), #0a0a14;
  position: relative;
}

.product-detail-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.product-detail-info { padding-top: 8px; }
.product-detail-info .product-category { margin-bottom: 14px; display: inline-block; }
.product-detail-info h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.product-detail-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 20px 0 24px;
}

.product-detail-price .now {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.product-detail-price .was {
  font-size: 1.1rem;
  color: var(--text-mute);
  text-decoration: line-through;
}

.product-detail-desc {
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 28px;
}

.product-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.product-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}

.product-feature svg { width: 18px; height: 18px; color: var(--accent-2); flex-shrink: 0; margin-top: 2px; }
.product-feature span { font-size: 13.5px; line-height: 1.4; }

.product-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.product-actions .btn { flex: 1 1 auto; min-width: 160px; }

/* ============================================
   Loader (page enter)
   ============================================ */

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-0);
  display: grid;
  place-items: center;
  transition: opacity .5s var(--ease), visibility .5s var(--ease);
}

.page-loader.done { opacity: 0; visibility: hidden; }

.loader-mark {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  color: white;
  font-size: 28px;
  animation: pulse 1.4s var(--ease) infinite;
  box-shadow: var(--shadow-glow);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(.92); opacity: .8; }
}

/* ============================================
   Utilities
   ============================================ */

.text-center { text-align: center; }
.flex { display: flex; }
.gap-2 { gap: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.hidden { display: none !important; }

/* Floating badge marquee */
.marquee {
  display: flex;
  gap: 48px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}

.marquee-track {
  display: flex;
  gap: 48px;
  animation: marqueeScroll 28s linear infinite;
  flex-shrink: 0;
}

.marquee-item {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--text-mute);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 24px;
}

.marquee-item::after {
  content: '✦';
  color: var(--accent-2);
  font-style: normal;
  font-size: 0.9rem;
}

@keyframes marqueeScroll {
  to { transform: translateX(-50%); }
}

/* ============================================
   CART  (request list)  — v2 add-on
   ============================================ */
.nav-cart{
  position:relative; display:inline-flex; align-items:center; justify-content:center;
  width:40px; height:40px; border-radius:var(--r-full);
  background:var(--surface); border:1px solid var(--border);
  color:var(--text); cursor:pointer;
  backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
  transition:background var(--t-med) var(--ease), border-color var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}
.nav-cart:hover{ background:var(--surface-hi); border-color:var(--border-hi); transform:translateY(-1px); }
.nav-cart svg{ width:19px; height:19px; }
.nav-cart-count{
  position:absolute; top:-5px; right:-5px; min-width:18px; height:18px; padding:0 5px;
  display:none; align-items:center; justify-content:center;
  font-size:11px; font-weight:700; line-height:1; color:#fff;
  background:var(--grad-brand); border-radius:var(--r-full);
  box-shadow:0 0 0 2px var(--bg-0);
}
.nav-cart.has-items .nav-cart-count{ display:inline-flex; }
.nav-cart.bump{ animation:cartBump .4s var(--ease); }
@keyframes cartBump{ 0%{transform:scale(1)} 30%{transform:scale(1.18)} 60%{transform:scale(.94)} 100%{transform:scale(1)} }

/* overlay + drawer */
.cart-overlay{
  position:fixed; inset:0; z-index:200; background:rgba(4,4,8,.6);
  backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px);
  opacity:0; visibility:hidden; transition:opacity var(--t-med) var(--ease), visibility var(--t-med) var(--ease);
}
.cart-overlay.open{ opacity:1; visibility:visible; }
.cart-drawer{
  position:fixed; top:0; right:0; z-index:201; height:100%; width:min(440px,100vw);
  display:flex; flex-direction:column;
  background:linear-gradient(180deg,var(--bg-2),var(--bg-1));
  border-left:1px solid var(--border);
  box-shadow:-30px 0 80px rgba(0,0,0,.5);
  transform:translateX(100%); transition:transform var(--t-slow,.5s) var(--ease);
}
.cart-drawer.open{ transform:translateX(0); }
.cart-head{
  display:flex; align-items:center; justify-content:space-between;
  padding:22px 24px; border-bottom:1px solid var(--border); flex-shrink:0;
}
.cart-head h3{ font-size:1.15rem; display:flex; align-items:center; gap:10px; }
.cart-head-count{ font-size:12px; color:var(--text-mute); font-weight:400; }
.cart-close{
  width:34px; height:34px; border-radius:var(--r-full); border:1px solid var(--border);
  background:var(--surface); color:var(--text); cursor:pointer; display:inline-flex;
  align-items:center; justify-content:center; transition:background var(--t-med) var(--ease);
}
.cart-close:hover{ background:var(--surface-hi); }
.cart-close svg{ width:16px; height:16px; }

.cart-body{ flex:1; overflow-y:auto; padding:18px 24px; }
.cart-empty{ text-align:center; padding:60px 20px; color:var(--text-mute); }
.cart-empty svg{ width:44px; height:44px; opacity:.25; margin-bottom:16px; }
.cart-empty p{ margin-bottom:6px; color:var(--text-dim); }
.cart-empty span{ font-size:13px; }

.cart-item{
  display:grid; grid-template-columns:64px 1fr auto; gap:14px;
  padding:14px 0; border-bottom:1px solid var(--border); align-items:center;
}
.cart-item:last-child{ border-bottom:none; }
.cart-item-img{
  width:64px; height:64px; border-radius:var(--r-md); object-fit:cover;
  background:var(--bg-3); border:1px solid var(--border);
}
.cart-item-info{ min-width:0; }
.cart-item-name{
  font-size:13.5px; font-weight:600; line-height:1.35; color:var(--text);
  display:block; margin-bottom:5px; text-decoration:none;
}
.cart-item-name:hover{ color:var(--accent-2); }
.cart-item-price{ font-size:12.5px; color:var(--text-mute); }
.cart-item-price.on-request{ font-style:italic; }
.cart-item-right{ display:flex; flex-direction:column; align-items:flex-end; gap:8px; }
.cart-qty{ display:inline-flex; align-items:center; border:1px solid var(--border); border-radius:var(--r-full); overflow:hidden; }
.cart-qty button{
  width:28px; height:28px; background:var(--surface); border:none; color:var(--text);
  cursor:pointer; font-size:15px; line-height:1; transition:background var(--t-fast,.2s) var(--ease);
}
.cart-qty button:hover{ background:var(--surface-hi); }
.cart-qty input{
  width:34px; height:28px; text-align:center; background:transparent; border:none;
  color:var(--text); font-size:13px; font-family:var(--font-mono); -moz-appearance:textfield;
}
.cart-qty input::-webkit-outer-spin-button,.cart-qty input::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }
.cart-item-remove{
  background:none; border:none; color:var(--text-mute); cursor:pointer; font-size:11px;
  display:inline-flex; align-items:center; gap:4px; transition:color var(--t-fast,.2s) var(--ease);
}
.cart-item-remove:hover{ color:var(--danger); }
.cart-item-remove svg{ width:13px; height:13px; }

/* footer: total + form */
.cart-foot{ border-top:1px solid var(--border); padding:18px 24px 24px; flex-shrink:0; background:var(--bg-1); }
.cart-total{ display:flex; align-items:baseline; justify-content:space-between; margin-bottom:16px; }
.cart-total-label{ font-size:13px; color:var(--text-mute); }
.cart-total-val{ font-size:1.25rem; font-weight:700; font-family:var(--font-mono); }
.cart-total-note{ font-size:11px; color:var(--text-mute); }

.cart-form{ display:flex; flex-direction:column; gap:12px; }
.cart-form-title{ font-size:14px; font-weight:600; margin-bottom:-2px; }
.cart-form-hint{ font-size:12px; color:var(--text-mute); line-height:1.45; margin-bottom:4px; }
.cart-field label{ display:block; font-size:11px; text-transform:uppercase; letter-spacing:.05em; color:var(--text-mute); margin-bottom:5px; }
.cart-field input,.cart-field textarea{
  width:100%; padding:11px 13px; background:var(--surface); border:1px solid var(--border);
  border-radius:var(--r-md); color:var(--text); font-size:14px; font-family:var(--font-body);
  transition:border-color var(--t-med) var(--ease), background var(--t-med) var(--ease);
}
.cart-field input:focus,.cart-field textarea:focus{ outline:none; border-color:var(--accent-2); background:var(--surface-hi); }
.cart-field textarea{ resize:vertical; min-height:64px; }
.cart-form .btn{ width:100%; margin-top:4px; }
.cart-form-status{ font-size:13px; line-height:1.45; padding:2px; display:none; }
.cart-form-status.show{ display:block; }
.cart-form-status.success{ color:var(--success); }
.cart-form-status.error{ color:var(--danger); }
.cart-clear{
  background:none; border:none; color:var(--text-mute); cursor:pointer; font-size:12px;
  margin-top:10px; width:100%; text-align:center; transition:color var(--t-fast,.2s) var(--ease);
}
.cart-clear:hover{ color:var(--danger); }

/* toast */
.cart-toast{
  position:fixed; bottom:24px; left:50%; transform:translateX(-50%) translateY(20px); z-index:300;
  display:flex; align-items:center; gap:10px; padding:13px 20px;
  background:var(--bg-3); border:1px solid var(--border-hi); border-radius:var(--r-full);
  color:var(--text); font-size:14px; box-shadow:0 10px 40px rgba(0,0,0,.4);
  opacity:0; visibility:hidden; transition:opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), visibility var(--t-med) var(--ease);
}
.cart-toast.show{ opacity:1; visibility:visible; transform:translateX(-50%) translateY(0); }
.cart-toast svg{ width:18px; height:18px; color:var(--success); }
.cart-toast a{ color:var(--accent-2); text-decoration:none; font-weight:600; margin-left:4px; }

/* "add to cart" button on product cards */
.product-cart-btn{
  margin-top:12px; width:100%; display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:10px 14px; border-radius:var(--r-full); cursor:pointer; font-size:13.5px; font-weight:600;
  background:var(--surface); border:1px solid var(--border-hi); color:var(--text);
  transition:background var(--t-med) var(--ease), border-color var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}
.product-cart-btn:hover{ background:var(--surface-hi); transform:translateY(-1px); }
.product-cart-btn svg{ width:16px; height:16px; }
.product-cart-btn.added{ border-color:var(--success); color:var(--success); }

@media (max-width:520px){
  .cart-drawer{ width:100vw; }
  .cart-item{ grid-template-columns:52px 1fr auto; gap:10px; }
  .cart-item-img{ width:52px; height:52px; }
}
