/* ============================================
   CAPTURENOW — Design System
   Palette: Copper & Slate + Deep Carbon
   Fonts: Bricolage Grotesque + Plus Jakarta Sans
   ============================================ */

:root {
  --copper:       #B87333;
  --copper-light: #D4A574;
  --copper-pale:  #F0D9BC;
  --slate-dark:   #1C2530;
  --slate:        #2F3640;
  --slate-mid:    #3D4A58;
  --slate-light:  #5A6A7A;
  --cream:        #F5F0EB;
  --cream-dark:   #EDE5D8;
  --white:        #FAFAF8;
  --text-primary: #1C2530;
  --text-secondary: #4A5568;
  --text-muted:   #7A8A9A;
  --border:       rgba(184, 115, 51, 0.15);
  --border-light: rgba(184, 115, 51, 0.08);
  --glow:         rgba(184, 115, 51, 0.12);

  --sidebar-w: 260px;
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 3px rgba(28,37,48,0.08);
  --shadow-md: 0 4px 16px rgba(28,37,48,0.10);
  --shadow-lg: 0 12px 40px rgba(28,37,48,0.14);
  --shadow-copper: 0 4px 24px rgba(184,115,51,0.18);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-primary);
  line-height: 1.6;
  display: flex;
  min-height: 100vh;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
  width: var(--sidebar-w);
  min-height: 100vh;
  background: var(--slate-dark);
  position: fixed;
  left: 0; top: 0;
  display: flex;
  flex-direction: column;
  z-index: 100;
  border-right: 1px solid rgba(184,115,51,0.12);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 28px 24px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.logo-mark {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: rgba(184,115,51,0.1);
  border: 1px solid rgba(184,115,51,0.25);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.3px;
}
.logo-sub {
  font-size: 10px;
  color: var(--copper-light);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-weight: 500;
}

.sidebar-nav {
  flex: 1;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-section-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--slate-light);
  padding: 0 8px 10px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  transition: all 0.2s ease;
  position: relative;
}
.nav-item:hover {
  background: rgba(184,115,51,0.08);
  color: rgba(255,255,255,0.85);
}
.nav-item.active {
  background: rgba(184,115,51,0.14);
  color: var(--copper-light);
}
.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 18px;
  background: var(--copper);
  border-radius: 0 2px 2px 0;
}
.nav-icon {
  font-size: 14px;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.sidebar-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.sidebar-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 6px;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4CAF50;
  box-shadow: 0 0 6px rgba(76,175,80,0.6);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.sidebar-version {
  font-size: 10px;
  color: rgba(255,255,255,0.2);
  font-family: var(--font-mono);
}

/* ============================================
   MOBILE HEADER
   ============================================ */
.mobile-header {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  background: var(--slate-dark);
  border-bottom: 1px solid rgba(184,115,51,0.15);
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 200;
}
.mobile-logo {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  font-size: 16px;
}
.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--copper-light);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-height: 100vh;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 80px 72px 80px 72px;
  background: var(--slate-dark);
  overflow: hidden;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Background texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(184,115,51,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(61,78,88,0.4) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,115,51,0.4), transparent);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
}
.eyebrow-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--copper);
  background: rgba(184,115,51,0.12);
  border: 1px solid rgba(184,115,51,0.25);
  padding: 4px 12px;
  border-radius: 20px;
}
.eyebrow-divider { color: rgba(255,255,255,0.2); }
.eyebrow-date { font-size: 12px; color: rgba(255,255,255,0.35); font-family: var(--font-mono); }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -2px;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}
.hero-title em {
  font-style: normal;
  color: var(--copper-light);
  position: relative;
}
.hero-title em::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--copper), transparent);
  border-radius: 2px;
}

.hero-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 36px;
  position: relative;
  z-index: 2;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Orbit graphic */
