/*
 * XinFlying Xin2 — Design System
 * ================================
 * Color palette:
 *   --bg:       #0a0818  (dark navy background)
 *   --panel:    #12102a  (card / panel surface)
 *   --panel2:   #1a1838  (elevated panel)
 *   --brand:    #26225b  (brand navy)
 *   --pool:     #6cc6da  (teal accent, from logo "F" bars)
 *   --cyan:     #4dd9f0  (hero gradient)
 *   --purple:   #7c4dff  (hero gradient)
 *   --text:     #f0eeff  (near-white body text)
 *   --muted:    #8b85b0  (secondary text)
 *   --line:     rgba(108,198,218,.12)  (border lines)
 *   --success:  #22d3a4
 *
 * Spacing: 8px increments
 * Radii: --radius 10px | --radius-lg 18px | --radius-xl 28px
 * Max-width: 1200px
 */

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

:root {
  --bg:        #0a0818;
  --panel:     #12102a;
  --panel2:    #1a1838;
  --brand:     #26225b;
  --pool:      #6cc6da;
  --cyan:      #4dd9f0;
  --purple:    #7c4dff;
  --text:      #f0eeff;
  --muted:     #8b85b0;
  --line:      rgba(108,198,218,.12);
  --line2:     rgba(108,198,218,.06);
  --line-hard: #1f1f1f;
  --line-soft: #2a2a2a;
  --black:     #0a0a0a;
  --success:   #22d3a4;
  --danger:    #f97066;

  --radius:    10px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --shadow:    0 4px 32px rgba(0,0,0,.45);
  --shadow-glow: 0 0 40px rgba(108,198,218,.18);

  --max-width:  1200px;
  --container:  1760px;
  --gutter:     clamp(24px, 2.5vw, 56px);
  --header-h:   68px;
  --off-white:  #f4f1ea;

  --font-title: 'Space Grotesk', sans-serif;
  --font-body:  'Inter', sans-serif;
  --font-mono:  'Space Mono', 'Courier New', monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }

/* ── Typography ─────────────────────────────────────── */
.h1 {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--text);
}

.h2 {
  font-family: var(--font-title);
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: .95;
}

.h3 {
  font-family: var(--font-title);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -.01em;
}

.kicker {
  font-family: var(--font-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--pool);
}

.lead {
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  color: var(--muted);
  line-height: 1.7;
  max-width: 52ch;
}

.mono { font-family: var(--font-mono); }

/* ── Container ──────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-tight {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  transition: all .22s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pool), var(--cyan));
  color: #0a0818;
  box-shadow: 0 0 20px rgba(108,198,218,.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(108,198,218,.5);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  border-color: var(--pool);
  color: var(--pool);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--pool);
  border: 1px solid var(--pool);
  padding: 10px 20px;
  font-size: .85rem;
}
.btn-ghost:hover {
  background: rgba(108,198,218,.1);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  box-shadow: 0 0 20px rgba(37,211,102,.25);
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(37,211,102,.4);
}

.btn-full { width: 100%; justify-content: center; }

/* ── Header ─────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--black);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line-hard);
  display: flex;
  align-items: center;
}
.nav-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  pointer-events: none;
}
.sys-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}
.sys-status::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: sysPulse 1.6s ease-in-out infinite;
}
@keyframes sysPulse {
  0%, 100% { opacity: 1;   box-shadow: 0 0 8px var(--success); }
  50%      { opacity: .35; box-shadow: 0 0 2px var(--success); }
}
.sys-clock {
  color: var(--text);
  letter-spacing: .15em;
  min-width: 9ch;
  text-align: right;
}
@media (max-width: 1100px) { .nav-center { display: none; } }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.site-logo {
  display: flex;
  align-items: center;
}
.site-logo img,
.site-logo svg {
  height: 28px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 6px;
  transition: all .2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--text);
  background: rgba(108,198,218,.08);
}

.header-cta { margin-left: 16px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: rgba(10,8,24,.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 24px;
  z-index: 99;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link {
  font-size: .85rem;
  padding: 12px 16px;
  width: 100%;
}

/* ── Page offset for fixed header ───────────────────── */
.page-content { padding-top: var(--header-h); }

