/*
Theme Name: Immersify
Theme URI: https://immersify.com.au
Author: Immersify Pty Ltd
Author URI: https://immersify.com.au
Description: A modern, mobile-first single-page WordPress theme showcasing Immersify's Barcode Aggregation Technology. Built with high-end animations, scroll-triggered reveals and a YC-grade product page aesthetic.
Version: 1.0.4
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: immersify
Tags: one-page, single-page, dark, modern, animations, mobile-first
*/

/* ---------- Design tokens ---------- */
:root {
  --bg: #07070a;
  --bg-2: #0b0b10;
  --surface: #101018;
  --surface-2: #16161f;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --fg: #fafafa;
  --fg-muted: #9a9aa8;
  --fg-dim: #6b6b78;
  --accent: #00e0ff;
  --accent-2: #b46bff;
  --accent-3: #ff5ec4;
  --gradient: linear-gradient(135deg, #00e0ff 0%, #b46bff 55%, #ff5ec4 100%);
  --gradient-soft: linear-gradient(135deg, rgba(0,224,255,0.18) 0%, rgba(180,107,255,0.18) 55%, rgba(255,94,196,0.18) 100%);
  --ring: 0 0 0 1px rgba(255, 255, 255, 0.06);
  --shadow-lg: 0 30px 80px -20px rgba(0,0,0,0.7), 0 8px 24px -8px rgba(0,224,255,0.15);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --max-w: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: rgba(0, 224, 255, 0.25); color: #fff; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #20202b; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #2a2a36; }

/* ---------- Ambient backdrop ---------- */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.backdrop::before,
.backdrop::after {
  content: "";
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
  animation: float 22s ease-in-out infinite;
}
.backdrop::before {
  background: radial-gradient(circle, #00e0ff 0%, transparent 60%);
  top: -10vw; left: -10vw;
}
.backdrop::after {
  background: radial-gradient(circle, #b46bff 0%, transparent 60%);
  bottom: -15vw; right: -10vw;
  animation-delay: -8s;
}
.backdrop .grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.35;
  mix-blend-mode: overlay;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(5vw, -3vw) scale(1.08); }
  66% { transform: translate(-4vw, 4vw) scale(0.95); }
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section {
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
}
.section-tight { padding: clamp(60px, 8vw, 100px) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(8px);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 16px var(--gutter);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(7, 7, 10, 0.7);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
}
.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--fg);
  min-width: 0;
  max-width: 100%;
}
.brand-logo {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: block;
  border-radius: 50%;
  background: #eef1f5;
  padding: 2px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 6px 14px -6px rgba(0,0,0,0.6);
  object-fit: contain;
}
.brand-text {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  color: var(--fg);
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.nav-links {
  display: none;
  gap: 32px;
  font-size: 14px;
  color: var(--fg-muted);
}
.nav-links a { transition: color 0.2s ease; }
.nav-links a:hover { color: var(--fg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
  position: relative;
}
.hero-inner {
  display: grid;
  gap: 56px;
  align-items: center;
  grid-template-columns: 1fr;
}
.hero-text { display: flex; flex-direction: column; gap: 28px; }
.hero-title {
  font-size: clamp(40px, 8.5vw, 84px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  padding: 0.08em 0;
  opacity: 0;
  transform: translateY(24px);
  animation: heroIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}
.hero-title .gradient-text {
  padding: 0 0.06em;
  margin: 0 -0.06em;
  font-style: normal;
}

@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
}

.hero-sub {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--fg-muted);
  max-width: 540px;
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--fg);
  color: #0a0a0a;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  isolation: isolate;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -20px rgba(0,224,255,0.6); }
.btn:hover::before { opacity: 1; }
.btn:hover { color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-strong);
}
.btn-ghost::before { display: none; }
.btn-ghost:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.25);
  color: var(--fg);
}
.btn .arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
}
.hero-stage {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 50%, rgba(0,224,255,0.08), transparent 70%);
  border: 1px solid var(--border);
  overflow: hidden;
}
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%);
}
.hero-stage::after {
  content: "";
  position: absolute;
  left: -50%;
  top: 0;
  width: 200%;
  height: 4px;
  background: linear-gradient(90deg, transparent, #00e0ff, transparent);
  opacity: 0.8;
  animation: scan 3.2s linear infinite;
  box-shadow: 0 0 30px #00e0ff;
}
@keyframes scan {
  0% { transform: translateY(0); }
  100% { transform: translateY(100vh); }
}
.hero-stage .scanline { animation: scan-internal 4s linear infinite; }
@keyframes scan-internal {
  0% { transform: translateY(0); }
  100% { transform: translateY(520px); }
}

.barcodes {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.barcode {
  position: absolute;
  width: 60%;
  height: 50px;
  background: rgba(255,255,255,0.95);
  border-radius: 8px;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 1.5px;
  box-shadow: 0 12px 32px -8px rgba(0,0,0,0.6);
  animation: barcode-float 8s ease-in-out infinite;
}
.barcode i {
  display: block;
  flex: 1;
  height: 100%;
  background: #0a0a0a;
}
.barcode i:nth-child(2n) { flex: 0 0 2px; }
.barcode i:nth-child(3n) { flex: 0 0 4px; }
.barcode i:nth-child(5n) { background: transparent; }
.barcode:nth-child(1) { top: 18%; left: 8%; transform: rotate(-8deg); animation-delay: 0s; }
.barcode:nth-child(2) { top: 38%; right: 8%; transform: rotate(6deg); animation-delay: -2s; }
.barcode:nth-child(3) { bottom: 18%; left: 14%; transform: rotate(-4deg); animation-delay: -4s; }

@keyframes barcode-float {
  0%, 100% { transform: translateY(0) rotate(var(--r, -8deg)); }
  50% { transform: translateY(-10px) rotate(var(--r, -8deg)); }
}

.qr {
  position: relative;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 14px;
  background: #fff;
  padding: 8%;
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  grid-template-rows: repeat(11, 1fr);
  gap: 2px;
  box-shadow:
    0 30px 80px -10px rgba(0,224,255,0.4),
    0 0 0 1px rgba(255,255,255,0.1);
  animation: qr-pulse 4s ease-in-out infinite;
  z-index: 2;
}
.qr i {
  background: #0a0a0a;
  border-radius: 1px;
}
@keyframes qr-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 30px 80px -10px rgba(0,224,255,0.4), 0 0 0 1px rgba(255,255,255,0.1); }
  50% { transform: scale(1.04); box-shadow: 0 40px 100px -10px rgba(180,107,255,0.55), 0 0 0 1px rgba(255,255,255,0.15); }
}

