/* ============================================
   Helper Eye — how-to-use.css
   ============================================ */

/* ── NAV ACTIVE STATE ── */
.nav-active { color: var(--primary) !important; }

/* ── PAGE HERO ── */
.page-hero {
  min-height: 44vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 5% 60px;
  position: relative;
  overflow: hidden;
}
.page-title {
  position: relative; z-index: 1;
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  font-size: clamp(36px, 7vw, 72px);
  line-height: 1.1;
  margin-bottom: 16px;
}
.page-sub {
  position: relative; z-index: 1;
  font-size: clamp(14px, 1.8vw, 17px);
  color: var(--text-dim);
  max-width: 520px;
  font-weight: 300;
}

/* ── FLOW SECTION ── */
.flow-section {
  padding: 60px 5% 80px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ── STEP BLOCK ── */
.step-block {
  display: grid;
  grid-template-columns: 1fr 100px 1fr;
  gap: 0;
  align-items: center;
  margin-bottom: 0;
  min-height: 340px;
}

/* ── STEP CONNECTOR (centre column) ── */
.step-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
}
.step-number {
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 2px;
  color: #050810;
  background: var(--primary);
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px var(--primary-glow);
  flex-shrink: 0;
}
.conn-line {
  width: 2px;
  height: 60px;
  background: linear-gradient(to bottom, var(--primary), rgba(0,229,255,0.2));
  border-radius: 1px;
}
.conn-arrow {
  color: var(--primary);
  font-size: 14px;
  opacity: 0.7;
}
.conn-check {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,229,255,0.15);
  border: 1.5px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 16px;
  font-weight: 700;
}

/* ── STEP SIDES ── */
.step-side { padding: 32px 24px; }
.step-side.left { text-align: right; }
.step-side.right { text-align: left; }

/* ── STEP CONTENT TEXT ── */
.step-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
  font-family: 'Orbitron', monospace;
}
.step-title {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  font-size: clamp(16px, 2.5vw, 22px);
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.3;
}
.step-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 18px;
}
.step-desc strong { color: var(--text); }
.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}
.step-side.right .step-tags { justify-content: flex-start; }
.stag {
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 20px;
  border: 0.5px solid var(--border);
  color: var(--primary);
  background: var(--primary-dim);
}

/* ── FLOW DIVIDER ── */
.flow-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0 5%;
  margin: 0;
}
.divider-line {
  flex: 1;
  height: 0.5px;
  background: linear-gradient(to right, transparent, rgba(0,229,255,0.3));
}
.flow-divider:nth-of-type(even) .divider-line:first-child {
  background: linear-gradient(to left, transparent, rgba(0,229,255,0.3));
}
.divider-arrow {
  width: 32px; height: 32px;
  color: var(--primary);
  opacity: 0.7;
  flex-shrink: 0;
  margin: 0 12px;
}
.divider-arrow svg { width: 100%; height: 100%; }

/* ── STEP VISUALS ── */
.step-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Phone / App Visual */
.phone-frame {
  width: 160px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 16px 12px;
  position: relative;
}
.phone-frame::before {
  content: '';
  display: block;
  width: 40px; height: 5px;
  background: var(--border);
  border-radius: 3px;
  margin: 0 auto 14px;
}
.phone-screen { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.app-icon { width: 52px; height: 52px; }
.app-label {
  font-family: 'Orbitron', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--primary);
}
.app-status {
  font-size: 9px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 4px;
}
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #00ff88;
  box-shadow: 0 0 6px #00ff88;
  animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.upload-bar {
  width: 100%;
  height: 4px;
  background: var(--bg3);
  border-radius: 2px;
  overflow: hidden;
}
.upload-fill {
  height: 100%;
  width: 70%;
  background: linear-gradient(90deg, var(--primary), rgba(0,229,255,0.4));
  border-radius: 2px;
  animation: upload 2.5s ease-in-out infinite;
}
@keyframes upload { 0%{width:0%} 70%{width:100%} 100%{width:100%} }
.app-tag {
  font-size: 9px;
  color: var(--primary);
  background: var(--primary-dim);
  border: 0.5px solid var(--border);
  border-radius: 10px;
  padding: 3px 8px;
}

