/* Nabil Kamel brand system (2026-10-21, dark). Same tokens and components as
   the scanner (scan.nabilkamel.com, public/styles.css): dark navy #26283d
   family, bright green #00ff89 / #00d071 for actions, scores and accents.
   Page-specific layout lives in each page. */

:root {
  --bg: #1c1e2d;
  --bg-2: #222436;
  --surface: #26283d;
  --raised: #2f3249;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --ink: #f3f5fa;
  --ink-2: #a9aec6;
  --ink-3: #8f94ae;
  --navy: #26283d;
  --green: #00d071;
  --green-bright: #00ff89;
  --green-soft: rgba(0, 255, 137, 0.12);
  --grad: linear-gradient(135deg, #00ff89 0%, #00d071 100%);
  --on-green: #0f1a14;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 10px 30px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.45);
  --maxw: 1360px;
  --font: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}

/* ---------- Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font); background: var(--bg); color: var(--ink);
  line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
html { scrollbar-color: var(--raised) var(--bg); }
::selection { background: rgba(0, 255, 137, 0.3); color: #fff; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--green-bright); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { color: var(--green-bright); }
:focus-visible { outline: 2px solid var(--green-bright); outline-offset: 3px; border-radius: 8px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; color: var(--ink); text-wrap: balance; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

/* Mono kicker: small uppercase label, as on the scanner and lead page */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green-bright); background: var(--green-soft); border: 1px solid rgba(0, 255, 137, 0.25);
  border-radius: 999px; padding: 6px 12px;
}
.label { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(28, 30, 45, 0.82);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.logo-mark { width: 28px; height: 28px; display: block; flex: none; }
.header-cta {
  font-size: 14px; font-weight: 700; color: var(--on-green); text-decoration: none; white-space: nowrap;
  background: var(--grad); padding: 9px 18px; border-radius: 999px;
  transition: transform var(--duration-quick) var(--ease-smooth-out), box-shadow var(--duration-quick) var(--ease-smooth-out);
}
@media (hover: hover) and (pointer: fine) { .header-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35); } }
.header-cta:active { transform: scale(0.97); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  min-height: 48px; padding: 0 24px; border-radius: 11px;
  font: 700 16px/1 var(--font); text-decoration: none; text-align: center; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform var(--duration-quick) var(--ease-smooth-out), box-shadow var(--duration-quick) var(--ease-smooth-out), border-color var(--duration-quick) var(--ease-smooth-out), background var(--duration-quick) var(--ease-smooth-out);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--grad); color: var(--on-green); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32); }
@media (hover: hover) and (pointer: fine) { .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.42); } }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--green-bright); color: var(--green-bright); }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
/* Check row, as the scanner's trust row */
.trust-row { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-2); font-size: 14px; }
.trust-row li { display: inline-flex; align-items: center; gap: 7px; }
.trust-row li::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%2300ff89' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
/* Screenshot frame: a card with the scanner's window bar */
.shot { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); }
.shot-bar { display: flex; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--raised); }
.shot-bar span { margin-left: auto; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.shot img { width: 100%; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; background: var(--bg); font-size: 14px; color: var(--ink-2); }
.site-footer .wordmark { font-size: 15px; }
.site-footer .logo-mark { width: 24px; height: 24px; }
.site-footer a { color: var(--green-bright); font-weight: 600; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .wordmark { color: var(--ink); text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  .btn, .header-cta { transition: none; }
  .btn:active, .btn-primary:hover, .header-cta:hover, .header-cta:active { transform: none; }
}