/* ── Background grid overlay (80px cells + 12-col mother lines) ─ */
.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(244,241,234,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,241,234,.04) 1px, transparent 1px);
  background-size: 80px 80px;
}
.bg-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(244,241,234,.055) 1px, transparent 1px);
  background-size: calc(100vw / 12) 100%;
  mix-blend-mode: screen;
  opacity: .9;
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  background: transparent;
  z-index: 9998;
  pointer-events: none;
}
.scroll-progress::before {
  content: '';
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--pool), var(--cyan));
  transform-origin: 0 50%;
  transform: scaleX(var(--sp, 0));
  box-shadow: 0 0 8px rgba(108,198,218,.5);
}

/* ── Section spacing (editorial, premium) ─────────────────────── */
.section { position: relative; z-index: 1; padding: clamp(120px, 12vw, 200px) 0; }
.section-sm { padding: clamp(80px, 8vw, 120px) 0; }
.section-header { text-align: center; margin-bottom: clamp(64px, 7vw, 96px); }
.section-header .kicker { margin-bottom: 24px; display: inline-block; }
.section-header .h2 { margin-bottom: 20px; }
.section-header p { color: var(--muted); max-width: 60ch; margin: 0 auto; }

/* Section-end marker — technical divider between modules */
.section-end {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px var(--gutter);
  opacity: .35;
  pointer-events: none;
}
.section-end::before,
.section-end::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
.section-end > span {
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 20px;
  white-space: nowrap;
}

/* ── Cards base ─────────────────────────────────────── */
.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  transition: all .25s ease;
}
.feature-card { border-color: var(--line-hard); background: var(--black); }
.feature-card::before {
  content: '';
  position: absolute;
  top: 14px; right: 14px;
  width: 14px; height: 14px;
  border-top: 1px solid var(--pool);
  border-right: 1px solid var(--pool);
  opacity: .4;
  transition: opacity .3s;
}
.feature-card:hover::before { opacity: 1; }
.feature-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .15em;
  color: var(--pool);
  border: 1px solid var(--line-soft);
  padding: 6px 10px;
  border-radius: 3px;
  margin-bottom: 24px;
}
.card:hover {
  border-color: var(--pool);
  background: var(--panel2);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

/* ── Feature cards grid ─────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-card .card-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: rgba(108,198,218,.1);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.feature-card .kicker { margin-bottom: 8px; }
.feature-card .h3 { margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: .9rem; }
.feature-card .card-meta {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line2);
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--pool);
}

/* ── Product grid (catalog) ─────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .25s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--pool);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.product-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--panel2);
  overflow: hidden;
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-card-img img {
  transform: scale(1.04);
}

.product-card-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--panel2), var(--brand));
}
.product-card-placeholder .logo-ph {
  opacity: .3;
  width: 120px;
}
.product-card-placeholder .model-ph {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .08em;
  color: var(--pool);
  text-align: center;
  padding: 0 16px;
}

.product-card-badge {
  position: absolute;
  top: 12px; right: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.badge-stock {
  background: rgba(34,211,164,.15);
  color: var(--success);
  border: 1px solid rgba(34,211,164,.3);
}
.badge-order {
  background: rgba(108,198,218,.1);
  color: var(--pool);
  border: 1px solid var(--line);
}

.product-card-body {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card-cat {
  font-family: var(--font-mono);
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--pool);
  margin-bottom: 6px;
}
.product-card-name {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 6px;
}
.product-card-desc {
  font-size: .85rem;
  color: var(--muted);
  flex: 1;
  margin-bottom: 16px;
}
.product-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 16px;
}
.price-from {
  font-size: .8rem;
  color: var(--muted);
  text-decoration: line-through;
}
.price-to {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pool);
}
.price-label {
  font-size: .72rem;
  color: var(--muted);
}

/* ── Filter tabs ────────────────────────────────────── */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-tab {
  font-family: var(--font-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: all .2s;
}
.filter-tab:hover { border-color: var(--pool); color: var(--text); }
.filter-tab.active {
  background: var(--pool);
  color: #0a0818;
  border-color: var(--pool);
  font-weight: 700;
}

/* ── PDP — Product Detail Page ──────────────────────── */
.pdp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.pdp-gallery {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.pdp-main-img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--panel2);
  border: 1px solid var(--line);
  margin-bottom: 12px;
}
.pdp-main-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.pdp-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pdp-thumb {
  width: 72px;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--panel2);
  transition: border-color .2s;
}
.pdp-thumb.active { border-color: var(--pool); }
.pdp-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.pdp-info { display: flex; flex-direction: column; gap: 24px; }

