/* FEINTOR — feintor.com | Brand Guidelines v1.0 | Dark mode first */

:root {
  --black: #0b0b0b;
  --white: #f5f5f5;
  --red: #e11d2e;
  --gray-dark: #222222;
  --gray-light: #8a8a8a;
  --surface: #131313;
  --surface-2: #181818;
  --border: #232323;
  --font-heading: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-code: "JetBrains Mono", ui-monospace, monospace;
  --radius-card: 14px;
  --radius-button: 8px;
  --maxw: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 11, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-word {
  font-family: var(--font-heading);
  font-weight: 700; font-size: 1.15rem;
  letter-spacing: 0.28em;
}
.brand-word .o { color: var(--red); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 0.92rem; color: var(--gray-light);
  transition: color 0.18s ease;
}
.nav a:hover, .nav a.active { color: var(--white); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--border);
  border-radius: var(--radius-button); color: var(--white);
  width: 40px; height: 40px; font-size: 1.1rem; cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--font-body); font-weight: 500;
  font-size: 0.95rem; padding: 12px 26px; border-radius: var(--radius-button);
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #c81726; }
.btn-secondary { background: transparent; color: var(--white); border-color: rgba(245,245,245,0.45); }
.btn-secondary:hover { border-color: var(--white); }
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 120px 0 100px;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(225,29,46,0.6), transparent);
}
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-inner { max-width: 780px; }
.eyebrow {
  font-family: var(--font-code); font-size: 0.78rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--red);
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); margin-bottom: 22px; }
.hero .sub {
  font-size: 1.15rem; color: var(--gray-light);
  max-width: 620px; margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.tagline {
  margin-top: 56px; font-family: var(--font-heading);
  font-size: 0.95rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gray-light);
}
.tagline b { color: var(--white); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 10px 0 16px; }
.section-head p { color: var(--gray-light); font-size: 1.05rem; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: #3a3a3a; transform: translateY(-2px); }
.card h3 { font-size: 1.12rem; margin: 16px 0 10px; }
.card p { color: var(--gray-light); font-size: 0.94rem; }
.card .icon { color: var(--red); }
.card .icon svg { width: 26px; height: 26px; }

.link-more { color: var(--red); font-size: 0.9rem; font-weight: 500; }
.link-more:hover { text-decoration: underline; }

/* Steps / methodology */
.step-num {
  font-family: var(--font-code); font-size: 0.8rem; color: var(--red);
  letter-spacing: 0.15em;
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { border-left: 2px solid var(--red); padding-left: 20px; }
.stat .num { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; }
.stat .label { color: var(--gray-light); font-size: 0.9rem; }

/* Pill list */
.pills { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 18px; font-size: 0.9rem; color: var(--gray-light);
  transition: border-color 0.18s ease, color 0.18s ease;
}
.pill:hover { border-color: var(--red); color: var(--white); }

/* CTA band */
.cta-band {
  border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 64px 48px; text-align: center;
  background:
    radial-gradient(600px 200px at 50% 120%, rgba(225,29,46,0.12), transparent),
    var(--surface-2);
}
.cta-band h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 14px; }
.cta-band p { color: var(--gray-light); margin-bottom: 30px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 88px 0 56px; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); margin: 10px 0 18px; }
.page-hero p { color: var(--gray-light); font-size: 1.1rem; max-width: 640px; }

/* Prose (legal etc.) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--gray-light); margin-bottom: 12px; }
.prose ul { padding-left: 22px; }

/* ---------- Forms ---------- */
.form { max-width: 640px; display: grid; gap: 18px; }
.form label { font-size: 0.88rem; font-weight: 500; display: grid; gap: 8px; }
.form input, .form select, .form textarea {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-button); color: var(--white);
  padding: 12px 14px; font-family: var(--font-body); font-size: 0.95rem;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--red);
}
.form-note { font-size: 0.85rem; color: var(--gray-light); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 72px 0 40px; background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 48px; }
.footer-brand p { color: var(--gray-light); font-size: 0.9rem; margin-top: 16px; max-width: 280px; }
.footer-col h4 { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--gray-light); font-size: 0.9rem; margin-bottom: 10px; transition: color 0.18s ease; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 28px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--gray-light); font-size: 0.85rem;
}
.footer-tagline { font-family: var(--font-code); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; }
.footer-tagline .dot { color: var(--red); }

