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

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

:root {
  /* ── WARM NAVY BASE ── */
  --bg-primary: #0f1923;
  --bg-secondary: #162133;
  --bg-card: rgba(22, 38, 60, 0.65);
  --bg-glass: rgba(255, 255, 255, 0.05);
  --border-glass: rgba(255, 255, 255, 0.08);

  /* ── WARM TEXT ── */
  --text-primary: #f0f4f8;
  --text-secondary: #94a8c4;
  --text-muted: #5e7491;

  /* ── BRIGHT ACCENTS ── */
  --accent-cyan: #38bdf8;       /* sky blue */
  --accent-teal: #2dd4bf;       /* mint */
  --accent-purple: #a78bfa;     /* lavender */
  --accent-pink: #fb7185;       /* coral rose */
  --accent-orange: #f97316;     /* vibrant orange */

  /* ── WARM GRADIENTS ── */
  --gradient-primary: linear-gradient(135deg, #38bdf8 0%, #a78bfa 100%);
  --gradient-warm: linear-gradient(135deg, #fb7185 0%, #f97316 100%);
  --gradient-teal: linear-gradient(135deg, #2dd4bf 0%, #38bdf8 100%);
  --gradient-sunset: linear-gradient(135deg, #f97316 0%, #fb7185 50%, #a78bfa 100%);

  /* ── GLOWS ── */
  --glow-cyan: 0 0 30px rgba(56, 189, 248, 0.2);
  --glow-purple: 0 0 30px rgba(167, 139, 250, 0.2);
  --glow-warm: 0 0 30px rgba(249, 115, 22, 0.15);

  /* ── RADII ── */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-cyan); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-orange); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section { padding: 120px 0; position: relative; }

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.8;
}

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

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── NEW RICH ANIMATIONS ── */

/* 1. Animated gradient sweep on any .gradient-text */
.gradient-text {
  background-size: 200% 200% !important;
  animation: gradient-shift 4s ease infinite;
}
@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 2. Section-label shimmer line sweep */
.section-label {
  position: relative;
  overflow: hidden;
}
.section-label::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(249,115,22,0.45), transparent);
  animation: label-shimmer 3.5s ease-in-out infinite;
}
@keyframes label-shimmer {
  0%   { left: -80%; }
  60%  { left: 120%; }
  100% { left: 120%; }
}

/* 3. Card shine sweep on hover */
.module-card,
.feature-item,
.circuit-card,
.gallery-item {
  overflow: hidden;
}
.module-card::after,
.feature-item::after,
.circuit-card::after,
.gallery-item::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  transform: skewX(-20deg);
  transition: left 0s;
  pointer-events: none;
}
.module-card:hover::after,
.feature-item:hover::after,
.circuit-card:hover::after,
.gallery-item:hover::after {
  left: 160%;
  transition: left 0.55s ease;
}

/* 4. Hero center icon breathing glow */
@keyframes icon-breathe {
  0%, 100% { box-shadow: 0 0 30px rgba(56,189,248,0.1), inset 0 1px 0 rgba(255,255,255,0.05); }
  50%       { box-shadow: 0 0 60px rgba(56,189,248,0.25), 0 0 20px rgba(249,115,22,0.1), inset 0 1px 0 rgba(255,255,255,0.08); }
}