.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  font-size: 13px;
  color: var(--fg-muted);
  font-family: var(--font-mono);
}
.hero-badge svg { width: 14px; height: 14px; color: var(--accent); }

/* ---------- Generic section heading ---------- */
.section-head {
  max-width: 760px;
  margin: 0 auto clamp(48px, 6vw, 80px);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.section-head h2 {
  font-size: clamp(32px, 5.5vw, 56px);
  letter-spacing: -0.03em;
}
.section-head p {
  color: var(--fg-muted);
  font-size: clamp(15px, 1.8vw, 18px);
}

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }
.reveal[data-delay="6"] { transition-delay: 0.48s; }

/* ---------- Marquee context ---------- */
.context-quote {
  font-size: clamp(24px, 4.5vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  font-weight: 600;
}
.context-quote em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Challenges grid ---------- */
.grid-cards {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0));
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.16), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  color: var(--accent);
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.card p { font-size: 14px; color: var(--fg-muted); line-height: 1.55; }

/* ---------- Impacts row ---------- */
.impacts {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  counter-reset: impact;
}
.impact {
  position: relative;
  padding: 22px 24px 22px 70px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background 0.3s, border-color 0.3s;
}
.impact::before {
  counter-increment: impact;
  content: counter(impact, decimal-leading-zero);
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.impact:hover { background: rgba(255,255,255,0.04); border-color: var(--border-strong); }

/* ---------- Solution steps ---------- */
.steps {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}
.step::after {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-dim);
  letter-spacing: 0.1em;
}
.step-num {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--gradient);
  color: #0a0a0a;
  font-weight: 800;
  font-family: var(--font-mono);
  font-size: 16px;
}
.step h3 { font-size: 19px; letter-spacing: -0.015em; }
.step p { color: var(--fg-muted); font-size: 14.5px; line-height: 1.6; }
.step-visual {
  margin-top: 8px;
  height: 120px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,224,255,0.05), rgba(180,107,255,0.05));
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.mini-barcode {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 40px;
}
.mini-barcode i {
  display: block;
  width: 3px;
  height: 100%;
  background: #fafafa;
  border-radius: 1px;
}
.mini-barcode i:nth-child(2n) { width: 1.5px; }
.mini-barcode i:nth-child(3n) { width: 4px; height: 80%; }
.mini-barcode i:nth-child(5n) { background: transparent; }
.mini-qr {
  width: 80px; height: 80px;
  background: #fafafa;
  border-radius: 8px;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(7, 1fr);
  gap: 2px;
}
.mini-qr i { background: #0a0a0a; border-radius: 1px; }
.arrow-flow {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Comparison table ---------- */
.compare-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.compare-mobile { display: grid; grid-template-columns: 1fr; }
.compare-row {
  padding: 24px;
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: 12px;
}
.compare-row:last-child { border-bottom: 0; }
.compare-row.featured {
  background: linear-gradient(135deg, rgba(0,224,255,0.08), rgba(180,107,255,0.08));
}
.compare-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 18px;
}
.compare-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gradient);
  color: #0a0a0a;
  font-weight: 700;
  text-transform: uppercase;
}
.compare-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.compare-stat { display: flex; flex-direction: column; gap: 2px; }
.compare-stat .k { font-family: var(--font-mono); font-size: 11px; color: var(--fg-dim); letter-spacing: 0.1em; text-transform: uppercase; }
.compare-stat .v { font-size: 14px; color: var(--fg); }
.compare-stat .v.bad { color: #ff7e7e; }
.compare-stat .v.good { color: #6effb0; }

.compare-desktop { display: none; }

/* ---------- Use cases tabs ---------- */
.usecases {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.usecase {
  position: relative;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.usecase:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.usecase::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -30%;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(0,224,255,0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.usecase:hover::before { opacity: 1; }
.usecase-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.usecase h3 { font-size: 24px; letter-spacing: -0.02em; }
.usecase p { color: var(--fg-muted); font-size: 15px; line-height: 1.6; }
.usecase ul { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.usecase li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  color: var(--fg);
  align-items: flex-start;
}
.usecase li::before {
  content: "";
  flex: 0 0 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 9px;
  background: var(--gradient);
}

/* ---------- Benefits two-column ---------- */
.benefits {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
.benefit-col {
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  overflow: hidden;
}
.benefit-col.accent {
  background:
    radial-gradient(circle at 100% 0%, rgba(0,224,255,0.12), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(180,107,255,0.10), transparent 50%),
    var(--surface);
}
.benefit-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.benefit-head .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gradient);
}
.benefit-head h3 { font-size: 22px; letter-spacing: -0.02em; }
.benefit-list { display: flex; flex-direction: column; gap: 18px; }
.benefit-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}
.benefit-item p { font-size: 14.5px; color: var(--fg-muted); line-height: 1.6; }

/* ---------- Venues marquee ---------- */
.venues {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.venue {
  padding: 22px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.3s ease, border-color 0.3s;
}
.venue:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.venue .vnum {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0.12em;
}
.venue h4 { font-size: 15px; letter-spacing: -0.01em; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.stat {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.stat .big {
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-sans);
  margin-bottom: 10px;
}
.stat p { font-size: 13.5px; color: var(--fg-muted); line-height: 1.55; }

/* ---------- CTA / Contact ---------- */
.cta {
  position: relative;
  padding: clamp(60px, 9vw, 110px) clamp(24px, 5vw, 64px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 20% 20%, rgba(0,224,255,0.18), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(180,107,255,0.20), transparent 50%),
    linear-gradient(135deg, #0c0c14, #131322);
  border: 1px solid var(--border-strong);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  overflow: hidden;
}

.cta-sub {
  position: relative;
  color: var(--fg-muted);
  font-size: clamp(15px, 1.8vw, 17px);
  max-width: 540px;
  margin: -4px auto 0;
}

.contact-cards {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  width: 100%;
  max-width: 720px;
  margin: 12px auto 0;
  text-align: left;
}
.contact-card {
  display: block;
  padding: 22px 24px;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg);
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.07);
}
.contact-card-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}
.contact-card-label svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  display: inline-block;
}
.contact-card-value {
  display: block;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--fg);
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}
.cta h2 {
  font-size: clamp(32px, 6vw, 60px);
  letter-spacing: -0.03em;
  max-width: 820px;
  position: relative;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 56px var(--gutter) 36px;
  border-top: 1px solid var(--border);
  color: var(--fg-muted);
  font-size: 14px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
.footer-contact-item {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 13.5px;
  line-height: 1.5;
  transition: color 0.2s ease;
}
.footer-contact-item:hover { color: var(--fg); }
.footer-contact-item svg {
  flex: 0 0 auto;
  width: 18px; height: 18px;
  margin-top: 2px;
  color: var(--accent);
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--fg-dim);
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ---------- Custom cursor (desktop) ---------- */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  pointer-events: none;
  z-index: 100;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s, opacity 0.25s;
  opacity: 0;
}
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5);
  pointer-events: none;
  z-index: 100;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, opacity 0.3s;
  opacity: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 420px) {
  .brand-text { font-size: 15px; letter-spacing: 0.12em; }
}

