/* ============================================================
   AI for Entrepreneurs & Freelancers — ARU Module
   The AI Guys · theaiguys.co.uk
   Shared Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&family=Open+Sans:wght@400;600&display=swap');

:root {
  --bg-primary:   #001528;
  --bg-card:      #0d2137;
  --bg-card-hover:#112840;
  --accent-blue:  #0078D7;
  --accent-orange:#F7630C;
  --text-primary: #FFFFFF;
  --text-secondary:#A8C4D8;
  --border:       rgba(0, 120, 215, 0.2);
  --border-hover: rgba(0, 120, 215, 0.45);
  --table-header: #0078D7;
  --table-alt:    rgba(0, 120, 215, 0.08);
  --shadow-blue:  0 8px 30px rgba(0,120,215,0.14);
  --shadow-orange:0 8px 30px rgba(247,99,12,0.14);
  --topnav-h:     54px;
  --subnav-h:     48px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.7;
}

h1, h2, h3, h4 { font-family: 'Roboto', sans-serif; }
a { color: var(--accent-blue); text-decoration: none; }
a:hover { color: var(--accent-orange); }
p { margin-bottom: 0.8rem; }
p:last-child { margin-bottom: 0; }

/* ── TOP NAV (site-wide) ─────────────────────────────────── */
.topnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--topnav-h);
  z-index: 200;
  background: rgba(0,10,22,0.97);
  backdrop-filter: blur(14px);
  border-bottom: 2px solid var(--accent-orange);
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  gap: 0;
}
.topnav-brand {
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-blue);
  white-space: nowrap;
  margin-right: 1.5rem;
  flex-shrink: 0;
  text-decoration: none;
}
.topnav-brand span { color: var(--accent-orange); }
.topnav-links {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}
.topnav-links::-webkit-scrollbar { display: none; }
.topnav-links a {
  font-family: 'Roboto', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  padding: 0 1rem;
  height: var(--topnav-h);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
  text-decoration: none;
}
.topnav-links a:hover { color: var(--text-primary); border-bottom-color: var(--accent-blue); }
.topnav-links a.active { color: var(--accent-orange); border-bottom-color: var(--accent-orange); }

/* ── SUB NAV (in-page sections) ─────────────────────────── */
.subnav {
  position: sticky;
  top: var(--topnav-h);
  z-index: 100;
  height: var(--subnav-h);
  background: rgba(0, 21, 40, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,120,215,0.25);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav::-webkit-scrollbar { display: none; }
.subnav a {
  font-family: 'Roboto', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0 0.85rem;
  height: var(--subnav-h);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.subnav a:hover, .subnav a.active {
  color: var(--text-primary);
  border-bottom-color: var(--accent-blue);
}

/* ── HEADER ──────────────────────────────────────────────── */
header {
  background: linear-gradient(135deg, #001528 0%, #0d2137 60%, #001528 100%);
  border-bottom: 3px solid var(--accent-orange);
  padding: calc(var(--topnav-h) + 3rem) 2rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
header::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(0,120,215,0.1) 0%, transparent 70%);
  pointer-events: none;
}
header::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(247,99,12,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.header-eyebrow {
  font-family: 'Roboto', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 0.75rem;
}
header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.header-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}
.header-meta {
  font-size: 0.85rem;
  color: rgba(168,196,216,0.65);
}
.header-tags {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}
.tag {
  background: rgba(0,120,215,0.15);
  border: 1px solid rgba(0,120,215,0.3);
  color: var(--text-secondary);
  padding: 0.22rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: 'Roboto', sans-serif;
}
.tag.orange {
  background: rgba(247,99,12,0.12);
  border-color: rgba(247,99,12,0.3);
  color: #ffb085;
}

/* ── MAIN ────────────────────────────────────────────────── */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
}

section {
  margin-bottom: 3.5rem;
  scroll-margin-top: calc(var(--topnav-h) + var(--subnav-h) + 12px);
}

/* ── SECTION HEADER ──────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
}
.section-number {
  background: var(--accent-blue);
  color: white;
  font-family: 'Roboto', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.section-number.orange { background: var(--accent-orange); }
.section-header h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--accent-blue);
}

.section-intro {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  max-width: 72ch;
  font-size: 0.95rem;
}

/* ── SECTION CARDS (wrapper style) ──────────────────────── */
.section-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.75rem;
  border-left: 4px solid var(--accent-blue);
  transition: transform 0.2s, box-shadow 0.2s;
}
.section-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}
.section-card.orange-accent,
.section-card.orange { border-left-color: var(--accent-orange); }
.section-card h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-blue);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.section-card h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-orange);
  margin: 1.2rem 0 0.6rem;
}
.section-num {
  background: var(--accent-blue);
  color: white;
  border-radius: 50%;
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  flex-shrink: 0;
}
.section-num.orange, .section-num-orange { background: var(--accent-orange); }

