/* ============================================================
   ARTIFICIAL HEIGHTS — TRON AESTHETIC
   Dark mode, cyan neon, digital frontier
   ============================================================ */

/* ── FONTS ─────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Rajdhani:wght@300;400;500;600;700&family=Orbitron:wght@400;500;600;700;800;900&display=swap');

/* ── VARIABLES ──────────────────────────────────────────── */
:root {
  --bg:       #0D0D0D;
  --bg-2:     #0a0f0f;
  --bg-card:  #0f1a1a;
  --cyan:     #00F0FF;
  --cyan-dim: rgba(0, 240, 255, 0.15);
  --cyan-glow: 0 0 20px rgba(0, 240, 255, 0.5), 0 0 60px rgba(0, 240, 255, 0.2);
  --cyan-text-glow: 0 0 10px rgba(0, 240, 255, 0.8);
  --text:     #e0f8ff;
  --text-dim: rgba(224, 248, 255, 0.5);
  --border:   rgba(0, 240, 255, 0.15);
  --border-bright: rgba(0, 240, 255, 0.4);
  --font-mono: 'Share Tech Mono', monospace;
  --font-ui:   'Rajdhani', sans-serif;
  --font-title: 'Orbitron', monospace;
  --nav-h:    70px;
  --section-pad: clamp(80px, 10vw, 140px);
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--cyan); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .8; }
button { cursor: pointer; border: none; background: none; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; }
::selection { background: rgba(0,240,255,.25); color: #fff; }

/* ── TRON GRID CANVAS ───────────────────────────────────── */
#tron-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}

/* ── SCANLINES ──────────────────────────────────────────── */
.scanlines {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,.08) 2px,
    rgba(0,0,0,.08) 4px
  );
}

/* ── NAV ────────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(13,13,13,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: border-color .3s, background .3s;
}
#nav.scrolled {
  background: rgba(13,13,13,.95);
  border-bottom-color: var(--border-bright);
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(20px,4vw,60px);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-title);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--text);
  white-space: nowrap;
}
.nav-logo svg { filter: drop-shadow(0 0 6px rgba(0,240,255,.6)); flex-shrink: 0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  font-family: var(--font-title);
  font-size: .7rem;
  letter-spacing: .15em;
  color: var(--text-dim);
  transition: color .2s, text-shadow .2s;
}
.nav-links a:hover { color: var(--cyan); text-shadow: var(--cyan-text-glow); }
.nav-cta {
  border: 1px solid var(--border-bright) !important;
  padding: .5rem 1.2rem;
  border-radius: 2px;
  color: var(--cyan) !important;
  transition: background .2s, box-shadow .2s !important;
}
.nav-cta:hover {
  background: var(--cyan-dim);
  box-shadow: var(--cyan-glow);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
  margin-left: auto;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  -webkit-appearance: none;
  position: relative;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cyan);
  transition: transform .3s, opacity .3s;
}

/* ── SECTIONS (base) ────────────────────────────────────── */
.section {
  position: relative;
  z-index: 2;
  padding: var(--section-pad) clamp(20px,4vw,60px);
  max-width: 1400px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: clamp(48px,6vw,80px);
}
.section-tag {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--cyan);
  letter-spacing: .2em;
  margin-bottom: 1rem;
  opacity: .8;
}
.section-title {
  font-family: var(--font-title);
  font-size: clamp(2rem,4vw,3.5rem);
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto;
}
.accent { color: var(--cyan); text-shadow: var(--cyan-text-glow); }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-title);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  padding: .9rem 2rem;
  border-radius: 2px;
  transition: all .3s;
  cursor: pointer;
  text-decoration: none;
}
.btn--primary {
  background: var(--cyan);
  color: #000;
  border: 1px solid var(--cyan);
}
.btn--primary:hover {
  background: transparent;
  color: var(--cyan);
  box-shadow: var(--cyan-glow);
}
.btn--ghost {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  color: var(--cyan);
  border-color: var(--border-bright);
  box-shadow: 0 0 20px rgba(0,240,255,.1);
}
.btn--full { width: 100%; justify-content: center; }

/* ── HERO ───────────────────────────────────────────────── */
.section--hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(32px,4vw,64px);
  min-width: 0;
  padding-top: calc(var(--nav-h) + var(--section-pad));
}
.hero-content { flex: 1; max-width: 640px; }
.hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .3em;
  color: var(--cyan);
  border: 1px solid var(--border-bright);
  padding: .35rem .9rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}
