/* styles.css - Ultra-modern, cybernetic glassmorphism design system for aigentsz */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Syne:wght@600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --bg-primary: #05070c;
  --bg-secondary: #0a0e17;
  --bg-card: rgba(13, 18, 30, 0.75);
  --bg-card-hover: rgba(20, 28, 48, 0.88);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 242, 254, 0.35);
  --border-focus: #00f2fe;

  --accent-cyan: #00f2fe;
  --accent-cyan-bright: #38bdf8;
  --accent-blue: #4facfe;
  --accent-indigo: #6366f1;
  --accent-violet: #8a2be2;
  --accent-purple: #a855f7;
  --accent-rose: #f43f5e;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-display: 'Syne', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-glow-cyan: 0 0 35px rgba(0, 242, 254, 0.25);
  --shadow-glow-purple: 0 0 40px rgba(168, 85, 247, 0.3);
  --shadow-card: 0 20px 45px -15px rgba(0, 0, 0, 0.7);

  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ambient Cybernetic Glowing Meshes */
.bg-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.45;
  will-change: transform;
}

.blob-1 {
  width: 600px;
  height: 600px;
  top: -150px;
  left: 15%;
  background: radial-gradient(circle, var(--accent-cyan) 0%, rgba(79, 172, 254, 0.1) 60%, transparent 75%);
  animation: floatSlow 20s ease-in-out infinite alternate;
}

.blob-2 {
  width: 700px;
  height: 700px;
  top: 25%;
  right: -120px;
  background: radial-gradient(circle, var(--accent-purple) 0%, rgba(138, 43, 226, 0.15) 55%, transparent 75%);
  animation: floatSlow 24s ease-in-out infinite alternate-reverse;
}

.blob-3 {
  width: 550px;
  height: 550px;
  bottom: 8%;
  left: -100px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, rgba(16, 185, 129, 0) 70%);
}

.aurora-beam {
  position: absolute;
  top: -20%;
  left: 45%;
  width: 450px;
  height: 140%;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.08) 0%, rgba(168, 85, 247, 0.08) 50%, transparent 100%);
  transform: rotate(-35deg);
  filter: blur(80px);
  pointer-events: none;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 0) 80%);
}

@keyframes floatSlow {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(45px, 65px) scale(1.09); }
  100% { transform: translate(-35px, 35px) scale(0.94); }
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

/* Header & Navigation (Floating Glass Island) */
.navbar-wrapper {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  pointer-events: none;
}

.navbar-island {
  pointer-events: auto;
  width: 100%;
  max-width: 1240px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 0 14px;
  background: rgba(10, 14, 23, 0.76);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.7),
              0 0 0 1px rgba(0, 242, 254, 0.08),
              inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.35);
  flex-shrink: 0;
}

.brand-icon svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 40%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  padding: 3px 8px;
  border-radius: 9999px;
  background: rgba(0, 242, 254, 0.08);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.25);
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}

.nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 0 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 9999px;
  transition: all var(--transition-fast);
  white-space: nowrap;
  display: inline-block;
}

.nav-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* GitHub Star Badge Link */
.nav-gh-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  font-weight: 500;
  transition: all var(--transition-fast);
  white-space: nowrap;
  line-height: 1;
}

.nav-gh-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.gh-star-text {
  white-space: nowrap;
}

/* Sound FX Synth Toggle */
.sound-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
  white-space: nowrap;
  line-height: 1;
}

.sound-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-main);
}

