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

  :root {
    --tomato: #E8321A;
    --tomato-dark: #B52210;
    --tomato-light: #FF5C40;
    --cream: #080808;
    --black: #ffffff;
    --charcoal: #e0e0e0;
    --mid: #888888;
    --border: rgba(232,50,26,0.22);
    --green: #27AE60;

    /* Agent color palette — dark mode */
    --agent1-bg: #120808;
    --agent1-acc: #FF5C40;
    --agent2-bg: #081208;
    --agent2-acc: #27AE60;
    --agent3-bg: #08080f;
    --agent3-acc: #6B8AFF;
    --agent4-bg: #120e06;
    --agent4-acc: #E8A840;
    --agent5-bg: #0c080f;
    --agent5-acc: #A06AFF;
  }

  html { scroll-behavior: smooth; }

  body {
    background: #080808;
    color: #f0f0f0;
    font-family: var(--font-main);
    font-weight: 300;
    font-size: 17px;
    line-height: 1.6;
    overflow-x: hidden;
  }

  body::before {
    content: '';
    position: fixed; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none; z-index: 9999; opacity: 0.4;
  }

  .trail-button {
    background: var(--tomato);
    color: white;
    padding: 16px 32px;
    border-radius: 4px;
    font-size: 15px; font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: background 0.15s, transform 0.1s;
    margin-right: 16px;
  }
  .trail-button:hover { background: var(--tomato-dark); transform: translateY(-1px); }


  /* ── HERO ── */
  .hero {
    padding: 140px 5vw 110px;
    text-align: center;
    border-bottom: 1px solid rgba(232,50,26,0.2);
    position: relative;
    overflow: hidden;
    background: #080808;
  }

  .hero-brain-bg {
    position: absolute;
    inset: 0;
    background-image: url('AI_Brain.png');
    background-size: cover;
    background-position: center 30%;
    opacity: 0.18;
    filter: saturate(1.4) brightness(0.9);
    pointer-events: none;
    z-index: 0;
  }

  .hero-brain-vignette {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse at center, transparent 20%, rgba(8,8,8,0.65) 70%, rgba(8,8,8,0.95) 100%),
      linear-gradient(to bottom, rgba(8,8,8,0.3) 0%, transparent 25%, transparent 70%, rgba(8,8,8,0.9) 100%);
    pointer-events: none;
    z-index: 1;
  }

  .hero > *:not(.hero-brain-bg):not(.hero-brain-vignette) {
    position: relative;
    z-index: 2;
  }

  .hero::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 700px; height: 350px;
    background: radial-gradient(ellipse, rgba(232,50,26,0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
  }

  .hero-eyebrow {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.15em;
    color: var(--tomato);
    text-transform: uppercase;
    margin-bottom: 24px;
  }

  .hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(56px, 8vw, 112px);
    line-height: 0.92;
    letter-spacing: 0.02em;
    color: #ffffff;
    margin-bottom: 32px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-body {
    font-size: 20px;
    color: rgba(255,255,255,0.6);
    max-width: 640px;
    margin: 0 auto 56px;
    line-height: 1.65;
  }

  /* ── AGENT ROSTER ── */
  .agent-roster {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  .roster-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border: 1px solid rgba(232,50,26,0.25);
    border-radius: 40px;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s;
    background: rgba(232,50,26,0.04);
  }

  .roster-chip:hover {
    border-color: var(--tomato);
    background: rgba(232,50,26,0.04);
  }

  .roster-chip-icon {
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
  }

  /* ── DESIGN NOTE ── */
  .design-note {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    background: rgba(232,50,26,0.07);
    border: 1px dashed rgba(232,50,26,0.35);
    border-radius: 4px;
    padding: 10px 14px;
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: var(--tomato-dark);
    margin: 20px 0;
    line-height: 1.5;
    text-align: left;
  }

  .design-note-block {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: rgba(232,50,26,0.07);
    border: 1px dashed rgba(232,50,26,0.35);
    border-radius: 4px;
    padding: 12px 16px;
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: var(--tomato-dark);
    margin: 24px 0;
    line-height: 1.6;
  }

  /* ── INTRO ── */
  .intro-section {
    padding: 100px 5vw;
    border-bottom: 1px solid rgba(232,50,26,0.15);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    background: #0a0a0a;
  }

  .intro-section h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(36px, 4vw, 56px);
    line-height: 0.95;
    letter-spacing: 0.02em;
    margin-bottom: 24px;
  }

  .intro-section p {
    color: rgba(255,255,255,0.78);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  /* ── AGENT TEAM VISUAL ── */
  .team-visual {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .agent-badge {
    padding: 20px 16px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(232,50,26,0.15);
    transition: transform 0.15s;
    background: #0f0f0f;
  }

  .agent-badge:hover { transform: translateY(-2px); }

  .agent-badge .avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
  }

  .agent-badge .agent-name {
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
  }

  .agent-badge:nth-child(1) { background: var(--agent1-bg); border-color: rgba(232,50,26,0.2); }
  .agent-badge:nth-child(2) { background: var(--agent2-bg); border-color: rgba(26,122,60,0.2); }
  .agent-badge:nth-child(3) { background: var(--agent3-bg); border-color: rgba(42,64,200,0.2); }
  .agent-badge:nth-child(4) { background: var(--agent4-bg); border-color: rgba(184,90,0,0.2); grid-column: span 1; }
  .agent-badge:nth-child(5) { background: var(--agent5-bg); border-color: rgba(107,42,212,0.2); }
  .status-dot {
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--green);
    margin-right: 4px;
    animation: pulse 2s ease-in-out infinite;
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
  }

  .agent-status {
    font-family: 'DM Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.08em;
    color: var(--green);
    text-transform: uppercase;
    margin-top: 4px;
  }

  /* ── AGENT SECTIONS ── */
  .agent-section {
    padding: 100px 5vw;
    border-bottom: 1px solid rgba(232,50,26,0.15);
    position: relative;
    overflow: hidden;
    background: #080808;
  }

  .agent-section:nth-child(odd) { }
  .agent-section:nth-child(even) { background: #0c0c0c; }

  .agent-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
  }

  .agent-layout.reverse {
    direction: rtl;
  }

  .agent-layout.reverse > * {
    direction: ltr;
  }

  /* ── AGENT NUMBER ── */
  .agent-number-bg {
    position: absolute;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 240px;
    line-height: 1;
    opacity: 0.03;
    top: -20px; right: -10px;
    letter-spacing: 0.02em;
    pointer-events: none;
    user-select: none;
    color: var(--black);
  }

  /* ── AGENT HEADER ── */
  .agent-eyebrow {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
  }

  .agent-tagline {
    font-size: 17px;
    font-style: italic;
    font-weight: 300;
    border-left: 3px solid;
    padding-left: 16px;
    margin-bottom: 32px;
    line-height: 1.5;
    color: rgba(255,255,255,0.65);
  }

  .agent-name-display {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 0.95;
    letter-spacing: 0.02em;
    margin-bottom: 6px;
    color: #ffffff;
  }

  .agent-role {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 28px;
  }

  .agent-body {
    font-size: 18px;
    color: rgba(255,255,255,0.75);
    line-height: 1.75;
    margin-bottom: 32px;
  }

  /* ── WHAT IT DOES LIST ── */
  .does-list {
    list-style: none;
    margin-bottom: 32px;
  }

  .does-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(232,50,26,0.1);
    font-size: 16px;
    color: rgba(255,255,255,0.82);
    line-height: 1.55;
  }

  .does-list li:last-child { border-bottom: none; }

  .check-icon {
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 10px;
    margin-top: 1px;
    font-weight: 500;
  }

  /* ── BENEFIT BOX ── */
  .benefit-box {
    padding: 28px 32px;
    border-radius: 8px;
    border-left: 4px solid;
    margin-top: 12px;
  }

  .benefit-label {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 500;
  }

  .benefit-text {
    font-size: 17px;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    font-weight: 400;
  }

  /* ── VISUAL CARD ── */
  .agent-visual {
    position: relative;
  }

  .visual-frame {
    border-radius: 12px;
    overflow: hidden;
    border: 1.5px solid var(--border);
    background: var(--black);
    padding: 0;
  }

  .visual-topbar {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .dot-row { display: flex; gap: 6px; }
  .dot { width: 10px; height: 10px; border-radius: 50%; }
  .dot.r { background: #E8321A; }
  .dot.y { background: #F5A623; }
  .dot.g { background: #27AE60; }

  .visual-title-bar {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.4);
    margin-left: 12px;
  }

  .visual-body {
    padding: 24px;
  }

  /* Agent 1 visual — prospect feed */
  .prospect-feed { }

  .feed-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .feed-item:last-child { border-bottom: none; }

  .feed-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    font-weight: 500;
    flex-shrink: 0;
    color: white;
  }

  .feed-info { flex: 1; }

  .feed-name {
    font-size: 12px;
    font-weight: 500;
    color: white;
  }

  .feed-detail {
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    margin-top: 2px;
    font-family: 'DM Mono', monospace;
    letter-spacing: 0.03em;
  }

  .feed-score {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 20px;
  }

  .score-hot { background: rgba(232,50,26,0.25); color: #FF7A65; }
  .score-warm { background: rgba(245,166,35,0.2); color: #F5C65A; }
  .score-cool { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.4); }

  /* Agent 2 visual — marketing content */
  .content-preview { }

  .content-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 14px;
    margin-bottom: 10px;
  }

  .content-type {
    font-family: 'DM Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 6px;
  }

  .content-text {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
  }

  .content-status {
    display: inline-block;
    font-family: 'DM Mono', monospace;
    font-size: 9px;
    padding: 2px 7px;
    border-radius: 10px;
    margin-top: 8px;
  }

  .status-published { background: rgba(26,122,60,0.25); color: #7de8a8; }
  .status-scheduled { background: rgba(42,64,200,0.25); color: #8DA8FF; }
  .status-draft { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.4); }

  /* Agent 3 — inbox */
  .inbox-preview { }

  .email-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .email-row:last-child { border-bottom: none; }

  .email-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
  }

  .email-from {
    font-size: 12px;
    font-weight: 500;
    color: white;
    margin-bottom: 2px;
  }

  .email-subject {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    line-height: 1.4;
  }

  .email-tag {
    font-family: 'DM Mono', monospace;
    font-size: 9px;
    padding: 2px 7px;
    border-radius: 10px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .tag-urgent { background: rgba(232,50,26,0.25); color: #FF7A65; }
  .tag-auto { background: rgba(107,42,212,0.25); color: #C39DFF; }
  .tag-nurture { background: rgba(184,90,0,0.2); color: #E8B966; }
  .tag-skip { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.3); }

  /* Agent 4 — nurture */
  .nurture-preview { }

  .sequence-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
  }

  .seq-step {
    width: 24px; height: 24px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    font-weight: 500;
    flex-shrink: 0;
  }

  .seq-line {
    width: 1px; height: 16px;
    margin-left: 12px;
    background: rgba(255,255,255,0.1);
  }

  .seq-info { flex: 1; }

  .seq-name {
    font-size: 11px;
    font-weight: 500;
    color: white;
  }

  .seq-detail {
    font-size: 10px;
    color: rgba(255,255,255,0.4);
    font-family: 'DM Mono', monospace;
    letter-spacing: 0.03em;
    margin-top: 1px;
  }

  .seq-status {
    font-family: 'DM Mono', monospace;
    font-size: 9px;
    padding: 2px 7px;
    border-radius: 10px;
  }

  /* Agent 5 — TC */
  .tc-preview { }

  .tc-deal {
    margin-bottom: 14px;
  }

  .tc-deal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
  }

  .tc-deal-name {
    font-size: 12px;
    font-weight: 500;
    color: white;
  }

  .tc-deal-pct {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
  }

  .tc-progress-bar {
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 6px;
  }

  .tc-progress-fill {
    height: 100%;
    border-radius: 2px;
  }

  .tc-next {
    font-size: 10px;
    color: rgba(255,255,255,0.4);
    font-family: 'DM Mono', monospace;
    letter-spacing: 0.03em;
  }

  /* ── CTA BANNER ── */
  .cta-banner {
    padding: 120px 5vw;
    background: radial-gradient(ellipse at 30% 50%, rgba(232,50,26,0.12) 0%, transparent 60%), #050505;
    color: white;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(232,50,26,0.2);
  }

  .cta-banner::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 300px;
    background: radial-gradient(ellipse, rgba(232,50,26,0.2) 0%, transparent 70%);
    border-radius: 50%;
  }

  .cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
  }

  .cta-headline {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(48px, 6vw, 84px);
    line-height: 0.95;
    letter-spacing: 0.02em;
    margin-bottom: 24px;
  }

  .cta-headline em { font-style: normal; color: var(--tomato-light); }

  .cta-body {
    font-size: 17px;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    margin-bottom: 40px;
  }

  
  .btn-primary:hover { background: var(--tomato-dark); transform: translateY(-1px); }

  .btn-ghost-white {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    text-decoration: none;
    padding-bottom: 2px;
  }

  /* team summary */
  .team-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .ts-item {
    padding: 20px;
    background: rgba(232,50,26,0.05);
    border: 1px solid rgba(232,50,26,0.15);
    border-radius: 8px;
    transition: background 0.15s;
  }

  .ts-item:hover { background: rgba(232,50,26,0.08); }

  .ts-icon {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .ts-name {
    font-size: 14px;
    font-weight: 500;
    color: white;
    margin-bottom: 4px;
  }

  .ts-task {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    line-height: 1.4;
  }

  .ts-item.full { grid-column: span 2; }

  /* ── DYNAMIC PANEL ANIMATIONS ── */
  @keyframes ht-scanline { 0%{top:-5%} 100%{top:105%} }
  @keyframes ht-blink { 0%,49%{opacity:1} 50%,100%{opacity:0} }
  @keyframes ht-slideUp { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }
  @keyframes ht-pulse { 0%,100%{transform:scale(1);opacity:0.6} 50%{transform:scale(1.15);opacity:1} }
  @keyframes ht-spin { from{transform:rotate(0)} to{transform:rotate(360deg)} }
  @keyframes ht-typewriter { from{width:0} to{width:100%} }
  @keyframes ht-barFill { from{width:0!important} to{} }
  @keyframes ht-glow { 0%,100%{box-shadow:0 0 6px rgba(232,50,26,0.3)} 50%{box-shadow:0 0 18px rgba(232,50,26,0.7)} }
  @keyframes ht-float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-4px)} }
  @keyframes ht-progress { from{width:0} to{width:var(--pw)} }

  .ht-panel { background:#050505; border:1px solid rgba(232,50,26,0.28); border-radius:10px; overflow:hidden; position:relative; font-family:'DM Mono',monospace; }
  .ht-panel::before { content:''; position:absolute; left:0; right:0; height:1px; background:linear-gradient(90deg,transparent,rgba(232,50,26,0.6),transparent); animation:ht-scanline 4s linear infinite; pointer-events:none; z-index:10; }
  .ht-bar { display:flex; align-items:center; justify-content:space-between; padding:10px 14px; border-bottom:1px solid rgba(232,50,26,0.15); background:rgba(232,50,26,0.05); }
  .ht-dots { display:flex; gap:5px; }
  .ht-dots i { width:9px;height:9px;border-radius:50%;display:block; }
  .ht-label { font-size:10px; letter-spacing:0.1em; color:rgba(255,255,255,0.35); text-transform:uppercase; }
  .ht-live { display:flex; align-items:center; gap:5px; font-size:9px; color:#E8321A; letter-spacing:0.08em; }
  .ht-live b { width:5px;height:5px;border-radius:50%;background:#E8321A;animation:ht-blink 1s step-end infinite;display:block; }

/* =========================================================
   RESPONSIVE OVERRIDES (ai-workforce.html)
   ========================================================= */
@media (max-width: 1024px) {
  .intro-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 70px 6vw;
  }

  .team-visual {
    grid-template-columns: repeat(3, 1fr);
  }

  .agent-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .agent-layout.reverse {
    direction: ltr;
  }

  .agent-number-bg {
    font-size: 140px;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .team-summary-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 110px 6vw 70px;
  }

  .hero-body {
    font-size: 17px;
  }

  .agent-roster {
    gap: 8px;
  }

  .roster-chip {
    font-size: 13px;
    padding: 10px 14px;
  }

  .team-visual {
    grid-template-columns: repeat(2, 1fr);
  }

  .agent-section {
    padding: 60px 6vw;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .intro-section {
    padding: 50px 6vw;
  }

  .intro-section p {
    font-size: 16px;
  }

  .team-visual {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .team-summary-grid {
    grid-template-columns: 1fr;
  }

  .agent-number-bg {
    font-size: 90px;
  }

  .trail-button {
    display: block;
    text-align: center;
    margin-right: 0;
    margin-bottom: 12px;
  }
}

@media (max-width: 420px) {
  .team-visual {
    grid-template-columns: 1fr;
  }
}