.hero-graphic {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  width: 280px; height: 280px;
  pointer-events: none;
}
.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(184,115,51,0.2);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.orbit-1 { width: 100%; height: 100%; animation: spin 20s linear infinite; }
.orbit-2 { width: 68%; height: 68%; border-style: dashed; animation: spin 14s linear infinite reverse; }
.orbit-3 { width: 38%; height: 38%; animation: spin 8s linear infinite; }
@keyframes spin { from { transform: translate(-50%,-50%) rotate(0deg); } to { transform: translate(-50%,-50%) rotate(360deg); } }

.orbit-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  background: rgba(184,115,51,0.15);
  border: 1.5px solid var(--copper);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--copper-light);
  letter-spacing: 1px;
  box-shadow: 0 0 30px rgba(184,115,51,0.25);
}
.orbit-dot {
  position: absolute;
  width: 8px; height: 8px;
  background: var(--copper);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(184,115,51,0.6);
}
.dot-1 { top: 0; left: 50%; transform: translateX(-50%); animation: orbit-dot-1 20s linear infinite; }
.dot-2 { top: 16%; left: 16%; animation: orbit-dot-2 14s linear infinite reverse; }
.dot-3 { bottom: 31%; right: 0; animation: orbit-dot-3 8s linear infinite; }
@keyframes orbit-dot-1 { from { transform: translateX(-50%) rotate(0deg) translateX(140px) rotate(0deg); } to { transform: translateX(-50%) rotate(360deg) translateX(140px) rotate(-360deg); } }
@keyframes orbit-dot-2 { from { transform: rotate(0deg) translateX(95px) rotate(0deg); } to { transform: rotate(360deg) translateX(95px) rotate(-360deg); } }
@keyframes orbit-dot-3 { from { transform: rotate(0deg) translateX(53px) rotate(0deg); } to { transform: rotate(360deg) translateX(53px) rotate(-360deg); } }

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--copper);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-copper);
}
.btn-primary:hover {
  background: var(--copper-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(184,115,51,0.3);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.12);
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-ghost:hover {
  border-color: rgba(184,115,51,0.4);
  color: var(--copper-light);
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  display: flex;
  align-items: center;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 72px;
}
.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
  gap: 4px;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--copper);
  letter-spacing: -1px;
  line-height: 1;
}
.stat-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-align: center;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* ============================================
   SECTION TITLES
   ============================================ */
.section-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.8px;
  margin-bottom: 32px;
}

/* ============================================
   NAV CARDS
   ============================================ */
.nav-cards {
  padding: 64px 72px;
  background: var(--cream);
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--copper), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}
.card:hover {
  border-color: rgba(184,115,51,0.25);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.card:hover::before { opacity: 1; }

.card-featured {
  background: var(--slate-dark);
  border-color: rgba(184,115,51,0.2);
  grid-column: span 1;
}
.card-featured .card-number { color: rgba(184,115,51,0.4); }
.card-featured .card-icon { color: var(--copper-light); }
.card-featured .card-title { color: var(--white); }
.card-featured .card-desc { color: rgba(255,255,255,0.5); }
.card-featured .card-arrow { color: var(--copper); }
.card-featured::before { opacity: 1; }

.card-number {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--copper-pale);
  letter-spacing: 1px;
}
.card-icon {
  color: var(--copper);
  margin: 4px 0;
}
.card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}
.card-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}
.card-arrow {
  font-size: 18px;
  color: var(--copper);
  margin-top: 8px;
  transition: transform 0.2s;
}
.card:hover .card-arrow { transform: translateX(4px); }

/* ============================================
   INSIGHT STRIP
   ============================================ */
.insight-strip {
  background: var(--slate);
  padding: 48px 72px;
  display: flex;
  align-items: flex-start;
  gap: 32px;
  border-top: 1px solid rgba(184,115,51,0.15);
  border-bottom: 1px solid rgba(184,115,51,0.15);
}
.insight-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--copper);
  white-space: nowrap;
  padding-top: 4px;
}
.insight-quote {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  font-style: normal;
  border-left: 2px solid var(--copper);
  padding-left: 28px;
  letter-spacing: -0.3px;
}

/* ============================================
   PILLARS
   ============================================ */