/* ---------- Split (text + visual) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split .eyebrow { margin-bottom: 12px; }
.split h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 16px; }
.split p { color: var(--gray-light); }
.split ul.checks { list-style: none; margin-top: 20px; display: grid; gap: 12px; }
.split ul.checks li { color: var(--gray-light); padding-left: 26px; position: relative; }
.split ul.checks li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 7px;
  border-left: 2px solid var(--red); border-bottom: 2px solid var(--red);
  transform: rotate(-45deg);
}
.viz-card {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 20px; overflow: hidden;
}
.viz-card svg { width: 100%; height: auto; display: block; }
.viz-caption { font-family: var(--font-code); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-light); margin-top: 14px; text-align: center; }

/* ---------- Kill chain / lifecycle ---------- */
.killchain { display: flex; gap: 0; margin-top: 8px; overflow-x: auto; padding-bottom: 8px; }
.kc-step { flex: 1; min-width: 110px; position: relative; padding: 22px 10px 0 0; }
.kc-step::before {
  content: ""; position: absolute; top: 5px; left: 0; right: 0; height: 2px;
  background: var(--border);
}
.kc-step::after {
  content: ""; position: absolute; top: 0; left: 0; width: 12px; height: 12px;
  border-radius: 50%; background: var(--black); border: 2px solid var(--red);
}
.kc-step:last-child::before { right: auto; width: 100%; }
.kc-step h4 { font-size: 0.92rem; margin-bottom: 6px; }
.kc-step p { font-size: 0.8rem; color: var(--gray-light); line-height: 1.5; padding-right: 8px; }

/* ---------- Timeline (methodology / hiring) ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.timeline::before {
  content: ""; position: absolute; top: 21px; left: 4%; right: 4%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 12%, var(--border) 88%, transparent);
}
.t-step { position: relative; padding-top: 58px; }
.t-num {
  position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-code); font-size: 0.82rem; color: var(--red);
}
.t-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.t-step p { color: var(--gray-light); font-size: 0.92rem; }

/* ---------- Badges (certs) ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  font-family: var(--font-code); font-size: 0.78rem; letter-spacing: 0.08em;
  color: var(--white); border: 1px solid var(--border); border-radius: 6px;
  padding: 8px 16px; background: var(--surface-2);
}
.badge .dot { color: var(--red); }

/* ---------- Compare table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-card); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--surface-2); }
table.compare th, table.compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
table.compare th { font-family: var(--font-heading); font-size: 0.95rem; color: var(--white); background: var(--surface); }
table.compare td { color: var(--gray-light); }
table.compare td:first-child { color: var(--white); font-weight: 500; }
table.compare tr:last-child td { border-bottom: none; }
table.compare .hl { color: var(--red); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--border); border-radius: var(--radius-button);
  background: var(--surface-2); padding: 0 22px;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 0;
  font-family: var(--font-heading); font-weight: 600; font-size: 1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.3rem; font-weight: 400; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--gray-light); font-size: 0.94rem; padding-bottom: 18px; }

/* ---------- Threat chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip {
  font-family: var(--font-code); font-size: 0.7rem; letter-spacing: 0.06em;
  color: var(--gray-light); border: 1px solid var(--border); border-radius: 5px;
  padding: 4px 10px;
}

/* ---------- Insight cards ---------- */
.insight-meta { font-family: var(--font-code); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }

/* ---------- Outcome stats ---------- */
.outcomes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.outcome { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 26px; }
.outcome .num { font-family: var(--font-heading); font-size: 1.9rem; font-weight: 700; }
.outcome .num small { font-size: 1rem; color: var(--red); }
.outcome .label { color: var(--gray-light); font-size: 0.88rem; margin-top: 6px; }

/* ---------- Hero certs strip ---------- */
.hero-certs { margin-top: 28px; font-family: var(--font-code); font-size: 0.74rem; letter-spacing: 0.16em; color: var(--gray-light); }
.hero-certs .sep { color: var(--red); margin: 0 8px; }

/* ---------- Reveal animation (minimal) ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--black); border-bottom: 1px solid var(--border);
    padding: 12px 24px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; }
  .nav .btn { margin: 12px 0; align-self: flex-start; }
  .nav-toggle { display: block; }
}
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats, .outcomes { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .timeline { grid-template-columns: repeat(2, 1fr) !important; }
  .timeline::before { display: none; }
}
@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 80px 0 70px; }
  .section { padding: 64px 0; }
  .cta-band { padding: 48px 24px; }
  .stats, .outcomes { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr !important; }
  .brand-word { letter-spacing: 0.18em; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