/* 5. Stat item stagger pop-in (applied by JS when visible) */
@keyframes stat-pop {
  0%   { transform: scale(0.85) translateY(20px); opacity: 0; }
  70%  { transform: scale(1.04) translateY(-3px); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.stat-item.visible {
  animation: stat-pop 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.stat-item.reveal-delay-1.visible { animation-delay: 0.08s; }
.stat-item.reveal-delay-2.visible { animation-delay: 0.16s; }
.stat-item.reveal-delay-3.visible { animation-delay: 0.24s; }
.stat-item.reveal-delay-4.visible { animation-delay: 0.32s; }
.stat-item.reveal-delay-5.visible { animation-delay: 0.40s; }

/* 6. Hero orb colour shift */
@keyframes orb-hue {
  0%   { filter: blur(100px) hue-rotate(0deg); }
  50%  { filter: blur(110px) hue-rotate(40deg); }
  100% { filter: blur(100px) hue-rotate(0deg); }
}
.hero-gradient-orb {
  animation: float-orb 12s ease-in-out infinite, orb-hue 18s ease-in-out infinite;
}
.hero-gradient-orb.orb-2 { animation-delay: -4s, -6s; }
.hero-gradient-orb.orb-3 { animation-delay: -8s, -12s; }

/* 7. Feature icon bounce on hover */
.feature-item:hover .feature-icon {
  animation: icon-bounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes icon-bounce {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.25) rotate(-6deg); }
  70%  { transform: scale(0.95) rotate(3deg); }
  100% { transform: scale(1) rotate(0deg); }
}

/* 8. About flow arrows pulse */
@keyframes arrow-pulse {
  0%, 100% { opacity: 0.4; transform: translateY(0); }
  50%       { opacity: 0.9; transform: translateY(4px); }
}
.about-flow-arrow svg {
  animation: arrow-pulse 1.8s ease-in-out infinite;
}

/* 9. Nav-cta shimmer */
@keyframes cta-glow {
  0%, 100% { box-shadow: none; }
  50%       { box-shadow: 0 0 18px rgba(249,115,22,0.35); }
}
.nav-cta {
  animation: cta-glow 3s ease-in-out infinite;
}

/* 10. Section titles slide-in from left (stagger) */
.section-title {
  position: relative;
}


/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0; transition: all 0.4s ease;
}
.navbar.scrolled {
  padding: 12px 0;
  background: rgba(15, 25, 35, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.08);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }

.nav-logo {
  font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em;
  color: var(--text-primary); display: flex; align-items: center; gap: 10px;
}
.nav-logo-dot {
  width: 8px; height: 8px; background: var(--accent-orange);
  border-radius: 50%; box-shadow: 0 0 12px rgba(249, 115, 22, 0.6);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--text-secondary);
  transition: color var(--transition); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--gradient-warm);
  border-radius: 2px; transition: width var(--transition);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 8px 20px; background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.2); border-radius: var(--radius-sm);
  font-size: 0.875rem; font-weight: 500;
  color: var(--accent-orange) !important;
  transition: all var(--transition) !important;
}
.nav-cta:hover {
  background: rgba(249, 115, 22, 0.15) !important;
  border-color: rgba(249, 115, 22, 0.4) !important;
  box-shadow: var(--glow-warm) !important;
}

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: all 0.3s ease; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding-top: 80px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-gradient-orb {
  position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.3;
  animation: float-orb 12s ease-in-out infinite;
}
.hero-gradient-orb.orb-1 { width: 500px; height: 500px; background: var(--accent-cyan); top: -10%; right: -5%; opacity: 0.15; }
.hero-gradient-orb.orb-2 { width: 400px; height: 400px; background: var(--accent-purple); bottom: 10%; left: -5%; opacity: 0.12; animation-delay: -4s; }
.hero-gradient-orb.orb-3 { width: 300px; height: 300px; background: var(--accent-orange); top: 40%; right: 25%; opacity: 0.08; animation-delay: -8s; }

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero .container {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-content { max-width: 580px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; background: rgba(249, 115, 22, 0.06);
  border: 1px solid rgba(249, 115, 22, 0.15); border-radius: 100px;
  font-size: 0.8rem; font-weight: 500; color: var(--accent-orange);
  margin-bottom: 28px; animation: fadeInUp 0.8s ease forwards;
}
.hero-badge-dot { width: 6px; height: 6px; background: #22c55e; border-radius: 50%; animation: pulse-dot 2s infinite; }

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem); font-weight: 900;
  line-height: 1.08; letter-spacing: -0.04em; margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.15s forwards; opacity: 0;
}
.hero-description {
  font-size: 1.15rem; color: var(--text-secondary); line-height: 1.8;
  margin-bottom: 40px; animation: fadeInUp 0.8s ease 0.3s forwards; opacity: 0;
}
.hero-actions {
  display: flex; gap: 16px;
  animation: fadeInUp 0.8s ease 0.45s forwards; opacity: 0;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn-primary {
  padding: 14px 32px; background: var(--gradient-warm); border: none;
  border-radius: var(--radius-sm); font-size: 0.95rem; font-weight: 600;
  color: #fff; cursor: pointer; transition: all var(--transition);
  position: relative; overflow: hidden;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.25);
}
.btn-primary::before { content: ''; position: absolute; inset: 0; background: white; opacity: 0; transition: opacity var(--transition); }
.btn-primary:hover::before { opacity: 0.15; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(249, 115, 22, 0.35); }

.btn-secondary {
  padding: 14px 32px; background: var(--bg-glass);
  border: 1px solid var(--border-glass); border-radius: var(--radius-sm);
  font-size: 0.95rem; font-weight: 600; color: var(--text-primary);
  cursor: pointer; transition: all var(--transition);
}
.btn-secondary:hover {
  background: rgba(56, 189, 248, 0.08); border-color: rgba(56, 189, 248, 0.2);
  transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
  position: relative; display: flex; justify-content: center; align-items: center;
  animation: fadeInUp 1s ease 0.5s forwards; opacity: 0;
}
.hero-device { position: relative; width: 420px; height: 420px; }
.hero-ring {
  position: absolute; border-radius: 50%; border: 1px solid var(--border-glass);
  animation: spin-slow 30s linear infinite;
}
.hero-ring-1 { inset: 0; border-color: rgba(56, 189, 248, 0.15); }
.hero-ring-2 { inset: 40px; border-color: rgba(167, 139, 250, 0.12); animation-direction: reverse; animation-duration: 25s; }
.hero-ring-3 { inset: 80px; border-color: rgba(249, 115, 22, 0.1); animation-duration: 20s; }
@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.hero-center-icon {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 120px; height: 120px; background: var(--bg-card);
  border: 1px solid rgba(56, 189, 248, 0.2); border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  animation: icon-breathe 3s ease-in-out infinite;
}
.hero-center-icon svg {
  width: 48px; height: 48px; stroke: var(--accent-cyan);
  animation: icon-stroke-shift 6s ease-in-out infinite;
}
@keyframes icon-stroke-shift {
  0%, 100% { stroke: var(--accent-cyan); }
  33%       { stroke: var(--accent-orange); }
  66%       { stroke: var(--accent-teal); }
}