/* Lens Visual */
.lens-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.lens-body {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--bg2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  box-shadow: 0 0 30px rgba(0,229,255,0.15);
}
.lens-circle {
  border-radius: 50%;
  position: absolute;
  border: 1px solid rgba(0,229,255,0.3);
}
.lens-circle.outer { width: 110px; height: 110px; }
.lens-circle.mid { width: 70px; height: 70px; background: rgba(0,229,255,0.05); }
.lens-circle.inner {
  width: 40px; height: 40px;
  background: rgba(0,229,255,0.15);
  display: flex; align-items: center; justify-content: center;
}
.lens-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}
.lens-shine {
  position: absolute;
  top: 18px; left: 22px;
  width: 16px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transform: rotate(-30deg);
}
.usb-plug {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.plug-body {
  width: 10px; height: 28px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 2px;
}
.plug-head {
  width: 18px; height: 8px;
  background: rgba(0,229,255,0.2);
  border: 1px solid var(--primary);
  border-radius: 2px 2px 0 0;
}
.lens-badge {
  font-size: 11px;
  color: var(--primary);
  background: var(--primary-dim);
  border: 0.5px solid var(--border);
  border-radius: 20px;
  padding: 5px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.4);opacity:0.5} }

/* Pen Visual */
.pen-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.pen-body {
  width: 28px;
  height: 160px;
  background: linear-gradient(180deg, var(--bg2) 0%, #1a2030 100%);
  border: 1px solid var(--border);
  border-radius: 14px 14px 6px 6px;
  position: relative;
  box-shadow: 0 0 20px rgba(0,229,255,0.1), inset 1px 0 0 rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pen-grip {
  width: 100%;
  height: 40px;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 4px,
    rgba(0,229,255,0.08) 4px,
    rgba(0,229,255,0.08) 5px
  );
  border-radius: 14px 14px 0 0;
}
.pen-tip {
  position: absolute;
  bottom: -10px;
  width: 8px; height: 12px;
  background: linear-gradient(180deg, #888, #ccc);
  border-radius: 0 0 4px 4px;
}
.pen-btn {
  position: absolute;
  top: 55px;
  width: 14px; height: 14px;
  background: var(--primary-dim);
  border: 1px solid var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  animation: btn-glow 2s ease-in-out infinite;
}
@keyframes btn-glow { 0%,100%{box-shadow:0 0 4px var(--primary)} 50%{box-shadow:0 0 14px var(--primary)} }
.btn-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--primary);
}
.pen-end {
  position: absolute;
  top: -4px;
  width: 20px; height: 8px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 4px 4px 0 0;
}
.bt-waves {
  position: absolute;
  left: 36px; top: 50px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bt-wave {
  border-radius: 50%;
  border: 1.5px solid var(--primary);
  opacity: 0;
  animation: wave-out 2s ease-out infinite;
}
.w1 { width: 20px; height: 20px; animation-delay: 0s; }
.w2 { width: 34px; height: 34px; animation-delay: 0.4s; margin-left: -7px; margin-top: -27px; }
.w3 { width: 50px; height: 50px; animation-delay: 0.8s; margin-left: -15px; margin-top: -42px; }
@keyframes wave-out { 0%{opacity:0.7;transform:scale(0.6)} 100%{opacity:0;transform:scale(1)} }
.pen-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.pa-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--text-dim);
  background: var(--bg2);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
}
.pa-icon { font-size: 16px; }

