/* ============================================================
   BLINKEN - 3D SHOWROOM
   Concept #6 / Designer #6
   ============================================================ */

:root {
  --bg: #000000;
  --bg-soft: #0a0a0a;
  --bg-panel: #0e0e10;
  --border: rgba(255, 255, 255, 0.08);
  --border-hot: rgba(0, 255, 229, 0.35);
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.62);
  --text-faint: rgba(255, 255, 255, 0.35);
  --cyan: #00FFE5;
  --magenta: #FF00C8;
  --yellow: #FFD500;
  --cyan-soft: rgba(0, 255, 229, 0.12);
  --magenta-soft: rgba(255, 0, 200, 0.12);
  --yellow-soft: rgba(255, 213, 0, 0.12);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --maxw: 1320px;
}

/* RESET */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

.mono { font-family: var(--font-mono); letter-spacing: 0.04em; }

.grad-cyan {
  background: linear-gradient(90deg, var(--cyan) 0%, #6affe5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-magenta {
  background: linear-gradient(90deg, var(--magenta) 0%, #ff7adb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* PARTICLE CANVAS BG */
#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
}

/* CURSOR GLOW */
.cursor-glow {
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 229, 0.10) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  mix-blend-mode: screen;
  transition: opacity 0.3s;
  opacity: 0.8;
}

/* TOP BAR */
.topbar {
  position: relative;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  font-size: 12px;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}
.topbar-left { display: flex; gap: 14px; align-items: center; color: var(--text-dim); }
.topbar-right { display: flex; gap: 12px; align-items: center; color: var(--text-faint); font-family: var(--font-mono); }
.topbar-link { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; transition: color .25s; }
.topbar-link:hover { color: var(--cyan); }
.topbar-divider { color: var(--text-faint); }
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  box-shadow: 0 0 10px currentColor;
}
.dot-cyan { background: var(--cyan); color: var(--cyan); }
.dot-magenta { background: var(--magenta); color: var(--magenta); }

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background .3s, border-color .3s;
}
.header.scrolled { border-bottom-color: var(--border-hot); }

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-mark { width: 36px; height: 36px; }
.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.18em;
  color: var(--text);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  position: relative;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-dim);
  transition: color .25s;
  display: inline-block;
}
.nav a:hover { color: var(--text); }
.nav a::before {
  content: '';
  position: absolute;
  inset: auto 18px 4px 18px;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.nav a:hover::before { transform: scaleX(1); }

.search-btn {
  margin-left: 12px;
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: all .3s;
}
.search-btn svg { width: 16px; height: 16px; }
.search-btn:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 24px rgba(0, 255, 229, 0.4);
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 0 80px;
  overflow: hidden;
  perspective: 1500px;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 255, 229, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 229, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 50%, black 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-text { position: relative; z-index: 5; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--border-hot);
  border-radius: 999px;
  font-size: 11px;
  color: var(--cyan);
  background: rgba(0, 255, 229, 0.04);
  margin-bottom: 28px;
}
.hero-tag-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-lead {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.65;
}

.hero-cta-row {
  display: flex;
  gap: 14px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  border-radius: 4px;
  cursor: pointer;
  transition: transform .3s, box-shadow .3s, background .3s, color .3s, border-color .3s;
  position: relative;
  overflow: hidden;
}
.btn svg { width: 16px; height: 16px; }
.btn-lg { padding: 18px 32px; font-size: 15px; }

.btn-primary {
  background: var(--cyan);
  color: #000;
  box-shadow: 0 0 0 rgba(0, 255, 229, 0);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0, 255, 229, 0.6);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-ghost:hover {
  border-color: var(--magenta);
  color: var(--magenta);
  box-shadow: 0 0 30px rgba(255, 0, 200, 0.4);
}

