/* REDTEAMLAB website — dark theme matching the CISO deck design system */

:root {
  --bg: #0B0E14;
  --bg-alt: #10141C;
  --card: #16202F;
  --border: #233047;
  --accent: #38BDF8;
  --accent-dim: rgba(56, 189, 248, 0.12);
  --text: #E2E8F0;
  --muted: #94A3B8;
  --white: #FFFFFF;
}

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

body {
  font-family: "Segoe UI", Calibri, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- header / nav ---------- */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 14, 20, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

nav {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.brand {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--white);
  text-decoration: none;
}

.brand:hover { text-decoration: none; }

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); text-decoration: none; }

.nav-links a.cta {
  color: var(--accent);
  font-weight: 600;
  border: 1px solid var(--accent);
  padding: 6px 16px;
  border-radius: 6px;
}

.nav-links a.cta:hover { background: var(--accent-dim); }

/* ---------- kicker + headings ---------- */

.kicker {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
}

h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

/* ---------- hero ---------- */

.hero {
  padding: 100px 24px 80px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(56, 189, 248, 0.06) 0%, transparent 60%);
}

.hero-inner { max-width: 760px; margin: 0 auto; }

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 32px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.btn:hover { text-decoration: none; }

.btn-accent {
  background: var(--accent);
  color: #06121D;
}

.btn-accent:hover { background: #56CCF9; }

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover { border-color: var(--accent); }

.btn-large { padding: 16px 36px; font-size: 17px; }

/* ---------- sections ---------- */

.section { padding: 72px 24px; }
.section-alt { background: var(--bg-alt); }
.section-inner { max-width: 960px; margin: 0 auto; }

/* ---------- stat cards (hero/why) ---------- */

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  text-align: center;
}

.stat {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- band (what changed) ---------- */

.band {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 24px;
}

.band-lead {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.band-list {
  list-style: none;
}

.band-list li {
  padding: 6px 0;
  font-size: 15px;
}

.band-list li::before {
  content: "—  ";
  color: var(--accent);
  font-weight: 700;
}

.closing-line {
  font-size: 18px;
  color: var(--muted);
  text-align: center;
  margin-top: 16px;
}

.closing-line strong { color: var(--white); }
.closing-line.accent { color: var(--accent); font-weight: 600; }

/* ---------- feature grid (what we do) ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
}

.feature-card p {
  font-size: 14px;
  color: var(--muted);
}

.feature-card em { color: var(--text); font-style: normal; font-weight: 600; }

/* ---------- steps (how it works) ---------- */

.step-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- contact ---------- */

.contact-copy {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 24px;
  text-align: center;
}

.contact-cta { text-align: center; }

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--white);
}

.footer-tag {
  font-size: 13px;
  color: var(--muted);
}

.footer-copy {
  font-size: 12px;
  color: var(--muted);
}

/* ---------- demo page ---------- */

.demo-page main { padding-bottom: 48px; }

.demo-main {
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 24px;
}

.demo-header { text-align: center; margin-bottom: 32px; }

.demo-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto;
}

.player-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 32px;
}

.stream-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.demo-notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.note-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}

.note-card ul {
  list-style: none;
}

.note-card li {
  padding: 6px 0;
  font-size: 14px;
  color: var(--muted);
}

.note-card li::before {
  content: "·  ";
  color: var(--accent);
  font-weight: 700;
}

.note-card strong { color: var(--text); }

.demo-footer-note {
  text-align: center;
  padding: 16px;
  border-top: 1px solid var(--border);
}

.demo-footer-note p {
  font-size: 12px;
  color: var(--muted);
}

/* ---------- responsive ---------- */

@media (max-width: 640px) {
  nav { flex-direction: column; gap: 12px; }
  .nav-links { flex-wrap: wrap; justify-content: center; }
  .hero { padding-top: 60px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .stat { font-size: 28px; }
}
