﻿/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   Nexus Bot Manager â€” Design System
   Light / Dark / System themes + accent colors
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

@import url('//fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Smooth theme transitions */
body, .card, .btn, .form-control, .modal, .toast, table.data-tbl td,
table.data-tbl th, .stat-card, #sidebar, #topbar, .table-toolbar, .login-card, .setup-card, .setup-header {
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

/* â”€â”€ CSS Variables â€” Dark theme (default) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
:root,
[data-theme="dark"] {
  /* Brand */
  --brand:        #2563eb;
  --brand-hover:  #1d4ed8;
  --brand-dim:    rgba(37,99,235,0.12);
  --brand-border: rgba(37,99,235,0.3);

  /* Background layers */
  --bg-base:    #0d1117;
  --bg-surface: #161b22;
  --bg-card:    #1c2128;
  --bg-elevated:#21262d;
  --bg-hover:   rgba(255,255,255,0.04);
  --bg-active:  rgba(255,255,255,0.07);

  /* Borders */
  --border:     #30363d;
  --border-2:   #3d444d;

  /* Text */
  --tx-1:   #e6edf3;
  --tx-2:   #8b949e;
  --tx-3:   #6e7681;
  --tx-inv: #0d1117;

  /* Status colors */
  --green:    #3fb950;
  --green-bg: rgba(63,185,80,0.1);
  --green-b:  rgba(63,185,80,0.25);
  --red:      #f85149;
  --red-bg:   rgba(248,81,73,0.1);
  --red-b:    rgba(248,81,73,0.25);
  --amber:    #d29922;
  --amber-bg: rgba(210,153,34,0.1);
  --amber-b:  rgba(210,153,34,0.25);
  --blue:     #58a6ff;
  --blue-bg:  rgba(88,166,255,0.1);
  --blue-b:   rgba(88,166,255,0.25);
  --gray:     #6e7681;
  --gray-bg:  rgba(110,118,129,0.1);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow:    0 3px 8px rgba(0,0,0,0.5);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.6);

  color-scheme: dark;
}

/* â”€â”€ CSS Variables â€” Light theme â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
[data-theme="light"] {
  /* Brand */
  --brand:        #2563eb;
  --brand-hover:  #1d4ed8;
  --brand-dim:    rgba(37,99,235,0.08);
  --brand-border: rgba(37,99,235,0.35);

  /* Background layers */
  --bg-base:    #f5f7fa;
  --bg-surface: #ffffff;
  --bg-card:    #ffffff;
  --bg-elevated:#f1f4f8;
  --bg-hover:   rgba(0,0,0,0.04);
  --bg-active:  rgba(0,0,0,0.07);

  /* Borders */
  --border:     #e1e4e8;
  --border-2:   #d0d7de;

  /* Text */
  --tx-1:   #1f2328;
  --tx-2:   #57606a;
  --tx-3:   #8c959f;
  --tx-inv: #ffffff;

  /* Status colors â€” slightly more saturated for legibility on light bg */
  --green:    #1a7f37;
  --green-bg: rgba(26,127,55,0.08);
  --green-b:  rgba(26,127,55,0.3);
  --red:      #cf222e;
  --red-bg:   rgba(207,34,46,0.08);
  --red-b:    rgba(207,34,46,0.3);
  --amber:    #9a6700;
  --amber-bg: rgba(154,103,0,0.08);
  --amber-b:  rgba(154,103,0,0.3);
  --blue:     #0969da;
  --blue-bg:  rgba(9,105,218,0.08);
  --blue-b:   rgba(9,105,218,0.3);
  --gray:     #57606a;
  --gray-bg:  rgba(87,96,106,0.08);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow:    0 2px 6px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);

  color-scheme: light;
}

/* â”€â”€ System preference fallback â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (prefers-color-scheme: light) {
  [data-theme="system"] {
    --brand:        #2563eb;
    --brand-hover:  #1d4ed8;
    --brand-dim:    rgba(37,99,235,0.08);
    --brand-border: rgba(37,99,235,0.35);
    --bg-base:    #f5f7fa;
    --bg-surface: #ffffff;
    --bg-card:    #ffffff;
    --bg-elevated:#f1f4f8;
    --bg-hover:   rgba(0,0,0,0.04);
    --bg-active:  rgba(0,0,0,0.07);
    --border:     #e1e4e8;
    --border-2:   #d0d7de;
    --tx-1:   #1f2328;
    --tx-2:   #57606a;
    --tx-3:   #8c959f;
    --tx-inv: #ffffff;
    --green:    #1a7f37;
    --green-bg: rgba(26,127,55,0.08);
    --green-b:  rgba(26,127,55,0.3);
    --red:      #cf222e;
    --red-bg:   rgba(207,34,46,0.08);
    --red-b:    rgba(207,34,46,0.3);
    --amber:    #9a6700;
    --amber-bg: rgba(154,103,0,0.08);
    --amber-b:  rgba(154,103,0,0.3);
    --blue:     #0969da;
    --blue-bg:  rgba(9,105,218,0.08);
    --blue-b:   rgba(9,105,218,0.3);
    --gray:     #57606a;
    --gray-bg:  rgba(87,96,106,0.08);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
    --shadow:    0 2px 6px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    color-scheme: light;
  }
}
@media (prefers-color-scheme: dark) {
  [data-theme="system"] {
    color-scheme: dark;
  }
}

/* â”€â”€ Accent color overrides â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
:root,
[data-theme] {
  /* Typography + radius + transition shared across all themes */
  --font:      'Inter', -apple-system, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
  --r-sm: 4px;
  --r:    6px;
  --r-lg: 10px;
  --r-xl: 14px;
  --t: 0.15s ease;
}