.btn-ghost-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  transition: all .3s;
  margin-top: 14px;
}
.btn-ghost-sm:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* HERO BRANDS */
.hero-brands {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.brand-label { font-size: 11px; color: var(--text-faint); }
.brand-list {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
}
.brand {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  transition: color .3s, text-shadow .3s;
}
.brand:hover { color: var(--text); }
.brand-topcon {
  color: var(--yellow);
  font-weight: 700;
  text-shadow: 0 0 18px rgba(255, 213, 0, 0.4);
}

/* HERO STAGE - 3D INSTRUMENT */
.hero-stage {
  position: relative;
  height: 600px;
  perspective: 1500px;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ring {
  position: absolute;
  border: 1px solid;
  border-radius: 50%;
  transform: rotateX(75deg);
}
.ring-1 {
  width: 540px; height: 540px;
  border-color: rgba(0, 255, 229, 0.18);
  animation: ring-rotate 30s linear infinite;
}
.ring-2 {
  width: 380px; height: 380px;
  border-color: rgba(255, 0, 200, 0.18);
  border-style: dashed;
  animation: ring-rotate 22s linear infinite reverse;
}
.ring-3 {
  width: 240px; height: 240px;
  border-color: rgba(255, 213, 0, 0.22);
  animation: ring-rotate 18s linear infinite;
}
@keyframes ring-rotate {
  from { transform: rotateX(75deg) rotateZ(0); }
  to { transform: rotateX(75deg) rotateZ(360deg); }
}

.instrument {
  position: relative;
  width: 360px;
  height: 460px;
  transform-style: preserve-3d;
  z-index: 4;
  will-change: transform;
}
.instrument-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 40px rgba(0, 255, 229, 0.35)) drop-shadow(0 0 80px rgba(255, 0, 200, 0.18));
}

.instrument-glow {
  position: absolute;
  inset: 20% 10% 0 10%;
  background: radial-gradient(ellipse at center, rgba(0, 255, 229, 0.22) 0%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
  animation: glow-pulse 4s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* DATA LABELS - floating around instrument */
.data-label {
  position: absolute;
  padding: 10px 14px;
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid var(--border-hot);
  border-radius: 4px;
  backdrop-filter: blur(10px);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 110px;
  transform-style: preserve-3d;
}
.data-label::before {
  content: '';
  position: absolute;
  top: -4px; left: -4px; right: -4px; bottom: -4px;
  border: 1px solid rgba(0, 255, 229, 0.15);
  border-radius: 6px;
  pointer-events: none;
}
.data-label span {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-faint);
  letter-spacing: 0.08em;
}
.data-label strong {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--cyan);
  font-weight: 700;
}
.data-label-1 { top: 8%; left: -10%; transform: translateZ(60px); }
.data-label-2 { top: 30%; right: -8%; transform: translateZ(80px); }
.data-label-3 { bottom: 22%; left: -8%; transform: translateZ(50px); }
.data-label-4 {
  bottom: 6%; right: -4%;
  transform: translateZ(70px);
  border-color: rgba(255, 0, 200, 0.4);
}
.data-label-4 strong { color: var(--magenta); }

/* HERO SCROLL HINT */
.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-faint);
  font-size: 10px;
  z-index: 3;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  position: relative;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -1px;
  width: 3px;
  height: 14px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: scroll-bounce 2s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { top: 0; opacity: 1; }
  50% { top: 36px; opacity: 0; }
}

/* SECTION HEAD shared */
.section-head {
  margin-bottom: 64px;
  max-width: 720px;
}
.section-tag {
  display: inline-block;
  font-size: 11px;
  color: var(--cyan);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.section-lead {
  color: var(--text-dim);
  font-size: 17px;
  max-width: 560px;
}

/* GENERAL SECTION SPACING */
section { position: relative; z-index: 2; }
.categories, .resellers, .service-section, .partner-section, .news-section, .values-section, .contact-cta {
  padding: 110px 0;
}

/* CATEGORIES GRID */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  perspective: 1500px;
}

.cat-card {
  position: relative;
  background: linear-gradient(180deg, rgba(14, 14, 16, 0.9) 0%, rgba(8, 8, 10, 0.9) 100%);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 22px 28px;
  min-height: 280px;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: border-color .35s, transform .35s ease-out;
  overflow: hidden;
  will-change: transform;
}
.cat-card-inner {
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 6px;
  padding: 1px;
  background: linear-gradient(135deg, transparent 0%, transparent 50%, rgba(0, 255, 229, 0.4) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s;
}
.cat-card:hover { border-color: rgba(0, 255, 229, 0.4); }
.cat-card:hover::before { opacity: 1; }

.cat-num {
  font-size: 11px;
  color: var(--text-faint);
  margin-bottom: 18px;
  transform: translateZ(20px);
}

.cat-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 22px;
  transform: translateZ(40px);
}
.cat-icon svg { width: 100%; height: 100%; }

