/* HealthCopilot by Innovestor Presentation Site Design System */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --primary:        #0d9488;
  --primary-dark:   #0f766e;
  --primary-light:  #14b8a6;
  --primary-50:     #f0fdfa;
  --primary-100:    #ccfbf1;
  --accent:         #0891b2;
  --accent-light:   #22d3ee;
  --accent-50:      #ecfeff;
  --sky:            #38bdf8;
  --bg:             #ffffff;
  --surface:        #f8fafc;
  --surface-2:      #f1f5f9;
  --border:         #e2e8f0;
  --border-2:       #cbd5e1;
  --text-1:         #0f172a;
  --text-2:         #334155;
  --text-3:         #64748b;
  --text-4:         #94a3b8;
  --danger:         #ef4444;
  --warning:        #f59e0b;
  --success:        #10b981;
  --radius-sm:      6px;
  --radius:         12px;
  --radius-lg:      18px;
  --radius-xl:      24px;
  --shadow-sm:      0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:         0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:      0 12px 40px rgba(0,0,0,.12);
  --shadow-xl:      0 24px 64px rgba(0,0,0,.14);
  --grad-primary:   linear-gradient(135deg, #0d9488, #0891b2);
  --grad-hero:      linear-gradient(135deg, #f0fdfa 0%, #ecfeff 50%, #f8fafc 100%);
  --grad-text:      linear-gradient(135deg, #0d9488, #0891b2, #38bdf8);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 { line-height: 1.2; font-weight: 700; color: var(--text-1); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); letter-spacing: -0.01em; }
h4 { font-size: 1.1rem; }
p { color: var(--text-3); line-height: 1.75; }
a { color: var(--primary); text-decoration: none; }

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 32px; }
section { padding: 100px 0; }
section.tight { padding: 64px 0; }

/* ── Navigation ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.site-nav.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo-icon {
  width: 36px; height: 36px;
  background: var(--grad-primary);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.05em;
  flex-shrink: 0;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-name { font-size: 15px; font-weight: 800; color: var(--text-1); letter-spacing: -0.02em; }
.nav-logo-by { font-size: 9.5px; color: var(--text-4); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.nav-links {
  display: flex;
  gap: 4px;
  flex: 1;
  align-items: center;
}
.nav-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-3);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
  text-decoration: none;
}
.nav-link:hover { color: var(--text-1); background: var(--surface); }
.nav-link.active { color: var(--primary); background: var(--primary-50); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.18s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(13,148,136,.35);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13,148,136,.45);
}
.btn-outline {
  background: transparent;
  color: var(--text-2);
  border: 1.5px solid var(--border-2);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-50); }
.btn-ghost {
  background: transparent;
  color: var(--text-3);
  padding: 8px 14px;
}
.btn-ghost:hover { color: var(--primary); background: var(--primary-50); }
.btn-lg { font-size: 15.5px; padding: 14px 28px; border-radius: var(--radius-lg); }
.btn-xl { font-size: 16px; padding: 16px 36px; border-radius: var(--radius-lg); }
.btn-sm { font-size: 12.5px; padding: 7px 14px; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--grad-hero);
  padding-top: 64px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(13,148,136,.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(8,145,178,.05) 0%, transparent 60%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding-left: 32px;
  padding-right: 32px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero-eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); animation: pulse-dot 2s infinite; }
.hero-title { margin-bottom: 12px; }
.hero-subtitle { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--text-2); font-weight: 600; margin-bottom: 16px; }
.hero-body { font-size: 1.05rem; color: var(--text-3); max-width: 520px; margin-bottom: 36px; line-height: 1.8; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats {
  display: flex;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.hero-stat-num { font-size: 1.5rem; font-weight: 800; color: var(--text-1); }
.hero-stat-label { font-size: 11px; color: var(--text-4); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 1px; }
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* ── Avatar ── */
.avatar-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.avatar-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid;
  animation: ring-pulse 3s ease-in-out infinite;
}
.avatar-ring-1 { width: 220px; height: 220px; border-color: rgba(13,148,136,.2); animation-delay: 0s; }
.avatar-ring-2 { width: 280px; height: 280px; border-color: rgba(13,148,136,.1); animation-delay: 0.8s; }
.avatar-ring-3 { width: 340px; height: 340px; border-color: rgba(13,148,136,.06); animation-delay: 1.6s; }
.avatar-core {
  width: 160px; height: 160px;
  background: var(--grad-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 60px rgba(13,148,136,.4);
  transition: transform 0.3s, box-shadow 0.3s;
}
.avatar-wrap:hover .avatar-core {
  transform: scale(1.06);
  box-shadow: 0 28px 80px rgba(13,148,136,.55);
}
.avatar-inner {
  text-align: center;
  color: white;
}
.avatar-hc { font-size: 2.2rem; font-weight: 900; letter-spacing: -0.05em; }
.avatar-label { font-size: 9px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.85; }
.avatar-tooltip {
  position: absolute;
  bottom: -48px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-1);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 99px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.avatar-wrap:hover .avatar-tooltip { opacity: 1; }

/* Feature orbs around avatar */
.avatar-orbs { position: absolute; inset: 0; }
.orb {
  position: absolute;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-2);
  box-shadow: var(--shadow);
  white-space: nowrap;
  animation: orb-float 6s ease-in-out infinite;
}
.orb-icon { font-size: 14px; }
.orb-1 { top: 10px; right: -10px; animation-delay: 0s; }
.orb-2 { bottom: 30px; right: -20px; animation-delay: 1.5s; }
.orb-3 { top: 30px; left: -20px; animation-delay: 0.8s; }
.orb-4 { bottom: 10px; left: -10px; animation-delay: 2.2s; }

/* ── Section headers ── */
.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.section-title { margin-bottom: 14px; }
.section-body { font-size: 1.05rem; color: var(--text-3); max-width: 600px; margin: 0 auto 48px; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .section-body { margin-bottom: 0; }

/* ── Comparison section ── */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.compare-card {
  border-radius: var(--radius-xl);
  padding: 36px;
}
.compare-card.bad {
  background: #fff7f7;
  border: 1.5px solid #fee2e2;
}
.compare-card.good {
  background: var(--primary-50);
  border: 1.5px solid var(--primary-100);
}
.compare-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.compare-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.bad .compare-icon { background: #fee2e2; }
.good .compare-icon { background: var(--primary-100); }
.compare-title { font-size: 1rem; font-weight: 700; }
.bad .compare-title { color: #991b1b; }
.good .compare-title { color: var(--primary-dark); }
.compare-items { list-style: none; }
.compare-items li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 13.5px;
  color: var(--text-2);
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.compare-items li:last-child { border-bottom: none; }
.compare-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 1px;
}
.bad .compare-dot { background: #fee2e2; color: #ef4444; }
.good .compare-dot { background: var(--primary-100); color: var(--primary); }

/* ── Workflow tiles ── */
.tiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tile-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.2s;
  cursor: default;
  text-decoration: none;
  display: block;
}
.tile-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(13,148,136,.12);
  transform: translateY(-2px);
}
.tile-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--primary-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
  border: 1px solid var(--primary-100);
}
.tile-title { font-size: 14px; font-weight: 700; margin-bottom: 6px; color: var(--text-1); }
.tile-body { font-size: 12.5px; color: var(--text-4); line-height: 1.6; }
.tile-arrow { font-size: 11px; color: var(--primary); font-weight: 600; margin-top: 10px; display: block; }

/* ── Role tiles ── */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.role-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: all 0.2s;
}
.role-card:hover { border-color: var(--accent); box-shadow: 0 6px 24px rgba(8,145,178,.1); transform: translateY(-2px); }
.role-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent-50);
  border: 1.5px solid rgba(8,145,178,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
}
.role-name { font-size: 14px; font-weight: 700; color: var(--text-1); margin-bottom: 4px; }
.role-desc { font-size: 12px; color: var(--text-4); line-height: 1.6; margin-bottom: 10px; }
.role-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.role-tag {
  font-size: 9.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--surface);
  color: var(--text-3);
  border: 1px solid var(--border);
}

/* ── Ecosystem preview ── */
.ecosystem-visual {
  max-width: 860px;
  margin: 0 auto 40px;
}
.eco-layers { display: flex; flex-direction: column; gap: 8px; }
.eco-layer {
  display: flex;
  align-items: center;
  gap: 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 20px;
  transition: all 0.2s;
}
.eco-layer:hover { border-color: var(--primary); background: var(--primary-50); }
.eco-num {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--primary-50);
  color: var(--primary);
  border: 1px solid var(--primary-100);
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}
.eco-label { font-size: 13px; font-weight: 600; color: var(--text-2); flex: 1; }
.eco-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.eco-chip {
  font-size: 10.5px;
  padding: 3px 10px;
  border-radius: 5px;
  background: var(--surface);
  color: var(--text-3);
  border: 1px solid var(--border);
}
.eco-arrow { text-align: center; color: var(--primary-100); font-size: 18px; line-height: 1; }

/* ── Phase timeline ── */
.phases-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.phases-row::before {
  content: '';
  position: absolute;
  top: 42px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 0;
}
.phase-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: all 0.2s;
}
.phase-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.phase-card.anchor {
  background: var(--primary-50);
  border-color: var(--primary);
}
.phase-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: white;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 4px 14px rgba(13,148,136,.35);
}
.phase-title { font-size: 13.5px; font-weight: 700; margin-bottom: 8px; color: var(--text-1); }
.phase-body { font-size: 12px; color: var(--text-4); line-height: 1.6; }
.phase-anchor-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--primary);
  color: white;
  padding: 2px 8px;
  border-radius: 99px;
  margin-bottom: 8px;
}

/* ── Workflow examples ── */
.workflow-list { max-width: 860px; margin: 0 auto; }
.workflow-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.2s;
}
.workflow-item:hover { border-color: var(--border-2); }
.workflow-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
}
.workflow-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius);
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.workflow-name { font-size: 15px; font-weight: 700; flex: 1; }
.workflow-toggle { color: var(--text-4); font-size: 18px; transition: transform 0.2s; }
.workflow-item.open .workflow-toggle { transform: rotate(180deg); }
.workflow-detail {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.2s;
}
.workflow-item.open .workflow-detail { max-height: 400px; padding: 0 24px 24px; }
.workflow-points { list-style: none; }
.workflow-points li {
  display: flex;
  gap: 10px;
  padding: 6px 0;
  font-size: 13.5px;
  color: var(--text-3);
  border-bottom: 1px solid var(--surface-2);
}
.workflow-points li:last-child { border-bottom: none; }
.wp-dot { color: var(--primary); font-size: 12px; margin-top: 3px; flex-shrink: 0; }