.hero-float-label {
  position: absolute; padding: 8px 16px; background: var(--bg-card);
  border: 1px solid var(--border-glass); border-radius: var(--radius-sm);
  font-size: 0.75rem; font-weight: 600; white-space: nowrap;
  backdrop-filter: blur(12px); animation: float-label 5s ease-in-out infinite;
  transition: box-shadow var(--transition);
}
.hero-float-label:hover { box-shadow: 0 0 20px rgba(56,189,248,0.2); }
.hero-float-label.label-visora  { top: 20px;    right: 10px;  color: var(--accent-cyan);   border-color: rgba(56, 189, 248, 0.25); animation-delay: 0s;    }
.hero-float-label.label-glove-a { bottom: 60px; left: -10px;  color: var(--accent-orange); border-color: rgba(249, 115, 22, 0.25); animation-delay: -1.5s; }
.hero-float-label.label-glove-b { bottom: 20px; right: 30px;  color: var(--accent-teal);   border-color: rgba(45, 212, 191, 0.25); animation-delay: -3s;   }
@keyframes float-label {
  0%   { transform: translateY(0px); }
  25%  { transform: translateY(-6px) rotate(0.5deg); }
  50%  { transform: translateY(-10px); }
  75%  { transform: translateY(-5px) rotate(-0.5deg); }
  100% { transform: translateY(0px); }
}

/* ===== STATS ===== */
.stats-section {
  padding: 80px 0;
  border-top: 1px solid rgba(56, 189, 248, 0.08);
  border-bottom: 1px solid rgba(56, 189, 248, 0.08);
  background: var(--bg-secondary);
}
.stats-wrapper {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.stat-item {
  padding: 24px 16px;
  background: var(--bg-card);
  border: 1px solid rgba(56, 189, 248, 0.06);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}
.stat-item:hover {
  border-color: rgba(56, 189, 248, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2), var(--glow-cyan);
}
.stat-number {
  font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em;
  background: var(--gradient-warm);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 4px;
}
.stat-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }

/* Growth Graph */
.growth-graph-container {
  background: var(--bg-card);
  border: 1px solid rgba(56, 189, 248, 0.06);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(12px);
  transition: all var(--transition);
}
.growth-graph-container:hover {
  border-color: rgba(56, 189, 248, 0.15);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 40px rgba(56, 189, 248, 0.05);
}
.growth-graph-header {
  margin-bottom: 28px;
  text-align: center;
}
.growth-graph-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.growth-graph-header p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.growth-graph {
  width: 100%;
  background: rgba(0,0,0,0.25);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.03);
}
.growth-chart {
  width: 100%;
  height: auto;
  font-family: 'JetBrains Mono', monospace;
}
.graph-caption {
  margin-top: 16px;
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.5px;
}

/* ===== CHART DATA POINT ANIMATIONS ===== */
.chart-dot {
  opacity: 0;
  transition: opacity 0.4s ease;
  cursor: pointer;
}
.chart-dot.visible { opacity: 1; }

@keyframes dotGlowPulse {
  0%, 100% { opacity: 0.25; transform: scale(1); }
  50%       { opacity: 0.5;  transform: scale(1.3); }
}
.chart-dot-glow {
  opacity: 0;
  transition: opacity 0.4s ease;
  transform-origin: center;
  transform-box: fill-box;
}
.chart-dot-glow.visible {
  animation: dotGlowPulse 2.2s ease-in-out infinite;
}

/* ===== SKELETON LOADING ===== */
@keyframes skeletonShimmer {
  0%   { background-position: -400% 0; }
  100% { background-position: 400% 0; }
}
@keyframes skeletonPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 0.2; transform: scale(0.93); }
}

.skeleton-loader {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  overflow: hidden;
  background:
    linear-gradient(
      105deg,
      rgba(255,255,255,0)    0%,
      rgba(255,255,255,0)    35%,
      rgba(255,255,255,0.12) 50%,
      rgba(255,255,255,0)    65%,
      rgba(255,255,255,0)    100%
    ),
    rgba(15, 25, 40, 0.9);
  background-size: 400% 100%, 100% 100%;
  animation: skeletonShimmer 2s linear infinite;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  pointer-events: none;
}
.skeleton-loader.loaded {
  opacity: 0;
  visibility: hidden;
}