.pillars {
  padding: 64px 72px;
  background: var(--cream-dark);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.pillar {
  background: var(--white);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.2s;
}
.pillar:hover { background: var(--cream); }
.pillar-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--copper-pale);
  line-height: 1;
  letter-spacing: -2px;
}
.pillar h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}
.pillar p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   INNER PAGE LAYOUT
   ============================================ */
.page-header {
  background: var(--slate-dark);
  padding: 60px 72px 52px;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,115,51,0.4), transparent);
}
.page-header-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 16px;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}
.page-header p {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  max-width: 560px;
  line-height: 1.7;
}
.page-header-bg {
  position: absolute;
  right: 72px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 120px;
  font-weight: 800;
  color: rgba(184,115,51,0.05);
  letter-spacing: -4px;
  pointer-events: none;
  user-select: none;
}

.page-body {
  padding: 56px 72px;
  background: var(--cream);
}

/* ============================================
   CONTENT COMPONENTS
   ============================================ */

/* Section block */
.content-section {
  margin-bottom: 56px;
}
.content-section-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.content-section-title .section-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--copper);
  background: rgba(184,115,51,0.1);
  padding: 3px 8px;
  border-radius: 4px;
}

/* Info grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.info-grid-3 { grid-template-columns: repeat(3, 1fr); }

.info-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
}
.info-card-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 8px;
}
.info-card-value {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}
.info-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Requirement list */
.req-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.req-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: border-color 0.2s;
}
.req-item:hover { border-color: rgba(184,115,51,0.25); }
.req-badge {
  flex-shrink: 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  margin-top: 1px;
}
.req-badge.critical { background: rgba(220,53,69,0.1); color: #DC3545; }
.req-badge.high { background: rgba(184,115,51,0.12); color: var(--copper); }
.req-badge.medium { background: rgba(90,106,122,0.1); color: var(--slate-light); }
.req-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.req-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Tech stack cards */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tech-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.2s;
}
.tech-card:hover {
  border-color: rgba(184,115,51,0.3);
  box-shadow: var(--shadow-md);
}
.tech-card-category {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 12px;
}
.tech-card-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.tech-card-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.tech-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  background: rgba(184,115,51,0.08);
  color: var(--copper);
  border: 1px solid rgba(184,115,51,0.15);
  padding: 2px 8px;
  border-radius: 4px;
  margin: 4px 4px 0 0;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 10px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--copper), rgba(184,115,51,0.1));
}
.timeline-item {
  position: relative;
  margin-bottom: 36px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -26px; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--copper);
  border: 2px solid var(--cream);
  box-shadow: 0 0 0 3px rgba(184,115,51,0.2);
}
.timeline-phase {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 6px;
}
.timeline-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.timeline-period {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.timeline-body {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}
.timeline-tasks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.timeline-tasks li {
  font-size: 13.5px;
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.timeline-tasks li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--copper);
  font-size: 12px;
}

/* Agent table */
.agent-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.agent-table th {
  background: var(--slate-dark);
  color: rgba(255,255,255,0.6);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 14px 18px;
  text-align: left;
}
.agent-table td {
  padding: 14px 18px;
  font-size: 13.5px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}
.agent-table tr:last-child td { border-bottom: none; }
.agent-table tr:hover td { background: var(--cream); }
.agent-id {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--copper);
  font-weight: 700;
}
.agent-name {
  font-weight: 600;
  color: var(--text-primary);
}
.critical-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  background: rgba(220,53,69,0.1);
  color: #DC3545;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
}