/* ── Value grid ── */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.value-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: all 0.2s;
}
.value-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.value-icon { font-size: 32px; margin-bottom: 14px; display: block; }
.value-metric {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-1);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.value-label { font-size: 12px; font-weight: 600; color: var(--text-2); margin-bottom: 8px; }
.value-desc { font-size: 11.5px; color: var(--text-4); line-height: 1.55; }

/* ── Deployment cards ── */
.deploy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.deploy-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.2s;
}
.deploy-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.deploy-card.featured { border-color: var(--primary); background: var(--primary-50); }
.deploy-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--grad-primary);
  color: white;
  padding: 3px 10px;
  border-radius: 99px;
}
.deploy-icon { font-size: 36px; margin-bottom: 16px; display: block; }
.deploy-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.deploy-subtitle { font-size: 12.5px; color: var(--text-4); margin-bottom: 20px; }
.deploy-features { list-style: none; }
.deploy-features li {
  display: flex;
  gap: 9px;
  font-size: 13px;
  color: var(--text-3);
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
}
.deploy-features li:last-child { border-bottom: none; }
.df-check { color: var(--success); font-size: 12px; margin-top: 2px; flex-shrink: 0; }

/* ── Final CTA ── */
.cta-section {
  background: var(--text-1);
  color: white;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 50% -20%, rgba(13,148,136,.3) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 80% 100%, rgba(8,145,178,.2) 0%, transparent 60%);
}
.cta-section .container { position: relative; }
.cta-title { color: white; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.cta-body { font-size: 1.1rem; color: rgba(255,255,255,.65); max-width: 560px; margin: 0 auto 40px; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-white {
  background: white;
  color: var(--primary-dark);
  font-weight: 700;
}
.btn-white:hover { background: var(--primary-50); transform: translateY(-1px); }
.btn-outline-white {
  background: transparent;
  color: rgba(255,255,255,.85);
  border: 1.5px solid rgba(255,255,255,.25);
}
.btn-outline-white:hover { border-color: white; color: white; background: rgba(255,255,255,.08); }

/* ── Trust strip ── */
.trust-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-3);
}
.trust-icon { font-size: 16px; color: var(--primary); }

/* ── Footer ── */
.site-footer {
  background: var(--text-1);
  color: rgba(255,255,255,.5);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.footer-brand { font-size: 14px; font-weight: 700; color: rgba(255,255,255,.8); }
.footer-by { font-size: 10px; color: rgba(255,255,255,.35); }

/* ── Subpage layout ── */
.subpage-hero {
  padding-top: 100px;
  padding-bottom: 60px;
  background: var(--grad-hero);
  border-bottom: 1px solid var(--border);
}
.subpage-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.breadcrumb-sep { color: var(--text-4); }
.subpage-title { margin-bottom: 10px; }
.subpage-body { font-size: 1.1rem; color: var(--text-3); max-width: 640px; line-height: 1.7; }
.subpage-content { padding: 64px 0; }

/* ── Info card ── */
.info-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin-bottom: 20px;
}
.info-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-1);
}
.info-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.info-list { list-style: none; }
.info-list li {
  display: flex;
  gap: 10px;
  padding: 7px 0;
  font-size: 13.5px;
  color: var(--text-3);
  border-bottom: 1px solid var(--surface);
  line-height: 1.6;
}
.info-list li:last-child { border-bottom: none; }
.il-dot { color: var(--primary); font-size: 13px; margin-top: 2px; flex-shrink: 0; }

/* ── Demo page ── */
.demo-card {
  max-width: 560px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow-xl);
}
.demo-avatar-wrap {
  margin: 0 auto 28px;
  position: relative;
  display: inline-flex;
}
.demo-avatar {
  width: 100px; height: 100px;
  background: var(--grad-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 900;
  color: white;
  letter-spacing: -0.05em;
  box-shadow: 0 12px 40px rgba(13,148,136,.4);
  animation: ring-pulse-core 3s ease-in-out infinite;
}
.demo-title { font-size: 1.6rem; font-weight: 800; margin-bottom: 8px; }
.demo-body { font-size: 1rem; color: var(--text-3); margin-bottom: 32px; line-height: 1.7; }
.demo-entry-btn {
  width: 100%;
  justify-content: center;
  font-size: 16px;
  padding: 16px;
  border-radius: var(--radius-lg);
  margin-bottom: 10px;
}
.demo-note { font-size: 11.5px; color: var(--text-4); margin-top: 16px; }
.demo-credentials {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 20px 0;
  text-align: left;
}
.demo-cred-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-4); margin-bottom: 10px; }
.demo-cred-row { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; padding: 4px 0; }
.demo-cred-label { color: var(--text-3); }
.demo-cred-value { font-weight: 600; color: var(--text-1); font-family: monospace; }

/* ── Animations ── */
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes ring-pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes ring-pulse-core {
  0%, 100% { box-shadow: 0 12px 40px rgba(13,148,136,.4); }
  50% { box-shadow: 0 16px 56px rgba(13,148,136,.6); }
}
@keyframes orb-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Dividers ── */
.section-divider { border: none; border-top: 1px solid var(--border); margin: 0; }
.alt-bg { background: var(--surface); }
.dark-bg { background: var(--text-1); }