/* Skeleton icon — centred image placeholder */
.skeleton-icon {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 3;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.skeleton-icon.loaded { opacity: 0; }

.skeleton-icon svg {
  width: 32px;
  height: 32px;
  stroke: rgba(255,255,255,0.18);
  animation: skeletonPulse 1.8s ease-in-out infinite;
}
.skeleton-icon span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  animation: skeletonPulse 1.8s ease-in-out infinite;
}

/* Make image containers position:relative for skeleton overlay */
.gallery-image-container,
.circuit-image-container,
.components-main {
  position: relative;
  overflow: hidden; /* clip the skeleton shimmer */
}

/* Images start invisible and fade in once loaded */
.gallery-image,
.circuit-image,
.components-image {
  opacity: 0;
  transition: opacity 0.7s ease, transform var(--transition);
}
.gallery-image.img-loaded,
.circuit-image.img-loaded,
.components-image.img-loaded {
  opacity: 1;
}

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual { position: relative; padding: 40px; }
.about-diagram { display: flex; flex-direction: column; gap: 24px; }
.about-flow-item {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 24px; background: var(--bg-card);
  border: 1px solid var(--border-glass); border-radius: var(--radius-md);
  transition: all var(--transition);
}
.about-flow-item:hover {
  border-color: rgba(249, 115, 22, 0.2); transform: translateX(8px);
  box-shadow: var(--glow-warm);
}
.about-flow-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.3rem;
}
.about-flow-icon.icon-gesture { background: rgba(249, 115, 22, 0.12); border: 1px solid rgba(249, 115, 22, 0.25); }
.about-flow-icon.icon-speech { background: rgba(56, 189, 248, 0.12); border: 1px solid rgba(56, 189, 248, 0.25); }
.about-flow-icon.icon-braille { background: rgba(45, 212, 191, 0.12); border: 1px solid rgba(45, 212, 191, 0.25); }
.about-flow-text h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 2px; }
.about-flow-text p { font-size: 0.82rem; color: var(--text-muted); }
.about-flow-arrow { display: flex; justify-content: center; padding: 4px 0; }
.about-flow-arrow svg { width: 20px; height: 20px; stroke: var(--accent-orange); opacity: 0.5; }

/* ===== MODULES ===== */
.modules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.module-card {
  background: var(--bg-card); border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg); padding: 40px 32px;
  position: relative; overflow: hidden; transition: all var(--transition);
  backdrop-filter: blur(12px);
}
.module-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; opacity: 0; transition: opacity var(--transition);
}
.module-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.12); }
.module-card:hover::before { opacity: 1; }
.module-card.card-visora::before { background: var(--gradient-primary); }
.module-card.card-glove-a::before { background: var(--gradient-warm); }
.module-card.card-glove-b::before { background: var(--gradient-teal); }

.module-icon {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; font-size: 1.5rem;
}
.card-visora .module-icon { background: rgba(56, 189, 248, 0.1); border: 1px solid rgba(56, 189, 248, 0.2); }
.card-glove-a .module-icon { background: rgba(249, 115, 22, 0.1); border: 1px solid rgba(249, 115, 22, 0.2); }
.card-glove-b .module-icon { background: rgba(45, 212, 191, 0.1); border: 1px solid rgba(45, 212, 191, 0.2); }

.module-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 4px; }
.module-card .module-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 0.7rem;
  color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 16px; display: block;
}
.module-card p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; }
.module-specs { display: flex; flex-direction: column; gap: 10px; }
.module-spec { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; color: var(--text-secondary); }
.module-spec-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.card-visora .module-spec-dot { background: var(--accent-cyan); }
.card-glove-a .module-spec-dot { background: var(--accent-orange); }
.card-glove-b .module-spec-dot { background: var(--accent-teal); }

/* ===== DEMOS SECTION ===== */
.demos-section { background: var(--bg-secondary); }

/* Demo tabs */
.demo-tabs {
  display: flex; gap: 8px; justify-content: center; margin-top: 40px; margin-bottom: 48px;
}
.demo-tab {
  padding: 10px 24px; background: var(--bg-glass);
  border: 1px solid var(--border-glass); border-radius: 100px;
  font-size: 0.85rem; font-weight: 600; color: var(--text-secondary);
  cursor: pointer; transition: all var(--transition); font-family: 'Inter', sans-serif;
}
.demo-tab:hover { color: var(--text-primary); border-color: rgba(255,255,255,0.15); }
.demo-tab.active {
  background: rgba(56, 189, 248, 0.1); border-color: rgba(56, 189, 248, 0.3);
  color: var(--accent-cyan);
}
.demo-tab.active[data-tab="glove-a"] {
  background: rgba(249, 115, 22, 0.1); border-color: rgba(249, 115, 22, 0.3);
  color: var(--accent-orange);
}
.demo-tab.active[data-tab="glove-b"] {
  background: rgba(45, 212, 191, 0.1); border-color: rgba(45, 212, 191, 0.3);
  color: var(--accent-teal);
}

