/* ==========================================================================
   SteadySight Product Landing Page - Obsidian Dark Design System
   Matches uuina.space aesthetic: Vercel/Linear Minimalist Dark,
   Glassmorphism, High contrast, 100% Mobile Responsive.
   ========================================================================== */

:root {
  --bg-main: #050505;
  --bg-surface: #0a0a0c;
  --bg-card: #111114;
  --bg-card-hover: #18181c;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  --border-glow: rgba(129, 140, 248, 0.35);

  --text-primary: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;

  --accent-indigo: #6366f1;
  --accent-violet: #a855f7;
  --accent-cyan: #06b6d4;
  --accent-green: #10b981;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', var(--font-sans);
  --font-mono: 'Fira Code', monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 40px -10px rgba(99, 102, 241, 0.25);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
}

body {
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  overflow-x: hidden !important;
  position: relative;
  background-color: var(--bg-main);
}

/* Background Grids & Ambient Glow */
.bg-glow-container {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 60%, transparent 100%);
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
}

.glow-top {
  width: 600px;
  height: 350px;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, #6366f1 0%, #a855f7 70%, transparent 100%);
}

.glow-center {
  width: 500px;
  height: 500px;
  top: 40%;
  right: -150px;
  background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
  opacity: 0.08;
}

/* Layout Container */
.container {
  width: 90%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

/* Sticky Top Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  box-sizing: border-box;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: var(--accent-indigo);
  font-size: 0.85rem;
}

.brand-sub {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-left: 0.35rem;
  padding: 0.1rem 0.4rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-github {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}

.btn-github:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.btn-nav-download {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  background: #ffffff;
  color: #000000;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn-nav-download:hover {
  background: #e4e4e7;
  transform: translateY(-1px);
}

.mobile-toggle-btn {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
}

/* Mobile Drawer Overlay */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  top: 64px;
  z-index: 99;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-content {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem;
  transform: translateY(-20px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}

.mobile-drawer-overlay.active .mobile-drawer-content {
  transform: translateY(0);
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.mobile-nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.05rem;
  font-family: var(--font-heading);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.mobile-nav-link:hover, .mobile-nav-link:active {
  background: var(--bg-card-hover);
  color: var(--accent-indigo);
}

.mobile-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.drawer-download-btn, .drawer-github-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.8rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.drawer-download-btn {
  background: #ffffff;
  color: #000000;
}

.drawer-github-btn {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 140px 0 80px;
  text-align: center;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 1.6rem;
}

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

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
}

.gradient-text {
  background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-slogan {
  font-size: 1.2rem;
  font-weight: 600;
  color: #c4b5fd; /* Soft light violet */
  margin-bottom: 1.4rem;
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 660px;
  line-height: 1.7;
  margin-bottom: 2.8rem;
}

.hero-description strong {
  color: var(--text-primary);
}

/* Download Box & Action Cards */
.download-box {
  width: 100%;
  max-width: 820px;
  margin-bottom: 3.5rem;
}

.download-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.download-card {
  display: flex;
  align-items: center;
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius-xl);
  text-decoration: none;
  transition: var(--transition);
  text-align: left;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
}

.download-card.primary {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.08) 100%), var(--bg-card);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.25);
}

.download-card.primary:hover {
  border-color: var(--accent-indigo);
  transform: translateY(-2px);
  box-shadow: 0 15px 40px -10px rgba(99, 102, 241, 0.4);
}

.download-card.secondary {
  background: var(--bg-card);
}

.download-card.secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.download-card:active {
  transform: scale(0.98);
}

.dl-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-lg);
  margin-right: 1.1rem;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.download-card.primary .dl-icon-wrapper {
  background: var(--accent-indigo);
  color: #ffffff;
}

.download-card.secondary .dl-icon-wrapper {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.dl-info {
  flex-grow: 1;
}

.dl-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-violet);
  margin-bottom: 0.2rem;
}

.download-card.secondary .dl-tag {
  color: var(--text-muted);
}

.dl-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.dl-meta {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.dl-arrow {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-left: 0.8rem;
  transition: var(--transition);
}

.download-card:hover .dl-arrow {
  color: var(--text-primary);
  transform: translateX(3px);
}

.download-guide-box {
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.22);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  text-align: left;
  font-size: 0.85rem;
  line-height: 1.6;
}

.download-guide-box .guide-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-indigo);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.download-guide-box p {
  color: var(--text-secondary);
  margin: 0;
}

.download-guide-box .text-link {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
}

.download-guide-box .text-link:hover {
  color: #ffffff;
}