.sound-toggle-btn.sound-on {
  color: var(--accent-cyan);
  border-color: rgba(0, 242, 254, 0.35);
  background: rgba(0, 242, 254, 0.08);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.sound-waves {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 11px;
}

.sound-bar {
  width: 2px;
  background: currentColor;
  border-radius: 1px;
  height: 3px;
  transition: height 0.2s ease;
}

.sound-toggle-btn.sound-on .sound-bar:nth-child(1) { animation: soundBarWave 0.8s ease-in-out infinite; }
.sound-toggle-btn.sound-on .sound-bar:nth-child(2) { animation: soundBarWave 0.8s ease-in-out infinite 0.25s; }
.sound-toggle-btn.sound-on .sound-bar:nth-child(3) { animation: soundBarWave 0.8s ease-in-out infinite 0.5s; }

@keyframes soundBarWave {
  0%, 100% { height: 3px; }
  50% { height: 11px; }
}

.nav-cta-btn {
  padding: 8px 16px;
  font-size: 0.84rem;
  font-weight: 600;
  border-radius: 9999px;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 0 18px rgba(0, 242, 254, 0.35);
}

/* Button Component Hierarchy */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 22px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-smooth);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  position: relative;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #2563eb 100%);
  color: #040812;
  font-weight: 700;
  box-shadow: 0 4px 22px rgba(0, 242, 254, 0.38);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 10px 35px rgba(0, 242, 254, 0.55);
  filter: brightness(1.1);
}

.btn-glow {
  position: relative;
  isolation: isolate;
}

.btn-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(from 0deg, transparent 0 280deg, var(--accent-cyan) 320deg, var(--accent-purple) 360deg);
  animation: rotateConic 4.5s linear infinite;
  z-index: -2;
  opacity: 0.85;
}

.btn-glow::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #2563eb 100%);
  z-index: -1;
  transition: filter 0.3s ease;
}

.btn-glow:hover::after {
  filter: brightness(1.12);
}

.btn-purple {
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-violet) 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.35);
}

.btn-purple:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 10px 35px rgba(168, 85, 247, 0.55);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border-color: var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-full);
}

/* Hero Section */
.hero-section {
  padding-top: 165px;
  padding-bottom: 70px;
  text-align: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 20px;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 26px;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.16);
  backdrop-filter: blur(12px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -1.8px;
  margin-bottom: 24px;
}

.hero-title span.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-cyan) 30%, var(--accent-purple) 65%, #f43f5e 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  animation: shimmerGradient 7s linear infinite;
}

@keyframes shimmerGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-subtitle {
  max-width: 800px;
  margin: 0 auto 36px;
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 42px;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: var(--text-dim);
  font-size: 0.88rem;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-meta-item svg {
  color: var(--accent-emerald);
}

/* Floating Tech Marquee Track */
.tech-marquee-wrapper {
  margin: 25px auto 45px;
  max-width: 1100px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  padding: 10px 0;
}

.tech-marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marqueeScroll 26s linear infinite;
}

.tech-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  background: rgba(16, 22, 35, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  backdrop-filter: blur(12px);
  transition: all var(--transition-fast);
}

.tech-pill:hover {
  border-color: rgba(0, 242, 254, 0.35);
  color: var(--text-main);
  background: rgba(16, 22, 35, 0.9);
}

.tech-pill strong {
  color: var(--text-main);
}

.tech-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

/* 3D Cursor Spotlight Glass Cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(380px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 242, 254, 0.4), transparent 45%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

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

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
}

/* Interactive Simulator / Hero Stage */
.hero-stage {
  margin-top: 55px;
  position: relative;
}

.stage-glow {
  position: absolute;
  inset: 10px;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(168, 85, 247, 0.2));
  filter: blur(50px);
  z-index: 0;
  border-radius: var(--radius-xl);
  opacity: 0.6;
}

.window-mockup {
  position: relative;
  z-index: 1;
  background: #0b0f19;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  text-align: left;
}

.window-header {
  height: 48px;
  background: rgba(13, 17, 26, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
}

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

.ctrl-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.ctrl-close { background: #ef4444; }
.ctrl-min { background: #f59e0b; }
.ctrl-max { background: #10b981; }

.window-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}

.window-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--accent-emerald);
}

.simulator-layout {
  display: grid;
  grid-template-columns: 290px 1.15fr 1fr;
  min-height: 490px;
}

.simulator-sidebar {
  background: rgba(10, 14, 22, 0.7);
  border-right: 1px solid var(--border-subtle);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-title {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 0.6px;
}

.preset-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.preset-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 10px;
}

.preset-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateX(2px);
}

