/* ╔══════════════════════════════════════════════════════╗
   ║  Hoofify Landing Page — Retro-OS Design System       ║
   ║  Adapted from ClawLite Admin Panel UI Kit            ║
   ╚══════════════════════════════════════════════════════╝ */

/* ─── DESIGN TOKENS (from ui-kit/tokens.css) ─── */
:root {
  /* Colors */
  --retro-teal: #008080;
  --retro-blue: #0078D7;
  --retro-blue-hover: #005a9e;
  --retro-gray: #a0a0a0;
  --retro-light-gray: #f0f0f0;
  --retro-body-bg: #e5e5e5;
  --retro-dark-gray: #808080;
  --retro-white: #ffffff;
  --retro-red: #e81123;
  --retro-green: #008000;

  /* Typography */
  --font-bitmap: 'Silkscreen', 'Press Start 2P', monospace;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'Share Tech Mono', 'Courier New', monospace;

  /* Borders */
  --border-1px-dark: 1px solid #000000;
  --border-1px-blue: 1px solid var(--retro-blue);
  --border-1px-gray: 1px solid var(--retro-gray);
  --border-radius-4px: 4px;

  /* 3D Borders */
  --border-3d-out:
    inset 1px 1px 0px var(--retro-white),
    inset -1px -1px 0px var(--retro-dark-gray),
    1px 1px 0px #000000;
  --border-3d-in:
    inset 1px 1px 0px var(--retro-dark-gray),
    inset -1px -1px 0px var(--retro-white),
    1px 1px 0px transparent;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--retro-teal);
  color: #000000;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

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

/* ─── PIXEL CANVAS BACKGROUND ─── */
#pixel-bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ─── GLOBAL SCROLLBAR ─── */
::-webkit-scrollbar { width: 14px; }
::-webkit-scrollbar-track {
  background-color: #d0d0d0;
  border-left: 1px solid var(--retro-gray);
}
::-webkit-scrollbar-thumb {
  background-color: var(--retro-light-gray);
  border: var(--border-1px-dark);
  box-shadow: var(--border-3d-out);
}

/* ═══════════════════════════════════════════
   TOPBAR — Fixed navigation
   ═══════════════════════════════════════════ */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--retro-light-gray);
  border-bottom: 1px solid #000000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 100;
}

.topbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 8px 32px;
  max-width: 1400px;
  margin: 0 auto;
}

.topbar-inner .brand {
  justify-self: start;
}

.topbar-inner .topbar-nav {
  justify-self: center;
}

.topbar-inner > div:last-child {
  justify-self: end;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 28px;
  height: 28px;
  image-rendering: pixelated;
}

.logo-text {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #000000;
}

.logo-text .highlight {
  color: var(--retro-blue);
}

/* Nav links */
.topbar-nav {
  display: flex;
  gap: 4px;
}

.topbar-nav a {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  color: #000000;
  padding: 6px 14px;
  background-color: #d0d0d0;
  border: var(--border-1px-dark);
  border-bottom: none;
  border-top-left-radius: var(--border-radius-4px);
  border-top-right-radius: var(--border-radius-4px);
  letter-spacing: 0.5px;
  opacity: 0.85;
  box-shadow: inset 1px 1px 0px var(--retro-white);
  transition: background-color 0.15s, opacity 0.15s;
  white-space: nowrap;
}

.topbar-nav a:hover {
  background-color: #e5e5e5;
  opacity: 1;
  color: var(--retro-blue);
}

/* CTA in nav */
.topbar-cta {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 16px;
  background-color: var(--retro-blue);
  color: var(--retro-white);
  border: var(--border-1px-blue);
  border-radius: 0;
  cursor: pointer;
  letter-spacing: 0.5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-cta:hover {
  background-color: var(--retro-blue-hover);
}

.topbar-cta:active {
  transform: scale(0.98);
}

/* ═══════════════════════════════════════════
   RETRO WINDOW COMPONENT
   ═══════════════════════════════════════════ */
.retro-window {
  background-color: var(--retro-light-gray);
  border: var(--border-1px-dark);
  box-shadow: var(--border-3d-out);
  padding: 4px;
  display: flex;
  flex-direction: column;
}

.retro-window-header {
  background-color: var(--retro-blue);
  color: var(--retro-white);
  font-family: var(--font-bitmap);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  letter-spacing: 0.5px;
}

.window-controls {
  display: flex;
  gap: 2px;
}

.window-controls span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 14px;
  background-color: var(--retro-light-gray);
  border: var(--border-1px-dark);
  box-shadow: var(--border-3d-out);
  font-size: 9px;
  color: #000;
  cursor: default;
}

.retro-window-body {
  padding: 16px;
  flex-grow: 1;
  font-family: var(--font-sans);
  color: #000000;
}