.download-hints {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.download-hints span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.download-hints i {
  color: var(--accent-green);
  font-size: 0.75rem;
}

/* Mockup Frame */
.hero-mockup-wrapper {
  width: 100%;
  max-width: 960px;
  perspective: 1000px;
}

.mockup-frame {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.85), var(--shadow-glow);
  transition: var(--transition);
}

.mockup-frame:hover {
  border-color: var(--border-hover);
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.4rem;
  background: #09090b;
  border-bottom: 1px solid var(--border-color);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dots .red { background: #ef4444; }
.mockup-dots .yellow { background: #eab308; }
.mockup-dots .green { background: #22c55e; }

.mockup-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.mockup-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-indigo);
  background: rgba(99, 102, 241, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
}

.mockup-body {
  padding: 0.5rem;
  background: #040405;
}

.mockup-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

/* ==========================================================================
   Section Components
   ========================================================================== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.subtitle {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-indigo);
  margin-bottom: 0.6rem;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  background: var(--bg-card);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-lg);
  color: var(--accent-indigo);
  font-size: 1.2rem;
  margin-bottom: 1.4rem;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.feature-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.4rem;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.feature-bullets li {
  font-size: 0.86rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-bullets li::before {
  content: "•";
  color: var(--accent-violet);
  font-size: 1.2rem;
  line-height: 1;
}

/* Gallery Showcase */
.gallery-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.gallery-tabs {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.gallery-tab {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  transition: var(--transition);
}

.gallery-tab:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.gallery-tab.active {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--accent-indigo);
  color: #ffffff;
}

.gallery-viewport {
  background: #020202;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.25s ease;
}

/* Hotkey Reference Cards */
.hotkeys-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.hotkey-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: var(--transition);
}

.hotkey-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card);
}

.key-badge {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  background: #1e1e24;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.6);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.key-info h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.key-info p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.hotkey-tip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-lg);
  padding: 1rem 1.4rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.hotkey-tip i {
  color: var(--accent-indigo);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Science & Medical Disclaimer Card */
.science-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-card);
}

.science-header {
  margin-bottom: 1.8rem;
}

.science-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 0.6rem;
  letter-spacing: 0.08em;
}

.science-header h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--text-primary);
}

.science-content h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text-primary);
  margin: 1.4rem 0 0.5rem;
}

.science-content p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.7;
}

.disclaimer-alert {
  margin-top: 2rem;
  display: flex;
  gap: 1.1rem;
  background: rgba(234, 179, 8, 0.06);
  border: 1px solid rgba(234, 179, 8, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
}

.disclaimer-icon {
  color: #eab308;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.disclaimer-text {
  font-size: 0.88rem;
  color: #d4d4d8;
  line-height: 1.65;
}

.disclaimer-text strong {
  color: #fef08a;
}

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

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-question i {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: transform 0.25s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--accent-indigo);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(0, 0, 0, 0.2);
}

.faq-answer p {
  padding: 0 1.5rem 1.4rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

.faq-answer code {
  font-family: var(--font-mono);
  background: var(--bg-card);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  color: var(--accent-violet);
  font-size: 0.85rem;
}

/* Footer */
.footer-section {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-color);
  background: #030304;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.footer-dedication {
  font-size: 0.88rem;
  color: #c4b5fd;
  margin-bottom: 0.4rem;
}

.footer-dedication a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.footer-dedication a:hover {
  text-decoration: underline;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 3.5rem;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-col a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  margin-bottom: 0.65rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   Responsive Breakpoints - Mobile Perfection
   ========================================================================== */

@media (max-width: 900px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .hotkeys-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  html, body {
    overflow-x: hidden !important;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 1.2rem !important;
    box-sizing: border-box !important;
  }

  .nav-links, .nav-actions .btn-github, .nav-actions .btn-nav-download {
    display: none;
  }

  .mobile-toggle-btn {
    display: flex;
  }

  .hero-section {
    padding: 100px 0 50px;
  }

  .hero-title {
    font-size: 2.1rem;
    letter-spacing: -0.02em;
  }

  .hero-slogan {
    font-size: 1.05rem;
  }

  .hero-description {
    font-size: 0.92rem;
    margin-bottom: 2rem;
  }

  .download-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .download-card {
    padding: 1.1rem;
  }

  .dl-title {
    font-size: 1.05rem;
  }

  .download-hints {
    gap: 0.9rem;
    font-size: 0.78rem;
  }

  .section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 1.7rem;
  }

  .feature-card {
    padding: 1.6rem 1.4rem;
  }

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

  .science-card {
    padding: 1.6rem 1.4rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1.8rem;
  }
}