/* ── CARDS ───────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.6rem 2rem;
  margin-bottom: 1.1rem;
  border-left: 4px solid var(--accent-blue);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}
.card.orange { border-left-color: var(--accent-orange); }
.card h3 {
  font-size: 1rem;
  color: var(--accent-blue);
  margin-bottom: 0.45rem;
}
.card.orange h3 { color: var(--accent-orange); }
.card p { color: var(--text-secondary); font-size: 0.92rem; }

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

/* ── CALLOUT ─────────────────────────────────────────────── */
.callout {
  background: rgba(247,99,12,0.07);
  border: 1px solid rgba(247,99,12,0.28);
  border-left: 4px solid var(--accent-orange);
  border-radius: 8px;
  padding: 1.15rem 1.4rem;
  margin: 1.4rem 0;
}
.callout.blue {
  background: rgba(0,120,215,0.07);
  border-color: rgba(0,120,215,0.28);
  border-left-color: var(--accent-blue);
}
.callout-label {
  font-family: 'Roboto', sans-serif;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 0.45rem;
}
.callout.blue .callout-label { color: var(--accent-blue); }
.callout p, .callout-body {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin: 0;
}

/* ── TABLES ──────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; margin: 1rem 0 1.4rem; border-radius: 10px; }
table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
  min-width: 480px;
}
thead tr { background: var(--table-header); }
th {
  padding: 0.8rem 1rem;
  text-align: left;
  font-family: 'Roboto', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
td {
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
tbody tr:nth-child(even) { background: var(--table-alt); }
tbody tr:hover { background: rgba(0,120,215,0.1); }
td strong { color: var(--text-primary); }
td a { color: var(--accent-blue); }
td a:hover { color: var(--accent-orange); }
td code {
  background: rgba(0,0,0,0.3);
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  font-size: 0.82rem;
  color: #e8f4ff;
}

/* ── PROMPT BLOCKS ───────────────────────────────────────── */
.prompt-block {
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--accent-orange);
  border-radius: 8px;
  padding: 1.2rem 3.5rem 1.2rem 1.2rem;
  margin: 1rem 0;
  position: relative;
}
.prompt-label {
  font-family: 'Roboto', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 0.55rem;
}
.prompt-text {
  font-family: 'Courier New', monospace;
  font-size: 0.86rem;
  color: #e8f4ff;
  line-height: 1.65;
  white-space: pre-wrap;
  margin: 0;
}
.copy-btn {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  background: var(--accent-orange);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 0.28rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  font-family: 'Roboto', sans-serif;
  white-space: nowrap;
}
.copy-btn:hover { background: #d9520a; transform: scale(1.05); }
.copy-btn.copied { background: var(--accent-blue); }

/* ── TOOL CARDS ──────────────────────────────────────────── */
.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.3rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.tool-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}
.tool-name {
  font-family: 'Roboto', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}
.tool-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.13rem 0.5rem;
  border-radius: 3px;
  background: rgba(0,120,215,0.18);
  color: var(--accent-blue);
  margin-bottom: 0.65rem;
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tool-tag.orange-tag {
  background: rgba(247,99,12,0.15);
  color: var(--accent-orange);
}
.tool-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}
.tool-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.2s;
}
.tool-link:hover { color: var(--accent-orange); }
.tool-link::after { content: ' →'; }

