/* ============================================================
   AXFORM — Real-time AI GYM Trainer
   style.css — Updated with New Font Colors & Scroll Animations
   ============================================================ */

/* ── TOKENS (New Color Scheme) ── */
:root {
  --bg: #05080f;
  --bg-deep: #030508;
  --surface: #0a0e18;
  --border: rgba(239, 230, 221, 0.08);
  --border-hover: rgba(239, 230, 221, 0.18);
  --crimson: #9a0002;
  --crimson-light: #c4262a;
  --crimson-dim: #6b0001;
  --crimson-glow: rgba(0, 212, 255, 0.25);
  --cyan: #0011ff;
  --cyan-glow: rgba(0, 212, 255, 0.3);
  --cream: #efe6dd;
  --cream-muted: #ffffff;
  --cream-dim: #ffffff;
  --text: #efe6dd;
  --muted: #ffffff;
  --lime: #00ff00;
  --magenta: #ff00ff;
  --font-display: 'Instrument Serif', serif;
  --font-body: 'Averta', 'Ubuntu', sans-serif;
  --radius: 4px;
  --max-w: 1200px;
  --nav-height: 68px;
}

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

html {
  scroll-behavior: smooth;
  background: #05080f;
}

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

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ── GALAXY BACKGROUND CANVAS (Three.js) ── */
#galaxy-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  width: 100%;
  height: 100%;
  display: block;
  transform: translateZ(0);
  will-change: transform;
}

#galaxy-error {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  background: rgba(255, 60, 60, .15);
  border: 1px solid rgba(255, 60, 60, .5);
  color: #ff9e9e;
  font: 12px monospace;
  padding: 10px 14px;
  border-radius: 6px;
  max-width: 90vw;
  display: none;
  white-space: pre-wrap;
}

/* ── GRID OVERLAY (subtle) ── */
.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(239, 230, 221, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 230, 221, 0.015) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
}

/* ── RAINBOW MOUSE TRAIL ── */
.mouse-trail {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  mix-blend-mode: screen;
  z-index: 9998;
}

/* ── GLASSMORPHISM NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: var(--nav-height);
  background: rgba(10, 6, 6, 0.45);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid rgba(239, 230, 221, 0.06);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
  background: rgba(10, 6, 6, 0.7);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.nav-logo {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--cream);
}

.logo-bracket {
  color: var(--cyan);
}

.nav-links {
  display: flex;
  gap: 32px;
}

/* ── NAV LINKS (watch demo, gallery, demo, lets connect) — neon green ── */
.nav-links a {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  text-shadow: 0 0 8px var(--lime), 0 0 16px var(--lime);
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--lime);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--lime);
  text-shadow: 0 0 12px var(--lime), 0 0 24px var(--lime);
}

.nav-links a:hover::after {
  width: 100%;
}

/* ── HERO ── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

/* Background glow blobs */
.hero::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  animation: blob-drift 8s ease-in-out infinite alternate;
}

.hero::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 230, 221, 0.04) 0%, transparent 70%);
  bottom: 15%;
  right: 10%;
  pointer-events: none;
  animation: blob-drift 10s ease-in-out infinite alternate-reverse;
}

@keyframes blob-drift {
  from {
    transform: translateX(-50%) scale(1);
    opacity: 0.6;
  }

  to {
    transform: translateX(-50%) scale(1.2) translateY(-20px);
    opacity: 1;
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--cyan);
  border: 1px solid rgba(0, 212, 255, 0.4);
  padding: 6px 14px;
  border-radius: var(--radius);
  margin-bottom: 40px;
  animation: fade-up 0.8s ease both;
  background: rgba(0, 212, 255, 0.06);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: blink 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.2;
  }
}

.hero-title {
  font-family: var(--font-display);
  line-height: 0.9;
  letter-spacing: 0.02em;
  animation: fade-up 0.8s 0.1s ease both;
}

/* ── HERO TITLE — line-one neon pink, line-two neon cyan ── */
.line-one {
  display: block;
  font-size: clamp(56px, 8vw, 96px);
  color: var(--magenta);
  text-shadow: 0 0 10px var(--magenta), 0 0 30px var(--magenta), 0 0 60px rgba(255, 0, 255, 0.5);
}

.line-two {
  display: block;
  font-size: clamp(80px, 16vw, 200px);
  color: var(--cyan);
  text-shadow: 0 0 20px var(--cyan), 0 0 50px var(--cyan), 0 0 80px rgba(0, 212, 255, 0.4);
  -webkit-text-fill-color: var(--cyan);
  background: none;
  filter: none;
  min-width: 600px;
}