.hero-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(0,240,255,.1) 50%, transparent 100%);
  animation: badge-sweep 3s linear infinite;
}
@keyframes badge-sweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}
.hero-title {
  font-family: var(--font-title);
  font-size: clamp(3rem,7vw,6rem);
  font-weight: 900;
  letter-spacing: .05em;
  line-height: 1;
  margin-bottom: 1.5rem;
}
.hero-title-line { display: block; }
.hero-title-line--accent {
  color: var(--cyan);
  text-shadow: var(--cyan-text-glow), 0 0 40px rgba(0,240,255,.4);
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-bottom: 2.5rem;
  max-width: 500px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 700;
  color: var(--cyan);
  text-shadow: var(--cyan-text-glow);
}
.stat-label {
  display: block;
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .15em;
  color: var(--text-dim);
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-bright);
}

/* ── HERO VISUAL ────────────────────────────────────────── */
.hero-visual { flex-shrink: 0; }
.hex-grid { position: relative; width: 340px; height: 340px; display: flex; align-items: center; justify-content: center; }
.hex-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
  animation: hex-pulse 4s ease-in-out infinite;
}
.hex-ring-1 { width: 340px; height: 340px; animation-delay: 0s; }
.hex-ring-2 { width: 240px; height: 240px; animation-delay: .5s; border-color: var(--border-bright); }
.hex-ring-3 { width: 140px; height: 140px; animation-delay: 1s; border-color: rgba(0,240,255,.3); }
@keyframes hex-pulse {
  0%, 100% { opacity: .4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); box-shadow: 0 0 30px rgba(0,240,255,.15); }
}
.hex-core {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 20px rgba(0,240,255,.6));
  animation: core-glow 3s ease-in-out infinite;
}
@keyframes core-glow {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(0,240,255,.6)); }
  50% { filter: drop-shadow(0 0 40px rgba(0,240,255,.9)); }
}

/* ── SCROLL INDICATOR ───────────────────────────────────── */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}
.scroll-line {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0% { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(0.5); }
}
.scroll-label {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .3em;
  color: var(--cyan);
  opacity: .6;
}

/* ── PRODUCTS ───────────────────────────────────────────── */
.section--products { min-height: 100vh; padding-top: calc(var(--nav-h) + var(--section-pad)); }
.products-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: clamp(32px,4vw,64px);
  min-width: 0;
  align-items: start;
}
.products-layout > * { min-width: 0; }
.products-list { display: flex; flex-direction: column; gap: 1px; min-width: 0; width: 100%; }
.product-item {
  position: relative;
  border: 1px solid var(--border);
  background: rgba(0,240,255,.02);
  cursor: pointer;
  transition: all .3s;
  overflow: hidden;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}
.product-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--cyan);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .3s;
}
.product-item.active::before { transform: scaleY(1); }
.product-item.active {
  border-color: var(--border-bright);
  background: var(--cyan-dim);
}
.product-item:hover:not(.active) { border-color: rgba(0,240,255,.25); background: rgba(0,240,255,.04); }
.product-item-inner {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
}
.product-num {
  font-family: var(--font-title);
  font-size: .7rem;
  color: var(--cyan);
  opacity: .5;
  flex-shrink: 0;
  padding-top: .2rem;
}
.product-item.active .product-num { opacity: 1; }
.product-info h3 {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: .05em;
  margin-bottom: .5rem;
}
.product-info p { font-size: .95rem; color: var(--text-dim); margin-bottom: .75rem; }
.product-tags { display: flex; gap: .5rem; flex-wrap: wrap; }
.product-tags span {
  font-family: var(--font-mono);
  font-size: .65rem;
  padding: .2rem .6rem;
  border: 1px solid var(--border);
  color: var(--cyan);
  letter-spacing: .1em;
  border-radius: 2px;
}
.product-arrow {
  margin-left: auto;
  color: var(--cyan);
  font-size: 1.2rem;
  transition: transform .3s;
  flex-shrink: 0;
}
.product-item.active .product-arrow { transform: translateX(4px); }
.product-progress {
  height: 2px;
  background: var(--border);
}
.product-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(0,240,255,.6);
  transition: width .1s linear;
}
.product-item.active .product-progress-bar { width: 100%; transition: width 5s linear; }