.cat-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  transform: translateZ(30px);
}
.cat-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: 22px;
  flex: 1;
  transform: translateZ(20px);
}
.cat-link {
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 0.1em;
  transform: translateZ(40px);
  transition: letter-spacing .3s, color .3s;
}
.cat-card:hover .cat-link { letter-spacing: 0.18em; }

.cat-glow {
  position: absolute;
  bottom: -40%;
  left: 50%;
  width: 120%;
  height: 80%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(0, 255, 229, 0.18) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.cat-card:hover .cat-glow { opacity: 1; }

/* alternate card glow colors */
.cat-card:nth-child(2n) .cat-glow { background: radial-gradient(ellipse at center, rgba(255, 0, 200, 0.18) 0%, transparent 60%); }
.cat-card:nth-child(3n) .cat-glow { background: radial-gradient(ellipse at center, rgba(255, 213, 0, 0.16) 0%, transparent 60%); }

/* RESELLERS */
.reseller-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.reseller {
  padding: 32px 16px;
  background: rgba(14, 14, 16, 0.6);
  border: 1px solid var(--border);
  border-radius: 4px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  transition: all .3s;
  cursor: pointer;
}
.reseller:hover {
  color: var(--text);
  border-color: var(--cyan);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 255, 229, 0.2);
}

/* SERVICE SPLIT */
.service-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  perspective: 1500px;
}
.service-panel {
  position: relative;
  padding: 44px 36px;
  background: linear-gradient(180deg, rgba(14, 14, 16, 0.9) 0%, rgba(8, 8, 10, 0.9) 100%);
  border: 1px solid var(--border);
  border-radius: 6px;
  transform-style: preserve-3d;
  transition: border-color .35s;
  will-change: transform;
}
.service-panel:hover { border-color: rgba(0, 255, 229, 0.3); }
.service-num {
  font-size: 11px;
  color: var(--cyan);
  margin-bottom: 20px;
}
.service-panel:nth-child(2) .service-num { color: var(--magenta); }
.service-panel h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  margin-bottom: 14px;
}
.service-panel p {
  color: var(--text-dim);
  font-size: 15px;
  margin-bottom: 24px;
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-dim);
}
.li-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}
.li-dot.magenta { background: var(--magenta); box-shadow: 0 0 10px var(--magenta); }

/* PARTNER */
.partner-card {
  position: relative;
  padding: 80px 60px;
  background: linear-gradient(135deg, rgba(14, 14, 16, 0.9) 0%, rgba(8, 8, 10, 0.95) 100%);
  border: 1px solid var(--border-hot);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: center;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1500px;
  will-change: transform;
}
.partner-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 213, 0, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 213, 0, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 80% 50%, black 0%, transparent 60%);
  pointer-events: none;
}
.partner-content { position: relative; z-index: 2; }
.partner-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.partner-lead {
  color: var(--text-dim);
  font-size: 16px;
  margin-bottom: 36px;
  max-width: 560px;
}
.partner-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--yellow);
  text-shadow: 0 0 24px rgba(255, 213, 0, 0.4);
}
.stat-lbl {
  font-size: 12px;
  color: var(--text-faint);
  font-family: var(--font-mono);
}
.partner-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-visual svg {
  width: 240px;
  height: 240px;
  filter: drop-shadow(0 0 30px rgba(255, 213, 0, 0.4));
  animation: rotate-target 40s linear infinite;
}
@keyframes rotate-target {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}