/* Earpiece Visual */
.ear-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
}
.earpiece-body {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--bg2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  box-shadow: 0 0 30px rgba(0,229,255,0.12);
}
.ep-outer {
  width: 90px; height: 90px;
  border-radius: 50%;
  border: 1px solid rgba(0,229,255,0.25);
  position: absolute;
}
.ep-mid {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(0,229,255,0.06);
  border: 1px solid rgba(0,229,255,0.3);
  position: absolute;
}
.ep-inner {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(0,229,255,0.2);
  border: 1px solid var(--primary);
  position: absolute;
  box-shadow: 0 0 10px var(--primary-glow);
}
.sound-waves {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
}
.sw {
  width: 3px;
  background: var(--primary);
  border-radius: 2px;
  animation: sound-wave 1.2s ease-in-out infinite;
}
.sw1 { height: 10px; animation-delay: 0s; }
.sw2 { height: 22px; animation-delay: 0.2s; }
.sw3 { height: 14px; animation-delay: 0.4s; }
@keyframes sound-wave { 0%,100%{transform:scaleY(0.5);opacity:0.4} 50%{transform:scaleY(1);opacity:1} }
.hidden-badge {
  font-size: 11px;
  color: var(--primary);
  background: var(--primary-dim);
  border: 0.5px solid var(--border);
  border-radius: 20px;
  padding: 5px 14px;
  white-space: nowrap;
}

/* ── READY BANNER ── */
.ready-banner {
  margin-top: 60px;
  border-radius: 16px;
  border: 1px solid var(--primary);
  background: linear-gradient(135deg, rgba(0,229,255,0.06) 0%, rgba(0,100,180,0.06) 100%);
  padding: 40px 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0,229,255,0.08);
}
.ready-glow {
  position: absolute;
  top: -40px; left: 50%;
  transform: translateX(-50%);
  width: 300px; height: 150px;
  background: radial-gradient(ellipse, rgba(0,229,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.ready-content {
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 1;
}
.ready-icon { width: 60px; height: 60px; flex-shrink: 0; }
.ready-icon svg { width: 100%; height: 100%; }
.ready-title {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  font-size: clamp(18px, 3vw, 26px);
  color: var(--primary);
  margin-bottom: 8px;
}
.ready-sub { font-size: 14px; color: var(--text-dim); }

/* ── OVERVIEW GRID ── */
.overview-section { padding: 72px 5%; }
.overview-grid {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 8px;
}
.ov-card {
  flex: 1;
  min-width: 160px;
  background: var(--bg2);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}
.ov-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.ov-num {
  font-family: 'Orbitron', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--primary);
  opacity: 0.6;
  margin-bottom: 10px;
}
.ov-icon { font-size: 28px; margin-bottom: 10px; }
.ov-title { font-weight: 700; font-size: 14px; color: var(--text); margin-bottom: 6px; }
.ov-desc { font-size: 11px; color: var(--text-dim); line-height: 1.6; }
.ov-arrow {
  font-size: 20px;
  color: var(--primary);
  opacity: 0.4;
  flex-shrink: 0;
  padding: 0 12px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .step-block {
    grid-template-columns: 1fr;
    text-align: left !important;
  }
  .step-side.left { text-align: left; order: 2; }
  .step-connector { order: 1; flex-direction: row; justify-content: flex-start; padding: 0 24px; }
  .step-connector.right-conn { order: 1; }
  .step-connector.left-conn { order: 1; }
  .conn-line { width: 40px; height: 2px; background: linear-gradient(to right, var(--primary), rgba(0,229,255,0.2)); }
  .conn-arrow { transform: rotate(-90deg); }
  .step-side.right { order: 3; }
  .step-tags { justify-content: flex-start !important; }
  .step-visual { order: 4; }
  .ready-content { flex-direction: column; text-align: center; }
  .overview-grid { flex-wrap: wrap; gap: 12px; }
  .ov-arrow { display: none; }
  .ov-card { min-width: calc(50% - 6px); }
  /* nav handled by style.css hamburger */
}