.preset-btn.active {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.preset-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.simulator-console {
  padding: 22px;
  display: flex;
  flex-direction: column;
  background: #06090e;
  font-family: var(--font-mono);
  position: relative;
  border-right: 1px solid var(--border-subtle);
}

.console-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.console-target {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.console-target strong {
  color: var(--accent-cyan);
}

.agent-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.log-stream {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  max-height: 350px;
  padding-right: 6px;
}

.log-entry {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  line-height: 1.5;
  animation: fadeIn 0.3s ease forwards;
}

.log-tag {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.tag-vision { background: rgba(168, 85, 247, 0.2); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.3); }
.tag-reason { background: rgba(59, 130, 246, 0.2); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.tag-action { background: rgba(0, 242, 254, 0.2); color: var(--accent-cyan); border: 1px solid rgba(0, 242, 254, 0.3); }
.tag-success { background: rgba(16, 185, 129, 0.2); color: var(--accent-emerald); border: 1px solid rgba(16, 185, 129, 0.3); }

.log-text {
  color: #e2e8f0;
}

.log-typing {
  display: inline-block;
  width: 8px;
  height: 15px;
  background-color: var(--accent-cyan);
  vertical-align: middle;
  animation: blink 0.8s infinite;
}

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

/* Screen Vision HUD Viewport (Right Column) */
.simulator-vision-hud {
  background: #080c14;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hud-title {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.hud-telemetry {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-cyan);
}

.hud-screen {
  flex: 1;
  background: #0f1624;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  min-height: 250px;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.6);
}

.hud-screen-mock {
  position: absolute;
  inset: 0;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
}

.mock-content-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.mock-block {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  height: 28px;
}

/* Laser Scanner Ray */
.hud-scan-beam {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan) 25%, #fff 50%, var(--accent-cyan) 75%, transparent);
  box-shadow: 0 0 12px var(--accent-cyan), 0 0 20px var(--accent-cyan);
  animation: scanLaser 3.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 10;
}

@keyframes scanLaser {
  0% { top: 0%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 98%; opacity: 0; }
}

/* Live Reticle & Bounding Boxes */
.hud-crosshair {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--accent-cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 15;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.5);
}

.hud-crosshair::before, .hud-crosshair::after {
  content: '';
  position: absolute;
  background: var(--accent-cyan);
}

.hud-crosshair::before {
  top: 50%;
  left: -6px;
  right: -6px;
  height: 1.5px;
  transform: translateY(-50%);
}

.hud-crosshair::after {
  left: 50%;
  top: -6px;
  bottom: -6px;
  width: 1.5px;
  transform: translateX(-50%);
}

.hud-coords-badge {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid var(--accent-cyan);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--accent-cyan);
  white-space: nowrap;
}

.hud-bbox {
  position: absolute;
  border: 1.5px dashed var(--accent-emerald);
  background: rgba(16, 185, 129, 0.12);
  border-radius: 6px;
  z-index: 8;
  pointer-events: none;
  transition: all 0.45s ease;
}

.hud-bbox-label {
  position: absolute;
  top: -18px;
  left: 0;
  background: var(--accent-emerald);
  color: #040812;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
  white-space: nowrap;
}

.hud-status-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

/* Dual Mode Feature Section */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: block;
  font-weight: 600;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 18px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.mode-toggle-container {
  display: flex;
  justify-content: center;
  margin-bottom: 45px;
}

.mode-toggle-bar {
  display: inline-flex;
  padding: 6px;
  border-radius: var(--radius-full);
  background: rgba(13, 17, 26, 0.8);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.mode-tab-btn {
  padding: 12px 28px;
  border-radius: var(--radius-full);
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.96rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition-fast);
}

.mode-tab-btn:hover {
  color: var(--text-main);
}

.mode-tab-btn.active {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(37, 99, 235, 0.2));
  color: #fff;
  border: 1px solid rgba(0, 242, 254, 0.4);
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.15);
}