/* ═══════════════════════════════════════════
   GLASS CARD (Retro Window Card style)
   ═══════════════════════════════════════════ */
.glass-card {
  background-color: var(--retro-light-gray);
  border: var(--border-1px-dark);
  box-shadow: var(--border-3d-out);
  padding: 4px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.glass-card-header {
  background-color: var(--retro-blue);
  color: var(--retro-white);
  font-family: var(--font-bitmap);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.glass-card-body {
  padding: 16px;
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.retro-btn {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 24px;
  border: var(--border-1px-dark);
  background-color: var(--retro-light-gray);
  color: #000000;
  box-shadow: var(--border-3d-out);
  cursor: pointer;
  outline: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  user-select: none;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: background-color 0.1s;
}

.retro-btn:hover {
  background-color: #e5e5e5;
}

.retro-btn:active {
  box-shadow: var(--border-3d-in);
  transform: translate(1px, 1px);
}

.retro-btn.primary {
  background-color: var(--retro-blue);
  color: var(--retro-white);
  border: var(--border-1px-blue);
  box-shadow: none;
  border-radius: 0;
  font-size: 14px;
  padding: 12px 28px;
}

.retro-btn.primary:hover {
  background-color: var(--retro-blue-hover);
}

.retro-btn.primary:active {
  transform: scale(0.98);
  box-shadow: none;
}

/* Badge */
.badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  font-family: var(--font-sans);
  border: var(--border-1px-dark);
  border-radius: 2px;
  display: inline-block;
}

.badge-success {
  background-color: var(--retro-green);
  color: var(--retro-white);
  border-color: #004d00;
}

.badge-blue {
  background-color: var(--retro-blue);
  color: var(--retro-white);
  border-color: var(--retro-blue-hover);
}

/* ─── WIN95-STYLE SVG ICONS ─── */
.win95-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  vertical-align: middle;
  image-rendering: pixelated;
}

.win95-icon-lg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  image-rendering: pixelated;
}

/* ═══════════════════════════════════════════
   PAGE WRAPPER
   ═══════════════════════════════════════════ */
.page-wrapper {
  position: relative;
  z-index: 2;
  padding-top: 52px; /* topbar height */
}

/* Section base */
.landing-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 32px;
}

/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */
.hero-section {
  padding: 80px 32px 60px;
  display: flex;
  justify-content: center;
}

.hero-window {
  max-width: 900px;
  width: 100%;
}

.hero-content {
  text-align: center;
  padding: 40px 32px 32px;
}

.hero-content h1 {
  font-family: var(--font-bitmap);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #000000;
  margin-bottom: 20px;
  line-height: 1.4;
}

.hero-content h1 .highlight {
  color: var(--retro-blue);
}

.hero-content .subtitle {
  font-size: 14px;
  color: #333333;
  line-height: 1.7;
  max-width: 650px;
  margin: 0 auto 32px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-tagline {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--retro-dark-gray);
  letter-spacing: 0.5px;
}

/* Status bar at bottom of hero window */
.hero-status-bar {
  display: flex;
  gap: 16px;
  padding: 6px 12px;
  background-color: var(--retro-body-bg);
  border-top: var(--border-1px-dark);
  box-shadow: var(--border-3d-in);
  font-family: var(--font-mono);
  font-size: 10px;
  color: #333;
}

.hero-status-bar .status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--retro-green);
  margin-right: 6px;
  animation: px-blink 2s infinite;
}

@keyframes px-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ═══════════════════════════════════════════
   SECTION: PAIN VS SOLUTION (The Pivot)
   ═══════════════════════════════════════════ */
.pivot-section {
  padding: 60px 32px;
}

.pivot-section .section-title-bar {
  max-width: 1200px;
  margin: 0 auto 32px;
}

.section-title-bar {
  background-color: var(--retro-light-gray);
  border: var(--border-1px-dark);
  box-shadow: var(--border-3d-out);
  padding: 4px;
}

.section-title-bar-header {
  background-color: var(--retro-blue);
  color: var(--retro-white);
  font-family: var(--font-bitmap);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  letter-spacing: 1px;
  text-align: center;
}

.pivot-grid {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.pivot-card {
  display: flex;
  flex-direction: column;
}

.pivot-card .glass-card-body {
  flex-grow: 1;
}

.pivot-card h3 {
  font-family: var(--font-bitmap);
  font-size: 13px;
  margin-bottom: 12px;
  color: #000;
  letter-spacing: 0.5px;
}

.pivot-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pivot-card ul li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: #333;
  line-height: 1.5;
}

.pivot-card ul li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 7px;
  width: 6px;
  height: 6px;
  background-color: #000;
}

