/* ==========================================================================
   AUTO SCHEM - Minecraft Edition Design System
   Aesthetic: Minecraft Pixel Style, Grass Header & Footer, Emerald Green Accents
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Outfit:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;600;700&display=swap');

:root {
  /* Minecraft Color Palette */
  --bg-dark: #0d0f14;
  --bg-surface: #141722;
  --bg-surface-elevated: #1c2130;
  --bg-glass-card: rgba(20, 24, 35, 0.88);

  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-bright: #4ade80;
  --border-mc: #3b5c1c;

  /* Minecraft Grass & Dirt Colors */
  --mc-grass-top: #5b8e32;
  --mc-grass-light: #72ab3d;
  --mc-grass-dark: #466e25;
  --mc-dirt-main: #573d26;
  --mc-dirt-dark: #3f2a18;
  --mc-dirt-light: #6a4c31;

  /* Minecraft Emerald & Lime Accents */
  --emerald-primary: #22c55e;
  --emerald-bright: #4ade80;
  --emerald-dark: #15803d;
  --emerald-glow: 0 0 20px rgba(74, 222, 128, 0.4);

  /* Typography Colors */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-emerald: #4ade80;

  /* Fonts */
  --font-mc: 'Press Start 2P', monospace;
  --font-main: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --max-width: 1240px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  background-image: radial-gradient(circle at 50% 20%, #151d18 0%, #0d0f14 65%);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 2;
}

/* Minecraft Pixel Font Headings with Shadow */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-mc);
  color: var(--text-main);
  line-height: 1.4;
  text-shadow: 2px 2px #000;
  image-rendering: pixelated;
}

.mc-font {
  font-family: var(--font-mc) !important;
  image-rendering: pixelated;
  text-shadow: 2px 2px #000;
}

.gradient-text {
  color: #4ade80;
  text-shadow: 2px 2px #15803d, 0 0 15px rgba(74, 222, 128, 0.4);
}

p {
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.72rem;
  font-family: var(--font-mc);
  text-transform: uppercase;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.12);
  border: 2px solid #22c55e;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  text-shadow: 1px 1px #000;
}

.section-title {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

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

/* ==========================================================================
   MINECRAFT GRASS HEADER
   ========================================================================== */
.site-nav {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--mc-dirt-dark);
  border-top: 6px solid var(--mc-grass-top);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.7);
  transition: all 0.2s ease;
}

.site-nav::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 10px;
  background-image: url('../assets/grass-overhang.svg');
  background-size: 64px 20px;
  background-repeat: repeat-x;
  background-position: top;
  image-rendering: pixelated;
  pointer-events: none;
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mc);
  font-size: 1.1rem;
  color: #fff;
  text-shadow: 2px 2px #000;
}

.brand-logo-img {
  width: 34px;
  height: 34px;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 8px #4ade80);
}

.brand-title {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 0.55rem;
  color: #4ade80;
  display: block;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-item-link {
  font-family: var(--font-mc);
  font-size: 0.75rem;
  color: #e2e8f0;
  text-shadow: 1px 1px #000;
  transition: color 0.15s ease;
  padding: 0.4rem 0;
}

.nav-item-link:hover {
  color: #4ade80;
}

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

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--mc-dirt-main);
  border: 2px solid var(--mc-dirt-light);
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.icon-btn:hover {
  background: var(--mc-grass-dark);
  border-color: var(--mc-grass-light);
  color: #fff;
}

.hamburger-btn {
  display: none;
}