.demo-panel {
  display: none;
  animation: fadeInPanel 0.5s ease forwards;
}
.demo-panel.active { display: block; }

@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.demo-stage {
  background: var(--bg-card); border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl); padding: 48px; min-height: 420px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}

.demo-stage::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(56, 189, 248, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

/* Controls */
.demo-play-btn {
  padding: 12px 32px; background: var(--bg-card);
  border: 1px solid var(--border-glass); border-radius: 100px;
  font-size: 0.875rem; font-weight: 600; color: var(--text-primary);
  cursor: pointer; transition: all var(--transition); font-family: 'Inter', sans-serif;
  display: inline-flex; align-items: center; gap: 10px; margin-top: 32px;
}
.demo-play-btn:hover {
  border-color: rgba(249, 115, 22, 0.3); background: rgba(249, 115, 22, 0.06);
  transform: translateY(-2px);
  box-shadow: var(--glow-warm);
}

/* ===== GLOVE A DEMO ===== */
.glove-a-demo { display: flex; align-items: center; gap: 60px; width: 100%; position: relative; z-index: 1; }

.glove-hand-container { flex-shrink: 0; position: relative; }

.glove-hand-svg { width: 220px; height: 320px; }

/* SVG hand finger segments */
.finger-segment {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: top center;
}

/* Flex sensor bars */
.glove-sensors { display: flex; flex-direction: column; gap: 16px; flex: 1; max-width: 340px; }

.sensor-row { display: flex; align-items: center; gap: 12px; }
.sensor-label {
  font-family: 'JetBrains Mono', monospace; font-size: 0.72rem;
  color: var(--text-muted); width: 60px; text-align: right; flex-shrink: 0;
}
.sensor-bar-track {
  flex: 1; height: 8px; background: rgba(255,255,255,0.04);
  border-radius: 100px; overflow: hidden; position: relative;
}
.sensor-bar-fill {
  height: 100%; width: 0%; border-radius: 100px;
  background: var(--gradient-warm); transition: width 0.5s ease;
}
.sensor-value {
  font-family: 'JetBrains Mono', monospace; font-size: 0.72rem;
  color: var(--accent-orange); width: 36px; text-align: right;
}

.glove-output {
  margin-top: 24px; padding: 16px 20px;
  background: rgba(249, 115, 22, 0.06); border: 1px solid rgba(249, 115, 22, 0.15);
  border-radius: var(--radius-md); min-height: 56px;
  display: flex; align-items: center; gap: 12px;
  opacity: 0; transform: translateY(8px);
  transition: all 0.4s ease;
}
.glove-output.visible { opacity: 1; transform: translateY(0); }

.glove-output-icon {
  width: 32px; height: 32px; background: rgba(249, 115, 22, 0.15);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 0.9rem;
}
.glove-output-text { font-size: 0.9rem; font-weight: 600; color: var(--accent-orange); }

/* IMU visualizer */
.imu-display {
  margin-top: 20px; padding: 14px 18px;
  background: rgba(255,255,255,0.02); border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm); display: flex; align-items: center; gap: 16px;
}
.imu-label {
  font-family: 'JetBrains Mono', monospace; font-size: 0.68rem;
  color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase;
}
.imu-values { display: flex; gap: 16px; }
.imu-axis {
  font-family: 'JetBrains Mono', monospace; font-size: 0.75rem;
}
.imu-axis span { color: var(--text-muted); }
.imu-axis-val { color: var(--accent-pink); }

/* Gesture recognition badge */
.gesture-badge {
  position: absolute; top: 20px; right: 20px;
  padding: 6px 14px; border-radius: 100px;
  font-family: 'JetBrains Mono', monospace; font-size: 0.68rem;
  font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  opacity: 0; transition: all 0.4s ease;
}
.gesture-badge.idle { opacity: 1; background: rgba(255,255,255,0.04); color: var(--text-muted); border: 1px solid var(--border-glass); }
.gesture-badge.detecting { opacity: 1; background: rgba(249, 115, 22, 0.1); color: var(--accent-orange); border: 1px solid rgba(249, 115, 22, 0.2); animation: pulse-badge 1s infinite; }
.gesture-badge.matched { opacity: 1; background: rgba(34,197,94,0.1); color: #22c55e; border: 1px solid rgba(34,197,94,0.2); }

@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* ===== VISORA DEMO ===== */
.visora-demo { width: 100%; position: relative; z-index: 1; }

.visora-viewport {
  width: 100%; max-width: 560px; aspect-ratio: 16/10;
  margin: 0 auto; background: #0a0f18; border: 1px solid rgba(56, 189, 248, 0.1);
  border-radius: var(--radius-md); position: relative; overflow: hidden;
}

/* Camera frame overlay */
.visora-frame {
  position: absolute; inset: 0; border: 2px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-md); pointer-events: none; z-index: 5;
}

