:root {
  --bg: #050505;
  --bg-2: #0d0d0d;
  --card: #111111;
  --card-2: #171717;
  --line: #2a2a2a;
  --text: #f5f5f5;
  --muted: #a3a3a3;
  --primary: #ffffff;
  --primary-2: #b8b8b8;
  --green: #22c55e;
  --yellow: #eab308;
  --red: #ef4444;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(0,0,0,.35);
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: radial-gradient(1200px 600px at 80% -10%, #161616 0%, var(--bg) 55%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

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

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

.nav {
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: .01em;
  color: var(--text);
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  font-size: 1.05rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 4px 14px rgba(255,255,255,.35);
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 4px; font-size: .93rem; }
.nav-links > a {
  color: var(--muted);
  padding: 8px 13px;
  border-radius: 8px;
  transition: background .15s ease, color .15s ease;
  white-space: nowrap;
}
.nav-links > a:hover { color: var(--text); background: rgba(255,255,255,.05); text-decoration: none; }
.nav-links > a.active {
  color: var(--text);
  background: rgba(255,255,255,.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}
.nav-links .btn { margin-left: 6px; }
.badge-admin { background: var(--red); color: #fff; font-size: .65rem; padding: 2px 7px; border-radius: 20px; vertical-align: middle; margin-left: 6px; }

/* "More" dropdown (desktop) */
.dropdown { position: relative; }
.nav-drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  padding: 8px 13px;
  border-radius: 8px;
  border: none;
  background: transparent;
  font: inherit;
  font-size: .93rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.nav-drop-btn:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-drop-btn.active {
  color: var(--text);
  background: rgba(255,255,255,.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}
.dd-caret { font-size: .7rem; opacity: .7; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 210px;
  padding: 6px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 60;
}
.dropdown.open .dropdown-menu { display: flex; }
.dropdown-menu a {
  color: var(--muted);
  padding: 9px 12px;
  border-radius: 7px;
  white-space: nowrap;
}
.dropdown-menu a:hover { color: var(--text); background: rgba(255,255,255,.05); text-decoration: none; }
.dropdown-menu a.active { color: var(--text); background: rgba(255,255,255,.12); }
.dropdown-menu .bell { position: relative; }

/* Hamburger toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav: collapse links into a slide-down panel */
@media (max-width: 860px) {
  .nav-inner { flex-wrap: wrap; padding: 10px 16px; }
  .nav-toggle { display: flex; }
  .nav-links {
    flex-basis: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 6px 0 2px;
    border-top: 1px solid var(--line);
    margin-top: 8px;
    max-height: calc(100vh - 90px);
    max-height: calc(100dvh - 90px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links .btn { text-align: center; margin-top: 10px; border-bottom: none; }
  .nav-links .bell { padding-right: 4px; }
  .dropdown { width: 100%; }
  .nav-drop-btn {
    width: 100%;
    justify-content: space-between;
    padding: 13px 4px;
    font-size: 1rem;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    background: transparent;
  }
  .nav-drop-btn:hover, .nav-drop-btn.active { color: var(--text); background: transparent; box-shadow: none; }
  .dropdown-menu {
    position: static;
    width: 100%;
    min-width: 0;
    padding: 0 0 4px 18px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    flex-direction: column;
    gap: 0;
    max-height: calc(100dvh - 190px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .dropdown.open .dropdown-menu { display: flex; }
  .dropdown-menu a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
    font-size: .95rem;
    border-radius: 0;
    width: 100%;
  }
  .dropdown-menu a:last-child { border-bottom: none; }
  .dropdown-menu a:hover, .dropdown-menu a.active { background: transparent; }
  .dropdown-menu a.active { color: var(--text); }
}

main.container { padding-top: 32px; padding-bottom: 70px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform .1s, background .15s;
  font-family: inherit;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--card-2); }
.btn-block { width: 100%; }
.btn-sm { padding: 7px 13px; font-size: .85rem; }
.btn-lg { padding: 14px 26px; font-size: 1.05rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.inline { display: inline; }
.danger { color: var(--red); border-color: #7f1d1d; }

/* Hero */
.hero { padding: 70px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 2.8rem; line-height: 1.15; margin: 14px 0; }
.grad { background: linear-gradient(90deg, var(--primary), var(--primary-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.12rem; color: var(--muted); margin-bottom: 22px; }
.badge { display: inline-block; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.4); color: var(--primary); padding: 5px 12px; border-radius: 30px; font-size: .8rem; font-weight: 600; }
.hero-actions { display: flex; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }

.hero-card { perspective: 800px; }
.mini-scan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transform: rotateY(8deg) rotateX(4deg); padding: 20px; }
.mini-head { font-weight: 700; margin-bottom: 10px; }
.mini-body { background: var(--bg-2); border-radius: 10px; padding: 14px; }
.mini-flags { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; font-size: .9rem; color: var(--yellow); }

/* Stats */
.stats { display: flex; gap: 20px; justify-content: center; margin: 40px 0; flex-wrap: wrap; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 30px; text-align: center; min-width: 150px; }
.stat strong { display: block; font-size: 1.9rem; }
.stat span { color: var(--muted); font-size: .85rem; }

/* Sections/cards */
.section { padding: 46px 0; }
.section h2 { font-size: 1.8rem; margin-bottom: 22px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); }
.section.alt { background: rgba(255,255,255,.06); border-block: 1px solid var(--line); }
.section-inner { max-width: 700px; }
.checklist { list-style: none; margin-bottom: 20px; }
.checklist li { padding: 8px 0 8px 28px; position: relative; }
.checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 800; }

/* Alerts */
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: .95rem; transition: opacity .3s; }
.alert-success { background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.4); color: #86efac; }
.alert-error { background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.4); color: #fca5a5; }
.alert-warning { background: rgba(234,179,8,.12); border: 1px solid rgba(234,179,8,.4); color: #fde68a; }
.alert-info { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.4); color: #bfdbfe; }

/* Auth */
.auth { max-width: 480px; margin: 50px auto; }
.auth-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.auth-card h1 { margin-bottom: 6px; }
.auth-card form label { display: block; margin-top: 16px; font-size: .9rem; font-weight: 600; }
.auth-card input, .auth-card select, .auth-card textarea {
  width: 100%; margin-top: 6px; padding: 11px 13px; border-radius: 9px;
  border: 1px solid var(--line); background: var(--bg-2); color: var(--text); font: inherit;
}
.auth-card input:focus, .auth-card select:focus, .auth-card textarea:focus { outline: 2px solid var(--primary); border-color: transparent; }
.auth-card .btn { margin-top: 20px; }
.auth-card textarea { resize: vertical; }

/* Password show/hide + forgot-password row */
.pw-wrap { position: relative; display: block; }
.pw-wrap .pw-input { padding-right: 46px; }
.pw-toggle {
  position: absolute;
  top: 50%; right: 8px;
  transform: translateY(-35%);
  width: 34px; height: 34px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.05rem;
  cursor: pointer;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pw-toggle:hover { color: var(--text); background: rgba(255,255,255,.06); }
.auth-row { display: flex; justify-content: flex-end; margin-top: 8px; }
.auth-row a { color: var(--muted); }
.auth-row a:hover { color: var(--primary); }
.reset-link {
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: 9px;
  border: 1px solid var(--primary);
  background: rgba(255,255,255,.08);
  word-break: break-all;
}
.reset-link a { color: var(--primary); font-weight: 600; }

/* Scan */
.scan-hero { padding: 36px 0 10px; }
.scan-hero h1 { font-size: 2.2rem; }
.usage { margin-top: 10px; color: var(--muted); }
.scan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 20px; }
@media (max-width: 900px) { .scan-grid, .hero-grid { grid-template-columns: 1fr; } .hero h1 { font-size: 2rem; } }
.segmented { display: flex; gap: 8px; margin-bottom: 16px; background: var(--bg-2); border-radius: 10px; padding: 5px; }
.seg { flex: 1; padding: 9px; border: 0; background: transparent; color: var(--muted); border-radius: 8px; cursor: pointer; font-weight: 600; font-family: inherit; }
.seg.active { background: var(--card-2); color: var(--text); }
label { font-size: .9rem; font-weight: 600; }
textarea, input[type=text], input[type=email], input[type=url], input[type=password], input[type=number], select {
  width: 100%; margin-top: 6px; padding: 11px 13px; border-radius: 9px;
  border: 1px solid var(--line); background: var(--bg-2); color: var(--text); font: inherit;
}
textarea:focus, input:focus, select:focus { outline: 2px solid var(--primary); border-color: transparent; }
.optional { margin: 14px 0; color: var(--muted); }
.optional summary { cursor: pointer; font-weight: 600; }
.optional label { display: block; margin-top: 10px; }

/* Screenshot scanner */
input[type=file] { width: 100%; margin-top: 6px; padding: 10px; border-radius: 9px; border: 1px dashed var(--line); background: var(--bg-2); color: var(--text); font: inherit; }
.screenshot-preview { margin-top: 12px; }
.screenshot-preview img { max-width: 100%; max-height: 320px; border-radius: 10px; border: 1px solid var(--line); }

/* Results */
.result { border-radius: 12px; padding: 16px; margin-top: 8px; }
.verdict-suspicious, .verdict-scam { background: rgba(239,68,68,.08); border: 1px solid rgba(239,68,68,.3); }
.verdict-safe { background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.3); }
.verdict-row { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.conf { color: var(--muted); font-size: .9rem; font-weight: 600; }
.result h4 { margin: 12px 0 4px; font-size: .95rem; }
.result ul { margin-left: 20px; color: var(--muted); }
.action-box { margin-top: 14px; background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.35); border-radius: 10px; padding: 12px; font-weight: 600; }
.osint-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: .9rem; }
.osint-table td { padding: 7px 4px; border-bottom: 1px solid var(--line); color: var(--muted); }
.osint-table td:first-child { width: 120px; color: var(--text); }
code { background: var(--bg-2); padding: 2px 6px; border-radius: 6px; font-size: .88em; }

/* Bug Hunter findings */
.findings { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.findings li { background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; font-size: .9rem; color: var(--text); display: flex; gap: 8px; align-items: flex-start; }
.findings li .tag { flex: 0 0 auto; margin-top: 1px; }

/* Phone number intelligence */
.phone-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.fact { background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 5px 11px; font-size: .85rem; color: var(--muted); }
.fact strong { color: var(--text); }
.signal { border-left: 3px solid var(--muted); background: var(--bg-2); border-radius: 0 8px 8px 0; padding: 9px 12px; margin: 8px 0; display: flex; flex-direction: column; gap: 2px; }
.signal-danger { border-color: var(--red); background: rgba(239,68,68,.08); }
.signal-warn { border-color: #eab308; background: rgba(234,179,8,.08); }
.signal-info { border-color: var(--primary); background: rgba(255,255,255,.08); }
.mt { margin-top: 12px; }

/* Tags */
.tag { display: inline-block; padding: 3px 10px; border-radius: 30px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.tag-scam { background: rgba(239,68,68,.15); color: #fca5a5; }
.tag-suspicious { background: rgba(234,179,8,.15); color: #fde68a; }
.tag-safe { background: rgba(34,197,94,.15); color: #86efac; }
.tag-pending { background: rgba(234,179,8,.15); color: #fde68a; }
.tag-completed, .tag-confirmed, .tag-active { background: rgba(34,197,94,.15); color: #86efac; }
.tag-failed, .tag-false_positive { background: rgba(239,68,68,.15); color: #fca5a5; }
.tag-refunded, .tag-expired, .tag-cancelled { background: rgba(148,163,184,.15); color: #cbd5e1; }
.tag-new, .tag-investigating { background: rgba(255,255,255,.15); color: #bfdbfe; }
.tag-phishing, .tag-fraud, .tag-impersonation, .tag-other { background: rgba(148,163,184,.15); color: #cbd5e1; }
.tag-trialing { background: rgba(255,255,255,.15); color: #bfdbfe; }

/* Pricing */
.pricing-hero { text-align: center; padding: 50px 0 20px; }
.pricing-hero h1 { font-size: 2.3rem; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; margin-top: 30px; }
.plan-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; }
.plan-card.popular { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), var(--shadow); }
.plan-card h3 { font-size: 1.2rem; }
.price { margin: 14px 0; }
.price strong { font-size: 2.2rem; }
.price span { color: var(--muted); }
.plan-features { list-style: none; margin: 12px 0 20px; flex: 1; }
.plan-features li { padding: 7px 0 7px 24px; position: relative; color: var(--muted); }
.plan-features li::before { content: '✔'; position: absolute; left: 0; color: var(--green); }
.ribbon { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: linear-gradient(90deg, var(--primary), var(--primary-2)); color: #fff; font-size: .7rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; letter-spacing: .05em; }
.pay-options { display: flex; flex-direction: column; gap: 8px; }

/* Dashboard */
.dash h1 { margin-bottom: 20px; }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
@media (max-width: 800px) { .dash-grid { grid-template-columns: 1fr; } }
.plan-name { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.meter { height: 8px; background: var(--bg-2); border-radius: 10px; overflow: hidden; margin: 10px 0; }
.meter-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--primary-2)); }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.table td { padding: 10px 8px; border-bottom: 1px solid rgba(42,42,42,.6); }
.truncate { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Scan history table: fixed layout so long content truncates instead of
   stretching the page sideways (auto-layout tables ignore max-width on cells). */
.scan-history .table { table-layout: fixed; }
.scan-history .table th, .scan-history .table td { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scan-history .table td.truncate { max-width: none; }
.scan-history .table th:nth-child(1) { width: 9%; }
.scan-history .table th:nth-child(2) { width: 30%; }
.scan-history .table th:nth-child(3) { width: 11%; }
.scan-history .table th:nth-child(4) { width: 10%; }
.scan-history .table th:nth-child(5) { width: 20%; }
.scan-history .table th:nth-child(6) { width: 20%; }

/* Reports */
.reports-hero { padding: 30px 0; }
.report-totals { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.filters { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.filters input { flex: 1; min-width: 200px; }
.filters select { width: auto; }
.search-input { padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); }
.inline-actions { display: flex; flex-wrap: wrap; gap: 4px; max-width: 320px; }
.inline-actions form { margin: 0; }
.reports-list { display: grid; gap: 16px; }
.report { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.report-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.report-head h3 { flex: 1; }
.report p { color: var(--muted); }
.contact-list { display: grid; gap: 14px; }
.contact-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.contact-item.unread { border-color: var(--yellow); background: rgba(234,179,8,.06); }
.contact-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.contact-subject { margin-bottom: 6px; }
.contact-body { color: var(--muted); white-space: pre-wrap; margin-bottom: 10px; }

/* Checkout / EFT */
.checkout { max-width: 620px; margin: 40px auto; }
.checkout-card { max-width: 100%; }
.checkout-box { margin-top: 18px; }
.eft-table { width: 100%; border-collapse: collapse; margin: 10px 0; }
.eft-table th { text-align: left; color: var(--muted); padding: 9px 6px; width: 40%; border-bottom: 1px solid var(--line); font-weight: 500; }
.eft-table td { padding: 9px 6px; border-bottom: 1px solid rgba(42,42,42,.6); }
.ref { font-weight: 700; color: var(--primary); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
.check-row { display: flex; align-items: center; gap: 8px; margin: 14px 0; font-weight: 600; cursor: pointer; }
.check-row input { width: auto; margin: 0; }
.plan-form { border-bottom: 1px solid var(--line); padding: 14px 0 18px; }
.plan-form:last-child { border-bottom: 0; }
.plan-row td { vertical-align: middle; }
.plan-edit-row td { padding: 4px 12px 10px !important; }
.plan-details summary { cursor: pointer; color: var(--muted); font-weight: 600; padding: 4px 0; }
.plan-details summary:hover { color: var(--primary); }
.stat-grid .card { text-align: center; }
.stat-grid .card strong { display: block; font-size: 1.7rem; }

/* Tool pages */
.tool-hero { padding: 36px 0 10px; }
.tool-hero h1 { font-size: 2.1rem; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.tools-grid { margin-top: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.tool-card { display: flex; flex-direction: column; text-decoration: none; transition: transform .15s, border-color .15s; }
.tool-card:hover { transform: translateY(-4px); border-color: var(--primary); text-decoration: none; }
.tool-card h3 { color: var(--text); }
.tool-ico { font-size: 2rem; margin-bottom: 10px; }
.tool-cta { margin-top: auto; padding-top: 14px; font-weight: 700; color: var(--primary); }
.tools-note { margin-top: 24px; }

/* Site footer */
.site-footer {
  margin-top: 50px;
  position: relative;
  border-top: 1px solid rgba(255,255,255,.35);
  background:
    radial-gradient(700px 260px at 15% 0%, rgba(255,255,255,.12), transparent 60%),
    radial-gradient(600px 260px at 85% 0%, rgba(255,255,255,.10), transparent 60%),
    linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
}
.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--primary-2), transparent);
}

/* Top status strip */
.footer-top-strip {
  border-bottom: 1px solid rgba(42,42,42,.55);
  background: rgba(255,255,255,.05);
}
.strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 20px;
  font-size: .82rem;
  color: var(--muted);
  flex-wrap: wrap;
  font-weight: 500;
  letter-spacing: .02em;
}
.strip-pulse { display: inline-flex; align-items: center; gap: 8px; color: #86efac; font-weight: 600; }
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(34,197,94,.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); }
  70% { box-shadow: 0 0 0 9px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
.strip-sep { width: 1px; height: 14px; background: rgba(148,163,184,.3); }

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 34px;
  padding: 46px 0 30px;
}
@media (max-width: 900px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; } }

.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h4 {
  margin-bottom: 10px;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
  padding-bottom: 8px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 26px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
}
.footer-col a { color: var(--muted); font-size: .92rem; transition: color .15s, transform .15s; width: fit-content; }
.footer-col a:hover { color: var(--text); text-decoration: none; transform: translateX(3px); }

.footer-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; margin-bottom: 8px; }
.logo-shield { font-size: 1.5rem; }
.footer-tagline { color: var(--muted); font-size: .93rem; line-height: 1.7; max-width: 360px; }

.footer-trust { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.trust-badge {
  font-size: .75rem;
  font-weight: 600;
  color: var(--muted);
  padding: 5px 11px;
  border-radius: 30px;
  border: 1px solid rgba(148,163,184,.25);
  background: rgba(148,163,184,.06);
}

.footer-social { display: flex; gap: 10px; margin-top: 12px; }
.social-ico {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .85rem; font-weight: 700;
  background: var(--bg-2);
  transition: all .15s;
}
.social-ico:hover { color: #fff; border-color: var(--primary); background: var(--primary); transform: translateY(-2px); text-decoration: none; }

.footer-data { padding: 22px 0; border-block: 1px solid rgba(42,42,42,.55); }
.footer-data h4 { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.data-sources { display: flex; gap: 10px 22px; flex-wrap: wrap; }
.data-src { display: inline-flex; align-items: center; gap: 7px; font-size: .85rem; color: var(--text); font-weight: 600; }
.src-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.data-src:nth-child(2) .src-dot { background: var(--green); }
.data-src:nth-child(3) .src-dot { background: var(--yellow); }
.data-src:nth-child(4) .src-dot { background: #fb7185; }
.data-src:nth-child(5) .src-dot { background: var(--primary-2); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 22px 0 26px;
}
.footer-legal { flex: 1; min-width: 240px; }
.footer-legal p { font-size: .78rem; line-height: 1.6; }
.back-top {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all .15s;
}
.back-top:hover { border-color: var(--primary); color: #fff; background: var(--primary); transform: translateY(-2px); }

/* Notification bell */
.bell { position: relative; }
.bell-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px; height: 17px;
  margin-left: 6px;
  padding: 0 4px;
  border-radius: 20px;
  background: var(--red);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  vertical-align: middle;
}

/* Notifications */
.notif {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  margin-bottom: 10px;
  background: var(--bg-2);
}
.notif.unread { border-color: var(--primary); background: rgba(255,255,255,.08); }
.notif-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; flex-wrap: wrap; }
.notif p { color: var(--muted); margin-bottom: 10px; }

/* Watchlist */
.watch-form { display: flex; flex-direction: column; gap: 12px; }

/* Chat / assistant */
.assistant { max-width: 760px; margin: 0 auto; padding: 24px 0; }
.assistant-head { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.assistant-avatar {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  flex-shrink: 0;
}
.chat-box {
  height: 460px;
  overflow-y: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 14px;
}
.chat-empty { color: var(--muted); font-size: .95rem; }
.chat-empty ul { margin: 10px 0 0 20px; }
.chat-msg { display: flex; flex-direction: column; }
.chat-label { font-size: .72rem; color: var(--muted); margin-bottom: 4px; }
.chat-bubble {
  max-width: 85%;
  padding: 11px 14px;
  border-radius: 14px;
  line-height: 1.6;
  font-size: .93rem;
  white-space: pre-wrap;
  word-break: break-word;
}
.from-user { align-items: flex-end; }
.from-user .chat-bubble { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; border-bottom-right-radius: 4px; }
.from-bot .chat-bubble { background: var(--bg-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat-form { display: flex; gap: 10px; }
.chat-form input { flex: 1; }
.chat-form input { margin-top: 0; }

/* Compact report cards (used by number checker) */
.report.compact { padding: 14px; margin-bottom: 8px; }

/* Scan fusion results */
.pattern-hit {
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  background: var(--bg-2);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.pattern-hit p { margin: 6px 0 0; }
.mono { font-family: Consolas, Menlo, monospace; font-size: .85em; word-break: break-all; }

/* Pattern library page */
.pattern-search {
  display: flex; align-items: center; gap: 12px;
  margin: 18px 0;
  flex-wrap: wrap;
}
.pattern-search input { flex: 1; min-width: 220px; }
.pattern-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.pattern-item { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; background: var(--bg-2); }
.pattern-item h3 { font-size: 1rem; margin-bottom: 6px; }
.pattern-item p { color: var(--muted); font-size: .9rem; }
.pattern-item .avoid { color: var(--text); background: rgba(255,255,255,.06); border-radius: 6px; padding: 8px 10px; }
.pattern-item .kw { font-size: .72rem; word-break: break-all; }
.pattern-cat { margin-bottom: 22px; }
.pattern-cat h2 { font-size: 1.15rem; margin-bottom: 12px; }

/* Admin analytics */
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.export-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.barchart {
  display: flex; align-items: flex-end; gap: 8px;
  height: 190px;
  padding-top: 20px;
  overflow-x: auto;
}
.bar-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; min-width: 28px; flex: 1; }
.bar {
  width: 100%; max-width: 26px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--primary), var(--primary-2));
  min-height: 2px;
}
.bar-val { font-size: .72rem; color: var(--muted); }
.bar-label { font-size: .62rem; color: var(--muted); white-space: nowrap; }
.donut-wrap { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.donut-row { display: flex; align-items: center; gap: 10px; }
.donut-num { font-weight: 700; }
.donut-pct { color: var(--muted); font-size: .85rem; }
.stacked {
  height: 18px; border-radius: 10px; overflow: hidden;
  display: flex;
  background: linear-gradient(90deg,
    var(--red) 0 var(--s-scam),
    var(--amber) var(--s-scam) calc(var(--s-scam) + var(--s-susp)),
    var(--green) calc(var(--s-scam) + var(--s-susp)) 100%);
}

/* Scan result enrichment */
.conf-meter {
  height: 8px;
  border-radius: 6px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
  overflow: hidden;
  margin: 10px 0 6px;
}
.conf-meter-fill {
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--amber), var(--green));
  transition: width .4s ease;
}
.signal-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; }
.chip {
  font-size: .75rem;
  padding: 3px 9px;
  border-radius: 20px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.chip-scam { border-color: var(--red); color: var(--red); background: rgba(220,53,69,.08); }
.chip-suspicious { border-color: var(--amber); color: var(--amber); background: rgba(255,159,67,.08); }
.chip-safe { border-color: var(--green); color: var(--green); background: rgba(40,167,69,.08); }
.dns-ips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0; }
.dns-ip {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 10px;
}
.match-list { margin: 6px 0 0 4px; padding-left: 0; list-style: none; }
.match-list li {
  font-size: .85rem;
  padding: 6px 8px;
  border-bottom: 1px dashed var(--line);
  color: var(--muted);
  word-break: break-all;
}
.match-list li code { color: var(--text); }
.scan-history { margin-top: 22px; }
.scan-history h3 { margin-bottom: 12px; }
.sim-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin: 10px 0; }
.sim-item {
  display: block; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-2);
  aspect-ratio: 1/1;
}
.sim-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .15s ease; }
.sim-item:hover img { transform: scale(1.05); }
.sim-item:hover { border-color: var(--primary); }

/* ---------------------------------------------------------------------------
   Mobile-friendliness (targets small phones like the Oppo A54 ~360px wide).
   Append-only — nothing here changes desktop layout.
--------------------------------------------------------------------------- */

/* Reusable button row (search-link buttons): 4-up on desktop, 2-up on phones,
   1-up on very narrow screens. Prevents horizontal overflow. */
.btn-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
@media (max-width: 700px) { .btn-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 380px) { .btn-row { grid-template-columns: 1fr; } }

/* Collapse the 2-column helper grid on small phones too. */
@media (max-width: 560px) { .grid-2 { grid-template-columns: 1fr; } }

/* Keep long cell content (URLs, IPs, hashes) wrapping instead of stretching
   the page sideways. */
@media (max-width: 760px) {
  .osint-table td { word-break: break-word; overflow-wrap: anywhere; }
  .osint-table td:first-child { width: 104px; }
}

/* Scale down big headings and tighten spacing on small phones. */
@media (max-width: 760px) {
  .container { padding: 0 14px; }
  main.container { padding-top: 20px; padding-bottom: 50px; }
  .hero h1 { font-size: 1.7rem; }
  .hero { padding: 40px 0 24px; }
  .scan-hero h1, .tool-hero h1, .pricing-hero h1 { font-size: 1.55rem; }
  .section h2 { font-size: 1.35rem; }
  .lead { font-size: 1rem; }
  .auth-card { padding: 22px; }
  .auth { margin: 28px auto; }
  .verdict-row { flex-wrap: wrap; }
  .chat-box { height: 380px; }
  .stat strong { font-size: 1.5rem; }
  .plan-card { padding: 22px 18px; }
}

/* Wide data tables (dashboard / admin / reports): scroll horizontally instead
   of forcing the whole page wide. Keep the fixed-layout scan-history table as
   a normal table (it already truncates long content). */
@media (max-width: 760px) {
  .table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .scan-history .table { display: table; }
}

/* ===========================================================================
   PRO MONOCHROME THEME LAYER
   Black & white editorial look. The logo / favicon are the only colour.
   Semantic status colours (verdicts, alerts, tags) are intentionally kept
   for usability. Append-only — nothing above is removed.
=========================================================================== */

:root {
  --bg: #070707;
  --bg-2: #0f0f0f;
  --card: #111111;
  --card-2: #1a1a1a;
  --line: #262626;
  --line-2: #333333;
  --text: #f4f4f4;
  --muted: #9b9b9b;
  --primary: #ffffff;
  --primary-2: #bdbdbd;
  --ink: #0a0a0a;
  --green: #2ecc85;
  --yellow: #e3b341;
  --red: #ef4444;
  --amber: #e3b341;
  --radius: 14px;
  --shadow: 0 20px 55px rgba(0, 0, 0, .55);
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}

body {
  background:
    radial-gradient(1100px 520px at 82% -12%, #1c1c1c 0%, transparent 58%),
    radial-gradient(900px 460px at 8% 4%, #141414 0%, transparent 55%),
    #070707;
  background-attachment: fixed;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: #ffffff; color: #0a0a0a; }

h1, h2, h3, h4, .brand-name, .stat strong, .price strong, .plan-name, .install-logo,
.assistant-head h1, .footer-logo, .mini-head {
  font-family: var(--font-display);
  letter-spacing: -.02em;
}
h1, h2 { letter-spacing: -.03em; }

a { color: #ffffff; }
a:hover { color: #ffffff; }

:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; border-radius: 4px; }

/* Scrollbar */
* { scrollbar-width: thin; scrollbar-color: #3a3a3a transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: #303030; border-radius: 10px; border: 2px solid #070707; }
*::-webkit-scrollbar-thumb:hover { background: #454545; }

/* Nav */
.nav { background: rgba(5, 5, 5, .82); border-bottom: 1px solid var(--line); box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.brand { font-family: var(--font-display); font-weight: 700; gap: 11px; font-size: 1.18rem; }
.brand-name { font-weight: 700; }
.brand-mark {
  display: block;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: none;
  box-shadow: none;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-shield { display: block; width: 30px; height: 30px; object-fit: contain; }
.nav-links > a.active, .nav-drop-btn.active {
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
}

/* Buttons — white on black */
.btn { font-weight: 600; letter-spacing: .005em; }
.btn-primary {
  background: linear-gradient(135deg, #ffffff, #cfcfcf);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(255,255,255,.08);
}
.btn-primary:hover { background: linear-gradient(135deg, #ffffff, #ffffff); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,.07); border-color: #4a4a4a; }
.btn-danger, .danger { color: var(--red); border-color: #5c1f1f; }

/* Hero */
.hero { padding: 78px 0 44px; }
.hero h1 { font-size: 3.1rem; line-height: 1.05; font-weight: 700; }
.grad {
  background: linear-gradient(90deg, #ffffff 0%, #9a9a9a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* Hero accent — thick orange "fight back" treatment */
.grad-fire {
  font-weight: 800;
  letter-spacing: -.035em;
  background: linear-gradient(100deg, #ff3b1f 0%, #ff7a00 48%, #ffb300 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 20px rgba(255, 122, 0, .4));
}
.badge {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line-2);
  color: #e6e6e6;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .72rem;
}
.lead { color: var(--muted); }

/* Cards & sections */
.card {
  background: linear-gradient(180deg, #141414, #0f0f0f);
  border: 1px solid var(--line);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.card:hover { border-color: #3a3a3a; }
.tool-card:hover { border-color: #ffffff; box-shadow: 0 22px 60px rgba(0,0,0,.6); }
.tool-cta { color: #ffffff; }
.stat {
  background: linear-gradient(180deg, #141414, #0e0e0e);
  border: 1px solid var(--line);
  border-top: 2px solid #ffffff;
}
.section.alt {
  background: linear-gradient(180deg, rgba(255,255,255,.028), rgba(255,255,255,.012));
  border-block: 1px solid var(--line);
}
.checklist li::before { color: #ffffff; }

/* Alerts */
.alert-info { background: rgba(255,255,255,.06); border: 1px solid var(--line-2); color: #d6d6d6; }
.reset-link { border: 1px solid var(--line-2); background: rgba(255,255,255,.04); }
.reset-link a { color: #ffffff; }

/* Tags — keep semantic, soften info tags to mono */
.tag-new, .tag-investigating, .tag-trialing { background: rgba(255,255,255,.1); color: #d6d6d6; }

/* Dashboards / meters */
.meter-fill, .bar { background: linear-gradient(90deg, #6f6f6f, #ffffff); }
.conf-meter-fill { background: linear-gradient(90deg, #5f5f5f, #ffffff); }
.plan-name { color: #ffffff; }
.plan-card.popular { border-color: #ffffff; box-shadow: 0 0 0 1px #ffffff, var(--shadow); }
.ribbon { background: #ffffff; color: var(--ink); }

/* Chat */
.from-user .chat-bubble { background: linear-gradient(135deg, #ffffff, #cfcfcf); color: var(--ink); }
.assistant-avatar { background: linear-gradient(135deg, #ffffff, #b8b8b8); color: var(--ink); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer::before { background: linear-gradient(90deg, transparent, #ffffff, #7a7a7a, transparent); }
.footer-col h4::after { background: linear-gradient(90deg, #ffffff, #6f6f6f); }
.social-ico:hover, .back-top:hover { color: var(--ink); background: #ffffff; border-color: #ffffff; }
.footer-top-strip { background: rgba(255,255,255,.035); border-bottom: 1px solid var(--line); }
.strip-pulse { color: #cfcfcf; }
.src-dot { background: #ffffff !important; opacity: .85; }
.data-src { color: #e2e2e2; }
.trust-badge { border-color: var(--line-2); background: rgba(255,255,255,.03); }

/* Inputs */
input, textarea, select { background: #0d0d0d; border-color: var(--line-2); }
input:focus, textarea:focus, select:focus,
.auth-card input:focus, .auth-card select:focus, .auth-card textarea:focus {
  outline: 2px solid #ffffff; border-color: transparent;
}

/* ---------------------------------------------------------------------------
   Editorial photography (B&W)
--------------------------------------------------------------------------- */
.photo-band {
  position: relative;
  margin: 8px 0 40px;
  min-height: 340px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: #0d0d0d;
}
.photo-band img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06) brightness(.66);
}
.photo-band::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,5,5,.1) 0%, rgba(5,5,5,.55) 55%, rgba(5,5,5,.96) 100%);
}
.photo-band-inner { position: relative; z-index: 1; padding: 36px 34px; max-width: 720px; }
.photo-band .section-eyebrow { color: #d0d0d0; }
.photo-band h2 { font-size: 2rem; margin-bottom: 10px; }
.photo-band p { color: #c7c7c7; }

.section-eyebrow {
  display: inline-block;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin-top: 6px;
}
.media-card {
  background: linear-gradient(180deg, #141414, #0f0f0f);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .18s ease, transform .18s ease;
}
.media-card:hover { border-color: #3a3a3a; transform: translateY(-3px); }
.media-card img {
  display: block; width: 100%; height: 190px; object-fit: cover;
  filter: grayscale(1) contrast(1.06);
  transition: transform .45s ease, filter .45s ease;
}
.media-card:hover img { transform: scale(1.045); filter: grayscale(1) contrast(1.12) brightness(1.03); }
.media-card-body { padding: 18px 20px 20px; }
.media-card-body h3 { margin-bottom: 6px; font-size: 1.05rem; }
.media-card-body p { color: var(--muted); font-size: .93rem; }

.hero-photo {
  margin-top: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-photo img {
  display: block; width: 100%; height: 300px; object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(.92);
}

/* Split feature (image + copy) */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 30px;
  align-items: center;
}
.split-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.split-media img { display: block; width: 100%; height: 320px; object-fit: cover; filter: grayscale(1) contrast(1.06) brightness(.9); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 20px; }
  .split-media img { height: 230px; }
  .photo-band { min-height: 300px; }
  .photo-band-inner { padding: 26px 22px; }
  .hero-photo img { height: 210px; }
}
@media (max-width: 760px) {
  .hero h1 { font-size: 2.05rem; }
  .photo-band h2 { font-size: 1.5rem; }
}

/* Auth banner photo */
.auth-banner {
  margin: 0 0 16px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.auth-banner img {
  display: block; width: 100%; height: 148px; object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(.68);
}
@media (max-width: 560px) { .auth-banner img { height: 112px; } }