/* Minecraft Style Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  font-family: var(--font-mc);
  font-size: 0.78rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  line-height: 1.2;
  text-shadow: 2px 2px #000;
  image-rendering: pixelated;
  border: 2px solid transparent;
}

.btn-primary {
  background: #22c55e;
  border-color: #15803d;
  color: #ffffff;
  box-shadow: inset 2px 2px #4ade80, inset -2px -2px #166534, 0 4px 12px rgba(34, 197, 94, 0.4);
}

.btn-primary:hover {
  background: #4ade80;
  border-color: #16a34a;
  transform: translateY(-2px);
  box-shadow: inset 2px 2px #86efac, inset -2px -2px #15803d, 0 6px 18px rgba(74, 222, 128, 0.5);
}

.btn-secondary {
  background: #2a3042;
  border-color: #434c68;
  color: #e2e8f0;
  box-shadow: inset 2px 2px #525d80, inset -2px -2px #171b26;
}

.btn-secondary:hover {
  background: #363d54;
  border-color: #4ade80;
  color: #4ade80;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 0.9rem;
  font-size: 0.68rem;
}

.btn-lg {
  padding: 0.95rem 1.8rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   HERO SECTION (CENTERED HIGH-IMPACT LAYOUT)
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 5.5rem;
  text-align: center;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(34, 197, 94, 0.12);
  border: 2px solid #22c55e;
  margin-bottom: 1.5rem;
  font-family: var(--font-mc);
  font-size: 0.7rem;
}

.hero-badge-pill {
  background: #22c55e;
  color: #000;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 2px;
  text-shadow: none;
}

.hero-badge-text {
  color: #86efac;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  line-height: 1.35;
}

.hero-title .brand-accent {
  display: block;
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  color: #4ade80;
  margin-bottom: 0.75rem;
}

.hero-tagline {
  display: block;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  color: #86efac;
  margin-top: 0.5rem;
}

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  max-width: 680px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.hero-stats-row {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border-subtle);
  justify-content: center;
  flex-wrap: wrap;
}

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

.hero-stat-val {
  font-family: var(--font-mc);
  font-size: 1rem;
  color: #4ade80;
  text-shadow: 1px 1px #000;
}

.hero-stat-lbl {
  font-size: 0.75rem;
  font-family: var(--font-mc);
  color: var(--text-dim);
  margin-top: 6px;
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */
.features-section {
  padding: 5rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.feature-card {
  background: var(--bg-surface);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.feature-card:hover {
  border-color: #22c55e;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), var(--emerald-glow);
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(34, 197, 94, 0.15);
  border: 2px solid #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4ade80;
  margin-bottom: 1.25rem;
}

.feature-title {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: #fff;
  line-height: 1.4;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.feature-badge-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.feature-badge {
  font-family: var(--font-mc);
  font-size: 0.6rem;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 2px;
  border: 1px solid rgba(74, 222, 128, 0.3);
}

/* ==========================================================================
   HOW IT WORKS SECTION (CLEAN 3-STEP GRID)
   ========================================================================== */
.how-section {
  padding: 5rem 0;
  background: rgba(18, 22, 32, 0.4);
}

.how-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.how-step-card {
  background: var(--bg-surface);
  border: 2px solid #22c55e;
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  transition: all 0.2s ease;
}

.how-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.7), var(--emerald-glow);
}

.how-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #22c55e;
  color: #000;
  font-family: var(--font-mc);
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  box-shadow: inset 2px 2px #86efac, inset -2px -2px #15803d;
}

.how-step-content h3 {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: #4ade80;
}

.how-step-content p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ==========================================================================
   SECURITY & ANTIVIRUS VERIFICATION SECTION (0 VIRUS DETECTIONS)
   ========================================================================== */
.security-section {
  padding: 5rem 0;
}

.security-box {
  background: var(--bg-surface);
  border: 2px solid #22c55e;
  border-radius: var(--radius-md);
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), var(--emerald-glow);
}

.security-hero-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0f131d;
  border: 2px solid #4ade80;
  border-radius: var(--radius-sm);
  padding: 2rem 2.5rem;
  margin-bottom: 2.5rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.security-hero-left {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.security-shield-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  background: rgba(34, 197, 94, 0.2);
  border: 2px solid #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4ade80;
  box-shadow: var(--emerald-glow);
}

.security-score-val {
  font-family: var(--font-mc);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: #4ade80;
  text-shadow: 2px 2px #000;
  line-height: 1.1;
}

.security-score-lbl {
  font-family: var(--font-mc);
  font-size: 0.75rem;
  color: #86efac;
  margin-top: 0.5rem;
}

.security-hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.av-engines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.av-engine-card {
  background: #0c0e15;
  border: 1px solid #333d54;
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.15s ease;
}

.av-engine-card:hover {
  border-color: #22c55e;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.2);
}

.av-engine-name {
  font-family: var(--font-mc);
  font-size: 0.72rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.av-status-tag {
  font-family: var(--font-mc);
  font-size: 0.65rem;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid #22c55e;
  padding: 0.25rem 0.55rem;
  border-radius: 2px;
}

.security-audit-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--border-subtle);
}

.audit-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mc);
  font-size: 0.68rem;
  color: #e2e8f0;
}

.audit-check {
  color: #4ade80;
  font-weight: bold;
}

/* ==========================================================================
   DOWNLOADS SECTION (ONLY FABRIC 1.21.11 + FABRIC API & BARITONE)
   ========================================================================== */
.downloads-section {
  padding: 5rem 0;
}

.downloads-box {
  background: var(--bg-surface);
  border: 2px solid #22c55e;
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7), var(--emerald-glow);
}

.downloads-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.85rem;
  background: rgba(34, 197, 94, 0.15);
  border: 2px solid #22c55e;
  border-radius: var(--radius-sm);
  font-family: var(--font-mc);
  font-size: 0.75rem;
  color: #86efac;
  margin-bottom: 1.5rem;
}

