/* =============================================================================
   SuperNanno — Global Stylesheet
   Consolidates styles from: index.html · contributing.html · privacy.html
   Author: Heitor Bardemaker A. Bisneto
   © 2026
   ============================================================================= */


/* ====================== BASE & ROOT ====================== */

:root {
  --bg:        #0d0f14;
  --bg2:       #12151c;
  --bg3:       #181c26;
  --surface:   #1e2330;
  --border:    #2a3147;
  --accent:    #00e5b0;
  --accent2:   #7c6ef7;
  --accent3:   #f7c948;
  --text:      #e2e8f4;
  --muted:     #6b7a99;
  --danger:    #f76e6e;
  --success:   #4ee59e;
  --info:      #5db0f7;
  --font-mono: 'JetBrains Mono', monospace;
  --font-head: 'Syne', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 90%;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar        { width: 6px; }
::-webkit-scrollbar-track  { background: var(--bg); }
::-webkit-scrollbar-thumb  { background: var(--border); border-radius: 3px; }


/* ====================== NAVBAR =========================== */

.navbar-custom {
  background: rgba(13, 15, 20, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  position: sticky;
  top: 4px;
  z-index: 1000;
}

.navbar-brand-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--accent) !important;
  letter-spacing: -0.5px;
}

.navbar-brand-logo span {
  color: var(--text);
}

.nav-link-custom {
  color: var(--muted) !important;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.2s;
  padding: 6px 14px !important;
  text-decoration: none;
}

.nav-link-custom:hover {
  color: var(--accent) !important;
}

.nav-pill-btn {
  background: var(--accent);
  color: var(--bg) !important;
  border-radius: 4px;
  font-weight: 700;
  padding: 6px 16px !important;
}

.nav-pill-btn:hover {
  background: #00c99a;
  color: var(--bg) !important;
}

/* ====================== RESPONSIVE ====================== */

@media (max-width: 1199px) {
  .nav-link-custom {
    width: 100%;
    padding: 12px 16px !important;
    border-radius: 8px;
  }
  
  .nav-link-custom:hover {
    background: rgba(255,255,255,0.05);
  }

  .dropdown-menu {
    width: 100%;
    margin-top: 8px !important;
  }

  .navbar-brand-logo {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .navbar-custom {
    padding: 10px 0;
  }
}


/* ====================== SECTIONS (shared) ================ */

section {
  padding: 90px 0;
}

.section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 10px;
  font-weight: 500;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 56px;
  font-weight: 300;
}

.divider-line {
  height: 1px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 80%);
  margin-bottom: 8px;
}

/* Shared highlight box (used in contributing & privacy) */
.highlight-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  margin: 32px 0;
}


/* ====================== HERO (index.html) ================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 176, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 176, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 229, 176, 0.12) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  pointer-events: none;
}

.hero-glow2 {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 110, 247, 0.10) 0%, transparent 70%);
  bottom: 0;
  right: 0;
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(0, 229, 176, 0.1);
  border: 1px solid rgba(0, 229, 176, 0.3);
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 3px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 12px;
}

.hero-title .accent {
  color: var(--accent);
}

.hero-subtitle {
  color: var(--muted);
  font-size: 1rem;
  max-width: 540px;
  margin-bottom: 36px;
  font-weight: 300;
}

.btn-hero-primary {
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 12px 28px;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 229, 176, 0.3);
  color: var(--bg);
}

.btn-hero-secondary {
  background: transparent;
  color: var(--text);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 12px 28px;
  border: 1px solid var(--border);
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}

.btn-hero-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}


/* ====================== FEATURES GRID (index.html) ======= */

.feature-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
  height: 100%;
  transition: border-color 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: 0;
  transition: opacity 0.2s;
}

.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

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

.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 229, 176, 0.1);
  border: 1px solid rgba(0, 229, 176, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.1rem;
  color: var(--accent);
}

.feature-icon.purple { background: rgba(124, 110, 247, 0.1); border-color: rgba(124, 110, 247, 0.2); color: var(--accent2); }
.feature-icon.gold   { background: rgba(247, 201, 72, 0.1);  border-color: rgba(247, 201, 72, 0.2);  color: var(--accent3); }
.feature-icon.red    { background: rgba(247, 110, 110, 0.1); border-color: rgba(247, 110, 110, 0.2); color: var(--danger); }
.feature-icon.blue   { background: rgba(93, 176, 247, 0.1);  border-color: rgba(93, 176, 247, 0.2);  color: var(--info); }

.feature-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-desc {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}


/* ====================== KEYBOARD SHORTCUTS (index.html) == */

.shortcuts-section {
  background: var(--bg2);
}