/* ── PHONE MOCKUP ───────────────────────────────────────── */
.phone-mockup-wrapper {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
  width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.phone-mockup {
  width: 260px;
  height: 530px;
  border: 1.5px solid var(--border-bright);
  border-radius: 36px;
  background: #050f0f;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0,240,255,.15), inset 0 0 40px rgba(0,240,255,.03);
}
.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: #0D0D0D;
  border-radius: 0 0 12px 12px;
  z-index: 10;
  border: 1px solid var(--border);
  border-top: none;
}
.phone-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.phone-home-bar {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  border-radius: 2px;
  background: var(--border-bright);
  z-index: 10;
}
.phone-glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 80px;
  background: radial-gradient(ellipse, rgba(0,240,255,.3), transparent 70%);
  pointer-events: none;
}

/* ── PHONE APPS ─────────────────────────────────────────── */
.phone-app {
  position: absolute;
  inset: 0;
  padding: 40px 12px 20px;
  font-family: var(--font-mono);
  font-size: .6rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s, transform .5s;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.phone-app.active { opacity: 1; transform: translateY(0); pointer-events: all; }
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px;
  border-bottom: 1px solid var(--border);
}
.app-title { font-family: var(--font-title); font-size: .75rem; color: var(--text); letter-spacing: .1em; }
.app-status { font-size: .55rem; color: var(--cyan); letter-spacing: .1em; animation: blink 2s step-end infinite; }
@keyframes blink { 50% { opacity: .3; } }

/* LisaLens */
.app-viewfinder {
  position: relative;
  height: 160px;
  border: 1px solid var(--border);
  background: rgba(0,240,255,.03);
  display: flex;
  align-items: center;
  justify-content: center;
}
.vf-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--cyan);
  border-style: solid;
}
.vf-tl { top: 4px; left: 4px; border-width: 1px 0 0 1px; }
.vf-tr { top: 4px; right: 4px; border-width: 1px 1px 0 0; }
.vf-bl { bottom: 4px; left: 4px; border-width: 0 0 1px 1px; }
.vf-br { bottom: 4px; right: 4px; border-width: 0 1px 1px 0; }
.vf-scan {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 8px rgba(0,240,255,.6);
  animation: scan-v 2.5s ease-in-out infinite;
  top: 0;
}
@keyframes scan-v {
  0% { top: 0; opacity: 1; }
  90% { top: 100%; opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
.vf-target { display: flex; align-items: center; justify-content: center; }
.target-ring {
  width: 40px;
  height: 40px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  animation: target-spin 4s linear infinite;
  position: relative;
}
.target-ring::before, .target-ring::after {
  content: '';
  position: absolute;
  background: var(--cyan);
}
.target-ring::before { top: -4px; left: 50%; transform: translateX(-50%); width: 1px; height: 8px; }
.target-ring::after { left: -4px; top: 50%; transform: translateY(-50%); height: 1px; width: 8px; }
@keyframes target-spin { to { transform: rotate(360deg); } }
.target-dot { position: absolute; width: 4px; height: 4px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 6px var(--cyan); }
.app-detections { display: flex; flex-direction: column; gap: 4px; }
.detection-item {
  display: flex;
  gap: 6px;
  padding: 4px 8px;
  border: 1px solid var(--border);
  background: rgba(0,240,255,.02);
  align-items: center;
}
.d-label { color: var(--cyan); font-size: .55rem; opacity: .7; min-width: 42px; }
.d-val { flex: 1; color: var(--text); font-size: .6rem; }
.d-conf { color: var(--cyan); font-size: .6rem; }
.app-status-bar {
  display: flex;
  justify-content: space-between;
  padding: 4px 8px;
  border-top: 1px solid var(--border);
  font-size: .55rem;
  color: var(--text-dim);
  margin-top: auto;
}
.sb-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 4px var(--cyan);
  margin-right: 3px;
  animation: blink 1s step-end infinite;
}

/* NEXUS graph */
.nexus-graph { flex: 1; display: flex; align-items: center; justify-content: center; }
.nexus-svg { width: 100%; max-height: 200px; }
.nexus-pulse { animation: nexus-p 2s ease-in-out infinite; }
@keyframes nexus-p { 0%,100% { filter: drop-shadow(0 0 3px rgba(0,240,255,.5)); } 50% { filter: drop-shadow(0 0 10px rgba(0,240,255,1)); } }
.packet { animation: packet-move 3s ease-in-out infinite; }
.packet-1 { animation-name: packet-1-anim; }
.packet-2 { animation-name: packet-2-anim; animation-delay: 1s; }
.packet-3 { animation-name: packet-3-anim; animation-delay: 2s; }
@keyframes packet-1-anim {
  0% { cx: 100; cy: 80; opacity: 1; }
  100% { cx: 30; cy: 30; opacity: 0; }
}
@keyframes packet-2-anim {
  0% { cx: 100; cy: 80; opacity: 1; }
  100% { cx: 170; cy: 130; opacity: 0; }
}
@keyframes packet-3-anim {
  0% { cx: 100; cy: 80; opacity: 1; }
  100% { cx: 180; cy: 80; opacity: 0; }
}
.nexus-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.ns-item { padding: 6px 4px; text-align: center; background: #050f0f; }
.ns-label { display: block; font-size: .5rem; color: var(--text-dim); margin-bottom: 2px; }
.ns-val { font-family: var(--font-title); font-size: .65rem; color: var(--cyan); }

/* Lisa AI chat */
.lisa-chat { flex: 1; display: flex; flex-direction: column; gap: 8px; overflow: hidden; padding: 0 4px; }
.chat-msg { display: flex; gap: 6px; align-items: flex-end; }
.chat-ai { flex-direction: row; }
.chat-user { flex-direction: row-reverse; }
.chat-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--cyan);
  color: #000;
  font-size: .6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-title);
}
.chat-bubble {
  max-width: 75%;
  padding: 5px 8px;
  font-size: .6rem;
  line-height: 1.4;
  border-radius: 2px;
}
.chat-ai .chat-bubble { background: var(--cyan-dim); border: 1px solid var(--border); color: var(--text); }
.chat-user .chat-bubble { background: rgba(0,240,255,.08); border: 1px solid var(--border); color: var(--text-dim); text-align: right; }
.lisa-input {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  border: 1px solid var(--border-bright);
  background: rgba(0,240,255,.03);
  margin-top: auto;
}
.li-placeholder { font-size: .6rem; color: var(--text-dim); }
.li-cursor { color: var(--cyan); animation: blink .8s step-end infinite; }

