/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  background: #09090b;
  color: #fafafa;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: #3b82f6; color: #fff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== CSS VARIABLES ===== */
:root {
  --bg: #09090b;
  --surface: #18181b;
  --surface-2: #1f1f23;
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.12);
  --accent: #3b82f6;
  --accent-dim: #2563eb;
  --text-muted: #71717a;
  --text-secondary: #a1a1aa;
  --success: #22c55e;
  --warning: #f59e0b;
  --error: #ef4444;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --max-w: 1400px;
  --px: 1rem;
}
@media (min-width: 640px) { :root { --px: 1.5rem; } }
@media (min-width: 1024px) { :root { --px: 2rem; } }

/* ===== UTILITIES ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--px); }
.section { padding: 5rem 0; }
@media (min-width: 1024px) { .section { padding: 8rem 0; } }
.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-wrap: balance;
}
.section-desc {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}
.section-header { margin-bottom: 3rem; }
@media (min-width: 1024px) { .section-header { margin-bottom: 4rem; } }

/* ===== FADE-IN ANIMATION ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.features-grid .fade-in:nth-child(2) { transition-delay: 0.1s; }
.features-grid .fade-in:nth-child(3) { transition-delay: 0.2s; }
.features-grid .fade-in:nth-child(4) { transition-delay: 0.3s; }
.features-grid .fade-in:nth-child(5) { transition-delay: 0.4s; }
.features-grid .fade-in:nth-child(6) { transition-delay: 0.5s; }
.platforms-grid .fade-in:nth-child(2) { transition-delay: 0.1s; }
.platforms-grid .fade-in:nth-child(3) { transition-delay: 0.2s; }
.platforms-grid .fade-in:nth-child(4) { transition-delay: 0.3s; }
.security-grid .fade-in:nth-child(2) { transition-delay: 0.1s; }
.security-grid .fade-in:nth-child(3) { transition-delay: 0.15s; }
.security-grid .fade-in:nth-child(4) { transition-delay: 0.2s; }
.security-grid .fade-in:nth-child(5) { transition-delay: 0.25s; }
.security-grid .fade-in:nth-child(6) { transition-delay: 0.3s; }

/* ===== NOISE OVERLAY ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(9,9,11,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}
.nav__logo-img {
  width: 2rem; height: 2rem;
  border-radius: 0.5rem;
  object-fit: contain;
}
.nav__links {
  display: none;
  gap: 0.25rem;
}
@media (min-width: 768px) { .nav__links { display: flex; } }
.nav__links a {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s;
}
.nav__links a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.nav__links a.active { color: #fff; background: rgba(255,255,255,0.08); }
.nav__cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--accent);
  color: #fff;
  border-radius: 0.5rem;
  transition: background 0.2s;
}
.nav__cta:hover { background: var(--accent-dim); }
@media (min-width: 768px) { .nav__cta { display: flex; } }
.nav__cta svg { width: 1rem; height: 1rem; }
.nav__mobile-btn {
  display: flex;
  padding: 0.5rem;
  color: var(--text-secondary);
  background: none; border: none; cursor: pointer;
}
@media (min-width: 768px) { .nav__mobile-btn { display: none; } }
.nav__mobile-btn svg { width: 1.5rem; height: 1.5rem; }
.nav__mobile-menu {
  display: none;
  padding: 1rem;
  border-top: 1px solid var(--border);
  flex-direction: column;
  gap: 0.25rem;
}
.nav__mobile-menu.open { display: flex; }
.nav__mobile-menu a {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-radius: 0.5rem;
  transition: background 0.2s;
}
.nav__mobile-menu a:hover { background: rgba(255,255,255,0.05); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 4rem;
}
.hero__bg {
  position: absolute; inset: 0; pointer-events: none;
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}
.hero__blob--1 {
  top: -20%; left: -10%;
  width: 600px; height: 600px;
  background: rgba(59,130,246,0.05);
}
.hero__blob--2 {
  bottom: -20%; right: -10%;
  width: 500px; height: 500px;
  background: rgba(37,99,235,0.05);
}
.hero__inner {
  position: relative;
  display: grid;
  gap: 3rem;
  padding: 5rem 0;
}
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
}
.hero__content { display: flex; flex-direction: column; gap: 2rem; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  width: fit-content;
}
.hero__badge-dot {
  width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.hero__badge span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}
.hero__logo-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero__logo {
  width: 4.5rem;
  height: 4.5rem;
  filter: drop-shadow(0 0 30px rgba(59,130,246,0.3));
  animation: float 4s ease-in-out infinite;
}
.hero__title {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.hero__title em {
  font-style: normal;
  color: var(--accent);
}
.hero__subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 540px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.75rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn:active { transform: scale(0.98); }
.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover { background: var(--accent-dim); }
.btn--primary svg { width: 1rem; height: 1rem; transition: transform 0.2s; }
.btn--primary:hover svg { transform: translateX(2px); }
.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn--ghost:hover { border-color: var(--border-hover); color: #fff; }
.hero__platforms { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hero__platform-tag {
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
}
.hero__preview { position: relative; }
.hero__window {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.5);
}
.hero__window-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.hero__window-dot {
  width: 0.75rem; height: 0.75rem;
  border-radius: 50%;
}
.hero__window-dot--red { background: var(--error); opacity: 0.8; }
.hero__window-dot--yellow { background: var(--warning); opacity: 0.8; }
.hero__window-dot--green { background: var(--success); opacity: 0.8; }
.hero__window-bar span:last-child {
  margin-left: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.hero__window { position: relative; }
.hero__window img { width: 100%; height: auto; }
.hero__slides {
  position: relative;
  width: 100%;
}
.hero__slides img.hero__slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero__slides img.hero__slide:first-child {
  position: relative;
}
.hero__slides img.hero__slide.active { opacity: 1; }
.hero__float-badge {
  position: absolute;
  bottom: -1rem; left: -1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.hero__float-badge .dot {
  width: 0.625rem; height: 0.625rem;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s ease-in-out infinite;
}
.hero__float-badge span {
  font-size: 0.75rem;
  font-weight: 500;
}

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
@media (min-width: 1024px) { .feature-card { padding: 2rem; } }
.feature-card:hover { border-color: var(--border-hover); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.2); }
.feature-card__icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.75rem;
  background: rgba(59,130,246,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  transition: background 0.3s;
}
.feature-card:hover .feature-card__icon { background: rgba(59,130,246,0.15); }
.feature-card__icon svg { width: 1.25rem; height: 1.25rem; color: var(--accent); }
.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== HOW IT WORKS ===== */
.how-bg { background: var(--surface); }
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.step { position: relative; }
.step__header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.step__number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.2;
}
.step__icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.75rem;
  background: rgba(59,130,246,0.1);
  display: flex; align-items: center; justify-content: center;
}
.step__icon svg { width: 1.25rem; height: 1.25rem; color: var(--accent); }
.step h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.step p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.modes {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) { .modes { grid-template-columns: repeat(2, 1fr); } }
.mode-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--border);
}
@media (min-width: 1024px) { .mode-card { padding: 2rem; } }
.mode-card__header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.mode-card__dot {
  width: 2rem; height: 2rem;
  border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
}
.mode-card__dot--green { background: rgba(34,197,94,0.1); }
.mode-card__dot--green .inner { width: 0.75rem; height: 0.75rem; border-radius: 50%; background: var(--success); }
.mode-card__dot--blue { background: rgba(59,130,246,0.1); }
.mode-card__dot--blue .inner { width: 0.75rem; height: 0.75rem; border-radius: 50%; background: var(--accent); }
.mode-card h3 { font-size: 1.125rem; font-weight: 600; }
.mode-card p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }

/* ===== PLATFORMS ===== */
.platforms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .platforms-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .platforms-grid { grid-template-columns: repeat(4, 1fr); } }
.platform-card {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.platform-card:hover { border-color: var(--border-hover); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.2); }
.platform-card__status {
  position: absolute;
  top: 1rem; right: 1rem;
  display: flex; align-items: center; gap: 0.375rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  background: rgba(34,197,94,0.1);
}
.platform-card__status svg { width: 0.75rem; height: 0.75rem; color: var(--success); }
.platform-card__status span {
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--success);
}
.platform-card__icon {
  width: 3rem; height: 3rem;
  border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.platform-card__icon svg { width: 1.5rem; height: 1.5rem; }
.platform-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.125rem;
}
.platform-card__version {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.platform-card__features { display: flex; flex-direction: column; gap: 0.5rem; }
.platform-card__feature {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.platform-card__feature .dot {
  margin-top: 0.375rem;
  width: 0.25rem; height: 0.25rem;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== SECURITY ===== */
.security-bg { background: var(--surface); }
.security-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .security-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .security-grid { grid-template-columns: repeat(3, 1fr); } }
.security-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}
@media (min-width: 1024px) { .security-card { padding: 1.5rem; } }
.security-card:hover { border-color: var(--border-hover); }
.security-card__icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.75rem;
  background: rgba(34,197,94,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.security-card__icon svg { width: 1.25rem; height: 1.25rem; color: var(--success); }
.security-card h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.security-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== SCREENSHOTS ===== */
.screenshots-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .screenshots-layout { grid-template-columns: 280px 1fr; }
}
.screenshots__thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}
@media (min-width: 1024px) {
  .screenshots__thumbs {
    flex-direction: column;
    overflow-x: visible;
    padding-bottom: 0;
  }
}
.screenshots__thumb {
  flex-shrink: 0;
  width: 8rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--bg);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}