.pivot-card.solution ul li::before {
  background-color: var(--retro-green);
}

.pivot-card.problem ul li::before {
  background-color: var(--retro-red);
}

.pivot-vs {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vs-badge {
  font-family: var(--font-bitmap);
  font-size: 18px;
  font-weight: 700;
  color: var(--retro-blue);
  background: var(--retro-light-gray);
  border: var(--border-1px-dark);
  box-shadow: var(--border-3d-out);
  padding: 8px 12px;
  letter-spacing: 2px;
}

/* ═══════════════════════════════════════════
   SECTION: HOW IT WORKS (Features)
   ═══════════════════════════════════════════ */
.features-section {
  padding: 60px 32px;
}

.features-section .section-title-bar {
  max-width: 1200px;
  margin: 0 auto 32px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  display: flex;
  flex-direction: column;
}

.feature-card .glass-card-header .feature-icon {
  font-size: 14px;
}

.feature-card .glass-card-body {
  flex-grow: 1;
}

.feature-card h4 {
  font-family: var(--font-bitmap);
  font-size: 12px;
  font-weight: 700;
  color: var(--retro-blue);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.feature-card p {
  font-size: 13px;
  color: #333;
  line-height: 1.6;
}

/* Feature demo console (inside feature card) */
.feature-console {
  margin-top: 12px;
  background-color: var(--retro-white);
  border: var(--border-1px-dark);
  box-shadow: var(--border-3d-in);
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #222;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.feature-console .log-line {
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-all;
  padding-left: 6px;
  border-left: 3px solid var(--retro-blue);
  color: #222;
}

.feature-console .log-line.agent {
  border-left-color: #008080;
  color: #005a9e;
}

.feature-console .log-line.skill {
  border-left-color: var(--retro-green);
  color: var(--retro-green);
}

.feature-console .log-line.telegram {
  border-left-color: #7f00ff;
  color: #7f00ff;
}

/* ═══════════════════════════════════════════
   SECTION: SECURITY & PRIVACY
   ═══════════════════════════════════════════ */
.security-section {
  padding: 60px 32px;
}

.security-section .section-title-bar {
  max-width: 1200px;
  margin: 0 auto 32px;
}

.security-window {
  max-width: 1200px;
  margin: 0 auto;
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px;
}

.security-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  background-color: var(--retro-white);
  border: var(--border-1px-dark);
  box-shadow: var(--border-3d-in);
}

.security-item .sec-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--retro-body-bg);
  border: var(--border-1px-dark);
  box-shadow: var(--border-3d-in);
  display: flex;
  align-items: center;
  justify-content: center;
}

.security-item h4 {
  font-family: var(--font-bitmap);
  font-size: 11px;
  font-weight: 700;
  color: #000;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.security-item p {
  font-size: 12px;
  color: #333;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════
   SECTION: INSTALLATION (3 Steps)
   ═══════════════════════════════════════════ */
.install-section {
  padding: 60px 32px;
}

.install-section .section-title-bar {
  max-width: 1200px;
  margin: 0 auto 32px;
}

.install-steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.step-card {
  display: flex;
  flex-direction: column;
}

.step-card .glass-card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
}

.step-number {
  font-family: var(--font-bitmap);
  font-size: 36px;
  font-weight: 700;
  color: var(--retro-blue);
  margin-bottom: 12px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--retro-white);
  border: var(--border-1px-dark);
  box-shadow: var(--border-3d-in);
}

.step-card h4 {
  font-family: var(--font-bitmap);
  font-size: 12px;
  font-weight: 700;
  color: #000;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.step-card p {
  font-size: 13px;
  color: #333;
  line-height: 1.5;
}

/* Step arrows */
.step-arrow {
  display: none;
}

/* ═══════════════════════════════════════════
   SECTION: FINAL CTA
   ═══════════════════════════════════════════ */
.cta-section {
  padding: 60px 32px 80px;
  display: flex;
  justify-content: center;
}

.cta-window {
  max-width: 700px;
  width: 100%;
}

.cta-content {
  text-align: center;
  padding: 32px 24px;
}

