:root {
  --bg:          #0f1117;
  --bg-soft:     #181b23;
  --card:        #1e2130;
  --card-border: rgba(255,255,255,0.09);
  --text:        #e2e8f0;
  --muted:       #8492a6;
  --accent:      #3b82f6;
  --accent-2:    #60a5fa;
  --success:     #34d399;
  --warning:     #fbbf24;
  --danger:      #fb7185;
  --shadow:      0 24px 80px rgba(0,0,0,0.40);
  --radius:      18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 8%,  rgba(59,130,246,0.08), transparent 22%),
    radial-gradient(circle at 85% 15%, rgba(59,130,246,0.05), transparent 20%),
    var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* ── Layout ── */
.container { width: min(1100px, calc(100% - 40px)); margin: 0 auto; }

/* ── Header / Nav ── */
.site-header {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(15,17,23,0.88);
  border-bottom: 1px solid var(--card-border);
}
.nav {
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; gap: 12px; align-items: center; font-weight: 800; letter-spacing: -0.03em; text-decoration: none; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 40px; height: 40px; display: block; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 15px; font-weight: 600; }
.nav-links a { color: var(--text); }
.nav-links a:hover { color: var(--accent); text-decoration: none; }
.nav-cta {
  padding: 9px 18px; background: var(--accent); color: #fff !important;
  border-radius: 999px; font-weight: 700; transition: opacity 0.15s;
}
.nav-cta:hover { opacity: 0.85; text-decoration: none; }

/* ── Hero ── */
.hero { padding: 72px 0 48px; }
.eyebrow {
  font-size: 11px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 14px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800; letter-spacing: -0.05em;
  line-height: 1.05; margin: 0 0 18px;
}
.hero .lead { font-size: 17px; color: var(--muted); margin: 0 0 10px; }
.badge {
  display: inline-block; margin-top: 16px;
  padding: 5px 14px; border: 1px solid var(--card-border);
  border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--muted);
}

/* ── Cards ── */
.card {
  border: 1px solid var(--card-border);
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}
.card h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.03em; margin: 0 0 8px; }
.card h3 { font-size: 16px; font-weight: 700; margin: 0 0 6px; }
.card p  { color: var(--muted); font-size: 14px; margin: 0 0 14px; line-height: 1.7; }
.card p:last-child { margin-bottom: 0; }

/* ── Tool grid ── */
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 40px; }
.tool-card {
  border: 1px solid var(--card-border);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.tool-card:hover { border-color: rgba(59,130,246,0.4); box-shadow: 0 0 0 1px rgba(59,130,246,0.15), var(--shadow); }
.tool-card-icon { font-size: 28px; margin-bottom: 14px; }
.tool-card h2 { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 4px; color: var(--text); }
.tool-card .pci-ref { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
.tool-card p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0 0 20px; flex: 1; }
.tool-card .btn { align-self: flex-start; }

/* ── Buttons ── */
.btn {
  display: inline-block; padding: 10px 22px;
  border-radius: 999px; font-weight: 700; font-size: 14px;
  border: none; cursor: pointer; transition: opacity 0.15s; text-decoration: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { opacity: 0.85; text-decoration: none; color: #fff; }
.btn-secondary { background: rgba(255,255,255,0.08); color: var(--text); border: 1px solid var(--card-border); }
.btn-secondary:hover { background: rgba(255,255,255,0.12); text-decoration: none; color: var(--text); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ── Section ── */
.section { padding: 56px 0; }
.section-title {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 20px;
}

/* ── Table ── */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  text-align: left; font-size: 12px; font-weight: 600; color: var(--muted);
  padding: 8px 14px; border-bottom: 1px solid var(--card-border);
}
.data-table td { padding: 13px 14px; border-bottom: 1px solid var(--card-border); font-size: 14px; }
.data-table tr:last-child td { border-bottom: none; }

/* ── Status dots ── */
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.dot-ok      { background: var(--success); }
.dot-warn    { background: var(--warning); }
.dot-pending { background: var(--muted); }

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--card-border);
  padding: 32px 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); text-decoration: none; }

/* ── Responsive ── */
@media (max-width: 640px) {
  .tools-grid { grid-template-columns: 1fr; }
  .data-table thead { display: none; }
  .data-table td { display: block; padding: 6px 14px; }
  .hero h1 { font-size: 32px; }
}