/* ── TEAM ───────────────────────────────────────────────── */
.section--team { min-height: 100vh; padding-top: calc(var(--nav-h) + var(--section-pad)); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 3rem;
}
.team-card {
  position: relative;
  background: var(--bg-card);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
  transition: background .3s;
}
.team-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,240,255,.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s;
}
.team-card:hover::before { opacity: 1; }
.team-card:hover { background: #0f2020; }
.team-card--featured {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(135deg, rgba(0,240,255,.08) 0%, var(--bg-card) 100%);
  border-bottom: 1px solid var(--border-bright);
}
.team-card-glow {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(0,240,255,.1), transparent 70%);
  pointer-events: none;
}
.team-avatar { position: relative; flex-shrink: 0; }
.avatar-hex {
  width: 72px;
  height: 72px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-card--featured .avatar-hex { width: 90px; height: 90px; }
.avatar-hex svg { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 0 8px rgba(0,240,255,.5)); }
.avatar-letter {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cyan);
  position: relative;
  z-index: 1;
  text-shadow: var(--cyan-text-glow);
}
.team-card--featured .avatar-letter { font-size: 2rem; }
.avatar-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid var(--border-bright);
  animation: ring-pulse 3s ease-in-out infinite;
}
@keyframes ring-pulse { 0%,100% { opacity: .4; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
.team-info { flex: 1; }
.team-dept {
  display: block;
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .2em;
  color: var(--cyan);
  opacity: .7;
  margin-bottom: .35rem;
}
.team-name {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .05em;
  margin-bottom: .4rem;
}
.team-card--featured .team-name { font-size: 1.6rem; }
.team-desc { font-size: .875rem; color: var(--text-dim); line-height: 1.5; }
.team-status {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-mono);
  font-size: .6rem;
  color: var(--cyan);
  opacity: .7;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
  animation: blink 2s step-end infinite;
}
.team-footer {
  display: flex;
  justify-content: center;
  gap: 4rem;
  padding: 2rem;
  border: 1px solid var(--border);
  background: rgba(0,240,255,.02);
}
.tf-stat { text-align: center; }
.tf-num {
  display: block;
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--cyan);
  text-shadow: var(--cyan-text-glow);
}
.tf-label {
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .15em;
  color: var(--text-dim);
}