.pdp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--muted);
  flex-wrap: wrap;
}
.pdp-breadcrumb a:hover { color: var(--pool); }
.pdp-breadcrumb span { color: var(--line); }

.pdp-price-block {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.pdp-price-from {
  font-size: .9rem;
  color: var(--muted);
  text-decoration: line-through;
  margin-bottom: 4px;
}
.pdp-price-to {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 700;
  color: var(--pool);
  margin-bottom: 4px;
}
.pdp-price-note {
  font-size: .8rem;
  color: var(--muted);
}
.pdp-cta-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.pdp-specs {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.pdp-specs-title {
  padding: 16px 24px;
  border-bottom: 1px solid var(--line2);
  font-family: var(--font-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
}
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  border-bottom: 1px solid var(--line2);
  font-size: .88rem;
}
.spec-row:last-child { border-bottom: none; }
.spec-label { color: var(--muted); }
.spec-value { color: var(--text); font-weight: 500; text-align: right; max-width: 55%; }

/* ── Lead form ──────────────────────────────────────── */
.lead-form-wrap {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.lead-form-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: .8rem;
  color: var(--muted);
  font-weight: 500;
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .9rem;
  transition: border-color .2s;
  outline: none;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
  opacity: .6;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--pool);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-success {
  display: none;
  text-align: center;
  padding: 24px;
  color: var(--success);
  font-family: var(--font-mono);
  font-size: .85rem;
}

/* ── Stats band ─────────────────────────────────────── */
.stats-band {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  text-align: center;
  padding: 64px 28px;
  border-right: 1px solid var(--line);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--pool);
  letter-spacing: -.03em;
}
.stat-label {
  font-size: .85rem;
  color: var(--muted);
  margin-top: 4px;
}

/* ── Category cards (terminal, indexed) ───────────────────── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.category-card {
  position: relative;
  background: var(--black);
  border: 1px solid var(--line-hard);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  text-align: left;
  transition: border-color .25s, transform .25s, background .25s;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  min-height: 240px;
}
.category-card:hover {
  border-color: var(--pool);
  background: #0c0c12;
  transform: translateY(-4px);
}
.cat-index {
  position: absolute;
  top: 16px; right: 20px;
  font-family: var(--font-mono);
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
  opacity: .06;
  letter-spacing: -.04em;
  pointer-events: none;
}
.cat-badge {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--success);
  border: 1px solid rgba(34,211,164,.3);
  padding: 3px 8px;
  border-radius: 3px;
}
.cat-name {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -.02em;
  margin-top: auto;
}
.cat-desc {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.5;
}
.cat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.cat-tag {
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .08em;
  color: var(--pool);
  border: 1px solid var(--line-soft);
  padding: 3px 8px;
  border-radius: 2px;
}
.cat-arrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--pool);
  margin-top: 8px;
}

/* ── CTA band / pre-footer ──────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, rgba(38,34,91,.8), rgba(108,198,218,.1));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-band-text .h2 { margin-bottom: 12px; }
.cta-band-text p { color: var(--muted); max-width: 42ch; }
.cta-band-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 220px;
}

/* ── Footer ─────────────────────────────────────────── */
.site-footer {
  background: var(--panel);
  border-top: 1px solid var(--line);
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 64px 0 48px;
}
.footer-brand img,
.footer-brand svg { height: 24px; margin-bottom: 16px; }
.footer-brand p {
  font-size: .85rem;
  color: var(--muted);
  max-width: 30ch;
  line-height: 1.7;
}
.footer-col-title {
  font-family: var(--font-mono);
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--pool);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: .85rem;
  color: var(--muted);
  transition: color .2s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--line2);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--muted);
}
.footer-legal {
  display: flex;
  gap: 16px;
}
.footer-legal a {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--muted);
}
.footer-legal a:hover { color: var(--pool); }

