/* ═══════════════════════════════════════════════════════════════════════
   BrkrOps — Shared Design System
   Dark theme · Barlow Condensed · Gold accents
   ═══════════════════════════════════════════════════════════════════════ */

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

:root {
  --gold:       #F5A800;
  --gold-dim:   #C48400;
  --gold-glow:  rgba(245,168,0,0.18);
  --bg:         #0a0a0a;
  --bg2:        #111111;
  --bg3:        #161616;
  --border:     rgba(245,168,0,0.18);
  --text:       #e8e8e8;
  --text-dim:   #b0b0b0;   /* was #888 — corrected for WCAG AA on dark bg */
  --radius:     4px;
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  font-weight: 400;            /* was 300 — corrected for legibility */
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

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

/* ── HEADER ─────────────────────────────────────────────────────────── */

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
  background: rgba(10,10,10,0.92);
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(14px);
  gap: 20px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-wordmark {
  height: 36px;
  width: auto;
  flex-shrink: 0;
}

.divider-v {
  width: 1px;
  height: 46px;
  background: var(--border);
  flex-shrink: 0;
}

.site-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--gold);           /* was gold-dim — corrected for brand clarity */
  text-transform: uppercase;
  line-height: 1;
}

/* ── NAV ────────────────────────────────────────────────────────────── */

nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

nav a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 6px 12px;
  border-radius: 2px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

nav a:hover { color: var(--gold); }

nav a.active {
  color: var(--gold);
  background: var(--gold-glow);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 7px 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transition: all 0.2s;
}

/* ── MAIN ────────────────────────────────────────────────────────────── */

main {
  flex: 1;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 48px 80px;
}

/* ── PAGE WATERMARK ─────────────────────────────────────────────────── */

.page-watermark {
  position: fixed;
  right: -20px;
  top: 120px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 180px;
  font-weight: 800;
  color: rgba(245,168,0,0.03);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.02em;
  z-index: 0;
  white-space: nowrap;
}

/* ── HERO ────────────────────────────────────────────────────────────── */

.hero {
  padding: 64px 0 48px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
  color: #fff;
  margin-bottom: 24px;
}

.hero h1 em {
  color: var(--gold);
  font-style: normal;
}

.hero-lead {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 600px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── SECTION LABEL ──────────────────────────────────────────────────── */

.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  margin-top: 64px;
}

.section-label .line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.section-label span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

/* ── BUTTONS ─────────────────────────────────────────────────────────── */

.btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 12px 26px;
  border: 1px solid;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.18s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn svg { width: 14px; height: 14px; fill: currentColor; flex-shrink: 0; }

.btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #111;
}
.btn-primary:hover { background: #ffc200; border-color: #ffc200; }

.btn-secondary {
  background: transparent;
  border-color: rgba(245,168,0,0.45);
  color: var(--gold);
}
.btn-secondary:hover { background: var(--gold-glow); border-color: var(--gold); }

.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.12);
  color: var(--text-dim);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.25); color: var(--text); }

/* ── BADGE ───────────────────────────────────────────────────────────── */

.badge {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  padding: 4px 10px;
  background: var(--gold-glow);
  border: 1px solid rgba(245,168,0,0.35);
  color: var(--gold);
  border-radius: 2px;
  text-transform: uppercase;
  display: inline-block;
}

.badge-green {
  background: rgba(52,200,100,0.1);
  border-color: rgba(52,200,100,0.3);
  color: #34c864;
}

.badge-blue {
  background: rgba(80,160,255,0.1);
  border-color: rgba(80,160,255,0.3);
  color: #50a0ff;
}

.badge-muted {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  color: var(--text-dim);
}

/* ── CARDS ───────────────────────────────────────────────────────────── */

.card-grid {
  display: grid;
  gap: 16px;
}

.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), background var(--transition),
              transform 0.15s;
}

.card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1);
}

.card:hover {
  border-color: rgba(245,168,0,0.45);
  background: #131313;
  transform: translateY(-2px);
}
.card:hover::before { transform: scaleY(1); }