.visora-frame-corner {
  position: absolute; width: 20px; height: 20px;
  border-color: var(--accent-cyan); border-style: solid; border-width: 0;
}
.visora-frame-corner.tl { top: 8px; left: 8px; border-top-width: 2px; border-left-width: 2px; }
.visora-frame-corner.tr { top: 8px; right: 8px; border-top-width: 2px; border-right-width: 2px; }
.visora-frame-corner.bl { bottom: 8px; left: 8px; border-bottom-width: 2px; border-left-width: 2px; }
.visora-frame-corner.br { bottom: 8px; right: 8px; border-bottom-width: 2px; border-right-width: 2px; }

/* Simulated scene objects */
.visora-scene {
  position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; gap: 40px; padding: 30px;
}

.visora-object {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; transition: opacity 0.5s ease;
}
.visora-object.visible { opacity: 1; }

.visora-object-shape {
  width: 80px; height: 80px; display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; position: relative;
}

.visora-bbox {
  position: absolute; inset: -8px;
  border: 2px solid transparent; border-radius: 4px;
  transition: all 0.4s ease;
}
.visora-bbox.detected {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
}

.visora-label-tag {
  padding: 3px 10px; background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25); border-radius: 4px;
  font-family: 'JetBrains Mono', monospace; font-size: 0.65rem;
  font-weight: 600; color: var(--accent-cyan); letter-spacing: 0.5px;
  opacity: 0; transform: translateY(4px); transition: all 0.3s ease 0.2s;
  white-space: nowrap;
}
.visora-label-tag.visible { opacity: 1; transform: translateY(0); }

/* Colour detection swatch */
.visora-colour-section {
  display: flex; justify-content: center; gap: 16px; margin-top: 24px; min-height: 60px;
}

.visora-colour-swatch {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; background: var(--bg-card);
  border: 1px solid var(--border-glass); border-radius: var(--radius-sm);
  opacity: 0; transform: scale(0.9); transition: all 0.4s ease;
}
.visora-colour-swatch.visible { opacity: 1; transform: scale(1); }

.swatch-circle {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
}
.swatch-info { display: flex; flex-direction: column; }
.swatch-name { font-size: 0.82rem; font-weight: 600; }
.swatch-rgb { font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; color: var(--text-muted); }

/* Audio wave */
.visora-audio-wave {
  display: flex; align-items: center; justify-content: center; gap: 3px;
  margin-top: 20px; height: 32px; opacity: 0; transition: opacity 0.3s ease;
}
.visora-audio-wave.active { opacity: 1; }

.wave-bar {
  width: 3px; border-radius: 100px; background: var(--accent-cyan);
  animation: wave-bounce 0.6s ease-in-out infinite alternate;
}
.wave-bar:nth-child(1) { height: 8px; animation-delay: 0s; }
.wave-bar:nth-child(2) { height: 16px; animation-delay: 0.1s; }
.wave-bar:nth-child(3) { height: 24px; animation-delay: 0.2s; }
.wave-bar:nth-child(4) { height: 18px; animation-delay: 0.3s; }
.wave-bar:nth-child(5) { height: 28px; animation-delay: 0.15s; }
.wave-bar:nth-child(6) { height: 14px; animation-delay: 0.25s; }
.wave-bar:nth-child(7) { height: 20px; animation-delay: 0.05s; }
.wave-bar:nth-child(8) { height: 10px; animation-delay: 0.35s; }
.wave-bar:nth-child(9) { height: 22px; animation-delay: 0.12s; }

@keyframes wave-bounce {
  to { height: 6px; }
}

/* HUD overlay elements */
.visora-hud {
  position: absolute; bottom: 12px; left: 12px; right: 12px; z-index: 4;
  display: flex; justify-content: space-between; align-items: flex-end;
  pointer-events: none;
}
.visora-hud-item {
  padding: 4px 10px; background: rgba(0,0,0,0.5);
  border-radius: 4px; font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem; color: var(--accent-cyan);
  backdrop-filter: blur(4px);
}

/* ===== GLOVE B DEMO ===== */
.glove-b-demo { width: 100%; position: relative; z-index: 1; }

.glove-b-flow { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }

/* Mic recording indicator */
.mic-indicator {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.mic-circle {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(45, 212, 191, 0.08); border: 1px solid rgba(45, 212, 191, 0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; position: relative; transition: all 0.4s ease;
}
.mic-circle.recording {
  background: rgba(45, 212, 191, 0.15); border-color: rgba(45, 212, 191, 0.4);
  box-shadow: 0 0 30px rgba(45, 212, 191, 0.25);
}
.mic-circle.recording::after {
  content: ''; position: absolute; inset: -6px;
  border-radius: 50%; border: 2px solid var(--accent-teal);
  animation: ring-pulse 1.5s ease-in-out infinite;
}
.mic-status {
  font-family: 'JetBrains Mono', monospace; font-size: 0.7rem;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px;
}
.mic-status.active { color: var(--accent-teal); }

@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.4; }
}

/* Recognized text */
.recognized-text {
  padding: 16px 24px; background: rgba(45, 212, 191, 0.05);
  border: 1px solid rgba(45, 212, 191, 0.12); border-radius: var(--radius-md);
  min-width: 180px; min-height: 56px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.4s ease;
}
.recognized-text-content {
  font-size: 1.1rem; font-weight: 700; color: var(--text-primary);
  opacity: 0; transition: opacity 0.4s ease;
}
.recognized-text-content.visible { opacity: 1; }
.recognized-text-placeholder {
  font-size: 0.8rem; color: var(--text-muted); font-style: italic;
}

/* Flow arrow */
.flow-arrow {
  display: flex; align-items: center; color: var(--text-muted);
  font-size: 1.2rem; opacity: 0.4;
  transition: opacity 0.4s ease;
}
.flow-arrow.active { opacity: 1; color: var(--accent-teal); }

/* Braille display */
.braille-output {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  margin-top: 32px; min-height: 100px;
}

.braille-cell {
  display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 1fr);
  gap: 6px; padding: 12px; background: var(--bg-card);
  border: 1px solid var(--border-glass); border-radius: var(--radius-sm);
  opacity: 0; transform: scale(0.8); transition: all 0.4s ease;
}
.braille-cell.visible { opacity: 1; transform: scale(1); }

.braille-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s ease;
}
.braille-dot.active {
  background: var(--accent-teal); border-color: var(--accent-teal);
  box-shadow: 0 0 10px rgba(45, 212, 191, 0.4);
}
.braille-char-label {
  text-align: center; font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem; color: var(--text-muted); margin-top: 6px;
}

/* Motor visualization — Braille cell layout */
.motor-grid-container {
  margin-top: 24px; padding: 24px; background: rgba(45, 212, 191, 0.04);
  border: 1px solid rgba(45, 212, 191, 0.1); border-radius: var(--radius-md);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  opacity: 0; transition: opacity 0.4s ease;
}
.motor-grid-container.visible { opacity: 1; }

.motor-grid-label {
  font-family: 'JetBrains Mono', monospace; font-size: 0.68rem;
  color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase;
}

.motor-cells {
  display: flex; gap: 32px; align-items: flex-start;
}

.motor-cell {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px; background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-glass); border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}
.motor-cell.active-cell {
  background: rgba(45, 212, 191, 0.08);
  border-color: rgba(45, 212, 191, 0.35);
  box-shadow: 0 0 15px rgba(45, 212, 191, 0.15);
}

.motor-cell-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr); gap: 10px;
}

.motor-finger-labels {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
  width: 100%; text-align: center;
}
.motor-finger-labels span {
  font-family: 'JetBrains Mono', monospace; font-size: 0.6rem;
  color: var(--text-muted); letter-spacing: 0.5px; text-transform: uppercase;
}

.motor-dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s ease;
}
.motor-dot.vibrating {
  background: var(--accent-teal); border-color: var(--accent-teal);
  box-shadow: 0 0 8px rgba(45, 212, 191, 0.5);
  animation: motor-vibrate 0.15s infinite alternate;
}
@keyframes motor-vibrate {
  from { transform: translate(-1px, 0); }
  to { transform: translate(1px, 0); }
}