@media (min-width: 700px) {
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .impacts { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .usecases { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .venues { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .brand-text { font-size: 18px; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .footer-top { flex-direction: row; align-items: flex-start; }
  .footer-contact { flex-direction: row; gap: 36px; width: auto; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .grid-cards { grid-template-columns: repeat(3, 1fr); }
  .impacts { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .usecases { grid-template-columns: repeat(3, 1fr); }
  .venues { grid-template-columns: repeat(5, 1fr); }
  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 80px;
  }
  .compare-mobile { display: none; }
  .compare-desktop {
    display: grid;
    grid-template-columns: 1.4fr repeat(5, 1fr);
  }
  .compare-desktop > div {
    padding: 18px 16px;
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
    font-size: 13.5px;
    color: var(--fg-muted);
    display: flex;
    align-items: center;
  }
  .compare-desktop > div:nth-child(6n) { border-right: 0; }
  .compare-desktop .head {
    background: rgba(255,255,255,0.03);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fg);
    font-weight: 600;
  }
  .compare-desktop .first { color: var(--fg); font-weight: 600; font-size: 14px; }
  .compare-desktop .immersify-col {
    background: linear-gradient(135deg, rgba(0,224,255,0.08), rgba(180,107,255,0.08));
    color: var(--fg);
    font-weight: 500;
  }
}

@media (hover: hover) and (pointer: fine) {
  body.cursor-on { cursor: none; }
  body.cursor-on a, body.cursor-on button { cursor: none; }
  .cursor-dot, .cursor-ring { opacity: 1; }
}

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