/* ── HERO SUB (Your form. Analyzed. Corrected...) — black ── */
.hero-sub {
  max-width: 520px;
  font-size: 15px;
  font-weight: 300;
  color: #000000;
  margin-top: 28px;
  line-height: 1.8;
  animation: fade-up 0.8s 0.2s ease both;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  animation: fade-up 0.8s 0.3s ease both;
}

/* ── GLASSMORPHISM BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 230, 255, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 230, 255, 0.2);
  color: #111111;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(239, 230, 221, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  background: rgba(0, 230, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 230, 255, 0.3), 0 0 60px rgba(0, 212, 255, 0.25);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: #111111;
  text-shadow: 0 0 10px var(--lime), 0 0 20px var(--lime);
  background: rgba(0, 255, 0, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 255, 0, 0.2);
  padding: 14px 24px;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.btn-ghost:hover {
  color: var(--cream);
  border-color: rgba(0, 255, 0, 0.4);
  background: rgba(0, 255, 0, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 255, 0, 0.3);
}

/* ── METRICS STRIP (100 avg latency, 5 exercises, 95 accuracy) — black ── */
.metrics-strip {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 72px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  animation: fade-up 0.8s 0.5s ease both;
  background: rgba(0, 212, 255, 0.03);
  backdrop-filter: blur(12px);
}

.metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 36px;
  gap: 4px;
  background: rgba(239, 230, 221, 0.02);
  transition: background 0.3s ease;
}

.metric:hover {
  background: rgba(0, 212, 255, 0.08);
}

.metric-val {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1;
  color: #000000;
  text-shadow: none;
}

.unit {
  font-size: 18px;
  color: #000000;
  text-shadow: none;
}

.metric-label {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #000000;
  text-shadow: none;
}

.metric-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

/* ── SCROLL ZOOM ANIMATION ── */
@keyframes scroll-zoom-in {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.3);
  }
}

@keyframes scroll-zoom-out {
  0% {
    transform: scale(1.3);
  }

  100% {
    transform: scale(1);
  }
}

/* ── VISUALS ── */
.visuals {
  position: relative;
  z-index: 1;
  padding: 120px 48px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-header {
  margin-bottom: 64px;
}

/* neon pink & neon green tags — untouched */
.section-tag {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.18em;
  color: var(--lime);
  text-shadow: 0 0 10px var(--lime), 0 0 20px var(--lime);
  display: block;
  margin-bottom: 16px;
}

/* ── SECTION TITLES — neon cyan ── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--cyan);
  text-shadow: 0 0 10px var(--cyan), 0 0 30px var(--cyan), 0 0 60px rgba(0, 212, 255, 0.4);
}

.section-title em {
  font-style: normal;
  color: var(--cyan);
  text-shadow: 0 0 10px var(--cyan), 0 0 30px var(--cyan), 0 0 60px rgba(0, 212, 255, 0.4);
  -webkit-text-fill-color: var(--cyan);
  background: none;
}

.center-header {
  text-align: center;
}

/* ── SECTION DESC paragraphs — black ── */
.section-desc {
  max-width: 480px;
  margin: 20px auto 0;
  color: #000000;
  font-size: 15px;
  line-height: 1.8;
}

/* CARD GRID */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 50px;
}