/* ── Hero ───────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  position: relative;
  overflow: hidden;
  padding: 80px 0 72px;
  z-index: 1;
}
/* Watermark XINFLYING — duplo (h + v) */
.hero-watermark {
  position: absolute;
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -.04em;
  color: var(--text);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0 !important;
  line-height: 1;
  opacity: .03;
}
.hero-left, .hero-right { position: relative; z-index: 2; }
.hero-watermark--h {
  font-size: clamp(180px, 22vw, 360px);
  left: -2vw;
  bottom: -4vw;
}
.hero-watermark--v {
  font-size: clamp(120px, 14vw, 220px);
  opacity: .025;
  right: -.5vw;
  top: 50%;
  transform: rotate(-90deg) translateX(50%);
  transform-origin: right top;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(124,77,255,.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 30%, rgba(108,198,218,.16) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 60% 80%, rgba(77,217,240,.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.hero-left, .hero-right { position: relative; z-index: 1; }
.hero-left { display: flex; flex-direction: column; gap: 28px; }
.hero-stat {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}
.hero-stat-num {
  font-family: var(--font-title);
  font-size: clamp(64px, 8vw, 120px);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.05em;
  color: var(--text);
  background: linear-gradient(135deg, var(--text), var(--pool));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-stat-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 12px;
}
.hero-stat-unit {
  font-family: var(--font-mono);
  font-size: .85rem;
  color: var(--pool);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero-stat-label {
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--muted);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero-left .kicker { margin-bottom: 0; }
.hero-btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-status {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-status::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
  flex-shrink: 0;
}

/* ── Visual card (hero right) ───────────────────────── */
.visual-card {
  background: rgba(18,16,42,.6);
  border: 1px solid rgba(108,198,218,.25);
  border-radius: var(--radius-xl);
  padding: 32px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 0 60px rgba(108,198,218,.12), 0 32px 64px rgba(0,0,0,.5);
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.visual-card::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: conic-gradient(from 120deg at 60% 40%, transparent 0deg, rgba(124,77,255,.15) 60deg, rgba(108,198,218,.2) 120deg, transparent 180deg, rgba(77,217,240,.1) 270deg, transparent 360deg);
  animation: cardRotate 12s linear infinite;
  pointer-events: none;
}
@keyframes cardRotate {
  to { transform: rotate(360deg); }
}
.visual-card-svg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
  opacity: .7;
}
.visual-card-badge {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  background: rgba(10,8,24,.8);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--pool);
  backdrop-filter: blur(8px);
}

/* ── Reveal animation ───────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ── Custom cursor — box[+] + short crosshair + label ─────────── */
.cur-root {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity .25s;
}
.cur-root.is-active { opacity: 1; }
.cur-box {
  position: absolute;
  top: 0; left: 0;
  width: 28px; height: 28px;
  border: 1px solid var(--off-white);
  transform: translate(-50%, -50%);
  transition: width .22s ease, height .22s ease, border-radius .22s ease, border-color .22s ease;
  will-change: transform;
}
.cur-plus,
.cur-plus::before {
  position: absolute;
  background: var(--off-white);
  content: '';
}
.cur-plus {
  top: 50%; left: 50%;
  width: 8px; height: 1px;
  transform: translate(-50%, -50%);
  transition: opacity .15s;
}
.cur-plus::before {
  top: 50%; left: 50%;
  width: 1px; height: 8px;
  transform: translate(-50%, -50%);
}
/* Short crosshair ticks (40px each side, fade outward) */
.cur-tick {
  position: absolute;
  background: var(--off-white);
  opacity: .55;
  transition: opacity .2s, width .25s, height .25s;
}
.cur-tick-n, .cur-tick-s {
  width: 1px; height: 36px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(to var(--mask-dir, top), transparent, #000 70%);
          mask-image: linear-gradient(to var(--mask-dir, top), transparent, #000 70%);
}
.cur-tick-n { bottom: calc(50% + 18px); --mask-dir: bottom; }
.cur-tick-s { top:    calc(50% + 18px); --mask-dir: top; }
.cur-tick-e, .cur-tick-w {
  width: 36px; height: 1px;
  top: 50%;
  transform: translateY(-50%);
  -webkit-mask-image: linear-gradient(to var(--mask-dir, left), transparent, #000 70%);
          mask-image: linear-gradient(to var(--mask-dir, left), transparent, #000 70%);
}
.cur-tick-e { left:  calc(50% + 18px); --mask-dir: left; }
.cur-tick-w { right: calc(50% + 18px); --mask-dir: right; }
.cur-label {
  position: absolute;
  top: 50%; left: calc(50% + 28px);
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--off-white);
  white-space: nowrap;
  opacity: 0;
  transition: opacity .2s, transform .2s;
  padding-left: 4px;
}
/* Hover state — expand box, lengthen ticks, show label */
.cur-root.is-hover .cur-box {
  width: 40px; height: 40px;
  border-color: var(--off-white);
}
.cur-root.is-hover .cur-tick-n,
.cur-root.is-hover .cur-tick-s { height: 56px; opacity: .8; }
.cur-root.is-hover .cur-tick-e,
.cur-root.is-hover .cur-tick-w { width: 56px; opacity: .8; }
.cur-root.is-hover .cur-tick-n { bottom: calc(50% + 24px); }
.cur-root.is-hover .cur-tick-s { top:    calc(50% + 24px); }
.cur-root.is-hover .cur-tick-e { left:   calc(50% + 24px); }
.cur-root.is-hover .cur-tick-w { right:  calc(50% + 24px); }
.cur-root.is-hover .cur-label { opacity: 1; left: calc(50% + 34px); }
/* i-beam mode for text/inputs */
.cur-root.is-text .cur-box { width: 2px; height: 22px; border-radius: 0; }
.cur-root.is-text .cur-plus { opacity: 0; }
.cur-root.is-text .cur-tick { opacity: 0; }
.cur-root.is-text .cur-label { opacity: 0; }
body.cursor-enabled,
body.cursor-enabled * { cursor: none !important; }

/* ── Page hero (inner pages) ────────────────────────── */
.page-hero {
  padding: 80px 0 56px;
  position: relative;
  z-index: 1;
  border-bottom: 1px solid var(--line2);
  margin-bottom: 48px;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(108,198,218,.07) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Breadcrumb ─────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--pool); }
.breadcrumb .sep { color: var(--line); font-size: .8rem; }

/* ── Search / count ─────────────────────────────────── */
.catalog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.catalog-count {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--muted);
}
.catalog-count span { color: var(--pool); }

/* ── Scrollbar ──────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--pool); }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-watermark--v { display: none; }
  .category-card { padding: 40px 24px 28px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 80px 0 60px; }
  .hero-right { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .pdp-grid { grid-template-columns: 1fr; }
  .pdp-gallery { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
}

@media (max-width: 780px) {
  .site-nav, .header-cta { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 64px 0 48px; gap: 32px; grid-template-columns: 1fr; }
  .hero-stat-num { font-size: 64px; }
  .hero-btn-row .btn { flex: 1; justify-content: center; }

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

  .cta-band { flex-direction: column; padding: 40px 28px; text-align: center; }
  .cta-band-text p { margin: 0 auto; }
  .cta-band-actions { min-width: 0; width: 100%; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { margin-bottom: 8px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }

  .pdp-thumbs { gap: 6px; }
  .pdp-thumb { width: 60px; }

  .section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .categories-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .filter-tabs { gap: 6px; }
  .filter-tab { font-size: .65rem; padding: 6px 12px; }
}