.mode-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.feature-panel {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-panel-header {
  margin-bottom: 24px;
}

.feature-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.badge-desktop {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(37, 99, 235, 0.2));
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--accent-cyan);
}

.badge-browser {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(138, 43, 226, 0.2));
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: var(--accent-purple);
}

.feature-panel-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-panel-desc {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 24px;
}

.feature-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: #cbd5e1;
}

.checklist-item svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

.feature-code-preview {
  background: #06090e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 18px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #94a3b8;
  position: relative;
}

/* Download Section (Direct .dmg and .exe) */
.download-section {
  background: linear-gradient(180deg, rgba(10, 14, 22, 0.4) 0%, rgba(13, 17, 26, 0.9) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.download-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.download-card {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.download-card.featured {
  border-color: rgba(0, 242, 254, 0.45);
  box-shadow: 0 0 40px rgba(0, 242, 254, 0.15);
}

.recommended-pill {
  position: absolute;
  top: 16px;
  right: 18px;
  background: var(--accent-cyan);
  color: #040812;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.platform-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.platform-icon svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.mac-color { color: #f8fafc; }
.win-color { color: #38bdf8; }
.linux-color { color: #f59e0b; }

.download-platform {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.download-filename {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.download-meta {
  color: var(--text-dim);
  font-size: 0.84rem;
  margin-bottom: 24px;
}

.download-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.download-actions .btn {
  width: 100%;
}

.secondary-downloads {
  font-size: 0.8rem;
  color: var(--text-dim);
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
}

.secondary-downloads a {
  color: var(--text-muted);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.secondary-downloads a:hover {
  color: var(--accent-cyan);
}

.checksum-banner {
  background: rgba(16, 22, 35, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--text-muted);
}

.checksum-banner a {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 600;
}

/* Quickstart 3-Steps */
.quickstart-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  padding: 34px 28px;
  position: relative;
}

.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.08);
  position: absolute;
  top: 18px;
  right: 22px;
  line-height: 1;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-desc {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* Architecture & Privacy Highlights */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.spec-card {
  padding: 30px;
}

.spec-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 18px;
}

.spec-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.spec-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* FAQ Accordion */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-smooth);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth), padding var(--transition-smooth);
  padding: 0 26px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 35px;
  background: #04060a;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-brand-col {
  max-width: 380px;
}

.footer-desc {
  margin-top: 14px;
  color: var(--text-dim);
  font-size: 0.92rem;
}

.footer-links-grid {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-col-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-link-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-link-list a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 16px;
}

/* Modal Popup */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  width: 90%;
  max-width: 580px;
  background: #0d121c;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  transform: translateY(20px);
  transition: transform var(--transition-smooth);
}

.modal-backdrop.open .modal-box {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

/* Responsive Media Queries */
@media (max-width: 1080px) {
  .nav-center {
    display: none;
  }
}

@media (max-width: 1024px) {
  .simulator-layout {
    grid-template-columns: 1fr;
  }
  .simulator-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
  .mode-cards-grid {
    grid-template-columns: 1fr;
  }
  .download-cards-grid {
    grid-template-columns: 1fr;
  }
  .quickstart-grid, .spec-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar-wrapper {
    top: 8px;
    padding: 0 8px;
  }
  .navbar-island {
    height: 52px;
    padding: 0 10px;
  }
  .brand {
    gap: 8px;
  }
  .brand-text {
    font-size: 1.15rem;
  }
  .brand-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }
  .brand-icon svg {
    width: 16px;
    height: 16px;
  }
  .brand-tag {
    display: none;
  }
  .nav-gh-link {
    display: none;
  }
  .nav-actions {
    gap: 8px;
  }
  .sound-toggle-btn {
    padding: 5px 8px;
  }
  .sound-toggle-btn #soundToggleText {
    display: none;
  }
  .nav-cta-btn {
    padding: 6px 12px;
    font-size: 0.78rem;
    gap: 5px;
  }
  .hero-section {
    padding-top: 115px;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
}