/* Role cards */
.role-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.role-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 16px;
}
.role-icon {
  width: 44px; height: 44px;
  background: rgba(184,115,51,0.08);
  border: 1px solid rgba(184,115,51,0.2);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--copper);
  font-size: 18px;
}
.role-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.role-count {
  font-size: 11px;
  color: var(--copper);
  font-weight: 600;
  margin-bottom: 8px;
}
.role-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Architecture flow */
.arch-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.arch-side {
  flex: 1;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.arch-side:nth-child(1) { background: rgba(28,37,48,0.03); border-right: 1px solid var(--border-light); }
.arch-side:nth-child(3) { background: rgba(28,37,48,0.03); border-left: 1px solid var(--border-light); }
.arch-center {
  flex: 1.2;
  padding: 32px 24px;
  background: var(--slate-dark);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}
.arch-side-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 4px;
}
.arch-side-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.arch-center .arch-side-title { color: var(--white); }
.arch-agent-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  background: rgba(184,115,51,0.1);
  color: var(--copper);
  border: 1px solid rgba(184,115,51,0.2);
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  margin: 2px;
}
.arch-center .arch-agent-tag {
  background: rgba(184,115,51,0.15);
  color: var(--copper-light);
}
.arch-framework {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}
.arch-center .arch-framework { color: rgba(255,255,255,0.35); }

/* Revenue streams */
.revenue-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.revenue-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 20px;
  transition: all 0.2s;
}
.revenue-item:hover { border-color: rgba(184,115,51,0.25); }
.revenue-level {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--copper);
  background: rgba(184,115,51,0.08);
  padding: 6px 10px;
  border-radius: 6px;
  text-align: center;
}
.revenue-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.revenue-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
}
.revenue-amount {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: right;
  white-space: nowrap;
}

/* Callout box */
.callout {
  background: rgba(184,115,51,0.06);
  border: 1px solid rgba(184,115,51,0.2);
  border-left: 3px solid var(--copper);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 20px 0;
}
.callout-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--copper);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.callout p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   TECH STACK PAGE COMPONENTS
   ============================================ */
.tech-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.tech-card:hover {
  border-color: rgba(184,115,51,0.3);
  box-shadow: var(--shadow-md);
}
.tech-card-category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--copper);
  margin-bottom: 6px;
}
.tech-card-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.tech-card-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.tech-tag {
  display: inline-block;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--copper);
  background: rgba(184,115,51,0.08);
  border: 1px solid rgba(184,115,51,0.15);
  border-radius: 4px;
  padding: 3px 8px;
  margin: 3px 3px 0 0;
}

/* ============================================
   REQUIREMENTS PAGE COMPONENTS
   ============================================ */
.req-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.req-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: border-color 0.2s;
}
.req-item:hover { border-color: rgba(184,115,51,0.25); }
.req-badge {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 20px;
  margin-top: 2px;
}
.req-badge.critical {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  border: 1px solid rgba(220,53,69,0.2);
}
.req-badge.high {
  background: rgba(184,115,51,0.1);
  color: var(--copper);
  border: 1px solid rgba(184,115,51,0.2);
}
.req-badge.medium {
  background: rgba(90,106,122,0.1);
  color: var(--slate-light);
  border: 1px solid rgba(90,106,122,0.2);
}
.req-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.req-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================
   ARCHITECTURE PAGE COMPONENTS
   ============================================ */
.arch-flow {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}
.arch-side {
  flex: 1;
  padding: 28px 24px;
  border-right: 1px solid var(--border-light);
}
.arch-side:last-child { border-right: none; }
.arch-center {
  flex: 1.2;
  padding: 28px 24px;
  background: var(--slate-dark);
  color: var(--white);
}
.arch-side-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.arch-side-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.arch-center .arch-side-title { color: var(--white); }
.arch-agent-tag {
  display: inline-block;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--copper);
  background: rgba(184,115,51,0.08);
  border: 1px solid rgba(184,115,51,0.15);
  border-radius: 4px;
  padding: 3px 8px;
  margin: 3px 3px 0 0;
}
.arch-center .arch-agent-tag {
  background: rgba(184,115,51,0.12);
  border-color: rgba(184,115,51,0.25);
}
.arch-framework {
  margin-top: 14px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

/* Agent table */
.agent-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 800px;
}
.agent-table thead tr {
  background: var(--slate-dark);
  color: var(--white);
}
.agent-table th {
  padding: 12px 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
}
.agent-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
  color: var(--text-secondary);
  line-height: 1.5;
}
.agent-table tbody tr:hover { background: rgba(184,115,51,0.03); }
.agent-id {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--copper);
  background: rgba(184,115,51,0.08);
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.agent-name {
  font-weight: 600;
  color: var(--text-primary);
  display: block;
}
.critical-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #dc3545;
  background: rgba(220,53,69,0.08);
  border: 1px solid rgba(220,53,69,0.2);
  border-radius: 3px;
  padding: 2px 6px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ============================================
   TIMELINE PAGE COMPONENTS
   ============================================ */
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--copper), rgba(184,115,51,0.1));
}
.timeline-item {
  position: relative;
  margin-bottom: 36px;
  padding-left: 24px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -38px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--copper);
  border: 2px solid var(--cream);
  box-shadow: 0 0 0 2px var(--copper);
}
.timeline-phase {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--copper);
  margin-bottom: 4px;
}
.timeline-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.timeline-period {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.timeline-body {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.timeline-tasks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.timeline-tasks li {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}
.timeline-tasks li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--copper);
  font-size: 12px;
}