.shortcut-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.shortcut-row:last-child {
  border-bottom: none;
}

kbd-custom {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.key {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-bottom: 3px solid var(--border);
  border-radius: 5px;
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent3);
  min-width: 36px;
  text-align: center;
}

.key-plus {
  color: var(--muted);
  font-size: 0.75rem;
}

.shortcut-label {
  color: var(--text);
  font-size: 0.88rem;
  flex: 1;
}

.shortcut-desc {
  color: var(--muted);
  font-size: 0.78rem;
}


/* ====================== CLI ARGS (index.html) ============= */

.cli-block {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
}

.cli-header {
  background: var(--surface);
  padding: 10px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cli-body {
  padding: 20px 18px;
}

.cli-usage {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--accent);
  margin-bottom: 8px;
}

.cli-usage .dim {
  color: var(--muted);
}

.cli-args-table {
  width: 100%;
  border-collapse: collapse;
}

.cli-args-table tr {
  border-bottom: 1px solid var(--border);
}

.cli-args-table tr:last-child {
  border-bottom: none;
}

.cli-args-table td {
  padding: 12px 10px;
  vertical-align: top;
}

.cli-arg-name {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.cli-arg-type {
  font-family: var(--font-mono);
  color: var(--accent2);
  font-size: 0.72rem;
  background: rgba(124, 110, 247, 0.1);
  border: 1px solid rgba(124, 110, 247, 0.2);
  padding: 2px 8px;
  border-radius: 3px;
  white-space: nowrap;
}

.cli-arg-desc {
  color: var(--muted);
  font-size: 0.82rem;
}

.cli-arg-example {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent3);
  margin-top: 4px;
}


/* ====================== CONFIG FILE (index.html) ========= */

.config-section {
  background: var(--bg3);
}

.config-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
}

.config-header {
  background: var(--surface);
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.config-header-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.config-header-badge {
  font-size: 0.65rem;
  background: rgba(0, 229, 176, 0.12);
  color: var(--accent);
  border: 1px solid rgba(0, 229, 176, 0.25);
  padding: 2px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.config-table {
  width: 100%;
  border-collapse: collapse;
}

.config-table tr {
  border-bottom: 1px solid rgba(42, 49, 71, 0.5);
}

.config-table tr:last-child {
  border-bottom: none;
}

.config-table td {
  padding: 13px 18px;
  vertical-align: top;
}

.config-key {
  font-family: var(--font-mono);
  color: var(--info);
  font-size: 0.80rem;
  font-weight: 600;
  white-space: nowrap;
}

.config-val {
  font-family: var(--font-mono);
  color: var(--accent3);
  font-size: 0.80rem;
  white-space: nowrap;
}

.config-desc {
  color: var(--muted);
  font-size: 0.80rem;
}

/* RC file display */
.rc-file-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 24px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 2;
}

.rc-comment  { color: var(--muted); }
.rc-cmd      { color: var(--accent2); }
.rc-key      { color: var(--info); }
.rc-val-str  { color: var(--accent3); }
.rc-val-bool { color: var(--accent); }
.rc-val-num  { color: #f7a948; }


/* ====================== ARCHITECTURE (index.html) ======== */

.arch-section {
  background: var(--bg2);
}

.module-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  height: 100%;
}

.module-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.module-title .fa {
  font-size: 0.85rem;
}

.module-file {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--muted);
  padding: 3px 0;
  border-bottom: 1px solid rgba(42, 49, 71, 0.5);
  display: flex;
  align-items: center;
  gap: 8px;
}

.module-file:last-child {
  border-bottom: none;
}

.module-file .fa {
  color: var(--accent2);
  font-size: 0.7rem;
  width: 12px;
}

.module-file-desc {
  color: rgba(107, 122, 153, 0.7);
  font-size: 0.7rem;
  margin-left: auto;
}


/* ====================== SCREENSHOTS (index.html) ========= */

.screenshot-section {
  background: var(--bg3);
}

.screenshot-placeholder {
  background: var(--bg2);
  border: 2px dashed var(--border);
  border-radius: 10px;
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s;
}

.screenshot-placeholder:hover {
  border-color: var(--accent);
}

.screenshot-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  border-radius: 8px;
  display: none;
}

.screenshot-placeholder.has-img {
  padding: 0;
  min-height: 280px;
}

.screenshot-placeholder.has-img img {
  display: block;
}

.screenshot-placeholder.has-img .ph-content {
  display: none;
}

.ph-icon  { font-size: 2rem; color: var(--border); margin-bottom: 12px; }
.ph-title { color: var(--muted); font-size: 0.82rem; font-weight: 500; margin-bottom: 6px; }
.ph-hint  { color: rgba(107, 122, 153, 0.5); font-size: 0.72rem; }