.speech-note {
  margin-top: 24px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: left;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  padding: 14px 18px;
  background: rgba(45, 212, 191, 0.03);
  border: 1px solid rgba(45, 212, 191, 0.12);
  border-radius: var(--radius-sm);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.speech-note-icon {
  font-size: 1.1rem;
  color: var(--accent-teal);
  line-height: 1;
  margin-top: 1px;
}
.speech-note-text {
  flex: 1;
}
.speech-note-text strong {
  color: var(--accent-teal);
  font-weight: 600;
}
.speech-note-text em {
  font-style: normal;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
}

/* ===== FEATURES ===== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; }
.feature-item {
  padding: 32px 28px; background: var(--bg-card);
  border: 1px solid var(--border-glass); border-radius: var(--radius-md);
  transition: all var(--transition);
}
.feature-item:hover {
  border-color: rgba(249, 115, 22, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2), 0 0 20px rgba(249, 115, 22, 0.05);
}
.feature-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; font-size: 1.2rem;
  background: rgba(249, 115, 22, 0.08); border: 1px solid rgba(249, 115, 22, 0.15);
}
.feature-item h4 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.feature-item p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7; }

/* ===== HARDWARE ===== */
.hardware-section { background: var(--bg-secondary); }
.hardware-table-wrap {
  margin-top: 60px; background: var(--bg-card);
  border: 1px solid var(--border-glass); border-radius: var(--radius-lg);
  overflow: hidden; backdrop-filter: blur(12px);
}
.hardware-table { width: 100%; border-collapse: collapse; }
.hardware-table thead { background: rgba(56, 189, 248, 0.04); }
.hardware-table th {
  padding: 16px 24px; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--accent-cyan); text-align: left;
  border-bottom: 1px solid rgba(56, 189, 248, 0.1);
}
.hardware-table td {
  padding: 14px 24px; font-size: 0.88rem; color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.hardware-table tbody tr { transition: background var(--transition); }
.hardware-table tbody tr:hover { background: rgba(56, 189, 248, 0.03); }
.hardware-table tbody tr:last-child td { border-bottom: none; }

.hardware-module-tag {
  padding: 3px 10px; border-radius: 100px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.5px;
}
.tag-visora { background: rgba(56, 189, 248, 0.1); color: var(--accent-cyan); }
.tag-glove-a { background: rgba(249, 115, 22, 0.1); color: var(--accent-orange); }
.tag-glove-b { background: rgba(45, 212, 191, 0.1); color: var(--accent-teal); }
.tag-all { background: rgba(251, 113, 133, 0.1); color: var(--accent-pink); }

/* ===== CIRCUIT DIAGRAMS ===== */
.circuits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.circuit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(12px);
}

.circuit-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(56, 189, 248, 0.06);
}

.circuit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity var(--transition);
}

.circuit-card:hover::before { opacity: 1; }

.circuit-card-header {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
}

.circuit-card-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 8px;
  margin-bottom: 4px;
}

.circuit-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.badge-visora {
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.badge-glove-a {
  background: rgba(249, 115, 22, 0.1);
  color: var(--accent-orange);
  border: 1px solid rgba(249, 115, 22, 0.25);
}

.badge-glove-b {
  background: rgba(45, 212, 191, 0.1);
  color: var(--accent-teal);
  border: 1px solid rgba(45, 212, 191, 0.25);
}

.circuit-image-container {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 16px 0;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}

.circuit-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--transition);
}

.circuit-card:hover .circuit-image {
  transform: scale(1.02);
}

.circuit-info {
  padding: 14px 0;
  border-top: 1px solid var(--border-glass);
  margin-top: 14px;
}

.circuit-info p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  margin-bottom: 8px;
}

.circuit-info p:last-child {
  margin-bottom: 0;
}

.circuit-info strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ===== MODULE GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.gallery-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gallery-image-container {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.gallery-item:hover .gallery-image-container {
  border-color: rgba(56, 189, 248, 0.15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(56, 189, 248, 0.06);
  transform: translateY(-4px);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--transition);
}

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

.gallery-label {
  padding: 0 4px;
}

.gallery-label h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.gallery-label p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== COMPONENTS SECTION ===== */
.components-main {
  margin-top: 48px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.components-image {
  max-width: 100%;
  max-height: 600px;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  background: var(--bg-card);
  padding: 24px;
  transition: all var(--transition);
}

.components-main:hover .components-image {
  border-color: rgba(56, 189, 248, 0.15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(56, 189, 248, 0.06);
}

.components-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.component-stat {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition);
}

.component-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(249, 115, 22, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), var(--glow-warm);
}

.component-stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.component-stat-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== FOOTER ===== */
.footer {
  padding: 60px 0 40px; border-top: 1px solid rgba(249, 115, 22, 0.1);
}
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.footer-left p { font-size: 0.85rem; color: var(--text-muted); margin-top: 8px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.85rem; color: var(--text-secondary); }
.footer-links a:hover { color: var(--accent-orange); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }
  .modules-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .growth-graph-container { padding: 24px; }
  .glove-a-demo { flex-direction: column; gap: 32px; }
  .glove-sensors { max-width: 100%; }
  .circuits-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .components-summary { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: rgba(15, 25, 35, 0.95);
    backdrop-filter: blur(20px); padding: 24px;
    border-bottom: 1px solid rgba(56, 189, 248, 0.08);
  }
  .nav-toggle { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .growth-graph-container { padding: 16px; }
  .growth-graph-header h3 { font-size: 1rem; }
  .demo-tabs { flex-wrap: wrap; }
  .glove-b-flow { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); }
  .hardware-table-wrap { overflow-x: auto; }
  .footer-content { flex-direction: column; gap: 24px; text-align: center; }
  .hero-actions { flex-direction: column; align-items: center; }
  .demo-stage { padding: 28px 20px; }
  .circuits-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .components-summary { grid-template-columns: 1fr; }
  .circuit-card { padding: 20px; }
  .circuit-image-container { min-height: 180px; }
}