.img-card {
  position: relative;
  border-radius: var(--radius);
  cursor: default;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.img-card:hover {
  transform: translateY(-6px) rotate(0deg) !important;
}

.card-tilt-left {
  transform: rotate(-2.5deg);
  animation: float1 6s ease-in-out infinite;
}

.card-center {
  transform: rotate(0deg) translateY(-10px);
  animation: float2 7s ease-in-out infinite;
}

.card-tilt-right {
  transform: rotate(2.5deg);
  animation: float3 5.5s ease-in-out infinite;
}

.card-wide {
  grid-column: 1 / -1;
  transform: rotate(0deg);
  animation: float4 8s ease-in-out infinite;
}

@keyframes float1 {

  0%,
  100% {
    transform: rotate(-2.5deg) translateY(0);
  }

  50% {
    transform: rotate(-2.5deg) translateY(-12px);
  }
}

@keyframes float2 {

  0%,
  100% {
    transform: rotate(0deg) translateY(-10px);
  }

  50% {
    transform: rotate(0deg) translateY(-22px);
  }
}

@keyframes float3 {

  0%,
  100% {
    transform: rotate(2.5deg) translateY(0);
  }

  50% {
    transform: rotate(2.5deg) translateY(-10px);
  }
}

@keyframes float4 {

  0%,
  100% {
    transform: rotate(-2.5deg) translateY(0);
  }

  50% {
    transform: rotate(-2.5deg) translateY(-12px);
  }
}

@keyframes float5 {

  0%,
  100% {
    transform: rotate(0deg) translateY(-10px);
  }

  50% {
    transform: rotate(0deg) translateY(-22px);
  }
}

@keyframes float6 {

  0%,
  100% {
    transform: rotate(2.5deg) translateY(0);
  }

  50% {
    transform: rotate(2.5deg) translateY(-10px);
  }
}

.card-inner {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(18, 10, 10, 0.7);
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.img-card:hover .card-inner {
  border-color: rgba(0, 212, 255, 0.45);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 40px var(--cyan-glow);
}

.card-inner-wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #181010;
}

.card-img-wrap.wide {
  height: 220px;
}

.card-img-wrap.img-placeholder::after {
  content: 'IMAGE PLACEHOLDER';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: #ffffff;
}

/* placeholder checkerboard when image missing */
.img-placeholder {
  background-image:
    repeating-linear-gradient(45deg, #161010 0, #161010 1px, transparent 0, transparent 50%),
    repeating-linear-gradient(-45deg, #161010 0, #161010 1px, transparent 0, transparent 50%);
  background-size: 20px 20px;
  background-color: #110a0a;
}

.card-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.7;
  animation: scan 3s linear infinite;
  top: 0;
}

@keyframes scan {
  from {
    top: 0;
    opacity: 0.7;
  }

  to {
    top: 100%;
    opacity: 0;
  }
}

.card-label {
  padding: 16px 20px 20px;
}

/* card-tag stays cyan — it's the small label above card titles */
.card-tag {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--cyan);
  display: block;
  margin-bottom: 6px;
}

/* ── CARD TITLE (pose detection, audio feedback etc) — black ── */
.card-label h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: #000000;
  margin-bottom: 6px;
}

/* ── CARD PARAGRAPH — black ── */
.card-label p {
  font-size: 12px;
  color: #000000;
  line-height: 1.5;
}

/* ── SPECIAL: "real time" word to neon pink ── */
.neon-pink {
  color: var(--magenta);
  text-shadow: 0 0 10px var(--magenta), 0 0 20px var(--magenta);
}

/* Corner brackets */
.card-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--cyan);
  border-style: solid;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.img-card:hover .card-corner {
  opacity: 0.6;
}

.card-corner.tl {
  top: 8px;
  left: 8px;
  border-width: 1px 0 0 1px;
}

.card-corner.tr {
  top: 8px;
  right: 8px;
  border-width: 1px 1px 0 0;
}

.card-corner.bl {
  bottom: 8px;
  left: 8px;
  border-width: 0 0 1px 1px;
}

.card-corner.br {
  bottom: 8px;
  right: 8px;
  border-width: 0 1px 1px 0;
}

/* ── DEMO ── */
.demo {
  position: relative;
  z-index: 1;
  padding: 120px 48px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.video-wrapper {
  position: relative;
  margin-top: 56px;
}

.video-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, var(--cyan-glow), transparent 70%);
  pointer-events: none;
  animation: glow-pulse 4s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
  from {
    opacity: 0.5;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1.05);
  }
}

.video-container {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 212, 255, 0.35);
  overflow: hidden;
  background: rgba(10, 6, 6, 0.8);
  backdrop-filter: blur(8px);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(239, 230, 221, 0.04);
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-container video,
.video-container iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: none;
  display: block;
}

.video-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--cyan);
  border-style: solid;
  z-index: 2;
}

.video-corner.tl {
  top: 12px;
  left: 12px;
  border-width: 2px 0 0 2px;
}

.video-corner.tr {
  top: 12px;
  right: 12px;
  border-width: 2px 2px 0 0;
}

.video-corner.bl {
  bottom: 12px;
  left: 12px;
  border-width: 0 0 2px 2px;
}

.video-corner.br {
  bottom: 12px;
  right: 12px;
  border-width: 0 2px 2px 0;
}

.video-status {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--cyan);
  z-index: 2;
}

.pulse-dot {
  animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.6);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(0, 212, 255, 0);
  }
}

/* Placeholder UI inside video box */
.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  color: var(--cream-dim);
  user-select: none;
  padding: 60px;
}

.play-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(0, 212, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ring-spin 8s linear infinite;
}

@keyframes ring-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.play-btn {
  width: 48px;
  height: 48px;
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  animation: ring-spin-rev 8s linear infinite;
}