.dependency-alert-box {
  background: #1a1608;
  border: 2px solid #eab308;
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dependency-alert-box p {
  color: #fef08a;
  font-size: 0.95rem;
  line-height: 1.6;
}

.dependency-alert-box strong {
  color: #ffffff;
}

.downloads-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.download-card-main {
  background: #181d2a;
  border: 2px solid #4ade80;
  border-radius: var(--radius-sm);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.dl-main-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.dl-version-tag {
  font-family: var(--font-mc);
  font-size: 1.1rem;
  color: #fff;
  text-shadow: 2px 2px #000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.release-pill {
  font-size: 0.6rem;
  background: #22c55e;
  color: #000;
  padding: 0.2rem 0.5rem;
  font-weight: 700;
  text-shadow: none;
}

.dl-meta-details {
  display: flex;
  gap: 1rem;
  font-family: var(--font-mc);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.dl-loader-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid #22c55e;
  border-radius: 2px;
  color: #86efac;
}

.dependencies-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.dependency-card {
  background: #131722;
  border: 1px solid #333d54;
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dep-title {
  font-family: var(--font-mc);
  font-size: 0.75rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.dep-desc {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ==========================================================================
   DOCUMENTATION SECTION
   ========================================================================== */
.docs-section {
  padding: 5rem 0;
}

.docs-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.docs-sidebar {
  position: sticky;
  top: 92px;
  background: var(--bg-surface);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.docs-nav-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.docs-nav-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-mc);
  font-size: 0.65rem;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.15s ease;
  line-height: 1.3;
}

.docs-nav-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.docs-nav-btn.active {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border-left: 3px solid #4ade80;
}

.docs-content-panel {
  background: var(--bg-surface);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  min-height: 480px;
}

.doc-article {
  display: none;
}

.doc-article.active {
  display: block;
  animation: fadeIn 0.25s ease;
}

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

.doc-article h2 {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  color: #4ade80;
}

.doc-article p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.command-box {
  background: #0a0c12;
  border: 1px solid #333d54;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.command-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid #222a3a;
}

.command-code {
  font-family: var(--font-mc);
  font-size: 0.7rem;
  color: #4ade80;
}

.copy-btn {
  background: #1c2130;
  border: 1px solid #333d54;
  color: var(--text-muted);
  font-size: 0.6rem;
  font-family: var(--font-mc);
  padding: 0.35rem 0.65rem;
  border-radius: 2px;
  cursor: pointer;
}

.copy-btn:hover {
  color: #fff;
  border-color: #4ade80;
}

.command-body {
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.faq-item {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item.open {
  border-color: #22c55e;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.1rem 1.4rem;
  font-family: var(--font-mc);
  font-size: 0.75rem;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  line-height: 1.4;
}

.faq-arrow {
  color: #4ade80;
  font-size: 0.7rem;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 1.4rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 250px;
  padding-bottom: 1.25rem;
}

/* ==========================================================================
   MINECRAFT GRASS FOOTER
   ========================================================================== */
.site-footer {
  background: var(--mc-dirt-main);
  position: relative;
  padding: 4.5rem 0 2.5rem 0;
  border-top: 6px solid var(--mc-grass-top);
  box-shadow: inset 0 6px 12px rgba(0, 0, 0, 0.5);
}

.site-footer::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 12px;
  background-image: url('../assets/grass-overhang.svg');
  background-size: 64px 20px;
  background-repeat: repeat-x;
  background-position: top;
  image-rendering: pixelated;
  pointer-events: none;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand-col p {
  font-size: 0.95rem;
  color: #e2e8f0;
  margin-top: 1rem;
  max-width: 440px;
}

.footer-heading {
  font-family: var(--font-mc);
  font-size: 0.75rem;
  color: #86efac;
  margin-bottom: 1.25rem;
}

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

.footer-link-list a {
  font-family: var(--font-mc);
  font-size: 0.65rem;
  color: #cbd5e1;
  transition: color 0.15s ease;
}

.footer-link-list a:hover {
  color: #4ade80;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 2px solid var(--mc-dirt-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-disclaimer {
  font-size: 0.8rem;
  color: #cbd5e1;
  max-width: 680px;
  line-height: 1.6;
}

.footer-copyright {
  font-family: var(--font-mc);
  font-size: 0.65rem;
  color: #94a3b8;
}

/* ==========================================================================
   MODALS & TOASTS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-surface);
  border: 2px solid #22c55e;
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 580px;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), var(--emerald-glow);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-close-btn:hover {
  color: #fff;
}

.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  background: #0f121a;
  border: 2px solid #22c55e;
  color: #fff;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mc);
  font-size: 0.68rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.25s ease;
  pointer-events: auto;
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .how-steps-grid {
    grid-template-columns: 1fr;
  }
  .av-engines-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .security-audit-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .docs-layout {
    grid-template-columns: 1fr;
  }
  .docs-sidebar {
    position: static;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: var(--mc-dirt-dark);
    border-bottom: 4px solid var(--mc-grass-top);
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  }
  .hamburger-btn {
    display: inline-flex;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .download-card-main {
    flex-direction: column;
    align-items: flex-start;
  }
  .dependencies-sub-grid {
    grid-template-columns: 1fr;
  }
  .security-box, .downloads-box, .docs-content-panel {
    padding: 1.5rem;
  }
  .security-hero-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .av-engines-grid {
    grid-template-columns: 1fr;
  }
  .security-audit-row {
    grid-template-columns: 1fr;
  }
  .hero-stats-row {
    gap: 1.5rem;
  }
}