.ph-path {
  font-family: var(--font-mono);
  color: var(--accent2);
  font-size: 0.72rem;
  margin-top: 10px;
  background: rgba(124, 110, 247, 0.08);
  display: inline-block;
  padding: 3px 10px;
  border-radius: 3px;
  border: 1px solid rgba(124, 110, 247, 0.2);
}


/* ====================== INSTALL (index.html) ============= */

.install-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 24px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  position: relative;
}

.install-block .prompt      { color: var(--accent); margin-right: 8px; user-select: none; }
.install-block .cmd         { color: var(--text); }
.install-block .cmd-comment { color: var(--muted); }

.copy-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-mono);
  transition: color 0.2s, border-color 0.2s;
}

.copy-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
}


/* ====================== DEPENDENCIES (index.html) ======== */

.dep-badge {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 0.74rem;
  color: var(--muted);
  margin: 4px;
  font-family: var(--font-mono);
  transition: border-color 0.2s, color 0.2s;
}

.dep-badge:hover {
  border-color: var(--accent);
  color: var(--text);
}

.dep-badge .ver {
  color: rgba(107, 122, 153, 0.6);
  font-size: 0.68rem;
}


/* ====================== STATUS TYPES (index.html) ======== */

.status-demo {
  border-radius: 6px;
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-demo .dot2 {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.st-normal  { background: var(--surface); border: 1px solid var(--border); }
.st-info    { background: rgba(93, 176, 247, 0.08);  border: 1px solid rgba(93, 176, 247, 0.25);  color: var(--info); }
.st-success { background: rgba(78, 229, 158, 0.08);  border: 1px solid rgba(78, 229, 158, 0.25);  color: var(--success); }
.st-warning { background: rgba(247, 201, 72, 0.08);  border: 1px solid rgba(247, 201, 72, 0.25);  color: var(--accent3); }
.st-error   { background: rgba(247, 110, 110, 0.08); border: 1px solid rgba(247, 110, 110, 0.25); color: var(--danger); }

.st-dot-info   { background: var(--info); }
.st-dot-success { background: var(--success); }
.st-dot-warn   { background: var(--accent3); }
.st-dot-error  { background: var(--danger); }
.st-dot-normal { background: var(--muted); }


/* ====================== SIGNATURE (index.html) =========== */

.sig-section {
  background: var(--bg2);
}

.sig-field {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(42, 49, 71, 0.5);
  align-items: flex-start;
}

.sig-field:last-child {
  border-bottom: none;
}

.sig-field-name {
  font-family: var(--font-mono);
  color: var(--info);
  font-size: 0.8rem;
  width: 160px;
  flex-shrink: 0;
}

.sig-field-val {
  font-family: var(--font-mono);
  color: var(--accent3);
  font-size: 0.78rem;
  margin-right: 16px;
  width: 120px;
  flex-shrink: 0;
}

.sig-field-desc {
  color: var(--muted);
  font-size: 0.78rem;
}


/* ====================== SERVICE FLOW (index.html) ======== */

.flow-step {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.flow-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--accent);
  flex-shrink: 0;
  width: 28px;
}

.flow-title {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.flow-desc {
  font-size: 0.78rem;
  color: var(--muted);
}


/* ====================== MISC / UTILITIES ================= */

.tag-pill {
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 2px 8px;
  font-size: 0.72rem;
  color: var(--muted);
  margin: 2px;
}

/* Fade-in animation */
.fade-in {
  animation: fadeIn 0.5s ease both;
}

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


/* ====================== FOOTER =========================== */

footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-brand {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--accent);
}

.footer-text {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 6px;
}

.footer-link {
  color: var(--muted);
  font-size: 0.78rem;
  text-decoration: none;
  transition: color 0.2s;
}

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

.license-badge {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 3px 10px;
  font-size: 0.72rem;
  color: var(--muted);
}


/* =============================================================================
   CONTRIBUTING PAGE — contributing.html
   ============================================================================= */

/* ====================== CONTRIBUTING: CONTENT ============ */

.content {
  max-width: 860px;
  margin: 0 auto;
  font-size: 0.93rem;
  line-height: 1.85;
}

.content h2 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  margin: 48px 0 20px;
  color: var(--accent);
}

.content h3 {
  font-size: 1.1rem;
  margin: 32px 0 14px;
  color: var(--text);
}

.content pre {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px;
  overflow-x: auto;
  font-size: 0.85rem;
}


/* =============================================================================
   PRIVACY PAGE — privacy.html
   ============================================================================= */

/* ====================== PRIVACY: CONTENT ================= */