@keyframes ring-spin-rev {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

.play-btn svg {
  width: 20px;
  height: 20px;
  margin-left: 3px;
}

.video-placeholder p {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cream-dim);
  text-align: center;
}

.video-placeholder code {
  color: var(--cyan);
  background: rgba(0, 212, 255, 0.1);
  padding: 1px 6px;
  border-radius: 3px;
}

/* ── GLASSMORPHISM FEATURE CARDS ── */
.feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
  border: none;
  border-radius: var(--radius);
  overflow: visible;
}

.feature {
  background: rgba(239, 230, 221, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(239, 230, 221, 0.1);
  padding: 28px 24px;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature:hover {
  background: rgba(0, 212, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.2);
  border-color: rgba(0, 212, 255, 0.3);
}

.feature-icon {
  font-size: 32px;
  color: var(--cyan);
  line-height: 1;
}

/* ── FEATURE TITLES (pose detection, audio feedback, rep counter, works in real time) — black ── */
.feature strong {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #000000;
}

/* ── FEATURE PARAGRAPHS — black ── */
.feature p {
  font-size: 13px;
  color: #000000;
  line-height: 1.6;
}

/* ── CONTACT ── */
.contact {
  position: relative;
  z-index: 1;
  padding: 120px 48px 60px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 100%, rgba(0, 212, 255, 0.08), transparent 70%);
  pointer-events: none;
}

.contact-inner {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

/* ── CONTACT TITLE (built by a human. backed by data.) — neon cyan ── */
.contact-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin: 16px 0 20px;
  color: var(--cyan);
  text-shadow: 0 0 10px var(--cyan), 0 0 30px var(--cyan), 0 0 60px rgba(0, 212, 255, 0.4);
}

.contact-title em {
  font-style: normal;
  color: var(--cyan);
  text-shadow: 0 0 10px var(--cyan), 0 0 30px var(--cyan), 0 0 60px rgba(0, 212, 255, 0.4);
  -webkit-text-fill-color: var(--cyan);
  background: none;
}

/* ── CONTACT DESC paragraph — black ── */
.contact-desc {
  font-size: 15px;
  color: #000000;
  line-height: 1.8;
  margin-bottom: 52px;
}

.social-grid {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── SOCIAL BUTTONS AND ICONS — neon green ── */
.social-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 255, 0, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--lime);
  text-shadow: 0 0 8px var(--lime), 0 0 16px var(--lime);
  font-weight: bold;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.social-btn:hover {
  color: var(--lime);
  border-color: rgba(0, 255, 0, 0.5);
  background: rgba(0, 255, 0, 0.08);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 255, 0, 0.3);
}

.social-icon {
  display: flex;
  align-items: center;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  color: var(--lime);
}

.social-btn:hover .social-icon {
  opacity: 1;
}

.social-label {
  opacity: 0.8;
  color: var(--lime);
}

/* FOOTER */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 80px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: #000000;
}

.footer-mono {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #000000;
}

/* ── SCROLL REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .nav {
    padding: 0 24px;
  }

  .nav-links {
    gap: 20px;
  }

  .visuals,
  .demo {
    padding: 80px 24px;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .card-wide {
    grid-column: 1 / -1;
  }

  .card-inner-wide {
    grid-template-columns: 1fr;
  }

  .feature-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .metrics-strip {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-height: 56px;
  }

  .nav {
    padding: 0 16px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .line-two {
    min-width: unset;
  }

  .hero-cta-row {
    flex-direction: column;
  }

  .metrics-strip {
    flex-direction: column;
    gap: 0;
  }

  .metric-divider {
    width: 60px;
    height: 1px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .feature-row {
    grid-template-columns: 1fr;
  }

  .contact {
    padding: 80px 24px 40px;
  }

  .footer {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .video-container {
    min-height: 300px;
  }

  .video-container video,
  .video-container iframe {
    min-height: 300px;
  }

  .social-grid {
    gap: 10px;
  }

  .social-btn {
    padding: 12px 18px;
    font-size: 10px;
  }
}

@media (max-width: 400px) {
  .hero {
    padding: 90px 16px 50px;
  }

  .hero-title .line-one {
    font-size: clamp(40px, 10vw, 56px);
  }

  .hero-title .line-two {
    font-size: clamp(52px, 14vw, 80px);
  }

  .metric {
    padding: 16px 24px;
  }

  .metric-val {
    font-size: 28px;
  }

  .contact-title {
    font-size: clamp(36px, 8vw, 48px);
  }
}