/* NEWS */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  perspective: 1500px;
}
.news-card {
  position: relative;
  background: linear-gradient(180deg, rgba(14, 14, 16, 0.9) 0%, rgba(8, 8, 10, 0.9) 100%);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: border-color .35s;
  overflow: hidden;
  will-change: transform;
}
.news-card:hover { border-color: rgba(255, 0, 200, 0.4); }
.news-date {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  transform: translateZ(20px);
}
.date-day {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.04em;
}
.date-mon { font-size: 14px; color: var(--magenta); font-weight: 700; }
.date-year { font-size: 12px; color: var(--text-faint); margin-left: auto; }
.news-tag {
  display: inline-block;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--cyan);
  border: 1px solid var(--border-hot);
  border-radius: 3px;
  margin-bottom: 14px;
  letter-spacing: 0.1em;
}
.news-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  margin-bottom: 10px;
  transform: translateZ(20px);
}
.news-card p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 18px;
}
.news-link {
  font-size: 11px;
  color: var(--magenta);
  letter-spacing: 0.1em;
  margin-top: auto;
}
.news-glow {
  position: absolute;
  top: -50%; right: -30%;
  width: 100%; height: 100%;
  background: radial-gradient(circle, rgba(255, 0, 200, 0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.news-card:hover .news-glow { opacity: 1; }

/* VALUES */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  perspective: 1500px;
}
.value {
  position: relative;
  padding: 40px 28px;
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid var(--border);
  border-radius: 6px;
  transform-style: preserve-3d;
  transition: border-color .35s, transform .35s;
  will-change: transform;
}
.value:hover { border-color: rgba(0, 255, 229, 0.3); }
.value-num {
  font-size: 11px;
  color: var(--yellow);
  margin-bottom: 22px;
  display: block;
}
.value h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.value p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
}

/* CONTACT CTA */
.cta-card {
  position: relative;
  padding: 80px 60px;
  background: linear-gradient(135deg, rgba(20, 0, 18, 0.8) 0%, rgba(0, 14, 16, 0.9) 100%);
  border: 1px solid rgba(255, 0, 200, 0.3);
  border-radius: 8px;
  text-align: center;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1500px;
  will-change: transform;
}
.cta-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 0, 200, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 0, 200, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at 50% 50%, black 0%, transparent 80%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 2; }
.cta-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 18px 0 18px;
}
.cta-lead {
  color: var(--text-dim);
  font-size: 17px;
  max-width: 580px;
  margin: 0 auto 38px;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* FOOTER */
.footer {
  position: relative;
  z-index: 2;
  padding: 80px 0 32px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 72px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .logo { margin-bottom: 18px; }
.tagline {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 22px;
  font-size: 16px;
}
.socials { display: flex; gap: 12px; }
.socials a {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: all .3s;
}
.socials a svg { width: 16px; height: 16px; }
.socials a:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 255, 229, 0.4);
}

.footer-offices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.office-tag {
  display: block;
  font-size: 10px;
  color: var(--cyan);
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}
.office p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 8px;
}
.office a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
  transition: color .3s;
}
.office a:hover { color: var(--cyan); }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: var(--text-faint);
  font-family: var(--font-mono);
}
.footer-bottom a:hover { color: var(--cyan); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(1, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .reseller-grid { grid-template-columns: repeat(3, 1fr); }
  .partner-card { grid-template-columns: 1fr; gap: 32px; padding: 56px 36px; }
  .partner-visual svg { width: 180px; height: 180px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-stage { height: 480px; order: -1; }
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
  .nav { gap: 0; }
  .nav a { padding: 10px 12px; font-size: 13px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .topbar { font-size: 11px; }
  .topbar-inner { height: 32px; }
  .topbar-right { display: none; }

  .header-inner { height: 64px; }
  .nav a:not(:last-child) { display: none; }
  .logo-text { font-size: 16px; letter-spacing: 0.14em; }

  .hero { padding: 80px 0 60px; min-height: auto; }
  .hero-stage { height: 380px; }
  .instrument { width: 280px; height: 360px; }
  .data-label { padding: 8px 10px; min-width: 90px; }
  .data-label strong { font-size: 14px; }
  .data-label-1 { left: -5%; }
  .data-label-2 { right: -2%; }
  .data-label-3 { left: -2%; }
  .data-label-4 { right: 0; }

  .categories, .resellers, .service-section, .partner-section,
  .news-section, .values-section, .contact-cta { padding: 64px 0; }

  .section-head { margin-bottom: 40px; }

  .cat-grid { grid-template-columns: 1fr; gap: 16px; }
  .reseller-grid { grid-template-columns: repeat(2, 1fr); }
  .service-split { grid-template-columns: 1fr; }
  .service-panel { padding: 32px 24px; }
  .values-grid { grid-template-columns: 1fr; }

  .partner-card { padding: 40px 24px; }
  .partner-stats { gap: 28px; }
  .stat-num { font-size: 28px; }

  .cta-card { padding: 48px 24px; }
  .cta-buttons .btn { width: 100%; justify-content: center; }
  .footer-offices { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .hero-scroll-hint { display: none; }
  .cursor-glow { display: none; }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .ring, .partner-visual svg, .instrument-glow, .hero-tag-dot, .scroll-line::after {
    animation: none !important;
  }
  .cat-card, .news-card, .value, .service-panel, .partner-card, .cta-card, .instrument {
    transform: none !important;
  }
  #particle-canvas { display: none; }
  .cursor-glow { display: none; }
}