/* ── ABOUT ──────────────────────────────────────────────── */
.section--about { min-height: 80vh; padding-top: calc(var(--nav-h) + var(--section-pad)); }
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px,4vw,64px);
  min-width: 0;
  align-items: center;
}
.about-visual { position: relative; }
.circuit-svg { width: 100%; max-width: 400px; }
.about-content .section-tag { text-align: left; }
.about-content .section-title { text-align: left; }
.about-blocks { display: flex; flex-direction: column; gap: 1.5rem; margin: 2rem 0; }
.about-block {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  background: rgba(0,240,255,.02);
  transition: border-color .3s;
}
.about-block:hover { border-color: var(--border-bright); }
.ab-icon {
  font-size: 1.2rem;
  color: var(--cyan);
  flex-shrink: 0;
  padding-top: .1rem;
  text-shadow: var(--cyan-text-glow);
}
.ab-text h4 {
  font-family: var(--font-title);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .05em;
  margin-bottom: .3rem;
}
.ab-text p { font-size: .9rem; color: var(--text-dim); }
.about-quote {
  border-left: 2px solid var(--cyan);
  padding-left: 1.5rem;
  margin-top: 2rem;
}
blockquote {
  font-size: 1rem;
  color: var(--text-dim);
  font-style: italic;
  line-height: 1.7;
}
cite {
  display: block;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--cyan);
  margin-top: .5rem;
  opacity: .8;
}

/* ── CONTACT ────────────────────────────────────────────── */
.section--contact { min-height: 80vh; padding-top: calc(var(--nav-h) + var(--section-pad)); }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px,4vw,64px);
  min-width: 0;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.ci-item { display: flex; gap: 1rem; align-items: flex-start; }
.ci-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(0,240,255,.05);
}
.ci-label {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .15em;
  color: var(--cyan);
  opacity: .7;
  margin-bottom: .2rem;
}
.ci-val { font-size: .95rem; color: var(--text); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label {
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .15em;
  color: var(--cyan);
  opacity: .8;
}
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(0,240,255,.03);
  border: 1px solid var(--border);
  color: var(--text);
  padding: .75rem 1rem;
  font-size: .95rem;
  transition: border-color .3s, box-shadow .3s;
  outline: none;
  border-radius: 2px;
  -webkit-appearance: none;
  appearance: none;
}
.form-group select { cursor: pointer; }
.form-group select option { background: #0a1a1a; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--border-bright);
  box-shadow: 0 0 15px rgba(0,240,255,.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-msg {
  font-family: var(--font-mono);
  font-size: .75rem;
  text-align: center;
  min-height: 1.5rem;
  color: var(--cyan);
}

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  position: relative;
  z-index: 2;
  padding: 3rem clamp(20px,4vw,60px) 1.5rem;
  border-top: 1px solid var(--border);
  background: rgba(13,13,13,.9);
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-title);
  font-size: .7rem;
  letter-spacing: .15em;
  color: var(--text-dim);
}
.footer-brand svg { filter: drop-shadow(0 0 4px rgba(0,240,255,.4)); }
.footer-copy {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  font-size: .8rem;
  color: var(--text-dim);
  margin-left: auto;
}
.footer-tag {
  font-family: var(--font-mono);
  font-size: .65rem;
  color: var(--cyan);
  opacity: .5;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .1em;
  color: var(--text-dim);
  transition: color .2s;
}
.footer-links a:hover { color: var(--cyan); }
.footer-line {
  max-width: 1400px;
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
}

/* ── GLITCH EFFECT ──────────────────────────────────────── */
.glitch-text {
  position: relative;
}
.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.glitch-text::before {
  color: rgba(0,240,255,.6);
  animation: glitch-1 4s infinite;
  clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
}
.glitch-text::after {
  color: rgba(0,240,255,.3);
  animation: glitch-2 4s infinite;
  clip-path: polygon(0 66%, 100% 66%, 100% 100%, 0 100%);
}
@keyframes glitch-1 {
  0%, 92%, 100% { transform: translateX(0); }
  93% { transform: translateX(-3px); }
  94% { transform: translateX(3px); }
  95% { transform: translateX(-1px); }
}
@keyframes glitch-2 {
  0%, 92%, 100% { transform: translateX(0); }
  93% { transform: translateX(2px); }
  94% { transform: translateX(-2px); }
  95% { transform: translateX(1px); }
}