/* ── TOOL BADGE (table variant) ──────────────────────────── */
.tool-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.13rem 0.5rem;
  border-radius: 3px;
  font-family: 'Roboto', sans-serif;
}
.badge-free { background: rgba(0,120,215,0.18); color: var(--accent-blue); }
.badge-paid { background: rgba(247,99,12,0.15); color: #ffb085; }

/* ── CASE STUDY CARDS ────────────────────────────────────── */
.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.2rem;
}
.case-header {
  background: linear-gradient(90deg, var(--accent-blue), #005da3);
  padding: 0.85rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.case-name {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 0.97rem;
  color: white;
}
.case-stat {
  background: rgba(255,255,255,0.15);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.22rem 0.7rem;
  border-radius: 20px;
  font-family: 'Roboto', sans-serif;
}
.case-body {
  padding: 1.2rem 1.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.2rem;
}
.case-col-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 0.35rem;
  font-family: 'Roboto', sans-serif;
}
.case-col-text { font-size: 0.86rem; color: var(--text-secondary); line-height: 1.6; }

/* ── TAKEAWAY ITEMS ──────────────────────────────────────── */
.takeaway {
  display: flex;
  gap: 1rem;
  padding: 0.95rem 1.2rem;
  background: var(--bg-card);
  border-radius: 8px;
  margin-bottom: 0.7rem;
  border: 1px solid var(--border);
  align-items: flex-start;
  transition: border-color 0.2s;
}
.takeaway:hover { border-color: var(--border-hover); }
.takeaway-icon {
  background: rgba(0,120,215,0.13);
  color: var(--accent-blue);
  font-size: 1rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.takeaway-text { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }
.takeaway-text strong { color: var(--text-primary); }

/* ── DO / DON'T ──────────────────────────────────────────── */
.dos-donts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}
.do-col, .dont-col {
  background: var(--bg-card);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.col-head, .col-label {
  padding: 0.65rem 1rem;
  font-family: 'Roboto', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.do-col .col-head, .do-col .col-label { background: rgba(0,120,215,0.18); color: var(--accent-blue); }
.dont-col .col-head, .dont-col .col-label { background: rgba(247,99,12,0.13); color: var(--accent-orange); }
.col-item {
  display: flex;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  font-size: 0.86rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
  align-items: flex-start;
}
.col-item span { flex-shrink: 0; font-size: 0.75rem; margin-top: 0.15rem; }

/* ── SAFETY ITEMS ────────────────────────────────────────── */
.safety-item {
  display: flex;
  gap: 1rem;
  padding: 0.95rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent-orange);
  border-radius: 8px;
  margin-bottom: 0.7rem;
}
.safety-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 0.1rem; }
.safety-text { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }
.safety-text strong { color: var(--text-primary); }

/* ── CHECKLISTS ──────────────────────────────────────────── */
.checklist-item {
  display: flex;
  gap: 1rem;
  padding: 0.95rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 0.7rem;
  align-items: flex-start;
  cursor: pointer;
  transition: border-color 0.2s;
  user-select: none;
}
.checklist-item:hover { border-color: var(--border-hover); }
.checklist-item.done { opacity: 0.55; }
.check-box {
  width: 22px; height: 22px;
  border: 2px solid var(--accent-orange);
  border-radius: 5px;
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.checklist-item.done .check-box {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
}
.check-tick { font-size: 0.75rem; color: white; display: none; }
.checklist-item.done .check-tick { display: block; }
.check-label { font-size: 0.9rem; color: var(--text-primary); font-weight: 600; margin-bottom: 0.2rem; }
.check-desc { font-size: 0.84rem; color: var(--text-secondary); line-height: 1.55; }

/* UL checklist variant (session 2/3 style) */
ul.checklist { list-style: none; padding: 0; margin: 0.8rem 0; }
ul.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
}
ul.checklist li:last-child { border-bottom: none; }
ul.checklist li .check-box { width: 22px; height: 22px; border: 2px solid var(--accent-orange); border-radius: 4px; flex-shrink: 0; margin-top: 2px; }
ul.checklist li.done { opacity: 0.5; text-decoration: line-through; }
ul.checklist li.done .check-box { background: var(--accent-blue); border-color: var(--accent-blue); }

/* input checkbox style */
ul.checklist input[type="checkbox"] { display: none; }
ul.checklist li span { flex: 1; }

/* ── CONTENT LISTS ───────────────────────────────────────── */
ul.content-list, ul.bullet-list, ul.styled {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
}
ul.content-list li, ul.bullet-list li, ul.styled li {
  padding: 0.4rem 0 0.4rem 1.2rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  position: relative;
  border-bottom: 1px solid var(--border);
}
ul.content-list li:last-child, ul.bullet-list li:last-child, ul.styled li:last-child { border-bottom: none; }
ul.content-list li::before,
ul.bullet-list li::before,
ul.styled li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent-orange);
  font-weight: 700;
}
ul.content-list li strong, ul.bullet-list li strong, ul.styled li strong { color: var(--text-primary); }

/* ── AGENT CARDS ─────────────────────────────────────────── */
.agent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin: 1.2rem 0;
}
.agent-card {
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.2rem;
  transition: border-color 0.2s, transform 0.2s;
}
.agent-card:hover { border-color: var(--accent-blue); transform: translateY(-2px); }
.agent-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent-blue);
  line-height: 1;
  margin-bottom: 0.4rem;
  font-family: 'Roboto', sans-serif;
}
.agent-num.orange { color: var(--accent-orange); }
.agent-card h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.4rem;
  font-family: 'Roboto', sans-serif;
}
.agent-card p { font-size: 0.84rem; color: var(--text-secondary); margin: 0; }
.agent-badge {
  display: inline-block;
  background: rgba(0,120,215,0.15);
  color: var(--accent-blue);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.13rem 0.5rem;
  border-radius: 3px;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'Roboto', sans-serif;
}