.card-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: border-color var(--transition), background var(--transition);
}

.card:hover .card-icon {
  border-color: rgba(245,168,0,0.45);
  background: var(--gold-glow);
}

.card-icon svg { width: 18px; height: 18px; fill: var(--gold); }

.card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.2;
}

.card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-dim);
}

.card-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

/* Feature list inside cards */
.card ul {
  list-style: none;
  margin-top: 12px;
}
.card ul li {
  font-size: 13px;
  color: var(--text-dim);
  padding: 4px 0;
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}
.card ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ── FILE PANEL ─────────────────────────────────────────────────────── */

.file-panel {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}

.file-panel-header {
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ph-left { display: flex; align-items: center; gap: 12px; }

.ph-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #ddd;
  text-transform: uppercase;
}

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

.file-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(245,168,0,0.07);
  transition: background 0.15s;
}

.file-item:last-child { border-bottom: none; }
.file-item:hover { background: rgba(245,168,0,0.05); }

.file-ext {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  background: var(--gold-glow);
  border: 1px solid rgba(245,168,0,0.25);
  padding: 2px 7px;
  border-radius: 2px;
  flex-shrink: 0;
}

.file-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  color: #ccc;
  flex: 1;
  letter-spacing: 0.03em;
}

.file-meta {
  font-size: 12px;
  color: var(--text-dim);
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.06em;
  text-align: right;
}

/* ── CODE BLOCKS ────────────────────────────────────────────────────── */

.code-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
}

.code-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1);
}

.code-card:hover::before { transform: scaleY(1); }

.code-card-header {
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.code-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}

.code-card-desc {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-top: 2px;
}

.copy-btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 14px;
  background: transparent;
  border: 1px solid rgba(245,168,0,0.35);
  color: var(--gold);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.18s;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.copy-btn:hover { background: var(--gold-glow); border-color: var(--gold); }