/* ── SCROLL ANIMATIONS ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .products-layout { grid-template-columns: 1fr; }
  .phone-mockup-wrapper { position: relative; top: auto; width: 100%; align-items: center; margin: 2rem auto; }
  .phone-mockup { margin: 0 auto; }
  .about-layout { grid-template-columns: 1fr; }
  .about-visual { display: none; }
}

@media (max-width: 768px) {
  /* ── PREMIUM DRAWER NAV ── */

  /* Overlay backdrop */
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0);
    z-index: 999;
    pointer-events: none;
    transition: background 0.4s ease;
  }
  .nav-overlay.active {
    background: rgba(0,0,0,0.55);
    pointer-events: all;
  }

  /* Drawer panel */
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: min(300px, 82vw);
    height: 100vh;
    height: 100dvh;
    pointer-events: none;
    background: #000;
    border-left: 1px solid rgba(0,240,255,0.25);
    box-shadow: -10px 0 40px rgba(0,240,255,0.08), -30px 0 80px rgba(0,0,0,0.9);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0;
    gap: 0;
    list-style: none;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
    overflow: hidden;
  }

  /* Tron scan line decoration inside drawer */
  .nav-links::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00F0FF, transparent);
    box-shadow: 0 0 12px #00F0FF;
    z-index: 10;
    animation: nav-scan-line 3s ease-in-out infinite;
  }
  @keyframes nav-scan-line {
    0%   { top: 0; opacity: 0.6; }
    50%  { opacity: 1; }
    100% { top: 100%; opacity: 0; }
  }

  /* Vertical cyan accent line */
  .nav-links::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #00F0FF 30%, #00F0FF 70%, transparent);
    box-shadow: 0 0 10px rgba(0,240,255,0.5);
    z-index: 10;
  }

  .nav-links.open {
    transform: translateX(0);
    pointer-events: all;
  }

  /* Push content when open — subtle shift only, no darkening (overlay handles it) */
  body.menu-open > canvas,
  body.menu-open > section,
  body.menu-open > footer {
    transform: translateX(-18px);
    transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
    will-change: transform;
  }

  /* Nav items */
  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(0,240,255,0.06);
    padding: 0;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    counter-increment: nav-item;
  }
  .nav-links li:first-child {
    margin-top: calc(var(--nav-h) + 2rem);
  }

  .nav-links.open li { opacity: 1; transform: translateX(0); }
  .nav-links.open li:nth-child(1) { transition-delay: 0.08s; }
  .nav-links.open li:nth-child(2) { transition-delay: 0.15s; }
  .nav-links.open li:nth-child(3) { transition-delay: 0.22s; }
  .nav-links.open li:nth-child(4) { transition-delay: 0.29s; }

  /* Nav anchors */
  .nav-links a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2rem;
    font-family: var(--font-title);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.25s, background 0.25s, padding-left 0.25s;
    position: relative;
  }
  /* Number prefix via data attr */
  .nav-links li:nth-child(1) a::before { content: '01'; }
  .nav-links li:nth-child(2) a::before { content: '02'; }
  .nav-links li:nth-child(3) a::before { content: '03'; }
  .nav-links li:nth-child(4) a::before { content: ''; }

  .nav-links a::before {
    font-family: var(--font-title);
    font-size: 0.6rem;
    color: rgba(0,240,255,0.7);
    letter-spacing: 0.1em;
    min-width: 1.5rem;
    flex-shrink: 0;
  }
  .nav-links a:hover,
  .nav-links a:active {
    color: #00F0FF;
    background: rgba(0,240,255,0.05);
    padding-left: 2.5rem;
    text-shadow: 0 0 12px rgba(0,240,255,0.6);
  }
  .nav-links a::after {
    content: '→';
    position: absolute;
    right: 1.5rem;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.25s, transform 0.25s;
    color: #00F0FF;
    font-size: 0.85rem;
  }
  .nav-links a:hover::after,
  .nav-links a:active::after { opacity: 1; transform: translateX(0); }

  /* Contact CTA inside drawer */
  .nav-links .nav-cta {
    margin: 2rem 2rem 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.85rem 1.5rem !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.2em !important;
    color: #00F0FF !important;
    background: rgba(0,240,255,0.06) !important;
    border: 1px solid rgba(0,240,255,0.4) !important;
    border-radius: 1px !important;
    box-shadow: 0 0 20px rgba(0,240,255,0.1), inset 0 0 10px rgba(0,240,255,0.04) !important;
    transition: all 0.25s ease !important;
    width: calc(100% - 4rem) !important;
    justify-content: center !important;
  }
  .nav-links .nav-cta:hover,
  .nav-links .nav-cta:active {
    background: rgba(0,240,255,0.14) !important;
    box-shadow: 0 0 30px rgba(0,240,255,0.25), inset 0 0 15px rgba(0,240,255,0.08) !important;
    padding-left: 1.5rem !important;
  }
  .nav-links li:last-child {
    border-bottom: none;
    padding: 0 0 0 0;
  }
  .nav-links li:last-child a { display: none; }
  .nav-links li:nth-child(4) { display: flex; padding: 2rem 0 0; border-bottom: none; }
  .nav-links li:nth-child(4) a {
    margin: 0 2rem;
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem !important;
    font-size: 0.7rem !important;
    color: #00F0FF !important;
    background: rgba(0,240,255,0.06) !important;
    border: 1px solid rgba(0,240,255,0.4) !important;
    border-radius: 1px !important;
    box-shadow: 0 0 20px rgba(0,240,255,0.1) !important;
    width: 100% !important;
    justify-content: center !important;
  }
  .nav-links li:nth-child(4) a::before { display: none; }
  .nav-links li:nth-child(4) a::after { display: none; }
  .nav-links li:nth-child(4) a:hover,
  .nav-links li:nth-child(4) a:active {
    background: rgba(0,240,255,0.14) !important;
    padding-left: 1.5rem !important;
    letter-spacing: 0.2em !important;
  }

  /* Hamburger toggle */
  .nav-toggle { display: flex; z-index: 10000; }
  .nav-toggle span { transition: all 0.35s cubic-bezier(0.4,0,0.2,1); }
  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); background: #00F0FF; }
  .nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); background: #00F0FF; }
  .section--hero { flex-direction: column; text-align: center; padding-top: calc(var(--nav-h) + 40px); min-height: 100svh; overflow: hidden; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { order: -1; margin-bottom: 1.5rem; }
  .hex-grid { width: 200px; height: 200px; }
  .hex-ring-1 { width: 200px; height: 200px; }
  .hex-ring-2 { width: 140px; height: 140px; }
  .hex-ring-3 { width: 80px; height: 80px; }
  .team-card--featured { flex-direction: column; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-copy { margin-left: 0; align-items: center; }
  .team-grid { grid-template-columns: 1fr; }
  .team-footer { gap: 2rem; flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.5rem; }
  .section-title { font-size: 1.8rem; }
  .hero-stats { gap: 1rem; }
  .stat-divider { height: 30px; }
}

/* ── LARGE SCREEN RESPONSIVENESS ───────────────────────── */
@media (min-width: 1200px) {
  .products-layout { gap: 60px; }
  .product-item-inner { padding: 2rem 2.5rem; }
  .product-info h3 { font-size: 1.6rem; }
}

@media (min-width: 1600px) {
  .section { padding: 100px clamp(40px, 6vw, 120px); }
  .products-layout { gap: 80px; }
  .hero-title { font-size: 5rem; }
  .section-title { font-size: 3.2rem; }
  .product-info h3 { font-size: 1.8rem; }
  .product-info p { font-size: 1.05rem; }
  .team-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}

/* ── UTILITY ────────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ── LARGE LAPTOP / MACBOOK RESPONSIVENESS ─────────────── */
@media (min-width: 1101px) and (max-width: 1400px) {
  .products-layout {
    grid-template-columns: 1fr 240px;
    gap: 40px;
  }
  .phone-mockup-wrapper { width: 240px; }
  .phone-mockup { width: 220px; height: 460px; }
}

@media (min-width: 1101px) {
  .section--products { overflow: hidden; }
  .products-layout { overflow: hidden; }
}

/* Ensure product items never overflow their column */
.product-item { max-width: 100%; box-sizing: border-box; }
.product-item-inner { max-width: 100%; }