/* ── FOUR QUADRANT GRID ──────────────────────────────────── */
.four-q {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1.2rem 0;
}
.q-card {
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
}
.q-icon { font-size: 1.8rem; margin-bottom: 0.5rem; }
.q-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.3rem;
  font-family: 'Roboto', sans-serif;
}
.q-card p { font-size: 0.82rem; color: var(--text-secondary); margin: 0; }

/* ── PIPELINE / AGENT FLOW (session 3) ───────────────────── */
.agent-flow-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.4rem;
  margin-bottom: 0.5rem;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  transition: border-color 0.2s;
}
.agent-flow-card:hover { border-color: var(--border-hover); }
.agent-flow-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent-blue);
  font-family: 'Roboto', sans-serif;
  line-height: 1;
  min-width: 2.5rem;
  flex-shrink: 0;
}
.agent-flow-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  margin-top: 0;
}
.agent-flow-body p { font-size: 0.87rem; color: var(--text-secondary); margin-bottom: 0.5rem; }
.agent-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.4rem;
}
.agent-takes, .agent-gives {
  font-size: 0.78rem;
  color: var(--text-secondary);
  background: rgba(0,0,0,0.2);
  border-radius: 4px;
  padding: 0.2rem 0.6rem;
}
.agent-takes strong, .agent-gives strong { color: var(--text-primary); }
.arrow-connector {
  text-align: center;
  color: var(--accent-orange);
  font-size: 1.4rem;
  margin: 0.1rem 0;
  line-height: 1;
}

/* ── STEP GRID ───────────────────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 0.75rem; margin: 1.2rem 0; }
.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.2rem;
}
.step-num {
  background: var(--accent-blue);
  color: white;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  counter-increment: steps;
}
.steps { counter-reset: steps; }
.step-num::after { content: counter(steps); }
.step-content h4 {
  font-family: 'Roboto', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}
.step-content p { font-size: 0.87rem; color: var(--text-secondary); margin: 0; }

/* ── STEP GRID (session 5 variant) ──────────────────────── */
.step-grid { display: flex; flex-direction: column; gap: 0.75rem; margin: 1.2rem 0; }
.step-item {
  display: flex;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  align-items: flex-start;
}
.step-item .step-num {
  background: var(--accent-blue);
  color: white;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-title {
  font-family: 'Roboto', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}
.step-desc { font-size: 0.87rem; color: var(--text-secondary); }

/* ── TIP BOXES ───────────────────────────────────────────── */
.tip {
  background: rgba(0,120,215,0.07);
  border: 1px solid rgba(0,120,215,0.25);
  border-left: 4px solid var(--accent-blue);
  border-radius: 8px;
  padding: 1rem 1.3rem;
  margin: 1.2rem 0;
}
.tip-label {
  font-family: 'Roboto', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-blue);
  margin-bottom: 0.4rem;
}
.tip p { font-size: 0.88rem; color: var(--text-secondary); margin: 0; }

/* ── EXAMPLE BOX ─────────────────────────────────────────── */
.example-box {
  background: rgba(247,99,12,0.06);
  border: 1px solid rgba(247,99,12,0.2);
  border-radius: 8px;
  padding: 1rem 1.3rem;
  margin: 1.2rem 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.example-label {
  font-family: 'Roboto', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-orange);
  margin-bottom: 0.4rem;
}

/* ── GRID 2 ──────────────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0;
}

/* ── SECTION NUMBER (session 5 style) ────────────────────── */
.section-number-lg {
  font-family: 'Roboto', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-orange);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

/* ── WEEK LABEL ──────────────────────────────────────────── */
.week-label {
  font-family: 'Roboto', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-blue);
  margin: 1.2rem 0 0.6rem;
}

/* ── BADGE GRID ──────────────────────────────────────────── */
.badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}
.badge {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.2rem;
  text-align: center;
}
.badge-emoji { font-size: 1.8rem; margin-bottom: 0.5rem; }
.badge h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.3rem;
  font-family: 'Roboto', sans-serif;
}
.badge p { font-size: 0.82rem; color: var(--text-secondary); margin: 0; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: #0a1e31;
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
  margin-top: 3rem;
}
.footer-logo {
  font-family: 'Roboto', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-blue);
  margin-bottom: 0.3rem;
}
.footer-url { color: var(--text-secondary); font-size: 0.88rem; }
.footer-tagline {
  color: rgba(168,196,216,0.45);
  font-size: 0.78rem;
  margin-top: 0.4rem;
  font-style: italic;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  main { padding: 1.5rem 1rem 3.5rem; }
  .card { padding: 1.2rem; }
  .section-card { padding: 1.4rem; }
  .case-body { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .dos-donts { grid-template-columns: 1fr; }
  .topnav-brand { display: none; }
  header h1 { font-size: 1.7rem; }
}
@media (max-width: 500px) {
  .agent-grid { grid-template-columns: 1fr 1fr; }
}