.policy-content {
  max-width: 860px;
  margin: 0 auto;
  font-size: 0.92rem;
  line-height: 1.85;
}

.policy-content h2 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  margin: 48px 0 16px;
  color: var(--accent);
}

.policy-content h3 {
  font-size: 1.05rem;
  margin: 32px 0 12px;
  color: var(--text);
}

.policy-content ul {
  padding-left: 1.4rem;
  margin-bottom: 1.2rem;
}

.policy-content li {
  margin-bottom: 8px;
}

.last-updated {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 40px;
}


/* =============================================================================
   New Implementation
   ============================================================================= */

/* ====================== SCREENSHOTS ENHANCEMENTS ==================== */
/* .screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(520px, 1fr));
    gap: 60px 40px;
    margin-top: 40px;
} */

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 40px 24px;
    margin-top: 40px;
}

.screenshot-item h3 {
    font-family: var(--font-head);
    font-size: 1.15rem;
    margin-bottom: 16px;
    color: var(--text);
}

.screenshot-description {
    margin-top: 14px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Melhorias no placeholder quando tem imagem */
.screenshot-placeholder.has-img {
    padding: 0;
    min-height: 320px;
    border: 1px solid var(--border);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.screenshot-placeholder.has-img:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 229, 176, 0.15);
}

.screenshot-placeholder img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}





/* =========================================================
   RESPONSIVE FIXES
   ========================================================= */

img {
  max-width: 100%;
  height: auto;
}

table {
  display: block;
  overflow-x: auto;
  width: 100%;
}

@media (max-width: 992px) {

  section {
    padding: 70px 0;
  }

  .hero {
    min-height: auto;
    padding: 140px 0 80px;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

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

  .shortcut-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .sig-field {
    flex-direction: column;
    gap: 6px;
  }

  .sig-field-name,
  .sig-field-val {
    width: 100%;
  }

  .flow-step {
    flex-direction: column;
  }

  .config-table td,
  .cli-args-table td {
    display: block;
    width: 100%;
  }

  .config-key,
  .config-val,
  .cli-arg-name,
  .cli-arg-type {
    white-space: normal;
  }
}

@media (max-width: 768px) {

  body {
    font-size: 14px;
  }

  .hero-title {
    font-size: 2.4rem;
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    text-align: center;
  }

  .screenshot-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .screenshot-placeholder.has-img {
    min-height: 220px;
  }

  .shortcut-label,
  .shortcut-desc {
    width: 100%;
  }

  .module-file {
    flex-direction: column;
    align-items: flex-start;
  }

  .module-file-desc {
    margin-left: 0;
  }
}

@media (max-width: 480px) {

  .hero {
    padding-top: 120px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .feature-card,
  .highlight-box,
  .install-block,
  .module-card,
  .config-card,
  .cli-block {
    padding: 18px;
  }

  .copy-btn {
    position: static;
    margin-top: 14px;
    width: 100%;
  }

  .navbar-brand-logo {
    font-size: 1.1rem;
  }
}





/* =========================================================
   NAVBAR IMPROVEMENTS
   ========================================================= */

.navbar {
  padding: 0;
}

.navbar-nav {
  display: flex;
  margin: 10px 0px 10px 0px;
}

.navbar-toggler {
  padding: 0;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.nav-link-custom {
  font-size: 0.72rem;
  padding: 6px 10px !important;
}

/* ====================== DROPDOWN ====================== */

.custom-dropdown {
  background: rgba(18, 21, 28, 0.98);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  min-width: 220px;
  backdrop-filter: blur(16px);
  margin-top: 14px;
}

.custom-dropdown .dropdown-item {
  color: var(--muted);
  border-radius: 6px;
  font-size: 0.78rem;
  padding: 10px 12px;
  transition:
    background 0.2s,
    color 0.2s;
}

.custom-dropdown .dropdown-item:hover {
  background: rgba(255,255,255,0.04);
  color: var(--accent);
}

.custom-dropdown .dropdown-divider {
  border-color: rgba(255,255,255,0.06);
}

/* ====================== MOBILE ====================== */

@media (max-width: 1199px) {

  .navbar-collapse {
    margin-top: 18px;
    background: rgba(18, 21, 28, 0.98);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    backdrop-filter: blur(20px);
  }

  .navbar-nav {
    width: 100%;
  }

  .nav-link-custom {
    width: 100%;
    padding: 12px !important;
    border-radius: 8px;
  }

  .nav-link-custom:hover {
    background: rgba(255,255,255,0.03);
  }

  .dropdown {
    width: 100%;
  }

  .custom-dropdown {
    position: static !important;
    transform: none !important;
    width: 100%;
    margin-top: 10px;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
  }

  .btn-hero-secondary,
  .nav-pill-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