[data-accent="blue"]   { --brand:#2563eb; --brand-hover:#1d4ed8; --brand-dim:rgba(37,99,235,0.12); --brand-border:rgba(37,99,235,0.3); }
[data-accent="indigo"] { --brand:#4f46e5; --brand-hover:#4338ca; --brand-dim:rgba(79,70,229,0.12); --brand-border:rgba(79,70,229,0.3); }
[data-accent="violet"] { --brand:#7c3aed; --brand-hover:#6d28d9; --brand-dim:rgba(124,58,237,0.12); --brand-border:rgba(124,58,237,0.3); }
[data-accent="purple"] { --brand:#9333ea; --brand-hover:#7e22ce; --brand-dim:rgba(147,51,234,0.12); --brand-border:rgba(147,51,234,0.3); }
[data-accent="pink"]   { --brand:#db2777; --brand-hover:#be185d; --brand-dim:rgba(219,39,119,0.12); --brand-border:rgba(219,39,119,0.3); }
[data-accent="red"]    { --brand:#dc2626; --brand-hover:#b91c1c; --brand-dim:rgba(220,38,38,0.12); --brand-border:rgba(220,38,38,0.3); }
[data-accent="orange"] { --brand:#ea580c; --brand-hover:#c2410c; --brand-dim:rgba(234,88,12,0.12); --brand-border:rgba(234,88,12,0.3); }
[data-accent="amber"]  { --brand:#d97706; --brand-hover:#b45309; --brand-dim:rgba(217,119,6,0.12); --brand-border:rgba(217,119,6,0.3); }
[data-accent="emerald"]{ --brand:#059669; --brand-hover:#047857; --brand-dim:rgba(5,150,105,0.12); --brand-border:rgba(5,150,105,0.3); }
[data-accent="teal"]   { --brand:#0d9488; --brand-hover:#0f766e; --brand-dim:rgba(13,148,136,0.12); --brand-border:rgba(13,148,136,0.3); }
[data-accent="cyan"]   { --brand:#0891b2; --brand-hover:#0e7490; --brand-dim:rgba(8,145,178,0.12); --brand-border:rgba(8,145,178,0.3); }
[data-accent="slate"]  { --brand:#475569; --brand-hover:#334155; --brand-dim:rgba(71,85,105,0.12); --brand-border:rgba(71,85,105,0.3); }
[data-accent="discord"]{ --brand:#5865f2; --brand-hover:#4752c4; --brand-dim:rgba(88,101,242,0.12); --brand-border:rgba(88,101,242,0.3); }

html, body { height: 100%; overflow: hidden; }


/* =============================================================
   GUARDBOT — site public
   Même design system que Nexus Bot Manager (tokens identiques).
   ============================================================= */

html, body { height: auto; overflow: visible; }

body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.65;
  color: var(--tx-1);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px 72px; }
.narrow { max-width: 860px; }

/* ---------- Barre supérieure ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg-surface) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  min-height: 58px; display: flex; align-items: center; gap: 20px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 14.5px; color: var(--tx-1);
  text-decoration: none; flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand), #1e40af);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 15px; font-weight: 800;
}
.brand-text { line-height: 1.25; }
.brand-tag { font-size: 11px; font-weight: 400; color: var(--tx-3); }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  color: var(--tx-2); font-size: 13px; font-weight: 500;
  padding: 6px 11px; border-radius: var(--r);
  text-decoration: none; transition: all var(--t); white-space: nowrap;
}
.nav a:hover { background: var(--bg-hover); color: var(--tx-1); text-decoration: none; }
.nav a.active { color: var(--blue); background: var(--brand-dim); }
.nav-tools { display: flex; align-items: center; gap: 6px; margin-left: 10px; flex-shrink: 0; }

/* ---------- Boutons (échelle cohérente) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 34px; padding: 0 14px; border-radius: var(--r);
  font-size: 13px; font-weight: 500; cursor: pointer;
  border: 1px solid transparent; font-family: var(--font);
  transition: all var(--t); white-space: nowrap; flex-shrink: 0;
  text-decoration: none; line-height: 1;
}
.btn:hover:not(:disabled) { text-decoration: none; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn i { font-size: 15px; }
.btn-sm { height: 30px; padding: 0 11px; font-size: 12.5px; }
.btn-lg { height: 42px; padding: 0 20px; font-size: 14.5px; }
.btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-primary:hover:not(:disabled) { background: var(--brand-hover); }
.btn-ghost { background: transparent; color: var(--tx-2); border-color: var(--border); }
.btn-ghost:hover:not(:disabled) { background: var(--bg-hover); color: var(--tx-1); border-color: var(--border-2); }
.btn-danger { background: transparent; color: var(--red); border-color: var(--red-b); }
.btn-danger:hover:not(:disabled) { background: var(--red-bg); }
.btn-success { background: var(--green-bg); color: var(--green); border-color: var(--green-b); }
.btn-success:hover:not(:disabled) { background: color-mix(in srgb, var(--green) 18%, transparent); }
.btn-icon { width: 34px; padding: 0; }
.btn-icon.btn-sm { width: 30px; }
.btn-block { width: 100%; }

/* ---------- Cartes ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.card + .card { margin-top: 14px; }
.card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 18px; border-bottom: 1px solid var(--border); gap: 10px;
}
.card-title { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--tx-1); }
.card-title i { color: var(--blue); font-size: 16px; }
.card-body { padding: 18px; }
.card-body > :last-child { margin-bottom: 0; }
.card-footer { padding: 11px 18px; border-top: 1px solid var(--border); background: var(--bg-elevated); }

/* ---------- Sections ---------- */
.section { padding: 46px 0 4px; }
.section-title {
  font-size: 12px; font-weight: 600; color: var(--tx-3);
  text-transform: uppercase; letter-spacing: .8px;
  display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
}
.section-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.lead { font-size: 15.5px; color: var(--tx-2); max-width: 780px; }
.muted { color: var(--tx-2); }
.small { font-size: 12px; color: var(--tx-3); }
.page-title { font-size: 27px; font-weight: 700; letter-spacing: -.015em; margin: 0 0 8px; }
.page-head { padding: 38px 0 6px; border-bottom: 1px solid var(--border); margin-bottom: 26px; }
.breadcrumb { font-size: 12.5px; color: var(--tx-3); margin-bottom: 10px; }
.breadcrumb a { color: var(--tx-2); }

/* ---------- Grilles ---------- */
.grid { display: grid; gap: 14px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

/* ---------- Statistiques ---------- */
.stat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 15px 17px; }
.stat-value { font-size: 25px; font-weight: 700; color: var(--tx-1); line-height: 1.1; }
.stat-label { font-size: 12px; color: var(--tx-3); margin-top: 3px; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 9px; border-radius: 20px; font-size: 11px;
  font-weight: 600; border: 1px solid transparent; white-space: nowrap;
}
.badge-blue { background: var(--blue-bg); color: var(--blue); border-color: var(--blue-b); }
.badge-green { background: var(--green-bg); color: var(--green); border-color: var(--green-b); }
.badge-amber { background: var(--amber-bg); color: var(--amber); border-color: var(--amber-b); }
.badge-gray { background: var(--gray-bg); color: var(--gray); }

/* ---------- Recherche ---------- */
.search-bar { position: relative; margin-bottom: 16px; }
.search-bar i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--tx-3); font-size: 16px; pointer-events: none; }
.form-control {
  width: 100%; padding: 9px 13px 9px 38px; height: 38px;
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--r); color: var(--tx-1); font-size: 13.5px;
  font-family: var(--font); outline: none; transition: border-color var(--t), box-shadow var(--t);
}
.form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.form-control::placeholder { color: var(--tx-3); }
.search-count { margin: 0 0 12px; font-size: 12.5px; color: var(--tx-3); }

/* ---------- Entrées d'aide ---------- */
.entry { border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg-card); margin-bottom: 10px; overflow: hidden; }
.entry-head {
  display: flex; align-items: center; gap: 11px; width: 100%;
  padding: 13px 16px; background: transparent; border: 0; cursor: pointer;
  text-align: left; font-family: var(--font); color: var(--tx-1); transition: background var(--t);
}
.entry-head:hover { background: var(--bg-hover); }
.entry-icon {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-dim); color: var(--blue); font-size: 15px;
}
.entry-title { font-size: 13.5px; font-weight: 600; }
.entry-sub { font-size: 12px; color: var(--tx-3); }
.entry-body { padding: 2px 16px 14px; border-top: 1px solid var(--border); }
.setting { padding: 11px 0; border-bottom: 1px solid var(--border); }
.setting:last-child { border-bottom: 0; }
.setting-name { font-size: 13px; font-weight: 600; color: var(--tx-1); }
.setting-hint { font-size: 12.5px; color: var(--tx-2); }
.setting-path { font-family: var(--font-mono); font-size: 11px; color: var(--tx-3); margin-top: 2px; }
.group-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: .6px; color: var(--tx-3); font-weight: 600; margin: 14px 0 2px; }

/* ---------- Tableaux ---------- */
.table-wrap { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
table.data-tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.data-tbl th {
  text-align: left; padding: 10px 16px; background: var(--bg-elevated);
  color: var(--tx-3); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .5px; border-bottom: 1px solid var(--border);
}
table.data-tbl td { padding: 11px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
table.data-tbl tr:last-child td { border-bottom: 0; }
table.data-tbl tr:hover td { background: var(--bg-hover); }
code, .mono { font-family: var(--font-mono); font-size: .87em; }
.command-name { color: var(--blue); font-weight: 600; white-space: nowrap; }
.command-desc { color: var(--tx-2); }
.opt-list { margin: 6px 0 0; padding-left: 17px; }
.opt-list li { font-size: 12.5px; color: var(--tx-3); margin-bottom: 2px; }

/* ---------- Accent ---------- */
.accent { color: var(--blue); }
.hero { padding: 54px 0 30px; }
.hero-title { font-size: 38px; line-height: 1.14; font-weight: 800; letter-spacing: -.022em; margin: 0 0 14px; max-width: 780px; }
.hero-sub { font-size: 16.5px; color: var(--tx-2); max-width: 720px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.hero-bg::before {
  content: ''; position: absolute; top: -240px; left: 40%;
  width: 720px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.18), transparent 68%);
  filter: blur(26px);
}
.feature { padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg-card); height: 100%; }
.feature-icon { width: 32px; height: 32px; border-radius: 9px; background: var(--brand-dim); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 16px; margin-bottom: 10px; }
.feature h3 { font-size: 13.5px; font-weight: 600; margin: 0 0 5px; }
.feature p { font-size: 12.5px; color: var(--tx-2); margin: 0; }
.feature a { font-size: 12.5px; display: inline-flex; align-items: center; gap: 4px; margin-top: 9px; }

.footer { border-top: 1px solid var(--border); padding: 26px 0; margin-top: 54px; color: var(--tx-3); font-size: 12.5px; }
.footer-inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: space-between; }

.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 20px; gap: 9px; text-align: center; }
.empty-state i { font-size: 32px; color: var(--tx-3); }
.empty-state-title { font-size: 13.5px; font-weight: 600; color: var(--tx-2); }
.empty-state-desc { font-size: 12.5px; color: var(--tx-3); }

.filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.chip {
  padding: 5px 11px; border-radius: 20px; font-size: 12px; font-weight: 500;
  background: transparent; border: 1px solid var(--border); color: var(--tx-2);
  cursor: pointer; font-family: var(--font); transition: all var(--t);
}
.chip:hover { background: var(--bg-hover); color: var(--tx-1); }
.chip.active { background: var(--brand-dim); color: var(--blue); border-color: var(--brand-border); }

.tabs { display: flex; gap: 2px; }
.tab-btn {
  padding: 6px 12px; border-radius: var(--r-sm); font-size: 12.5px; font-weight: 500;
  color: var(--tx-3); cursor: pointer; transition: all var(--t);
  border: 0; background: transparent; font-family: var(--font);
}
.tab-btn:hover { color: var(--tx-2); }
.tab-btn.active { background: var(--brand-dim); color: var(--blue); }

.callout {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 13px 15px; border-radius: var(--r-lg);
  background: var(--brand-dim); border: 1px solid var(--brand-border);
  font-size: 13px; color: var(--tx-1);
}
.callout i { color: var(--blue); font-size: 17px; flex-shrink: 0; margin-top: 1px; }
.callout p { margin: 0; }
.callout.warn { background: var(--amber-bg); border-color: var(--amber-b); }
.callout.warn i { color: var(--amber); }

@media (max-width: 900px) {
  .topbar-inner { flex-wrap: wrap; row-gap: 8px; padding: 10px 18px; }
  .nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 5px 9px; font-size: 12.5px; }
  .nav-tools { margin-left: auto; order: 2; }
  .wrap { padding: 0 18px 60px; }
  .hero { padding: 36px 0 22px; }
  .hero-title { font-size: 28px; }
  .hero-sub { font-size: 15px; }
  .section { padding: 34px 0 4px; }
  .page-title { font-size: 22px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .hero-actions .btn { width: 100%; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .stat-value { font-size: 21px; }
  table.data-tbl th:nth-child(2), table.data-tbl td:nth-child(2) { display: none; }
}