.cta-content h2 {
  font-family: var(--font-bitmap);
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.cta-content p {
  font-size: 13px;
  color: #333;
  margin-bottom: 24px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.app-footer {
  background-color: var(--retro-light-gray);
  border-top: 2px solid #000000;
  box-shadow: inset 1px 1px 0px var(--retro-white);
  padding: 10px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand img {
  width: 20px;
  height: 20px;
  image-rendering: pixelated;
}

.footer-brand span {
  font-family: var(--font-bitmap);
  font-size: 9px;
  color: #000;
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  font-family: var(--font-bitmap);
  font-size: 9px;
  font-weight: bold;
  color: var(--retro-blue);
  text-decoration: none;
  border-bottom: 1px dashed var(--retro-blue);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-links a:hover {
  color: var(--retro-blue-hover);
  border-bottom-color: var(--retro-blue-hover);
  border-bottom-style: solid;
}

.footer-version {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--retro-dark-gray);
}

/* ═══════════════════════════════════════════
   ANIMATED TYPING CURSOR
   ═══════════════════════════════════════════ */
.typing-cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background-color: #000;
  animation: blink-cursor 1s step-end infinite;
  vertical-align: text-bottom;
  margin-left: 2px;
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ═══════════════════════════════════════════
   SCROLL-TRIGGERED ANIMATIONS
   ═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* Staggered reveal for grids */
.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; }

/* ═══════════════════════════════════════════
   INTERACTIVE LOG ANIMATION (features)
   ═══════════════════════════════════════════ */
.feature-console .log-line {
  opacity: 0;
  transform: translateY(4px);
}

.feature-console.animated .log-line {
  animation: logSlideIn 0.3s ease-out forwards;
}

.feature-console.animated .log-line:nth-child(1) { animation-delay: 0.2s; }
.feature-console.animated .log-line:nth-child(2) { animation-delay: 0.5s; }
.feature-console.animated .log-line:nth-child(3) { animation-delay: 0.8s; }
.feature-console.animated .log-line:nth-child(4) { animation-delay: 1.1s; }

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

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

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

  .pivot-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pivot-vs {
    display: flex;
    justify-content: center;
    padding: 8px 0;
  }

  .install-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-content h1 {
    font-size: 22px;
  }
}

/* Mobile */
@media (max-width: 700px) {
  .topbar-inner {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    gap: 0;
  }

  .topbar-inner .topbar-nav {
    display: none;
  }

  .hero-section {
    padding: 60px 12px 40px;
  }

  .hero-content {
    padding: 24px 12px;
  }

  .hero-content h1 {
    font-size: 18px;
  }

  .hero-content .subtitle {
    font-size: 13px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .retro-btn {
    justify-content: center;
  }

  .landing-section,
  .pivot-section,
  .features-section,
  .security-section,
  .install-section,
  .cta-section {
    padding: 40px 12px;
  }

  .pivot-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .security-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .install-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-status-bar {
    flex-wrap: wrap;
    font-size: 9px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ═══════════════════════════════════════════
   MOBILE NAV TOGGLE
   ═══════════════════════════════════════════ */
.mobile-nav-toggle {
  display: none;
  background-color: var(--retro-light-gray);
  border: var(--border-1px-dark);
  box-shadow: var(--border-3d-out);
  cursor: pointer;
  padding: 6px 10px;
  font-size: 18px;
  line-height: 1;
  color: #000;
}

.mobile-nav-toggle:active {
  box-shadow: var(--border-3d-in);
  transform: translate(1px, 1px);
}

@media (max-width: 700px) {
  .mobile-nav-toggle {
    display: inline-flex;
  }
}

/* Mobile nav dropdown */
.mobile-nav-menu {
  display: none;
  position: fixed;
  top: 48px;
  left: 0;
  right: 0;
  background-color: var(--retro-light-gray);
  border-bottom: var(--border-1px-dark);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  z-index: 99;
  flex-direction: column;
  padding: 8px;
}

.mobile-nav-menu.open {
  display: flex;
}

.mobile-nav-menu a {
  display: block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  color: #000;
  padding: 10px 12px;
  border: var(--border-1px-dark);
  box-shadow: var(--border-3d-out);
  margin-bottom: 4px;
  background-color: var(--retro-light-gray);
  letter-spacing: 0.5px;
}

.mobile-nav-menu a:active {
  box-shadow: var(--border-3d-in);
  transform: translate(1px, 1px);
}

/* ═══════════════════════════════════════════
   SPECIAL EFFECTS
   ═══════════════════════════════════════════ */

/* Hover lift for cards */
.glass-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.glass-card:hover {
  transform: translateY(-2px);
  box-shadow:
    var(--border-3d-out),
    0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Progress bar animation */
.retro-progress {
  height: 18px;
  background-color: var(--retro-body-bg);
  border: var(--border-1px-gray);
  box-shadow: inset 1px 1px 2px rgba(0,0,0,0.15);
  overflow: hidden;
  margin-top: 8px;
}

.retro-progress-fill {
  height: 100%;
  background-color: var(--retro-blue);
  box-shadow: inset 0px -2px 4px rgba(0,0,0,0.2);
  width: 0%;
  transition: width 1.5s ease-out;
}

/* Status bar items in hero */
.status-bar-item {
  display: flex;
  align-items: center;
  gap: 4px;
}