@media (min-width: 1024px) { .screenshots__thumb { width: 100%; } }
.screenshots__thumb:hover { border-color: var(--border-hover); }
.screenshots__thumb.active {
  background: rgba(59,130,246,0.1);
  border-color: rgba(59,130,246,0.3);
}
.screenshots__thumb-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.screenshots__thumb.active .screenshots__thumb-label { color: var(--accent); }
.screenshots__thumb-desc {
  font-size: 0.625rem;
  color: var(--text-muted);
  margin-top: 0.125rem;
  display: none;
}
@media (min-width: 1024px) { .screenshots__thumb-desc { display: block; } }
.screenshots__viewer {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
}
.screenshots__viewer img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s;
}
.viewer__slides {
  position: relative;
  width: 100%;
}
.viewer__slides img.viewer__slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.viewer__slides img.viewer__slide:first-child {
  position: relative;
}
.viewer__slides img.viewer__slide.active { opacity: 1; }
.screenshots__viewer-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}
.screenshots__viewer-label { font-size: 0.875rem; font-weight: 500; }
.screenshots__viewer-desc { font-size: 0.75rem; color: rgba(255,255,255,0.6); }

/* ===== DOWNLOAD ===== */
.download-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .download-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .download-grid { grid-template-columns: repeat(4, 1fr); } }
.download-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.download-card:hover { border-color: var(--border-hover); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.2); }
.download-card__header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.download-card__icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
}
.download-card__icon svg { width: 1.25rem; height: 1.25rem; }
.download-card__name { font-size: 1rem; font-weight: 600; letter-spacing: -0.02em; }
.download-card__version { font-size: 0.75rem; color: var(--text-muted); }
.download-card__links { display: flex; flex-direction: column; gap: 0.5rem; }
.download-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 0.75rem;
  border-radius: 0.75rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.download-link:hover { border-color: var(--border-hover); background: rgba(255,255,255,0.07); }
.download-link:active { transform: scale(0.98); }
.download-link__left { display: flex; align-items: center; gap: 0.5rem; }
.download-link__left svg { width: 0.875rem; height: 0.875rem; color: var(--text-muted); }
.download-link__label { font-size: 0.75rem; font-weight: 500; }
.download-link__right { display: flex; align-items: center; gap: 0.375rem; }
.download-link__arch {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
}
.download-link__external svg { width: 0.75rem; height: 0.75rem; color: var(--text-muted); }

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.footer__inner { padding: 3rem 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer__brand { display: flex; flex-direction: column; gap: 1rem; }
.footer__logo {
  display: flex; align-items: center; gap: 0.625rem;
  font-weight: 600; font-size: 1.125rem; letter-spacing: -0.02em;
}
.footer__logo-img {
  width: 2rem; height: 2rem;
  border-radius: 0.5rem;
  object-fit: contain;
}
.footer__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 28rem;
}
.footer__heading {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer__links { display: flex; flex-direction: column; gap: 0.625rem; }
.footer__links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer__links a:hover { color: #fff; }
.footer__contact-link {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer__contact-link:hover { color: #fff; }
.footer__contact-link svg { width: 0.875rem; height: 0.875rem; }
.footer__bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
@media (min-width: 640px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer__copy { font-size: 0.75rem; color: var(--text-muted); }
.footer__legal { display: flex; gap: 1rem; }
.footer__legal a {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer__legal a:hover { color: var(--text-secondary); }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ===== SKIP-LINK (доступность) ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: #fff;
  z-index: 9999;
  font-size: 0.875rem;
  border-radius: 0 0 0.5rem 0;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* Переключатель языка */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  margin-left: 0.5rem;
}
.lang-btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-muted);
  background: none;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.2s;
}
.lang-btn:hover {
  color: var(--text-secondary);
  border-color: var(--border);
}
.lang-btn.active {
  color: #fff;
  background: rgba(59,130,246,0.15);
  border-color: rgba(59,130,246,0.3);
}
@media (max-width: 767px) {
  .lang-switcher {
    margin-left: auto;
    margin-right: 0.5rem;
  }
}