/* ============================================
   TEAM PAGE COMPONENTS
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.team-card:hover {
  border-color: rgba(184,115,51,0.3);
  box-shadow: var(--shadow-md);
}
.team-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.team-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--copper), var(--copper-light));
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.team-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}
.team-role {
  font-size: 12px;
  color: var(--copper);
  font-weight: 500;
}
.team-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 14px;
}
.team-tags { display: flex; flex-wrap: wrap; gap: 4px; }

/* Specialist cards */
.specialist-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.specialist-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.specialist-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  background: rgba(184,115,51,0.03);
}
.specialist-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--copper);
  opacity: 0.4;
  line-height: 1;
  min-width: 60px;
}
.specialist-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}
.specialist-firm {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}
.specialist-gate {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: rgba(184,115,51,0.05);
  border-bottom: 1px solid var(--border-light);
}
.gate-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}
.gate-value {
  font-size: 12px;
  font-weight: 600;
  color: var(--copper);
  font-family: var(--font-mono);
}
.specialist-body {
  padding: 20px 24px;
}
.specialist-section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.specialist-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.specialist-list li {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}
.specialist-list li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--copper);
  font-weight: 700;
}
.specialist-downstream {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-top: 1px solid var(--border-light);
  background: rgba(184,115,51,0.03);
  font-size: 12.5px;
  color: var(--text-secondary);
}
.downstream-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--copper);
  background: rgba(184,115,51,0.1);
  padding: 3px 8px;
  border-radius: 4px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-graphic { display: none; }
}

@media (max-width: 900px) {
  :root { --sidebar-w: 0px; }
  .sidebar {
    transform: translateX(-260px);
    width: 260px;
  }
  .sidebar.open { transform: translateX(0); }
  .mobile-header { display: flex; }
  .main-content { margin-left: 0; padding-top: 56px; }
  .hero { padding: 48px 28px; }
  .stats-bar { padding: 0 20px; flex-wrap: wrap; }
  .stat-divider { display: none; }
  .stat-item { min-width: 50%; }
  .nav-cards, .pillars, .insight-strip { padding: 40px 28px; }
  .page-header { padding: 40px 28px; }
  .page-body { padding: 36px 28px; }
  .cards-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .info-grid, .info-grid-3 { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .role-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .arch-flow { flex-direction: column; }
  .arch-side { border-right: none; border-bottom: 1px solid var(--border-light); }
  .arch-side:last-child { border-bottom: none; }
  .revenue-item { grid-template-columns: 50px 1fr; }
  .revenue-amount { grid-column: 2; }
  .timeline { padding-left: 20px; }
  .timeline-item { padding-left: 16px; }
  .timeline-item::before { left: -26px; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 36px; letter-spacing: -1px; }
  .hero-cta-row { flex-direction: column; align-items: flex-start; }
  .stats-bar { flex-direction: column; }
  .stat-item { width: 100%; border-bottom: 1px solid var(--border); }
  .insight-strip { flex-direction: column; gap: 16px; }
  .insight-quote { font-size: 16px; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }

/* Overlay for mobile nav */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 99;
}
.sidebar-overlay.active { display: block; }