/* BraimSec site v2 — premium dark security theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
  --bg: #070b12;
  --bg2: #0b111c;
  --card: #0e1522;
  --border: #1c2637;
  --text: #eaf0f8;
  --muted: #93a1b5;
  --accent: #3fb950;
  --cyan: #22d3ee;
  --warn: #d29922;
  --red: #f47067;
  --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(63,185,80,.35); }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
code, .mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

/* ---------- nav ---------- */
nav {
  border-bottom: 1px solid var(--border);
  background: rgba(7,11,18,.82);
  backdrop-filter: blur(14px);
  position: sticky; top: 0; z-index: 50;
}
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--text); letter-spacing: .3px; }
.brand span { color: var(--accent); }
.brand:hover { text-decoration: none; }
nav ul { display: flex; gap: 26px; list-style: none; align-items: center; }
nav ul a { color: var(--muted); font-size: 15px; font-weight: 500; }
nav ul a:hover { color: var(--text); text-decoration: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), #2ea043);
  color: #04120a !important;
  font-weight: 700; padding: 12px 26px; border-radius: 10px;
  border: none; cursor: pointer; font-size: 15px;
  box-shadow: 0 4px 24px rgba(63,185,80,.28);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(63,185,80,.38); text-decoration: none; }
.btn-ghost {
  background: rgba(255,255,255,.03); color: var(--text) !important;
  border: 1px solid var(--border); box-shadow: none;
}
.btn-ghost:hover { border-color: var(--cyan); box-shadow: 0 4px 20px rgba(34,211,238,.15); }

/* ---------- hero ---------- */
.hero {
  padding: 110px 0 70px; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 320px at 20% 0%, rgba(63,185,80,.09), transparent 60%),
    radial-gradient(700px 380px at 85% 10%, rgba(34,211,238,.08), transparent 60%);
}
.hero .wrap { position: relative; }
.badge {
  display: inline-block; border: 1px solid rgba(210,153,34,.5); color: var(--warn);
  font-size: 13px; padding: 5px 16px; border-radius: 999px; margin-bottom: 22px; font-weight: 600;
  background: rgba(210,153,34,.07); letter-spacing: .4px;
}
.hero h1 { font-size: 58px; line-height: 1.1; margin-bottom: 22px; letter-spacing: -1.5px; font-weight: 800; }
.grad {
  background: linear-gradient(120deg, var(--accent) 20%, var(--cyan) 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.sub { color: var(--muted); font-size: 19px; max-width: 720px; margin: 0 auto 38px; }
.hero .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- terminal demo ---------- */
.terminal {
  max-width: 760px; margin: 56px auto 0; text-align: left;
  background: #0a0f18; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 24px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(63,185,80,.06), 0 0 60px rgba(63,185,80,.05);
  overflow: hidden;
}
.term-bar { display: flex; gap: 8px; padding: 13px 18px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.02); align-items: center; }
.term-bar i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.term-bar i:nth-child(1) { background: #f47067; } .term-bar i:nth-child(2) { background: #d29922; } .term-bar i:nth-child(3) { background: #3fb950; }
.term-bar span { margin-left: 8px; font-size: 12.5px; color: var(--muted); font-family: 'JetBrains Mono', monospace; }
.term-body { padding: 22px 24px 26px; font-family: 'JetBrains Mono', monospace; font-size: 14px; line-height: 1.9; min-height: 300px; }
.t-cmd { color: var(--text); }
.t-cmd::before { content: "$ "; color: var(--accent); font-weight: 600; }
.t-dim { color: var(--muted); }
.t-ok { color: var(--accent); }
.t-no { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(244,112,103,.6); }
.t-verdict-tp { color: var(--accent); font-weight: 600; }
.t-verdict-fp { color: var(--red); }
.t-hi { color: var(--cyan); }
.cursor { display: inline-block; width: 9px; height: 18px; background: var(--accent); vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.term-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 14px; }

/* ---------- sections ---------- */
section.block { padding: 72px 0; }
section.block h2 { font-size: 34px; margin-bottom: 14px; letter-spacing: -.8px; font-weight: 800; }
section.block p.lead { color: var(--muted); max-width: 760px; margin-bottom: 36px; font-size: 17px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0)), var(--card);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(63,185,80,.4); box-shadow: 0 16px 44px rgba(0,0,0,.4); }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p, .card li { color: var(--muted); font-size: 15px; }
.card ul { list-style: none; margin-top: 14px; }
.card ul li { padding: 6px 0 6px 28px; position: relative; }
.card ul li::before { content: "✓"; color: var(--accent); position: absolute; left: 0; font-weight: 700; }
.icon { font-size: 30px; margin-bottom: 14px; display: block; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: transform .18s ease; }
.step:hover { transform: translateY(-4px); }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #2ea043); color: #04120a; font-weight: 800;
  align-items: center; justify-content: center; margin-bottom: 16px; font-size: 17px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }

.honest {
  border: 1px solid rgba(210,153,34,.4); border-radius: var(--radius);
  background: rgba(210,153,34,.06); padding: 26px 30px; margin-top: 44px;
}
.honest strong { color: var(--warn); }

/* ---------- pricing ---------- */
.toggle { display: flex; gap: 0; justify-content: center; margin: 30px 0 44px; }
.toggle button {
  background: var(--card); color: var(--muted); border: 1px solid var(--border);
  padding: 11px 30px; font-size: 15px; cursor: pointer; font-weight: 600; font-family: inherit;
  transition: all .15s ease;
}
.toggle button:first-child { border-radius: 10px 0 0 10px; }
.toggle button:last-child { border-radius: 0 10px 10px 0; }
.toggle button.on { background: linear-gradient(135deg, var(--accent), #2ea043); color: #04120a; border-color: var(--accent); }
/* nav CTA: short label on mobile */
.btn .short { display: none; }
.price-card { display: flex; flex-direction: column; }
.price-card.pop { border-color: rgba(63,185,80,.55); box-shadow: 0 0 50px rgba(63,185,80,.1); position: relative; }
.price-card .pop-tag {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), #2ea043); color: #04120a;
  font-size: 12px; font-weight: 800; padding: 4px 16px; border-radius: 999px;
  white-space: nowrap; letter-spacing: .5px;
}
.price { font-size: 48px; font-weight: 800; margin: 10px 0 2px; letter-spacing: -1px; }
.price small { font-size: 15px; color: var(--muted); font-weight: 400; }
.per { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 30px; line-height: 1.8; }

/* ---------- legal ---------- */
.legal { max-width: 840px; margin: 0 auto; padding: 64px 24px 90px; }
.legal h1 { font-size: 40px; margin-bottom: 8px; letter-spacing: -1px; font-weight: 800; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 36px; }
.legal h2 { font-size: 23px; margin: 40px 0 14px; font-weight: 700; }
.legal p, .legal li { color: #c2ccd9; margin-bottom: 12px; font-size: 15.5px; }
.legal ul, .legal ol { padding-left: 24px; }
.legal .keybox {
  border-left: 3px solid var(--accent); background: var(--bg2);
  padding: 20px 24px; border-radius: 0 10px 10px 0; margin: 26px 0;
  border-top: 1px solid var(--border); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.legal .keybox p { margin: 0; color: var(--text); }

/* ---------- faq ---------- */
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 20px 24px; margin-bottom: 12px; transition: border-color .15s ease; }
.faq details:hover { border-color: rgba(34,211,238,.35); }
.faq summary { font-weight: 700; cursor: pointer; font-size: 16px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+ "; color: var(--accent); font-weight: 800; }
.faq details[open] summary::before { content: "− "; }
.faq details p { color: var(--muted); margin-top: 12px; font-size: 15px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--border); margin-top: 48px; padding: 44px 0; background: var(--bg2); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; align-items: center; }
footer p, footer a { color: var(--muted); font-size: 14px; }
footer .links { display: flex; gap: 22px; }
footer .links a:hover { color: var(--text); }

/* ---------- entrance ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .7s ease both; }
.rise-1 { animation-delay: .08s; } .rise-2 { animation-delay: .16s; } .rise-3 { animation-delay: .24s; }

@media (max-width: 860px) {
  .grid3, .grid2, .steps { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 48px; }
  .hero h1 { font-size: 38px; }
  nav ul { gap: 10px; }
  nav ul li:nth-child(1), nav ul li:nth-child(2) { display: none; }
  nav .btn { padding: 9px 16px; font-size: 13px; white-space: nowrap; box-shadow: none; }
  nav .btn .full { display: none; }
  nav .btn .short { display: inline; }
  .brand { font-size: 18px; }
  .term-body { font-size: 12.5px; }
}