.copy-btn.copied { color: #34c864; border-color: rgba(52,200,100,0.4); }
.copy-btn svg { width: 12px; height: 12px; fill: currentColor; }

.code-body {
  padding: 20px 24px;
  overflow-x: auto;
}

.code-body pre {
  font-family: 'Cascadia Code', 'Fira Code', 'JetBrains Mono', 'Consolas', monospace;
  font-size: 13px;
  line-height: 1.7;
  color: #d4d4d4;
  white-space: pre;
  tab-size: 2;
}

/* PowerShell syntax hint colors */
.code-body pre .kw  { color: #569cd6; }   /* keyword  */
.code-body pre .cm  { color: #6a9955; }   /* comment  */
.code-body pre .st  { color: #ce9178; }   /* string   */
.code-body pre .fn  { color: #dcdcaa; }   /* function */
.code-body pre .nu  { color: #b5cea8; }   /* number   */
.code-body pre .op  { color: #d4d4d4; }   /* operator */
.code-body pre .va  { color: #9cdcfe; }   /* variable */

/* ── TOOL CARD (Non-Geek Tools) ─────────────────────────────────────── */

.tool-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
  transition: border-color var(--transition);
}

.tool-card:hover { border-color: rgba(245,168,0,0.35); }

.tool-card-header {
  padding: 20px 24px 16px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.tool-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--bg3);
}

.tool-icon svg { width: 20px; height: 20px; fill: var(--gold); }

.tool-info h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.tool-info p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
}

.tool-body {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  background: var(--bg3);
}

/* ── PRICING CARDS ──────────────────────────────────────────────────── */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.price-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform 0.15s;
}

.price-card.featured {
  border-color: rgba(245,168,0,0.5);
  background: #121212;
}

.price-card.featured::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
}

.price-card:hover { transform: translateY(-3px); }

.price-tier {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.price-amount {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}

.price-amount sup {
  font-size: 22px;
  vertical-align: top;
  margin-top: 8px;
  color: var(--text-dim);
}

.price-amount sub {
  font-size: 14px;
  vertical-align: baseline;
  color: var(--text-dim);
  font-weight: 400;
}

.price-desc {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 28px;
  line-height: 1.5;
}

.price-features {
  list-style: none;
  margin-bottom: 32px;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(245,168,0,0.07);
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.4;
}

.price-features li:last-child { border-bottom: none; }

.price-features li .check {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  fill: var(--gold);
}

/* ── FORM ─────────────────────────────────────────────────────────────── */

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: var(--bg2);
  border: 1px solid rgba(245,168,0,0.2);
  border-radius: 2px;
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  font-weight: 400;
  padding: 12px 16px;
  transition: border-color var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus { border-color: var(--gold); }

.form-input::placeholder,
.form-textarea::placeholder { color: rgba(180,180,180,0.35); }

.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23F5A800' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
}

.form-select option { background: var(--bg2); }

/* ── SPEC TABLE ─────────────────────────────────────────────────────── */

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.spec-table th {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 10px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  background: var(--bg3);
}

.spec-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(245,168,0,0.07);
  color: var(--text-dim);
  vertical-align: top;
  line-height: 1.5;
}

.spec-table td:first-child {
  color: var(--text);
  font-weight: 500;
  width: 38%;
}

.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:hover td { background: rgba(245,168,0,0.03); }

/* ── FOOTER ──────────────────────────────────────────────────────────── */

footer {
  border-top: 1px solid var(--border);
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.f-left {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.f-left a {
  color: var(--text-dim);
  transition: color var(--transition);
}
.f-left a:hover { color: var(--gold); }

.f-right {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245,168,0,0.3);
}

/* ── STAT / INFO STRIP ──────────────────────────────────────────────── */

.stat-strip {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}

.stat-item {
  flex: 1;
  padding: 20px 24px;
  border-right: 1px solid var(--border);
  background: var(--bg2);
}

.stat-item:last-child { border-right: none; }

.stat-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ── NOTICE / CALLOUT ───────────────────────────────────────────────── */

.notice {
  border: 1px solid rgba(245,168,0,0.3);
  background: rgba(245,168,0,0.06);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.notice svg { width: 16px; height: 16px; fill: var(--gold); flex-shrink: 0; margin-top: 1px; }
.notice strong { color: var(--gold); }

/* ── UTILITIES ───────────────────────────────────────────────────────── */

.text-gold   { color: var(--gold); }
.text-dim    { color: var(--text-dim); }
.text-white  { color: #fff; }
.mt-0        { margin-top: 0 !important; }
.mb-8        { margin-bottom: 8px; }
.mb-16       { margin-bottom: 16px; }
.mb-32       { margin-bottom: 32px; }
.mb-48       { margin-bottom: 48px; }

/* ── RESPONSIVE ─────────────────────────────────────────────────────── */

@media (max-width: 960px) {
  header { padding: 16px 24px; }

  nav { display: none; flex-direction: column; width: 100%; }
  nav.open { display: flex; }

  nav a { width: 100%; padding: 10px 0; border-bottom: 1px solid var(--border); }
  nav a:last-child { border-bottom: none; }

  .nav-toggle { display: flex; }

  /* Header becomes 2-row on mobile */
  header { flex-wrap: wrap; }
  nav.open { order: 3; padding-top: 12px; }

  main { padding: 0 24px 60px; }

  .card-grid-2,
  .card-grid-3,
  .card-grid-4 { grid-template-columns: 1fr; }

  .pricing-grid { grid-template-columns: 1fr; }

  .stat-strip { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }

  .page-watermark { font-size: 90px; }

  .logo-wordmark { height: 28px; }

  .hero { padding: 40px 0 32px; }
  .hero h1 { font-size: clamp(32px, 8vw, 56px); }

  footer { padding: 24px; flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 600px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .code-body { padding: 16px; }
  .code-body pre { font-size: 12px; }
  main { padding: 0 16px 48px; }
}
