/* Bastionize marketing site — shared styles. Dark, modern, security-SaaS. */
:root {
  --ink-900: #0b1220;
  --ink-800: #0f172a;
  --ink-700: #16213b;
  --border: #24304d;
  --primary: #3b82f6;
  --primary-strong: #2563eb;
  --accent: #38bdf8;
  --success: #22c55e;
  --text: #e6ecf7;
  --muted: #8ea0c0;
  --grad: linear-gradient(120deg, #38bdf8, #3b82f6 55%, #2563eb);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--ink-900);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(11,18,32,0.82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav .container { display: flex; align-items: center; gap: 24px; height: 66px; }
.nav .brand img { height: 30px; display: block; }
.nav .links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav .links a { color: var(--muted); font-size: 15px; }
.nav .links a:hover { color: var(--text); text-decoration: none; }
@media (max-width: 760px) { .nav .links a:not(.btn) { display: none; } }

/* Buttons */
.btn { display: inline-block; padding: 11px 20px; border-radius: 10px; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--grad); color: #06101f; }
.btn-primary:hover { text-decoration: none; filter: brightness(1.06); }
.btn-ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { text-decoration: none; border-color: var(--primary); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 88px 0 64px; border-bottom: 1px solid var(--border); }
.hero::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(600px 300px at 80% -10%, rgba(56,189,248,0.16), transparent),
  radial-gradient(500px 300px at 0% 10%, rgba(37,99,235,0.16), transparent); pointer-events: none; }
.hero .container { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 880px) { .hero .container { grid-template-columns: 1fr; } }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); background: rgba(56,189,248,0.1); border: 1px solid var(--border); padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 42ch; }
.hero .cta { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.hero .note { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* Scan card visual */
.scan-card { background: var(--ink-800); border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.7); }
.scan-card .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.grade { width: 66px; height: 66px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 800; color: #06101f; background: var(--success); }
.scan-card .target { font-weight: 700; }
.scan-card .sub { color: var(--muted); font-size: 13px; }
.findings { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.f { display: flex; align-items: center; gap: 10px; background: var(--ink-700); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; font-size: 13px; }
.pill { font-size: 10px; font-weight: 700; text-transform: uppercase; padding: 2px 7px; border-radius: 4px; color: #fff; }
.pill.high { background: #b91c1c; } .pill.med { background: #c2410c; } .pill.low { background: #a16207; } .pill.info { background: #334155; }
.owasp-tag { margin-left: auto; font-size: 10px; color: var(--muted); border: 1px solid var(--border); padding: 1px 6px; border-radius: 4px; }

/* Sections */
section { padding: 72px 0; }
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--muted); font-size: 17px; }

/* Feature grid */
.grid { display: grid; gap: 20px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; } }
.card { background: var(--ink-800); border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.card .ic { width: 40px; height: 40px; border-radius: 10px; background: rgba(59,130,246,0.14); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }

/* Steps */
.steps { counter-reset: step; }
.steps .card { position: relative; }
.steps .card::before { counter-increment: step; content: counter(step); position: absolute; top: -14px; left: 22px; width: 28px; height: 28px; border-radius: 50%; background: var(--grad); color: #06101f; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 14px; }

/* Banner / CTA */
.banner { background: linear-gradient(120deg, rgba(56,189,248,0.1), rgba(37,99,235,0.12)); border: 1px solid var(--border); border-radius: 18px; padding: 44px; text-align: center; }
.split { background: var(--ink-800); border: 1px solid var(--border); }

/* OWASP list */
.owasp-cols { columns: 2; column-gap: 28px; max-width: 720px; margin: 0 auto; }
@media (max-width: 640px) { .owasp-cols { columns: 1; } }
.owasp-cols li { break-inside: avoid; margin: 8px 0; list-style: none; display: flex; gap: 10px; align-items: baseline; }
.owasp-cols .id { font-weight: 700; color: var(--accent); min-width: 34px; }

/* Pricing */
.price { font-size: 40px; font-weight: 800; }
.price small { font-size: 15px; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 0; }
.plan li { padding: 7px 0; border-top: 1px solid var(--border); font-size: 15px; color: var(--muted); }
.plan li::before { content: '✓ '; color: var(--success); font-weight: 700; }
.plan.featured { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary) inset; }

/* Legal / doc pages */
.doc { max-width: 800px; margin: 0 auto; padding: 56px 0; }
.doc h1 { font-size: 34px; }
.doc h2 { font-size: 22px; margin-top: 1.6em; }
.doc h3 { margin-top: 1.2em; }
.doc p, .doc li { color: #cdd7ec; }
.doc a { color: var(--accent); }
.doc .updated { color: var(--muted); font-size: 14px; }
.notice { background: rgba(234,179,8,0.08); border: 1px solid #a16207; color: #fde68a; border-radius: 10px; padding: 12px 16px; font-size: 14px; margin: 18px 0; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 48px 0 36px; background: var(--ink-800); }
.footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .footer .cols { grid-template-columns: 1fr 1fr; } }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 0 0 12px; }
.footer a { display: block; color: var(--muted); font-size: 14px; padding: 4px 0; }
.footer a:hover { color: var(--text); text-decoration: none; }
.footer .logo img { height: 28px; }
.footer .legal { margin-top: 28px; border-top: 1px solid var(--border); padding-top: 18px; color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