/* ── Utility ── */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-40 { margin-bottom: 40px; }
.d-flex { display: flex; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════
   EXECUTIVE UPGRADE v2 additional design components
   ═══════════════════════════════════════════════════════ */

/* ── Dark section (inheriting DNA from architecture + integrations pages) ── */
.dark-section {
  background: #0a0e16;
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}
.dark-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.035) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
}
.dark-section .section-eyebrow { color: #38bdf8; background: none; border: none; }
.dark-section h2, .dark-section h3 { color: #f1f5f9; }
.dark-section .section-body { color: rgba(241,245,249,.55); }

/* Gradient text matching existing HTML pages */
.grad-arc {
  background: linear-gradient(90deg, #38bdf8, #818cf8, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Browser mockup ── */
.browser-mock {
  background: white;
  border-radius: 12px;
  box-shadow: 0 32px 80px rgba(0,0,0,.22), 0 0 0 1px rgba(0,0,0,.07);
  overflow: hidden;
  width: 100%;
  position: relative;
  z-index: 2;
}
.browser-bar {
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.browser-dots { display: flex; gap: 5px; flex-shrink: 0; }
.bd { width: 9px; height: 9px; border-radius: 50%; }
.bd-r { background: #ef4444; }
.bd-y { background: #f59e0b; }
.bd-g { background: #22c55e; }
.browser-url {
  flex: 1;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  padding: 3px 10px;
  font-size: 10.5px;
  color: #64748b;
}

/* ── Chat interface mockup ── */
.chat-mock {
  display: grid;
  grid-template-columns: 185px 1fr;
  height: 320px;
  font-size: 11px;
  overflow: hidden;
}
.chat-mock-sidebar {
  background: #f8fafc;
  border-right: 1px solid #e2e8f0;
  padding: 12px;
  overflow: hidden;
}
.cms-header {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 10px;
}
.cms-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d9488, #0891b2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}
.cms-name { font-size: 11px; font-weight: 700; color: #0f172a; line-height: 1.2; }
.cms-id { font-size: 9px; color: #94a3b8; }
.cms-sl { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #94a3b8; margin: 8px 0 5px; }
.cms-row { display: flex; justify-content: space-between; padding: 3px 0; font-size: 10px; color: #64748b; border-bottom: 1px solid #f1f5f9; }
.cms-row:last-child { border: none; }
.cms-v { font-weight: 600; color: #0f172a; }
.cms-tag {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 9px; font-weight: 600; padding: 2px 7px;
  border-radius: 4px; margin-top: 3px;
}
.tag-ok { background: #dcfce7; color: #15803d; }
.tag-warn { background: #fef9c3; color: #92400e; }
.tag-blue { background: #dbeafe; color: #1e40af; }

.chat-mock-main { background: white; display: flex; flex-direction: column; overflow: hidden; }
.chat-mock-topbar {
  padding: 8px 14px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  flex-shrink: 0;
}
.chat-mock-title { font-size: 11px; font-weight: 700; color: #0f172a; }
.chat-mock-badge { font-size: 9px; background: #f0fdfa; color: #0d9488; font-weight: 600; padding: 2px 8px; border-radius: 4px; border: 1px solid #ccfbf1; }
.chat-msgs { flex: 1; overflow: hidden; padding: 10px 12px; display: flex; flex-direction: column; gap: 7px; }
.cmsg { display: flex; gap: 6px; align-items: flex-start; }
.cmsg-ico { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 800; flex-shrink: 0; margin-top: 1px; }
.ico-ai { background: linear-gradient(135deg, #0d9488, #0891b2); color: white; }
.ico-usr { background: #e2e8f0; color: #475569; font-size: 8px; }
.cmsg-bub { border-radius: 4px 10px 10px 10px; padding: 7px 10px; max-width: 92%; line-height: 1.55; font-size: 10.5px; }
.bub-ai { background: #f1f5f9; border: 1px solid #e2e8f0; color: #334155; }
.cmsg-right { flex-direction: row-reverse; }
.cmsg-right .cmsg-bub { background: #0d9488; color: white; border-radius: 10px 4px 10px 10px; }
.cmsg-actions { display: flex; gap: 5px; margin-top: 3px; }
.cmsg-btn { font-size: 9.5px; font-weight: 600; padding: 3px 9px; border: 1.5px solid #0d9488; border-radius: 5px; color: #0d9488; background: white; }
.chat-statusbar { display: flex; align-items: center; gap: 5px; font-size: 9px; color: #0d9488; padding: 5px 12px; border-top: 1px solid #f1f5f9; flex-shrink: 0; }
.cs-dot { width: 5px; height: 5px; border-radius: 50%; background: #0d9488; animation: pulse-dot 2s infinite; }

/* ── Floating product cards (hero visual) ── */
.pf-card {
  position: absolute;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px 15px;
  box-shadow: 0 12px 40px rgba(0,0,0,.14);
  z-index: 10;
  min-width: 160px;
}
.pf-label { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-4); margin-bottom: 5px; }
.pf-metric { font-size: 1.5rem; font-weight: 900; color: var(--primary); letter-spacing: -0.04em; line-height: 1; }
.pf-sub { font-size: 10px; color: var(--text-4); margin-top: 2px; }
.pf-trend { font-size: 9.5px; font-weight: 700; color: #10b981; margin-top: 4px; }
.pf-row { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.pf-title { font-size: 11px; font-weight: 700; color: var(--text-1); }
.pf-body { font-size: 10px; color: var(--text-3); line-height: 1.5; }
.pf-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }

/* ── Product proof panels (dark sections) ── */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.proof-panel {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color 0.2s;
}
.proof-panel:hover { border-color: rgba(56,189,248,.4); }
.proof-header {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  gap: 8px;
}
.proof-dot { width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, #0d9488, #38bdf8); }
.proof-title { font-size: 12px; font-weight: 700; color: #e2e8f0; }
.proof-body { padding: 14px 16px; }

/* ── Dark insight mock cards ── */
.im-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 10px 13px;
  margin-bottom: 8px;
}
.im-top { display: flex; align-items: center; gap: 5px; margin-bottom: 4px; }
.im-deco { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.im-deco-green { background: #34d399; }
.im-deco-blue { background: #38bdf8; }
.im-deco-purple { background: #818cf8; }
.im-name { font-size: 10.5px; font-weight: 700; color: #e2e8f0; }
.im-text { font-size: 10px; color: rgba(241,245,249,.5); line-height: 1.55; }
.im-link { font-size: 9.5px; font-weight: 600; color: #38bdf8; margin-top: 5px; display: block; }

/* ── KPI mock tiles (dark) ── */
.kpi-mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 10px; }
.kpi-mock { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; padding: 11px; text-align: center; }
.km-num { font-size: 1.15rem; font-weight: 900; color: #f1f5f9; letter-spacing: -0.02em; }
.km-lbl { font-size: 8.5px; color: rgba(241,245,249,.4); text-transform: uppercase; letter-spacing: 0.07em; margin-top: 2px; }
.km-trend { font-size: 9px; font-weight: 700; color: #34d399; margin-top: 3px; }

/* ── Architecture comparison (dark) ── */
.arch-cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin: 0 auto 48px; }
.arch-side { border-radius: var(--radius-xl); padding: 26px; }
.arch-bad { background: rgba(239,68,68,.07); border: 1.5px solid rgba(239,68,68,.18); }
.arch-good { background: rgba(13,148,136,.09); border: 1.5px solid rgba(13,148,136,.28); }
.arch-side-hd { font-size: 13.5px; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.arch-bad .arch-side-hd { color: #fca5a5; }
.arch-good .arch-side-hd { color: #5eead4; }
.arch-flow-r { display: flex; align-items: center; gap: 5px; margin-bottom: 14px; flex-wrap: wrap; }
.afe { font-size: 9.5px; font-weight: 600; padding: 4px 9px; border-radius: 5px; white-space: nowrap; }
.arch-bad .afe { background: rgba(239,68,68,.15); color: #fca5a5; border: 1px solid rgba(239,68,68,.22); }
.arch-good .afe { background: rgba(13,148,136,.15); color: #5eead4; border: 1px solid rgba(13,148,136,.28); }
.afe-arr { color: rgba(255,255,255,.3); font-size: 11px; }
.arch-pts { list-style: none; }
.arch-pts li { display: flex; gap: 7px; font-size: 11.5px; padding: 4px 0; line-height: 1.5; border-bottom: 1px solid rgba(255,255,255,.05); }
.arch-pts li:last-child { border: none; }
.arch-bad .arch-pts li { color: rgba(241,245,249,.45); }
.arch-good .arch-pts li { color: rgba(241,245,249,.7); }
.arch-dot { flex-shrink: 0; font-size: 10px; margin-top: 2px; }

/* ── Governance strip (3 col, dark) ── */
.gov-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gov-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius-lg); padding: 20px; }
.gov-num { font-size: 1.6rem; font-weight: 900; margin-bottom: 6px; }
.gov-title { font-size: 13px; font-weight: 700; color: #e2e8f0; margin-bottom: 5px; }
.gov-body { font-size: 12px; color: rgba(241,245,249,.5); line-height: 1.6; }

/* ── Presentation path strip ── */
.path-strip { background: var(--primary-50); border-top: 1px solid var(--primary-100); border-bottom: 1px solid var(--primary-100); padding: 32px 0; }
.path-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 860px; margin: 0 auto; }
.path-card-s { background: white; border: 1px solid var(--primary-100); border-radius: var(--radius-lg); padding: 20px 24px; }
.path-mins { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: var(--primary); margin-bottom: 5px; }
.path-title { font-size: 15px; font-weight: 700; color: var(--text-1); margin-bottom: 8px; }
.path-steps-s { font-size: 12px; color: var(--text-3); line-height: 1.7; }
.path-steps-s a { color: var(--primary); font-weight: 600; text-decoration: none; }
.path-steps-s a:hover { text-decoration: underline; }

/* ── Hero product visual container ── */
.hero-product-wrap {
  position: relative;
  width: 100%;
}
.hpw-float1 { position: absolute; top: -18px; right: -20px; animation: orb-float 5s ease-in-out infinite; z-index: 10; }
.hpw-float2 { position: absolute; bottom: 36px; left: -28px; animation: orb-float 6.5s ease-in-out infinite 1.8s; z-index: 10; }

/* ── Better hero stats ── */
.hero-stats { display: flex; gap: 24px; padding-top: 20px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.hero-stat { flex: 1; min-width: 60px; }

/* ── Floating demo button ── */
.demo-float-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--grad-primary);
  color: white;
  font-size: 13.5px;
  font-weight: 700;
  padding: 13px 22px;
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(13,148,136,.45);
  text-decoration: none;
  transition: all 0.2s;
  border: none;
}
.demo-float-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(13,148,136,.55); color: white; }
.demo-float-avatar { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; }

/* ── Positioning utility for hero grid ── */
.hero-inner-v2 {
  position: relative;
  display: grid;
  grid-template-columns: 52% 48%;
  gap: 48px;
  align-items: center;
  padding: 80px 32px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* ═══════════════════════════════════════════════════════════
   GLOBAL DARK THEME full site visual consistency
   Overrides light components to match architecture/integrations
   page DNA across every page and section
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #0a0e16;
  --surface: #0d1117;
  --border: rgba(255,255,255,.1);
  --text-1: #f1f5f9;
  --text-2: #e2e8f0;
  --text-3: rgba(241,245,249,.6);
  --text-4: rgba(241,245,249,.4);
  --shadow: 0 2px 8px rgba(0,0,0,.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.5);
}

body { background: #0a0e16; color: #e2e8f0; }

/* Nav */
.site-nav { background: rgba(8,12,20,.95); border-bottom-color: rgba(255,255,255,.08); }
.nav-link { color: rgba(241,245,249,.6); }
.nav-link:hover { color: #f1f5f9; background: rgba(255,255,255,.06); }
.nav-link.active { color: var(--primary); background: rgba(13,148,136,.1); }

/* Hero */
.hero { background: linear-gradient(180deg, #0a0e16 0%, #0d1117 100%); }
.hero-eyebrow { background: rgba(13,148,136,.12); border-color: rgba(13,148,136,.28); color: var(--primary); }
.hero-eyebrow-dot { background: var(--primary); }
.hero-title { color: #f1f5f9; }
.hero-body { color: rgba(241,245,249,.6); }
.hero-stats { border-top-color: rgba(255,255,255,.1); }
.hero-stat-num { color: var(--primary); }
.hero-stat-label { color: rgba(241,245,249,.45); }

/* Trust strip */
.trust-strip { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.07); }
.trust-item { color: rgba(241,245,249,.5); }
.trust-icon { color: var(--primary); }

/* Section eyebrow */
.section-eyebrow { background: rgba(13,148,136,.1); border-color: rgba(13,148,136,.22); color: #5eead4; }
.section-title { color: #f1f5f9; }
.section-body { color: rgba(241,245,249,.55); }

/* Workflow tile cards */
.tile-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.tile-card:hover { background: rgba(255,255,255,.08); border-color: rgba(56,189,248,.35); box-shadow: 0 8px 32px rgba(0,0,0,.3); }
.tile-title { color: #f1f5f9; }
.tile-body { color: rgba(241,245,249,.5); }
.tile-arrow { color: #38bdf8; }

/* Role cards */
.role-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.role-card:hover { border-color: rgba(56,189,248,.35); background: rgba(255,255,255,.07); }
.role-name { color: #f1f5f9; }
.role-desc { color: rgba(241,245,249,.5); }
.role-tag { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.12); color: rgba(241,245,249,.6); }

/* Value cards */
.value-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.value-card:hover { border-color: rgba(56,189,248,.35); background: rgba(255,255,255,.07); }
.value-metric { color: var(--primary); }
.value-label { color: #f1f5f9; }
.value-desc { color: rgba(241,245,249,.5); }

/* Phase cards (home page) */
.phase-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.phase-card.anchor { background: rgba(13,148,136,.1); border-color: rgba(13,148,136,.32); }
.phase-num { color: rgba(241,245,249,.2); }
.phase-title { color: #f1f5f9; }
.phase-body { color: rgba(241,245,249,.5); }
.phase-anchor-badge { background: rgba(13,148,136,.2); color: #5eead4; border-color: rgba(13,148,136,.35); }

/* Deployment cards */
.deploy-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.deploy-card:hover { border-color: rgba(56,189,248,.35); }
.deploy-card.featured { background: rgba(13,148,136,.1); border-color: rgba(13,148,136,.35); }
.deploy-title { color: #f1f5f9; }
.deploy-subtitle { color: rgba(241,245,249,.5); }
.deploy-features li { color: rgba(241,245,249,.55); }
.df-check { color: #34d399; }
.deploy-badge { background: var(--primary); color: white; }

/* Ecosystem layers */
.eco-layer { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.eco-num { background: rgba(13,148,136,.18); border-color: rgba(13,148,136,.3); color: #5eead4; }
.eco-label { color: rgba(241,245,249,.65); }
.eco-chip { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.1); color: rgba(241,245,249,.6); }
.eco-arrow { color: rgba(255,255,255,.3); }

/* Presentation path strip */
.path-strip { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.07); }
.path-card-s { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.path-title { color: #f1f5f9; }
.path-steps-s { color: rgba(241,245,249,.55); }
.path-mins { color: #38bdf8; }

/* Footer */
.site-footer { background: #060a10; border-top-color: rgba(255,255,255,.07); }
.footer-brand { color: #f1f5f9; }
.footer-by { color: rgba(241,245,249,.35); }

/* Subpage hero (shared across all subpages) */
.subpage-hero { background: linear-gradient(180deg,#0a0e16,#0d1117); border-bottom: 1px solid rgba(255,255,255,.07); }
.subpage-eyebrow a { color: rgba(241,245,249,.45); }
.breadcrumb-sep { color: rgba(255,255,255,.25); }
.subpage-eyebrow span:last-child { color: rgba(241,245,249,.6); }
.subpage-title { color: #f1f5f9; }
.subpage-body { color: rgba(241,245,249,.55); }

/* Subpage content */
.subpage-content { background: #0a0e16; }
.subpage-content section { background: transparent; }

/* Phase detail cards (phases.html) */
.phase-detail { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.phase-detail-header { background: rgba(255,255,255,.04); border-bottom-color: rgba(255,255,255,.07); }
.phase-detail.anchor { border-color: rgba(13,148,136,.4); }
.phase-detail.anchor .phase-detail-header { background: rgba(13,148,136,.09); border-bottom-color: rgba(13,148,136,.2); }
.phase-detail-title { color: #f1f5f9; }
.phase-detail-subtitle { color: rgba(241,245,249,.55); }
.phase-detail-body { color: rgba(241,245,249,.55); }
.phase-outcome-box { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.08); }
.phase-outcome-label { color: rgba(241,245,249,.4); }
.phase-outcome-items li { color: rgba(241,245,249,.55); }
.il-dot-sm { color: #38bdf8; }

/* Info list (shared) */
.info-list li { color: rgba(241,245,249,.6); border-bottom-color: rgba(255,255,255,.05); }
.il-dot { color: #38bdf8; }

/* Info card (anchor principle etc.) */
.info-card { background: rgba(13,148,136,.09); border-color: rgba(13,148,136,.25); }
.info-card-title { color: #5eead4; }
.info-icon { background: rgba(13,148,136,.2); color: #5eead4; }
.info-card p { color: rgba(241,245,249,.6); }

/* Workflow cards (workflows.html) */
.wf-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.wf-card:hover { border-color: rgba(56,189,248,.35); background: rgba(255,255,255,.07); }
.wf-title { color: #f1f5f9; }
.wf-body { color: rgba(241,245,249,.5); }
.wf-tag { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.1); color: rgba(241,245,249,.6); }
.wf-bullet { color: rgba(241,245,249,.55); border-bottom-color: rgba(255,255,255,.05); }
.wf-detail-box { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.08); }
.wf-detail-label { color: rgba(241,245,249,.4); }
.wf-role-chip { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.1); color: rgba(241,245,249,.6); }

/* Role detail cards (roles.html) */
.role-detail-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.role-detail-card:hover { border-color: rgba(56,189,248,.35); }
.role-detail-header { background: rgba(255,255,255,.04); border-bottom-color: rgba(255,255,255,.07); }
.role-detail-title { color: #f1f5f9; }
.role-detail-tagline { color: rgba(241,245,249,.5); }
.role-detail-body { color: rgba(241,245,249,.55); }
.role-cap-label { color: rgba(241,245,249,.4); }
.role-cap-item { color: rgba(241,245,249,.6); border-bottom-color: rgba(255,255,255,.05); }

/* Overview cards (overview.html) */
.overview-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.overview-card:hover { border-color: rgba(56,189,248,.35); }
.overview-card-header { background: rgba(255,255,255,.04); border-bottom-color: rgba(255,255,255,.07); }
.overview-card-num { color: rgba(241,245,249,.2); }
.overview-card-title { color: #f1f5f9; }
.overview-card-body { color: rgba(241,245,249,.5); }
.overview-card-list li { color: rgba(241,245,249,.55); border-bottom-color: rgba(255,255,255,.05); }

/* Demo page cards */
.demo-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.demo-card-title { color: #f1f5f9; }
.demo-card-body { color: rgba(241,245,249,.55); }
.demo-login-box { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.demo-login-row { border-bottom-color: rgba(255,255,255,.07); }
.demo-login-label { color: rgba(241,245,249,.45); }
.demo-login-val { color: #f1f5f9; }
.demo-notice { color: rgba(241,245,249,.35); }
.demo-roles-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.demo-roles-title { color: rgba(241,245,249,.5); }
.demo-role-item { color: rgba(241,245,249,.6); border-bottom-color: rgba(255,255,255,.06); }
.demo-tips-card { background: rgba(13,148,136,.09); border-color: rgba(13,148,136,.25); }
.demo-tips-title { color: #5eead4; }
.demo-tip-item { color: rgba(241,245,249,.6); }
.demo-sugg-title { color: rgba(241,245,249,.45); }
.demo-sugg-item { color: rgba(241,245,249,.6); border-bottom-color: rgba(255,255,255,.06); }

/* Button outline adjustment on dark */
.btn-outline { border-color: rgba(13,148,136,.5); color: #5eead4; }
.btn-outline:hover { background: rgba(13,148,136,.12); border-color: var(--primary); color: var(--primary); }
.btn-ghost { color: rgba(241,245,249,.5); }
.btn-ghost:hover { color: #f1f5f9; background: rgba(255,255,255,.06); }

/* Stats rows */
.stats-row { border-color: rgba(255,255,255,.07); }
.stat-num { color: var(--primary); }
.stat-label { color: rgba(241,245,249,.45); }

/* Browser mock inner content stays light (intentional product screenshot effect) */
.browser-mock, .chat-mock, .chat-mock-sidebar, .chat-mock-main { /* keep as-is */ }

/* ═══════════════════════════════════════════════════════════════
   ENHANCED VISUAL IDENTITY — v3
   Metallic-eggplant backgrounds · Full chat mockup · Creative roles
   ═══════════════════════════════════════════════════════════════ */

/* Section background variants — eggplant-black palette */
.bg-v1 {
  background:
    radial-gradient(ellipse 70% 60% at 15% 60%, rgba(13,148,136,.09) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 20%, rgba(56,189,248,.05) 0%, transparent 60%),
    #0a0e16;
}
.bg-v2 {
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(120,40,200,.09) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 85% 90%, rgba(13,148,136,.06) 0%, transparent 55%),
    #0d0912;
}
.bg-v3 {
  background:
    radial-gradient(ellipse 70% 60% at 50% 110%, rgba(13,148,136,.11) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 8% 20%, rgba(56,189,248,.04) 0%, transparent 55%),
    #07100d;
}
.bg-v4 {
  background:
    radial-gradient(ellipse 60% 50% at 85% 40%, rgba(99,102,241,.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 15% 70%, rgba(13,148,136,.05) 0%, transparent 55%),
    #080c14;
}
.bg-v5 {
  background:
    radial-gradient(ellipse 70% 50% at 30% 30%, rgba(52,211,153,.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 75% 75%, rgba(99,102,241,.06) 0%, transparent 55%),
    #0a0d18;
}

/* Dot grid overlay */
.dot-grid-ov { position: relative; overflow: hidden; }
.dot-grid-ov::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none; z-index: 0;
}
.dot-grid-ov > * { position: relative; z-index: 1; }

/* Section glow line separator */
.section-has-glow { position: relative; }
.section-has-glow::before {
  content: '';
  position: absolute; top: 0; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(13,148,136,.45), rgba(56,189,248,.25), transparent);
  pointer-events: none;
}

/* Metallic shimmer on card surfaces */
.metal-card {
  background:
    linear-gradient(135deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.02) 40%, rgba(255,255,255,.04) 100%),
    rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 2px 12px rgba(0,0,0,.3);
}

/* ─── FULL BROWSER CHAT MOCKUP ─── */
.full-chat-wrap {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 0 50px;
}
.full-browser-mock {
  background: #f8fafc;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.1);
  position: relative; z-index: 1;
}
.fbm-bar {
  background: #dde1e8;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.fbm-status { margin-left: auto; display: flex; align-items: center; gap: 5px; font-size: 10px; color: #64748b; }
.fbm-app-nav {
  background: #ffffff;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e8ecf0;
}
.fbm-nav-brand { display: flex; align-items: center; gap: 8px; }
.fbm-nav-ico { width: 22px; height: 22px; background: linear-gradient(135deg,#0d9488,#0891b2); border-radius: 5px; display: flex; align-items: center; justify-content: center; font-size: 8px; font-weight: 900; color: white; }
.fbm-nav-name { font-size: 12px; font-weight: 700; color: #1a202c; }
.fbm-nav-client { font-size: 10px; color: #64748b; }
.fbm-nav-tabs { display: flex; gap: 3px; }
.fbm-nav-tab { padding: 4px 10px; border-radius: 6px; font-size: 10px; color: #64748b; background: #f1f5f9; }
.fbm-nav-tab.active { background: #0d9488; color: white; font-weight: 600; }
.fbm-chat-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  height: 510px;
}
/* Sidebar */
.fbm-sidebar {
  background: #f8fafc;
  border-right: 1px solid #e8ecf0;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}
.fbm-profile-row {
  display: flex; align-items: center; gap: 9px;
  padding-bottom: 12px; border-bottom: 1px solid #e8ecf0; margin-bottom: 10px;
}
.fbm-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg,#0d9488,#0891b2);
  color: white; display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; flex-shrink: 0;
}
.fbm-member-name { font-size: 11px; font-weight: 700; color: #1e293b; }
.fbm-member-id { font-size: 9.5px; color: #64748b; }
.fbm-sl { font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #94a3b8; margin: 8px 0 4px; }
.fbm-row { display: flex; justify-content: space-between; align-items: center; padding: 3px 0; border-bottom: 1px solid #f1f5f9; font-size: 10px; color: #64748b; }
.fbm-val { color: #1e293b; font-weight: 600; font-size: 10px; }
.fbm-badge-net { background: #dcfce7; color: #166534; border-radius: 4px; padding: 1px 5px; font-size: 9px; font-weight: 700; }
.fbm-num-badge { background: #0d9488; color: white; border-radius: 10px; padding: 0 6px; font-size: 9px; font-weight: 700; }
.fbm-phase-pill {
  display: flex; align-items: center; gap: 5px; margin-top: 10px;
  background: rgba(13,148,136,.1); border: 1px solid rgba(13,148,136,.2);
  border-radius: 20px; padding: 4px 8px; font-size: 9px; font-weight: 600; color: #0d9488;
}
.fbm-phase-dot { width: 5px; height: 5px; border-radius: 50%; background: #0d9488; }
/* Messages */
.fbm-messages-area {
  display: flex; flex-direction: column;
  background: white; overflow: hidden;
}
.fbm-messages {
  flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px;
}
.fbm-msg-system {
  align-self: center; max-width: 75%;
  background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px; padding: 8px 12px;
}
.fbm-system-tag { font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #0d9488; margin-bottom: 3px; }
.fbm-system-text { font-size: 10.5px; color: #1e293b; line-height: 1.5; }
.fbm-msg-r { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.fbm-msg-l { display: flex; gap: 7px; }
.fbm-ai-ico { width: 22px; height: 22px; border-radius: 5px; background: linear-gradient(135deg,#0d9488,#0891b2); color: white; display: flex; align-items: center; justify-content: center; font-size: 7px; font-weight: 800; flex-shrink: 0; margin-top: 2px; }
.fbm-bub { padding: 7px 11px; border-radius: 10px; font-size: 11px; line-height: 1.5; max-width: 380px; }
.fbm-bub-u { background: #0d9488; color: white; border-radius: 10px 10px 0 10px; }
.fbm-bub-a { background: #f8fafc; color: #1e293b; border: 1px solid #e2e8f0; border-radius: 0 10px 10px 10px; }
.fbm-meta { font-size: 8.5px; color: #94a3b8; }
/* Info cards inside chat */
.fbm-ic {
  background: white; border: 1px solid #e2e8f0; border-radius: 10px;
  overflow: hidden; margin-top: 5px; max-width: 340px; box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.fbm-ic-head {
  background: #f8fafc; padding: 7px 11px;
  display: flex; align-items: center; gap: 7px; border-bottom: 1px solid #e8ecf0;
}
.fbm-ic-badge { font-size: 9px; font-weight: 700; padding: 2px 7px; border-radius: 20px; }
.fbm-badge-ok { background: #dcfce7; color: #166534; }
.fbm-ic-id { font-size: 10px; font-weight: 700; color: #1e293b; }
.fbm-ic-row { display: flex; justify-content: space-between; padding: 5px 11px; font-size: 10px; border-bottom: 1px solid #f1f5f9; color: #64748b; }
.fbm-ic-row span:last-child { color: #1e293b; font-weight: 500; }
.fbm-ic-actions { display: flex; gap: 5px; padding: 7px 11px; flex-wrap: wrap; }
.fbm-ic-btn { padding: 3px 8px; border-radius: 5px; background: #f1f5f9; color: #475569; font-size: 9px; font-weight: 600; border: 1px solid #e2e8f0; }
.fbm-ic-btn-p { background: #0d9488; color: white; border-color: transparent; }
.fbm-prov-list { padding: 2px 0; }
.fbm-prov { display: flex; align-items: center; gap: 8px; padding: 6px 11px; border-bottom: 1px solid #f1f5f9; }
.fbm-prov:last-child { border: none; }
.fbm-prov-rank { width: 18px; height: 18px; border-radius: 50%; background: #e2e8f0; color: #64748b; font-size: 9px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fbm-prov-top .fbm-prov-rank { background: #0d9488; color: white; }
.fbm-prov-name { font-size: 10.5px; font-weight: 700; color: #1e293b; }
.fbm-prov-sub { font-size: 9px; color: #64748b; }
.fbm-prov-book { margin-left: auto; padding: 3px 8px; background: #0d9488; color: white; border-radius: 5px; font-size: 9px; font-weight: 600; flex-shrink: 0; }
/* Quick prompts */
.fbm-qp-wrap { padding: 8px 14px 6px; border-top: 1px solid #e8ecf0; background: #fafafa; }
.fbm-qp-label { font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #94a3b8; margin-bottom: 5px; }
.fbm-qp-pills { display: flex; gap: 5px; flex-wrap: wrap; }
.fbm-qp { padding: 4px 9px; background: white; border: 1px solid #e2e8f0; border-radius: 20px; font-size: 9.5px; color: #475569; cursor: pointer; white-space: nowrap; }
/* Input bar */
.fbm-input-row { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-top: 1px solid #e8ecf0; background: white; }
.fbm-input-box { flex: 1; padding: 7px 12px; background: #f1f5f9; border-radius: 8px; font-size: 11px; color: #94a3b8; }
.fbm-send { width: 30px; height: 30px; background: #0d9488; border-radius: 7px; display: flex; align-items: center; justify-content: center; color: white; font-size: 14px; }
/* Floating cards around mockup */
.fcm-card {
  position: absolute;
  background: rgba(10,14,22,.92);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 12px 16px;
  backdrop-filter: blur(12px);
  z-index: 10;
  box-shadow: 0 8px 32px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.07);
}
.fcm1 { top: -16px; right: -24px; min-width: 148px; border-color: rgba(13,148,136,.3); }
.fcm2 { bottom: 20px; left: -28px; min-width: 180px; border-color: rgba(56,189,248,.2); }
.fcm3 { top: 50%; right: -28px; transform: translateY(-50%); min-width: 140px; }
.fm-lbl { font-size: 8.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(241,245,249,.4); margin-bottom: 3px; }
.fm-big { font-size: 1.8rem; font-weight: 900; color: #0d9488; line-height: 1; }
.fm-trend { font-size: 9.5px; color: #34d399; margin-top: 2px; font-weight: 600; }
.fm-sub { font-size: 9.5px; color: rgba(241,245,249,.5); margin-top: 2px; }

/* ─── DASHBOARD MOCKUP ─── */
.dash-mock {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.15);
}
.dash-header {
  background: #1e293b;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dash-title { font-size: 11px; font-weight: 700; color: #f1f5f9; }
.dash-live { font-size: 9px; color: #34d399; display: flex; align-items: center; gap: 4px; }
.dash-live::before { content:''; width:5px;height:5px;border-radius:50%;background:#34d399;flex-shrink:0; }
.dash-kpis { display: grid; grid-template-columns: repeat(4,1fr); border-bottom: 1px solid #e8ecf0; }
.dash-kpi { padding: 10px 14px; border-right: 1px solid #e8ecf0; }
.dash-kpi:last-child { border: none; }
.dash-kpi-num { font-size: 1.3rem; font-weight: 900; color: #1e293b; }
.dash-kpi-lbl { font-size: 9px; color: #64748b; text-transform: uppercase; letter-spacing: 0.08em; }
.dash-kpi-trend { font-size: 9px; font-weight: 700; }
.dash-kpi-trend.up { color: #0d9488; }
.dash-kpi-trend.dn { color: #ef4444; }
.dash-body { padding: 12px 14px; display: grid; grid-template-columns: 1fr 180px; gap: 12px; }
.dash-bars-area { }
.dash-bars-title { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #94a3b8; margin-bottom: 8px; }
.dash-bar-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.dash-bar-lbl { font-size: 9px; color: #64748b; width: 56px; flex-shrink: 0; text-align: right; }
.dash-bar-track { flex: 1; height: 6px; background: #f1f5f9; border-radius: 3px; overflow: hidden; }
.dash-bar-fill { height: 100%; border-radius: 3px; }
.dash-bar-val { font-size: 9px; font-weight: 700; color: #1e293b; width: 28px; }
.dash-ring-area { display: flex; flex-direction: column; align-items: center; }
.dash-ring-title { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #94a3b8; margin-bottom: 8px; }
.dash-ring { width: 72px; height: 72px; border-radius: 50%; background: conic-gradient(#0d9488 0% 78%, #38bdf8 78% 90%, #818cf8 90% 97%, #34d399 97% 100%); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; position: relative; }
.dash-ring::after { content: ''; position: absolute; width: 46px; height: 46px; border-radius: 50%; background: white; }
.dash-ring-inner { position: relative; z-index: 1; text-align: center; }
.dash-ring-pct { font-size: 13px; font-weight: 900; color: #1e293b; }
.dash-ring-sub { font-size: 7.5px; color: #64748b; }
.dash-legend { width: 100%; }
.dl-item { display: flex; align-items: center; gap: 5px; margin-bottom: 4px; font-size: 9px; color: #64748b; }
.dl-dot { width: 7px; height: 7px; border-radius: 2px; flex-shrink: 0; }

/* ─── INSIGHTS MOCKUP ─── */
.ins-mock {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.15);
}
.ins-header {
  background: #1e293b;
  padding: 10px 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.ins-badge { font-size: 9px; background: rgba(13,148,136,.2); color: #5eead4; padding: 2px 8px; border-radius: 20px; border: 1px solid rgba(13,148,136,.3); }
.ins-list { padding: 6px 0; }
.ins-item { display: flex; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #f1f5f9; align-items: flex-start; }
.ins-item:last-child { border: none; }
.ins-ico { width: 28px; height: 28px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; margin-top: 1px; }
.ins-ico-a { background: #fef2f2; }
.ins-ico-i { background: #eff6ff; }
.ins-ico-w { background: #fffbeb; }
.ins-title { font-size: 11px; font-weight: 700; color: #1e293b; margin-bottom: 2px; }
.ins-body { font-size: 10px; color: #64748b; line-height: 1.5; margin-bottom: 3px; }
.ins-meta { font-size: 8.5px; color: #94a3b8; }
.ins-signal { font-weight: 700; color: #0d9488; }

/* ─── CREATIVE ROLES PAGE ─── */
.role-group-banner {
  border-radius: 12px;
  padding: 20px 28px;
  margin-bottom: 24px;
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.rgb-service { background: rgba(13,148,136,.1); border: 1px solid rgba(13,148,136,.25); }
.rgb-ops { background: rgba(56,189,248,.08); border: 1px solid rgba(56,189,248,.2); }
.rgb-admin { background: rgba(139,92,246,.08); border: 1px solid rgba(139,92,246,.2); }
.rgb-ico { font-size: 1.6rem; }
.rgb-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; }
.rgb-label-service { color: #5eead4; }
.rgb-label-ops { color: #38bdf8; }
.rgb-label-admin { color: #a78bfa; }
.rgb-title { font-size: 1.15rem; font-weight: 800; color: #f1f5f9; }
.rgb-body { font-size: 12px; color: rgba(241,245,249,.5); margin-top: 2px; }

.role-spotlight {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 14px;
  transition: border-color .2s, background .2s;
}
.role-spotlight:hover { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.06); }
.role-spotlight.accent-teal { border-left: 3px solid rgba(13,148,136,.5); }
.role-spotlight.accent-teal:hover { border-left-color: #0d9488; }
.role-spotlight.accent-blue { border-left: 3px solid rgba(56,189,248,.4); }
.role-spotlight.accent-blue:hover { border-left-color: #38bdf8; }
.role-spotlight.accent-purple { border-left: 3px solid rgba(139,92,246,.4); }
.role-spotlight.accent-purple:hover { border-left-color: #a78bfa; }

.rs-inner { display: grid; grid-template-columns: 240px 1fr; }
.rs-left {
  padding: 24px 20px;
  border-right: 1px solid rgba(255,255,255,.07);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rs-avatar {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}
.rs-avatar-teal { background: rgba(13,148,136,.15); border: 1px solid rgba(13,148,136,.25); }
.rs-avatar-blue { background: rgba(56,189,248,.12); border: 1px solid rgba(56,189,248,.2); }
.rs-avatar-purple { background: rgba(139,92,246,.12); border: 1px solid rgba(139,92,246,.2); }
.rs-name { font-size: 1.05rem; font-weight: 800; color: #f1f5f9; margin-bottom: 2px; }
.rs-tagline { font-size: 11px; color: rgba(241,245,249,.45); line-height: 1.5; }
.rs-context { list-style: none; margin-top: 4px; }
.rs-context li { font-size: 10.5px; color: rgba(241,245,249,.5); padding: 3px 0; display: flex; gap: 7px; border-bottom: 1px solid rgba(255,255,255,.04); }
.rs-context li:last-child { border: none; }
.rs-context .il-dot { color: rgba(13,148,136,.7); font-size: 9px; margin-top: 3px; flex-shrink: 0; }

.rs-right { padding: 24px; }
.rs-cap-label { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(241,245,249,.35); margin-bottom: 10px; }
.rs-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.rs-chip {
  font-size: 10.5px; font-weight: 600; padding: 4px 11px; border-radius: 8px;
  background: rgba(255,255,255,.07); color: rgba(241,245,249,.65); border: 1px solid rgba(255,255,255,.1);
}
.rs-chip-teal { background: rgba(13,148,136,.14); color: #5eead4; border-color: rgba(13,148,136,.25); }
.rs-chip-blue { background: rgba(56,189,248,.1); color: #38bdf8; border-color: rgba(56,189,248,.2); }
.rs-chip-purple { background: rgba(139,92,246,.12); color: #a78bfa; border-color: rgba(139,92,246,.2); }
.rs-desc { font-size: 12.5px; color: rgba(241,245,249,.55); line-height: 1.7; }

/* Role map visual at top of roles page */
.role-map {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  margin-bottom: 48px;
}
.rm-group {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 16px;
}
.rm-group-label { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 10px; }
.rm-label-svc { color: #5eead4; }
.rm-label-ops { color: #38bdf8; }
.rm-label-adm { color: #a78bfa; }
.rm-roles { display: flex; flex-wrap: wrap; gap: 6px; }
.rm-role { display: flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 8px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); font-size: 11px; color: rgba(241,245,249,.7); }
.rm-role-svc { border-color: rgba(13,148,136,.2); }
.rm-role-ops { border-color: rgba(56,189,248,.2); }
.rm-role-adm { border-color: rgba(139,92,246,.2); }

/* ═══ v3.1 PATCH: chat mockup intel panel + welcome card + CTA fix ═══ */

/* CTA section — fix light background caused by --text-1 override */
.cta-section {
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(120,40,200,.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 90%, rgba(13,148,136,.1) 0%, transparent 55%),
    #0d0912 !important;
}
.cta-section::before { display: none !important; }

/* Hero mini-chat user icon — more visible */
.ico-usr { background: rgba(13,148,136,.15) !important; color: #0d9488 !important; }

/* ── Welcome card in Section 2 chat ── */
.fbm-welcome {
  background: linear-gradient(135deg, #0f766e 0%, #0e7490 100%);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
  flex-shrink: 0;
}
.fbm-welcome-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.fbm-layla-av {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.18);
  border: 2px solid rgba(255,255,255,.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.fbm-welcome-gr { font-size: 14px; font-weight: 800; color: white; line-height: 1.2; }
.fbm-welcome-sr { font-size: 10px; color: rgba(255,255,255,.65); }
.fbm-cov-badge {
  margin-left: auto; display: flex; align-items: center; gap: 3px;
  background: rgba(52,211,153,.2); border: 1px solid rgba(52,211,153,.4);
  border-radius: 20px; padding: 3px 8px; font-size: 9px; font-weight: 700; color: #34d399;
  white-space: nowrap;
}
.fbm-stats-strip { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin-bottom: 10px; }
.fbm-stat-tile { background: rgba(255,255,255,.12); border-radius: 8px; padding: 7px 8px; text-align: center; }
.fbm-stat-n { font-size: 1.15rem; font-weight: 900; color: white; }
.fbm-stat-l { font-size: 8px; color: rgba(255,255,255,.6); }
.fbm-ctx-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.fbm-ctx { background: rgba(255,255,255,.12); border-radius: 7px; padding: 7px 9px; }
.fbm-ctx-tag { font-size: 7.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,.55); margin-bottom: 2px; }
.fbm-ctx-ttl { font-size: 10px; font-weight: 700; color: white; }
.fbm-ctx-sub { font-size: 9px; color: rgba(255,255,255,.6); }

/* ── Welcome quick prompts ── */
.fbm-wp-block { margin: 0 0 10px; }
.fbm-wp-lbl { font-size: 8.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #94a3b8; margin-bottom: 5px; }
.fbm-wp-grid { display: flex; flex-direction: column; gap: 4px; }
.fbm-wp-btn {
  padding: 7px 11px; background: #f8fafc; border: 1px solid #e2e8f0;
  border-radius: 8px; font-size: 10.5px; color: #334155; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
}
.fbm-wp-arr { color: #94a3b8; font-size: 11px; }

/* ── Member Intelligence right panel ── */
.fbm-intel {
  background: #f8fafc;
  border-left: 1px solid #e8ecf0;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.fbm-intel-head {
  background: #1e293b;
  padding: 10px 12px;
  flex-shrink: 0;
}
.fbm-intel-ht { font-size: 11px; font-weight: 700; color: white; }
.fbm-intel-hs { font-size: 8.5px; color: rgba(255,255,255,.45); margin-top: 1px; }
.fbm-intel-list { flex: 1; overflow-y: auto; }
.fbm-intel-card {
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9;
  transition: background .15s;
}
.fbm-intel-card:hover { background: #f1f5f9; }
.fbm-intel-tag { font-size: 7.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #94a3b8; margin-bottom: 3px; }
.fbm-intel-name { font-size: 10.5px; font-weight: 700; color: #1e293b; line-height: 1.3; }
.fbm-intel-sub { font-size: 9px; color: #64748b; margin-top: 1px; }
.fbm-intel-when { font-size: 8.5px; color: #94a3b8; margin-top: 3px; }
.fbm-intel-badge { display: inline-flex; align-items: center; font-size: 8.5px; font-weight: 700; padding: 1px 7px; border-radius: 10px; margin-top: 4px; }
.fib-pending { background: #fff7ed; color: #c2410c; }
.fib-active { background: #f0fdf4; color: #166534; }
.fib-review { background: #eff6ff; color: #1d4ed8; }
.fib-approved { background: #f0fdf4; color: #166534; }
.fib-suggest { background: #faf5ff; color: #7c3aed; }

/* ═══ v3.2 PATCH: solid ico-usr, product-accurate welcome card ═══ */

/* Hero user bubble icon — solid teal, white text */
.ico-usr { background: #0d9488 !important; color: white !important; font-weight: 800 !important; }

/* Welcome card — product-accurate context cards */
.fbm-welcome-body {
  background: #f1f5f9;
  border-radius: 0 0 10px 10px;
  padding: 10px;
}
.fbm-ctx-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fbm-ctx-card {
  background: white;
  border-radius: 8px;
  padding: 9px 11px;
  border-left: 3px solid #e2e8f0;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.fbm-ctx-card.ctx-visit { border-left-color: #f59e0b; }
.fbm-ctx-card.ctx-claim { border-left-color: #0891b2; }
.fbm-ctx-icon { font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.fbm-ctx-body {}
.fbm-ctx-lbl { font-size: 7.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 2px; }
.ctx-visit .fbm-ctx-lbl { color: #d97706; }
.ctx-claim .fbm-ctx-lbl { color: #0e7490; }
.fbm-ctx-title { font-size: 10.5px; font-weight: 700; color: #1e293b; }
.fbm-ctx-when { font-size: 9px; }
.ctx-visit .fbm-ctx-when { color: #d97706; }
.ctx-claim .fbm-ctx-when { color: #0e7490; }

/* Layla avatar image in welcome card */
.fbm-layla-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2px solid rgba(255,255,255,.4);
  flex-shrink: 0;
}

/* hero-inner-v2: reduce vertical padding, top-align columns */
.hero-inner-v2 { padding: 56px 32px 48px !important; align-items: flex-start !important; }

/* ── Float card dark theming ───────────────────────────────── */
/* float1: deep teal-glass (stat card) */
.hpw-float1.pf-card {
  background: #071c1c !important;
  border: 1px solid rgba(20,184,166,0.40) !important;
  box-shadow: 0 12px 40px rgba(20,184,166,0.12), 0 2px 8px rgba(0,0,0,0.6) !important;
}
.hpw-float1 .pf-label { color: #5eead4 !important; }
.hpw-float1 .pf-metric { color: #2dd4bf !important; }
.hpw-float1 .pf-sub   { color: #99f6e4 !important; }
.hpw-float1 .pf-trend { color: #34d399 !important; }

/* float2: deep violet-glass (resolution card) */
.hpw-float2.pf-card {
  background: #0e0a1c !important;
  border: 1px solid rgba(139,92,246,0.40) !important;
  box-shadow: 0 12px 40px rgba(139,92,246,0.12), 0 2px 8px rgba(0,0,0,0.6) !important;
}
.hpw-float2 .pf-dot   { background: #a78bfa !important; }
.hpw-float2 .pf-title { color: #e2e8f0 !important; }
.hpw-float2 .pf-body  { color: #a5b4fc !important; }

/* ── Glow orb boosts for hero + Layla sections ────────────────
   Uses ::after to avoid colliding with dot-grid-ov ::before
   ─────────────────────────────────────────────────────────── */
.hero-glow-boost::after,
.layla-glow-boost::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Hero: warm teal pool top-right + cyan whisper bottom-left */
.hero-glow-boost::after {
  background:
    radial-gradient(ellipse 55% 60% at 78% 30%, rgba(13,148,136,.22) 0%, transparent 65%),
    radial-gradient(ellipse 40% 45% at 18% 75%, rgba(8,145,178,.14) 0%, transparent 60%),
    radial-gradient(ellipse 30% 35% at 55% 10%,  rgba(52,211,153,.10) 0%, transparent 55%);
}

/* Layla: deep purple crown + teal bloom bottom-right */
.layla-glow-boost::after {
  background:
    radial-gradient(ellipse 65% 55% at 50% 5%,  rgba(120,40,200,.22) 0%, transparent 65%),
    radial-gradient(ellipse 45% 50% at 88% 85%, rgba(13,148,136,.16) 0%, transparent 60%),
    radial-gradient(ellipse 35% 40% at 10% 50%, rgba(99,102,241,.10) 0%, transparent 55%);
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — Mobile-first breakpoints
   Written after the full desktop layer so specificity is easy
   ══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   AI COST OPTIMIZATION PAGE
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero ── */
.aicost-hero {
  background: linear-gradient(135deg, #051414 0%, #071a1a 40%, #080d1a 100%);
  padding: 108px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.aicost-hero::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(ellipse, rgba(13,148,136,.18) 0%, transparent 65%);
  pointer-events: none;
}
.aicost-hero-eyebrow {
  display: inline-block;
  background: rgba(13,148,136,.15);
  border: 1px solid rgba(13,148,136,.3);
  color: #5eead4;
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.aicost-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.aicost-hero-body {
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,.55);
  max-width: 620px;
  margin: 0 auto 44px;
  line-height: 1.75;
}
.aicost-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  gap: 24px 0;
}
.aicost-stat {
  padding: 0 40px;
  text-align: center;
}
.aicost-stat-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: #5eead4;
  letter-spacing: -.04em;
  line-height: 1;
}
.aicost-stat-pct { font-size: 1.4rem; }
.aicost-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,.4);
  margin-top: 6px;
  line-height: 1.5;
  font-weight: 500;
}
.aicost-stat-div {
  width: 1px; height: 44px;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}

/* ── Problem cards ── */
.aicost-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.aicost-problem-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.aicost-problem-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 900;
  margin-bottom: 16px;
}
.aicost-problem-title {
  font-size: 1rem; font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.aicost-problem-body {
  font-size: .875rem;
  color: rgba(255,255,255,.45);
  line-height: 1.7;
}

/* ── Routing Stack ── */
.aicost-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}
.aicost-layer {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.ac-layer-1 { border-color: rgba(16,185,129,.3); background: rgba(16,185,129,.04); }
.ac-layer-2 { border-color: rgba(13,148,136,.3); background: rgba(13,148,136,.04); }
.ac-layer-3 { border-color: rgba(56,189,248,.3); background: rgba(56,189,248,.04); }
.ac-layer-4 { border-color: rgba(168,85,247,.3); background: rgba(168,85,247,.04); }
.ac-layer-5 { border-color: rgba(245,158,11,.3); background: rgba(245,158,11,.04); }

.aicost-layer-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  flex-wrap: wrap;
  gap: 8px 12px;
}
.aicost-layer-num {
  font-size: 10px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.06);
  padding: 3px 9px;
  border-radius: 6px;
  white-space: nowrap;
}
.aicost-layer-name {
  font-size: 1rem; font-weight: 700;
  color: #fff;
  flex: 1;
}
.aicost-layer-badge {
  font-size: 10px; font-weight: 700;
  letter-spacing: .04em;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.badge-free   { background: rgba(16,185,129,.15); color: #34d399; border: 1px solid rgba(16,185,129,.25); }
.badge-low    { background: rgba(13,148,136,.15); color: #5eead4; border: 1px solid rgba(13,148,136,.25); }
.badge-mid    { background: rgba(56,189,248,.12); color: #7dd3fc; border: 1px solid rgba(56,189,248,.25); }

.aicost-layer-body { padding: 20px 24px 24px; }
.aicost-layer-desc {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  margin-bottom: 16px;
}
.aicost-layer-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.acl-ex {
  font-size: 11px; font-weight: 600;
  color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  padding: 4px 10px;
  border-radius: 20px;
}
.aicost-layer-bar {
  padding: 0 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.aicost-bar-track {
  height: 6px;
  background: rgba(255,255,255,.08);
  border-radius: 3px;
  overflow: hidden;
}
.aicost-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width .6s ease;
}
.aicost-bar-label {
  font-size: 11px;
  color: rgba(255,255,255,.4);
}
.aicost-bar-label strong { color: rgba(255,255,255,.7); }

/* Stack connector arrows */
.aicost-stack-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0;
  gap: 2px;
}
.asa-line {
  width: 1px; height: 16px;
  background: rgba(255,255,255,.15);
}
.asa-label {
  font-size: 10px;
  color: rgba(255,255,255,.3);
  letter-spacing: .04em;
  text-align: center;
  padding: 0 8px;
}
.asa-arrow {
  font-size: 12px;
  color: rgba(255,255,255,.2);
}

/* Model tiers inside Layer 3 */
.aicost-model-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 8px;
}
.aicost-model-tier {
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid rgba(255,255,255,.08);
}
.tier-micro   { background: rgba(16,185,129,.08); border-color: rgba(16,185,129,.2); }
.tier-mid     { background: rgba(56,189,248,.08); border-color: rgba(56,189,248,.2); }
.tier-premium { background: rgba(168,85,247,.08); border-color: rgba(168,85,247,.2); }

.amt-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}
.amt-icon { font-size: 1.3rem; flex-shrink: 0; }
.amt-name { font-size: .875rem; font-weight: 800; color: #fff; line-height: 1.2; }
.amt-models { font-size: 10px; color: rgba(255,255,255,.35); margin-top: 2px; }
.amt-pct {
  margin-left: auto;
  font-size: 1rem; font-weight: 900;
  color: rgba(255,255,255,.5);
  white-space: nowrap;
}
.amt-desc {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  line-height: 1.65;
  margin-bottom: 12px;
}
.amt-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.amt-tags span {
  font-size: 9.5px; font-weight: 600;
  color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  padding: 2px 8px;
  border-radius: 10px;
}

/* Context compression rows */
.aicost-compression-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.aicost-comp-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.aci-label {
  font-size: 11px; font-weight: 600;
  color: rgba(255,255,255,.4);
  width: 120px;
  flex-shrink: 0;
}
.aci-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.aci-before, .aci-after {
  font-size: 10.5px; font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
}
.aci-before {
  background: rgba(239,68,68,.1);
  color: #fca5a5;
  border: 1px solid rgba(239,68,68,.2);
}
.aci-after {
  background: rgba(16,185,129,.1);
  color: #6ee7b7;
  border: 1px solid rgba(16,185,129,.2);
}
.aci-arrow {
  font-size: 12px;
  color: rgba(255,255,255,.2);
}

/* ── Guardrails ── */
.aicost-guardrail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.aicost-guardrail-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
}
.acg-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.acg-title {
  font-size: .95rem; font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.acg-body {
  font-size: .85rem;
  color: rgba(255,255,255,.45);
  line-height: 1.7;
  margin-bottom: 14px;
}
.acg-stat {
  font-size: 10px; font-weight: 600;
  color: rgba(255,255,255,.3);
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 12px;
}

/* ── Provider cards ── */
.aicost-provider-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.aicost-provider-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
}
.acp-logo {
  font-size: 1.1rem; font-weight: 900;
  margin-bottom: 8px;
}
.acp-models {
  font-size: 10.5px; font-weight: 600;
  color: rgba(255,255,255,.3);
  margin-bottom: 10px;
  line-height: 1.5;
}
.acp-desc {
  font-size: .83rem;
  color: rgba(255,255,255,.45);
  line-height: 1.65;
}

/* Provider routing logic */
.aicost-routing-logic {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}
.arl-title {
  font-size: .875rem; font-weight: 700;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
  text-align: center;
}
.arl-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.arl-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
  min-width: 160px;
  max-width: 200px;
}
.arls-num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.arls-text {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  line-height: 1.5;
}
.arl-step-arrow {
  font-size: 1rem;
  color: rgba(255,255,255,.15);
  flex-shrink: 0;
  padding-top: 2px;
}

/* ── Observability ── */
.aicost-obs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
}
.aicost-obs-mock {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.aom-header {
  padding: 12px 18px;
  font-size: 12px; font-weight: 700;
  color: rgba(255,255,255,.5);
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.03);
}
.aom-kpis {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.aom-kpi {
  flex: 1;
  padding: 14px 18px;
  border-right: 1px solid rgba(255,255,255,.07);
}
.aom-kpi:last-child { border-right: none; }
.aom-kpi-v {
  font-size: 1.4rem; font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
}
.aom-kpi-l {
  font-size: 9.5px;
  color: rgba(255,255,255,.3);
  font-weight: 600;
}
.aom-row-head {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1fr;
  padding: 9px 18px;
  font-size: 9.5px; font-weight: 700;
  color: rgba(255,255,255,.25);
  letter-spacing: .05em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.aom-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1fr;
  padding: 9px 18px;
  font-size: 11px;
  color: rgba(255,255,255,.6);
  border-bottom: 1px solid rgba(255,255,255,.04);
  align-items: center;
}
.aom-row:last-child { border-bottom: none; }
.aom-tier {
  font-size: 9.5px; font-weight: 700;
  padding: 2px 8px; border-radius: 4px;
  display: inline-block;
}
.t-det  { background: rgba(16,185,129,.12); color: #34d399; }
.t-micro{ background: rgba(13,148,136,.12); color: #5eead4; }
.t-mid  { background: rgba(56,189,248,.12); color: #7dd3fc; }
.t-prem { background: rgba(168,85,247,.12); color: #c084fc; }
.aom-cost { font-weight: 700; font-size: 11px; }
.aom-cost.free { color: #34d399; }
.aom-cost.low  { color: #5eead4; }
.aom-cost.med  { color: #fbbf24; }
.aom-cost.high { color: #f87171; }

.aicost-obs-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.aof-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.aof-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.aof-title {
  font-size: .95rem; font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.aof-body {
  font-size: .85rem;
  color: rgba(255,255,255,.45);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════
   AI COST TEASER SECTION (homepage)
   ═══════════════════════════════════════════════════════════════ */
.aicost-teaser {
  background: #06111a;
  position: relative;
  overflow: hidden;
}
.aicost-teaser::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(13,148,136,.12) 0%, transparent 65%);
  pointer-events: none;
}
/* ── AI Cost teaser: two-column split ───────────────────────── */
.act-split {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: center;
  margin-bottom: 44px;
}
.act-split-left {}
.act-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.act-stat {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  transition: border-color .2s, background .2s;
}
.act-stat:hover {
  border-color: rgba(13,148,136,.35);
  background: rgba(13,148,136,.05);
}
.act-icon {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.act-num {
  font-size: 2.2rem; font-weight: 900;
  color: #5eead4;
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 6px;
}
.act-num-small { font-size: 1rem; }
.act-stat-label {
  font-size: 11.5px; font-weight: 700;
  color: rgba(255,255,255,.6);
  line-height: 1.45;
}
.act-stack-preview {
  margin-top: 36px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}
.act-stack-row {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.act-stack-layer {
  flex: 1;
  min-width: 0;
  text-align: center;
  padding: 14px 8px;
  position: relative;
}
.act-stack-layer::after {
  content: '→';
  position: absolute;
  right: -6px; top: 50%; transform: translateY(-50%);
  font-size: 14px;
  color: rgba(255,255,255,.15);
}
.act-stack-layer:last-child::after { display: none; }
.asl-icon { font-size: 1.2rem; margin-bottom: 6px; }
.asl-name {
  font-size: 11px; font-weight: 700;
  color: rgba(255,255,255,.65);
  line-height: 1.3;
}
.asl-cost {
  font-size: 9.5px; font-weight: 700;
  margin-top: 4px;
  padding: 2px 7px;
  border-radius: 10px;
  display: inline-block;
}
.asl-cost.free { background: rgba(16,185,129,.12); color: #34d399; }
.asl-cost.low  { background: rgba(13,148,136,.12); color: #5eead4; }
.asl-cost.var  { background: rgba(56,189,248,.12); color: #7dd3fc; }

/* ── Tablet (≤ 900px) ──────────────────────────────────────── */
@media (max-width: 900px) {
  /* Nav: hide long link list, keep logo + CTA */
  .nav-links { display: none; }
  .nav-inner { padding: 0 20px; }

  /* Hero: stack columns — text first, mockup below */
  .hero-inner-v2 {
    grid-template-columns: 1fr !important;
    padding: 40px 20px 36px !important;
    gap: 32px;
  }
  .hero-visual { order: 2; }

  /* Float cards on hero: hide */
  .hpw-float1, .hpw-float2 { display: none !important; }

  /* Hero browser mockup: limit width */
  .hero-product-wrap { max-width: 100%; }

  /* Stats row: wrap */
  .hero-stats { flex-wrap: wrap; gap: 20px 32px; }

  /* Container */
  .container, .container-wide { padding: 0 20px; }

  /* Trust strip: wrap */
  .trust-inner { flex-wrap: wrap; justify-content: center; gap: 10px 20px; padding: 14px 20px; }

  /* Section headers */
  .section-title { font-size: 1.75rem; }

  /* Full chat mockup in Section 2: hide floating cards,
     collapse 3-column layout to messages-only */
  .fcm1, .fcm2, .fcm3 { display: none !important; }
  .full-chat-wrap { overflow: visible; padding: 10px 0 30px; }
  .fbm-sidebar  { display: none !important; }
  .fbm-intel    { display: none !important; }
  .fbm-chat-grid {
    grid-template-columns: 1fr !important;
    height: auto !important;
  }
  .fbm-messages-area { min-height: 440px; }

  /* App nav tabs: horizontally scrollable, no wrap */
  .fbm-nav-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .fbm-nav-tabs::-webkit-scrollbar { display: none; }
  .fbm-nav-tab { white-space: nowrap; flex-shrink: 0; }
  .fbm-nav-client { display: none; }

  /* Dashboard section: stack 2-col grids */
  .proof-grid { grid-template-columns: 1fr !important; }

  /* Arch / differentiation grids */
  .arch-cmp, .path-inner { grid-template-columns: 1fr !important; }

  /* Phases row */
  .phases-row { grid-template-columns: 1fr !important; }

  /* Workflow list */
  .workflow-card { flex-direction: column; }

  /* CTA section */
  .cta-section { padding: 60px 20px; }
  .cta-btn-row { flex-direction: column; align-items: center; gap: 12px; }
  .cta-btn-row .btn { width: 100%; max-width: 320px; text-align: center; }

  /* Value cards: 2 col at tablet */
  .value-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Roles grid: 2 cols */
  .roles-grid { grid-template-columns: 1fr 1fr !important; }

  /* Tile grid: 2 cols */
  .tiles-grid { grid-template-columns: 1fr 1fr !important; }

  /* Ecosystem chips: wrap tightly */
  .eco-chips { flex-wrap: wrap; gap: 5px; }

  /* AI cost page */
  .aicost-problem-grid { grid-template-columns: 1fr 1fr; }
  .aicost-model-tiers  { grid-template-columns: 1fr; gap: 10px; }
  .aicost-guardrail-grid { grid-template-columns: 1fr 1fr; }
  .aicost-provider-grid  { grid-template-columns: 1fr 1fr; }
  .aicost-obs-grid { grid-template-columns: 1fr; gap: 28px; }
  .arl-steps { flex-direction: column; align-items: flex-start; gap: 12px; }
  .arl-step-arrow { transform: rotate(90deg); align-self: center; }
  .arl-step { max-width: 100%; }
  /* AI cost homepage teaser: stack split vertically at tablet */
  .act-split { grid-template-columns: 1fr; gap: 36px; }
  .act-stats-grid { grid-template-columns: repeat(4, 1fr); }
  .act-stack-row { gap: 0; }
  .act-stack-layer { min-width: 80px; padding: 10px 6px; }
  .asl-name { font-size: 9.5px; }
}

/* ── Mobile (≤ 600px) ──────────────────────────────────────── */
@media (max-width: 600px) {
  /* ── Global ── */
  section { padding: 60px 0; }
  .container, .container-wide { padding: 0 16px; }

  /* ── Nav ── */
  .nav-logo-by { display: none; }
  .nav-cta .btn { padding: 7px 14px; font-size: 12px; }

  /* ── Hero text ── */
  .hero-title { font-size: clamp(2rem, 10vw, 3rem) !important; }
  .hero-subtitle { font-size: 1.05rem !important; }
  .hero-body { font-size: 0.9rem; max-width: 100% !important; }
  .hero-eyebrow { font-size: 9px; }

  /* CTA buttons: stack */
  .hero-ctas { flex-direction: column !important; gap: 10px; }
  .hero-ctas .btn { width: 100%; text-align: center; }

  /* Hero stats: wrap tighter */
  .hero-stats { gap: 14px 24px; }
  .hero-stat-num { font-size: 1.6rem; }

  /* ── Hero chat mockup: hide sidebar ── */
  .chat-mock-sidebar { display: none !important; }
  .chat-mock {
    grid-template-columns: 1fr !important;
    height: 260px;
  }

  /* ── Section headers ── */
  .section-title { font-size: 1.4rem !important; }
  .section-eyebrow { font-size: 9px; }
  .section-body { font-size: 0.875rem; }

  /* ── Full chat mockup (Section 2) ──
     Wrap in a scroll container so users can pan the mockup
     without layout breaking */
  .full-chat-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 20px;
  }
  .full-browser-mock {
    min-width: 340px;
    width: 100%;
  }

  /* Browser bar: truncate URL */
  .browser-url, .fbm-bar .browser-url {
    max-width: 140px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: none !important;
  }
  .fbm-status { display: none; }

  /* fbm nav: compact */
  .fbm-app-nav { padding: 7px 12px; gap: 6px; }
  .fbm-nav-name { font-size: 11px; }

  /* fbm welcome card */
  .fbm-welcome-gr { font-size: 12px; }
  .fbm-welcome-sr { font-size: 9px; }
  .fbm-cov-badge { font-size: 7.5px; padding: 2px 5px; white-space: nowrap; }
  .fbm-stats-strip { gap: 6px; }
  .fbm-stat-n { font-size: 1.1rem; }
  .fbm-stat-l { font-size: 7px; }

  /* fbm context cards: stack */
  .fbm-ctx-row { flex-direction: column; gap: 6px; }
  .fbm-ctx-card { padding: 8px 10px; }
  .fbm-ctx-title { font-size: 10px; }

  /* fbm quick prompt grid: 1 column */
  .fbm-wp-grid { grid-template-columns: 1fr !important; gap: 6px; }
  .fbm-wp-btn { font-size: 10.5px; padding: 7px 10px; }

  /* fbm quick-action pills: horizontally scrollable row */
  .fbm-qp-pills {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .fbm-qp-pills::-webkit-scrollbar { display: none; }
  .fbm-qp { white-space: nowrap; flex-shrink: 0; }

  /* fbm input bar */
  .fbm-input-row { padding: 8px 10px; gap: 6px; }
  .fbm-input-box { font-size: 10.5px; }
  .fbm-send { width: 28px; height: 28px; font-size: 13px; }

  /* fbm message bubbles: slightly smaller */
  .fbm-bub { font-size: 10.5px; padding: 7px 10px; }
  .fbm-ic-row span { font-size: 9.5px; word-break: break-word; }
  .fbm-ic-actions { flex-wrap: wrap; gap: 5px; }
  .fbm-ic-btn { font-size: 9.5px; padding: 5px 8px; }
  .fbm-prov-name { font-size: 10px; }
  .fbm-prov-sub { font-size: 8.5px; }

  /* ── Dashboard section ── */
  .dash-kpis { grid-template-columns: 1fr 1fr !important; gap: 8px; }
  .dash-body { flex-direction: column !important; gap: 16px; }
  .dash-ring { width: 80px; height: 80px; }
  .dash-ring-inner { width: 52px; height: 52px; }
  .dash-ring-pct { font-size: 14px; }

  /* ── Roles grid: 1 col ── */
  .roles-grid { grid-template-columns: 1fr !important; }

  /* ── Tiles grid: 1 col ── */
  .tiles-grid { grid-template-columns: 1fr !important; }

  /* ── Sub-page hero ── */
  .subpage-hero { padding: 52px 16px 40px; }
  .subpage-title { font-size: 1.7rem; }
  .subpage-body { font-size: 0.9rem; }

  /* ── Phase / role cards ── */
  .phase-card, .role-card { padding: 20px 16px; }

  /* ── Workflow cards ── */
  .wf-header { flex-wrap: wrap; gap: 8px; }
  .wf-intent-grid { grid-template-columns: 1fr 1fr !important; }

  /* ── Footer ── */
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* ── Demo page ── */
  .demo-layout { grid-template-columns: 1fr !important; }
  .demo-card { padding: 32px 20px; }
  .demo-main { padding: 32px 16px !important; }
  .demo-secondary-btns { flex-direction: column; gap: 8px; }
  .demo-secondary-btn { justify-content: center; }

  /* ── Demo float button ── */
  .demo-float-btn {
    bottom: 16px;
    right: 16px;
    font-size: 12px;
    padding: 10px 16px;
    gap: 7px;
  }
  .demo-float-avatar { width: 28px; height: 28px; font-size: 10px; }

  /* ── Trust strip ── */
  .trust-item { font-size: 11px; }

  /* ── Eco layers: prevent label squish ──
     Wrap the row so eco-num + eco-label stay on one line,
     chips flow onto a second line instead of crushing the label */
  .eco-layer { flex-wrap: wrap; gap: 8px 12px; }
  .eco-label { flex: 1; min-width: 100px; }
  .eco-chips { width: 100%; }

  /* ── Deploy grid: stack to 1 column ── */
  .deploy-grid { grid-template-columns: 1fr !important; }

  /* ── Long text overflow guard ── */
  p, li, span { word-break: break-word; overflow-wrap: break-word; }

  /* ── AI cost page ── */
  .aicost-hero { padding: 88px 0 52px; }
  .aicost-hero-stats { gap: 20px; }
  .aicost-stat { padding: 0 16px; }
  .aicost-stat-div { display: none; }
  .aicost-stat-num { font-size: 2rem; }
  .aicost-problem-grid  { grid-template-columns: 1fr; }
  .aicost-guardrail-grid { grid-template-columns: 1fr; }
  .aicost-provider-grid  { grid-template-columns: 1fr; }
  .aicost-model-tiers    { grid-template-columns: 1fr; }
  .aicost-layer-head { flex-wrap: wrap; }
  .aicost-compression-row { gap: 12px; }
  .aicost-comp-item { flex-direction: column; align-items: flex-start; gap: 6px; }
  .aci-label { width: auto; }
  .arl-steps { gap: 10px; }
  .arl-step { min-width: 0; }
  /* AI cost homepage teaser: mobile */
  .act-split { grid-template-columns: 1fr; gap: 28px; }
  .act-stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .act-stat { padding: 16px 14px; }
  .act-num { font-size: 1.8rem; }
  .act-stack-preview { padding: 16px; }
  .act-stack-row { flex-direction: column; gap: 6px; }
  .act-stack-layer::after { display: none; }
  .act-stack-layer { display: flex; align-items: center; gap: 10px; padding: 8px 12px; text-align: left; }
  .asl-icon { margin-bottom: 0; font-size: 1rem; }
  .asl-name { font-size: 11px; }
}
