
    /* ============================================================
       EXACT DESIGN SYSTEM TOKENS (CLONED FROM X.AI/BOT)
       ============================================================ */
    :root {
      --font-system: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      --bg-page: #f8fafc;
      --text-main: #0f172a;
      --text-muted: #64748b;
      
      /* X.ai Grok-Bot Native Theme Variables */
      --grok-bot-text-primary: #0a0a0a;
      --grok-bot-text-secondary: rgba(0, 0, 0, 0.55);
      --grok-bot-text-tertiary: rgba(0, 0, 0, 0.35);
      --grok-bot-text-accent: #0a84ff;
      --grok-bot-text-danger: #c0362c;
      --grok-bot-text-success: #1f8a65;
      --grok-bot-text-warning: #b26a00;
      --grok-bot-bg-editor: #fcfcfc;
      --grok-bot-bg-chrome: #fbfbfb;
      --grok-bot-bg-elevated: #ffffff;
      --grok-bot-bg-card: rgba(0, 0, 0, 0.04);
      --grok-bot-border-default: rgba(0, 0, 0, 0.08);
      --grok-bot-fill-emphasis: #111110;
      --grok-bot-bubble-user: #111110;
      --grok-bot-bubble-user-ink: #ffffff;
      --grok-bot-bubble-agent: rgba(0, 0, 0, 0.04);
      --grok-bot-sidebar-tint: #fbfbfb;
      --grok-bot-sidebar-separator: rgba(0, 0, 0, 0.06);
      --grok-bot-sidebar-hover: rgba(0, 0, 0, 0.04);
      --grok-bot-sidebar-selected: rgba(0, 0, 0, 0.07);
      --cursor-text-primary: var(--grok-bot-text-primary);
      --cursor-text-secondary: var(--grok-bot-text-secondary);
      --cursor-text-tertiary: var(--grok-bot-text-tertiary);
    }










    /* ============================================================
       FIXED-HEIGHT MACOS DESKTOP APP WINDOW CLONE
       The window stays fixed at 600px height inside Hero.
       Internal transcript scrolls cleanly without growing the window!
       ============================================================ */
    /* Container wrapping the Mac window in the Hero section */
    .hero-window-wrapper {
      width: 58%;
      max-width: 680px;
      display: flex;
      flex-direction: column;
      position: relative;
      box-sizing: border-box;
      opacity: 1 !important;
      z-index: 5;
    }

    @media screen and (max-width: 1200px) {
      .hero-window-wrapper {
        width: 54%;
      }
    }

    @media screen and (max-width: 991px) {
      .hero-window-wrapper {
        width: 100%;
        max-width: 100%;
        margin-top: 36px;
      }
    }

    .mac-window-container {
      position: relative;
      background: #ffffff;
      border-radius: 20px;
      box-shadow: 
        0 0 0 1px rgba(0, 0, 0, 0.08),
        0 24px 60px -12px rgba(15, 23, 42, 0.16),
        0 12px 24px -8px rgba(15, 23, 42, 0.08);
      overflow: hidden;
      display: grid;
      grid-template-columns: 240px 1fr;
      width: 100%;
      height: 600px;
      max-height: 600px;
      box-sizing: border-box;
      margin: 0 auto;
    }

    @media (max-width: 1100px) {
      .mac-window-container {
        grid-template-columns: 210px 1fr;
        height: 580px;
        max-height: 580px;
      }
    }

    @media (max-width: 900px) {
      .mac-window-container {
        grid-template-columns: 1fr;
        height: 560px;
        max-height: 560px;
      }
      .mac-sidebar {
        display: none !important;
      }
    }

    /* ------------------------------------------------------------
       SIDEBAR
       ------------------------------------------------------------ */
    .mac-sidebar {
      background: var(--grok-bot-sidebar-tint);
      border-right: 1px solid var(--grok-bot-sidebar-separator);
      display: flex;
      flex-direction: column;
      height: 100%;
      min-height: 0; /* Critical for inner scrolling */
      user-select: none;
    }

    .mac-sidebar-top {
      padding: 16px 14px 10px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-shrink: 0;
    }

    .mac-traffic-lights {
      display: flex;
      align-items: center;
      gap: 7px;
    }

    .mac-dot {
      width: 11px;
      height: 11px;
      border-radius: 50%;
    }
    .mac-dot.red { background: #ff5f56; border: 0.5px solid #e0443e; }
    .mac-dot.yellow { background: #ffbd2e; border: 0.5px solid #dea123; }
    .mac-dot.green { background: #27c93f; border: 0.5px solid #1aab29; }

    .btn-add-agent {
      background: transparent;
      border: none;
      color: var(--grok-bot-text-secondary);
      cursor: pointer;
      font-size: 18px;
      line-height: 1;
      padding: 3px 6px;
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.15s, color 0.15s;
    }
    .btn-add-agent:hover {
      background: var(--grok-bot-sidebar-hover);
      color: var(--grok-bot-text-primary);
    }

    .mac-sidebar-search {
      padding: 0 12px 10px;
      flex-shrink: 0;
    }

    .mac-search-bar {
      background: #f1f3f5;
      border-radius: 8px;
      padding: 6px 10px;
      display: flex;
      align-items: center;
      gap: 7px;
      color: var(--grok-bot-text-tertiary);
      font-size: 13px;
    }

    .mac-sidebar-agents {
      padding: 0 6px;
      display: flex;
      flex-direction: column;
      gap: 2px;
      flex: 1;
      min-height: 0;
      overflow-y: auto;
      scrollbar-width: thin;
      scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
    }

    .mac-sidebar-agents::-webkit-scrollbar {
      width: 4px;
    }
    .mac-sidebar-agents::-webkit-scrollbar-thumb {
      background: rgba(0, 0, 0, 0.15);
      border-radius: 4px;
    }

    .mac-agent-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 7px 9px;
      border-radius: 10px;
      cursor: pointer;
      transition: background 0.15s ease;
    }
    .mac-agent-item:hover {
      background: var(--grok-bot-sidebar-hover);
    }
    .mac-agent-item.active {
      background: #f1f3f5;
    }

    .mac-agent-avatar {
      width: 30px;
      height: 30px;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
    }
    .mac-agent-avatar svg {
      width: 100%;
      height: 100%;
      display: block;
      overflow: visible;
    }

    /* ============================================================
       GROK-BOT AGENT MARKS & NATURAL EYE ANIMATIONS (CLONED FROM X.AI/BOT)
       ============================================================ */
    .grok-bot-mark {
      -webkit-user-select: none;
      user-select: none;
      width: 100%;
      height: 100%;
      display: block;
      overflow: visible;
    }
    .grok-bot-mark__head {
      transition: fill 0.4s ease;
    }
    .grok-bot-mark__eye {
      fill: #ffffff;
      transform-box: fill-box;
      transform-origin: center;
      transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.3, 1);
    }
    .grok-eyes-group {
      transform-box: fill-box;
      transform-origin: center;
      transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1);
    }

    /* Staggered Blink animations so sidebar agents don't blink in unison */
    .bot-blink-1 .grok-bot-mark__eye,
    .bot-blink-1 ellipse {
      animation: botEyeBlink1 4.2s infinite ease-in-out;
    }
    .bot-blink-2 .grok-bot-mark__eye,
    .bot-blink-2 ellipse {
      animation: botEyeBlink2 4.8s infinite ease-in-out 0.9s;
    }
    .bot-blink-3 .grok-bot-mark__eye,
    .bot-blink-3 ellipse {
      animation: botEyeBlink3 5.4s infinite ease-in-out 1.6s;
    }
    .bot-blink-4 .grok-bot-mark__eye,
    .bot-blink-4 ellipse {
      animation: botEyeBlink4 3.9s infinite ease-in-out 2.2s;
    }
    .bot-blink-5 .grok-bot-mark__eye,
    .bot-blink-5 ellipse {
      animation: botEyeBlink5 4.5s infinite ease-in-out 0.4s;
    }
    .bot-blink-6 .grok-bot-mark__eye,
    .bot-blink-6 ellipse {
      animation: botEyeBlink6 5.1s infinite ease-in-out 1.3s;
    }

    @keyframes botEyeBlink1 {
      0%, 86%, 92%, 100% { transform: scaleY(1); }
      89% { transform: scaleY(0.08); }
    }
    @keyframes botEyeBlink2 {
      0%, 88%, 94%, 100% { transform: scaleY(1); }
      91% { transform: scaleY(0.08); }
    }
    @keyframes botEyeBlink3 {
      0%, 84%, 90%, 96%, 100% { transform: scaleY(1); }
      87% { transform: scaleY(0.08); }
      93% { transform: scaleY(0.08); } /* natural double blink */
    }
    @keyframes botEyeBlink4 {
      0%, 87%, 93%, 100% { transform: scaleY(1); }
      90% { transform: scaleY(0.08); }
    }
    @keyframes botEyeBlink5 {
      0%, 89%, 95%, 100% { transform: scaleY(1); }
      92% { transform: scaleY(0.08); }
    }
    @keyframes botEyeBlink6 {
      0%, 85%, 91%, 100% { transform: scaleY(1); }
      88% { transform: scaleY(0.08); }
    }

    /* Active agent: Sales Outbound gaze tracking into workspace with natural blinks */
    .grok-eyes-active-gaze {
      transform: translate(14px, -8px) rotate(16deg);
      transform-origin: 154px 86px;
      animation: botActiveGazeBlink 4.2s infinite ease-in-out;
    }

    @keyframes botActiveGazeBlink {
      0%, 87%, 93%, 100% {
        transform: translate(14px, -8px) rotate(16deg) scaleY(1);
      }
      90% {
        transform: translate(14px, -8px) rotate(16deg) scaleY(0.08);
      }
    }

    /* Hover glance: agent looks towards the user cursor */
    .mac-agent-item:hover .grok-eyes-group:not(.grok-eyes-active-gaze) {
      transform: translate(-4px, 1px) scale(1.04);
    }


    .mac-agent-meta {
      flex: 1;
      min-width: 0;
    }

    .mac-agent-meta-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 2px;
    }

    .mac-agent-meta-name {
      font-size: 13px;
      font-weight: 600;
      color: var(--grok-bot-text-primary);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .mac-agent-meta-time {
      font-size: 11px;
      color: var(--grok-bot-text-tertiary);
    }

    .mac-agent-meta-preview {
      font-size: 11.5px;
      color: var(--grok-bot-text-secondary);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .mac-sidebar-footer {
      padding: 10px 14px;
      border-top: 1px solid var(--grok-bot-sidebar-separator);
      display: flex;
      align-items: center;
      gap: 9px;
      flex-shrink: 0;
    }

    .mac-user-avatar {
      width: 25px;
      height: 25px;
      border-radius: 50%;
      background: #e2e8f0;
      color: #475569;
      font-size: 11px;
      font-weight: 600;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .mac-user-name {
      font-size: 13px;
      font-weight: 500;
      color: var(--grok-bot-text-primary);
    }

    /* ------------------------------------------------------------
       MAIN WORKSPACE (FIXED HEIGHT + INTERNAL AUTO SCROLL)
       ------------------------------------------------------------ */
    .mac-workspace {
      display: flex;
      flex-direction: column;
      position: relative;
      background: #ffffff;
      height: 100%;
      min-height: 0; /* Allows transcript flex child to scroll */
      overflow: hidden;
    }

    .mac-workspace-header {
      height: 46px;
      padding: 0 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid rgba(0, 0, 0, 0.05);
      background: #ffffff;
      flex-shrink: 0;
      z-index: 10;
    }

    .mac-header-title {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13.5px;
      font-weight: 600;
      color: var(--grok-bot-text-primary);
    }

    .mac-header-screen-btn {
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      color: #475569;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      height: 28px;
      padding: 0 10px;
      border-radius: 999px;
      font-size: 11.5px;
      font-weight: 600;
      letter-spacing: -0.01em;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
      user-select: none;
    }
    .mac-header-screen-btn svg {
      transition: transform 0.4s ease;
      flex-shrink: 0;
      color: #64748b;
    }
    .mac-header-screen-btn:hover {
      background: #ffffff;
      border-color: #cbd5e1;
      color: #0082fb;
      box-shadow: 0 2px 6px rgba(0, 130, 251, 0.12);
      transform: translateY(-1px);
    }
    .mac-header-screen-btn:hover svg {
      transform: rotate(-180deg);
      color: #0082fb;
    }
    .mac-header-screen-btn:active {
      transform: translateY(0);
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    }
    .mac-header-screen-btn:active svg {
      transform: rotate(-360deg);
    }
    .btn-replay-text {
      display: inline-block;
      line-height: 1;
    }

    /* The transcript scroll container with custom scrollbar */
    .mac-chat-transcript {
      flex: 1;
      min-height: 0; /* Essential: prevents parent from expanding! */
      padding: 16px 24px 85px; /* Leaves space above bottom composer */
      overflow-y: auto;
      overflow-x: hidden;
      display: flex;
      flex-direction: column;
      gap: 10px;
      scroll-behavior: smooth;
      scrollbar-width: thin;
      scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
    }

    .mac-chat-transcript::-webkit-scrollbar {
      width: 5px;
    }
    .mac-chat-transcript::-webkit-scrollbar-track {
      background: transparent;
    }
    .mac-chat-transcript::-webkit-scrollbar-thumb {
      background: rgba(0, 0, 0, 0.2);
      border-radius: 10px;
    }

    /* Timestamp divider (e.g., "9:07") */
    .transcript-timestamp-divider {
      align-self: center;
      font-size: 11px;
      color: var(--grok-bot-text-tertiary);
      padding: 2px 0 6px;
    }

    /* System Renamed Divider: "Renamed to Sales Outbound" */
    .transcript-renamed-divider {
      align-self: center;
      font-size: 12px;
      color: var(--grok-bot-text-secondary);
      padding: 4px 0 8px;
    }

    /* Entry pop-in animation matching x.ai/bot */
    .transcript-entry-anim {
      animation: featureEntryPopIn 0.42s cubic-bezier(0.2, 0.9, 0.3, 1.15) forwards;
      opacity: 0;
      flex-shrink: 0;
    }

    @keyframes featureEntryPopIn {
      0% {
        opacity: 0;
        transform: translateY(8px) scale(0.97);
      }
      100% {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    /* ------------------------------------------------------------
       LIVE STATE INDICATOR (PENDING / WORKING / SEARCHING)
       ------------------------------------------------------------ */
    .baby-grok-bot-pending {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 12.5px;
      color: var(--grok-bot-text-secondary);
      padding: 2px 6px;
      margin-top: 2px;
    }

    .pending-avatar-spin {
      width: 14px;
      height: 14px;
      border-radius: 50%;
      border: 2px solid rgba(0, 0, 0, 0.1);
      border-top-color: #f97316;
      animation: spin 1s linear infinite;
    }

    @keyframes spin {
      to { transform: rotate(360deg); }
    }

    /* ------------------------------------------------------------
       BUBBLE & COMPUTER USE CARD
       ------------------------------------------------------------ */
    .baby-grok-bot-card {
      background: var(--grok-bot-bubble-agent);
      letter-spacing: -0.15px;
      color: var(--grok-bot-text-primary);
      border-radius: 16px;
      padding: 10px 14px;
      font-size: 13.5px;
      line-height: 1.45;
      max-width: 550px;
    }

    .card-topbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 4px;
    }

    .card-title-strong {
      color: var(--grok-bot-text-primary);
      font-weight: 600;
      font-size: 13px;
    }

    .baby-grok-bot-card-badge {
      letter-spacing: -0.1px;
      white-space: nowrap;
      border-radius: 999px;
      align-items: center;
      gap: 4px;
      padding: 0 7px;
      font-size: 11px;
      line-height: 18px;
      display: inline-flex;
      font-weight: 500;
    }
    .baby-grok-bot-card-badge[data-tone="warning"] {
      background: rgba(178, 106, 0, 0.14);
      color: #b26a00;
    }
    .baby-grok-bot-card-badge[data-tone="success"] {
      background: rgba(31, 138, 101, 0.14);
      color: #1f8a65;
    }

    .card-badge-dot {
      background: currentColor;
      border-radius: 999px;
      width: 5px;
      height: 5px;
    }

    .computer-viewport-box {
      border-radius: 10px;
      overflow: hidden;
      border: 1px solid rgba(0, 0, 0, 0.08);
      box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
      background: #000;
      position: relative;
      height: 175px;
      margin-top: 8px;
    }

    .desktop-wallpaper-img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.96;
    }

    /* Floating CRM window inside remote viewport */
    .mini-crm-window {
      position: absolute;
      top: 10%;
      left: 17%;
      width: 66%;
      height: 80%;
      background: rgba(255, 255, 255, 0.96);
      backdrop-filter: blur(16px);
      border-radius: 8px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
      border: 0.5px solid rgba(255, 255, 255, 0.5);
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    .mini-crm-header {
      height: 18px;
      background: rgba(240, 240, 240, 0.95);
      border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
      display: flex;
      align-items: center;
      padding: 0 8px;
      gap: 5px;
    }

    .mini-dots-circle {
      width: 5px;
      height: 5px;
      border-radius: 50%;
    }

    .mini-crm-content {
      padding: 7px 10px;
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .mini-crm-queue-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 8px;
      font-weight: 600;
      color: #333;
      padding-bottom: 4px;
      border-bottom: 0.5px solid rgba(0, 0, 0, 0.06);
    }

    .crm-prospect-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 2.5px 0;
      border-bottom: 0.5px solid rgba(0, 0, 0, 0.04);
      font-size: 7.5px;
    }

    .crm-prospect-profile {
      display: flex;
      align-items: center;
      gap: 5px;
      color: #1e293b;
      font-weight: 500;
    }

    .crm-mini-profile-pic {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: #cbd5e1;
    }

    .draft-status-pill {
      font-size: 6.5px;
      padding: 1px 4px;
      border-radius: 4px;
      border: 0.5px solid rgba(0, 0, 0, 0.2);
      color: #64748b;
      font-weight: 500;
    }

    .crm-summary-counters {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 7px;
      color: #64748b;
      padding-top: 3px;
    }

    .card-actions-row {
      margin-top: 10px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .baby-grok-bot-card-action {
      border-radius: 8px;
      font-size: 12.5px;
      font-weight: 500;
      padding: 6px 12px;
      cursor: pointer;
      border: none;
      transition: opacity 0.15s ease;
      display: inline-flex;
      align-items: center;
      gap: 5px;
    }
    .baby-grok-bot-card-action[data-variant="primary"] {
      background: #111110;
      color: #ffffff;
    }
    .baby-grok-bot-card-action[data-variant="primary"]:hover {
      opacity: 0.88;
    }

    .simulated-cursor {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 18px;
      height: 18px;
      pointer-events: none;
      z-index: 50;
      transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
      display: none;
    }
    .simulated-cursor svg {
      filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    }
    .simulated-cursor-tag {
      position: absolute;
      top: 14px;
      left: 12px;
      background: rgba(0, 0, 0, 0.7);
      color: #fff;
      font-size: 8px;
      padding: 1px 5px;
      border-radius: 999px;
      white-space: nowrap;
    }

    .checklist-row-item {
      display: flex;
      align-items: baseline;
      gap: 6px;
      margin: 4px 0;
      line-height: 1.5;
    }
    .checklist-row-check {
      color: #10b981;
      font-weight: 600;
      font-size: 13px;
    }

    .mac-user-bubble {
      align-self: flex-end;
      max-width: 440px;
      background: var(--grok-bot-bubble-user);
      color: var(--grok-bot-bubble-user-ink);
      border-radius: 16px;
      padding: 9px 14px;
      font-size: 13.5px;
      line-height: 1.45;
      position: relative;
    }

    .mac-reaction-thumb {
      position: absolute;
      bottom: -9px;
      right: 12px;
      background: #ffffff;
      border: 1px solid rgba(0, 0, 0, 0.08);
      border-radius: 9999px;
      width: 20px;
      height: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
      animation: popReaction 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    }

    @keyframes popReaction {
      0% { transform: scale(0); }
      100% { transform: scale(1); }
    }

    .mac-context-divider {
      align-self: center;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      color: var(--grok-bot-text-secondary);
      margin: 4px 0;
    }

    .mac-mention-pill {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      font-weight: 600;
      font-size: 12px;
      color: var(--grok-bot-text-primary);
    }

    .mac-mention-dot {
      width: 9px;
      height: 9px;
      border-radius: 50%;
    }
    .mac-mention-dot.purple { background: #8b5cf6; }
    .mac-mention-dot.teal { background: #14b8a6; }

    .mac-system-routine {
      align-self: center;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: 12px;
      font-weight: 500;
      color: #64748b;
      margin: 4px 0;
    }
    .mac-system-routine strong {
      color: #0f172a;
      font-weight: 600;
    }

    .mac-done-bubble {
      align-self: flex-start;
      background: var(--grok-bot-bubble-agent);
      border-radius: 14px;
      padding: 7px 14px;
      font-size: 13.5px;
      color: var(--grok-bot-text-primary);
    }

    /* ------------------------------------------------------------
       COMPOSER BAR (DOCKED AT BOTTOM OF WORKSPACE)
       ------------------------------------------------------------ */
    .mac-composer-bar {
      position: absolute;
      bottom: 14px;
      left: 20px;
      right: 20px;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(12px);
      border: 1px solid rgba(0, 0, 0, 0.1);
      border-radius: 9999px;
      padding: 5px 8px 5px 12px;
      display: flex;
      align-items: center;
      gap: 10px;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
      z-index: 20;
    }

    .composer-icon-add {
      background: transparent;
      border: none;
      color: var(--grok-bot-text-secondary);
      cursor: pointer;
      font-size: 18px;
      line-height: 1;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .composer-text-input {
      flex: 1;
      border: none;
      outline: none;
      font-size: 13px;
      color: var(--grok-bot-text-primary);
      background: transparent;
      font-family: inherit;
    }
    .composer-text-input::placeholder {
      color: var(--grok-bot-text-tertiary);
    }

    .composer-audio-btn {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: #111110;
      color: #ffffff;
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: transform 0.15s;
    }
    .composer-audio-btn:hover {
      transform: scale(1.05);
    }

    /* Controls Panel */
    .controls-panel {
      margin-top: 22px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 14px;
    }

    .btn-replay-anim {
      background: #111827;
      color: #ffffff;
      border: none;
      padding: 8px 18px;
      border-radius: 9999px;
      font-size: 13px;
      font-weight: 500;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      transition: background 0.15s, transform 0.1s;
    }
    .btn-replay-anim:hover {
      background: #1f2937;
      transform: translateY(-1px);
    }

    .progress-track-wrapper {
      width: 200px;
      height: 4px;
      background: #e2e8f0;
      border-radius: 999px;
      overflow: hidden;
    }

    .progress-fill-indicator {
      height: 100%;
      background: #2563eb;
      width: 0%;
      transition: width 0.3s ease;
    }

    /* Embedded Mac Window inside Feature Cards (.features-card) */
    .features-card .mac-window-container {
      width: 58%;
      max-width: 680px;
      height: 520px;
      max-height: 520px;
      border-radius: 18px;
      box-shadow: 
        0 0 0 1px rgba(0, 0, 0, 0.08),
        0 20px 48px -12px rgba(15, 23, 42, 0.12),
        0 8px 20px -6px rgba(15, 23, 42, 0.06);
      margin: 0;
      flex-shrink: 0;
    }

    .features-card .mac-sidebar {
      background: #fbfbfb;
    }

    .features-card .mac-chat-transcript {
      padding: 16px 20px 24px;
    }

    @media screen and (max-width: 1200px) {
      .features-card .mac-window-container {
        width: 54%;
        height: 500px;
        max-height: 500px;
      }
    }

    @media screen and (max-width: 991px) {
      .features-card .mac-window-container {
        width: 100%;
        max-width: 100%;
        height: 480px;
        max-height: 480px;
        margin-top: 24px;
      }
    }

    /* ------------------------------------------------------------
       TAB 1 BUSINESS-AWARE AI ANIMATION STYLES
       Visual language: Input -> Context Chips -> Convergence -> Relationship Tree -> Explanation -> Highlight
       ------------------------------------------------------------ */
    .tab-input-highlight {
      box-shadow: 0 0 0 2px #0a84ff, 0 4px 12px rgba(10, 132, 255, 0.15) !important;
      transition: all 0.4s ease;
    }

    .source-chips-row {
      display: flex;
      gap: 8px;
      margin: 10px 0 6px;
      flex-wrap: wrap;
    }

    .source-chip {
      flex: 1;
      min-width: 105px;
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 9px;
      padding: 8px 10px;
      display: flex;
      flex-direction: column;
      gap: 3px;
      box-sizing: border-box;
      transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      opacity: 0;
      transform: translateY(6px);
      animation: chipFadeIn 0.45s forwards;
    }

    @keyframes chipFadeIn {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .source-chip-top {
      display: flex;
      align-items: center;
      gap: 5px;
      font-size: 11px;
      font-weight: 600;
      color: #334155;
    }

    .source-chip-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
    }
    .source-chip-dot.sap { background: #0284c7; }
    .source-chip-dot.tally { background: #10b981; }
    .source-chip-dot.crm { background: #8b5cf6; }

    .source-chip-val {
      font-size: 11px;
      color: #64748b;
      font-weight: 500;
    }

    .relationship-tree-card {
      background: #fafaf9;
      border: 1px solid #e7e5e4;
      border-radius: 10px;
      padding: 10px 12px;
      margin: 8px 0;
      font-size: 12px;
      color: #292524;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
      line-height: 1.5;
    }

    .relationship-tree-title {
      font-weight: 700;
      font-family: var(--font-system);
      color: #0f172a;
      margin-bottom: 6px;
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
    }

    .tree-branch {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 2px 0;
      color: #44403c;
    }

    .tree-branch-symbol {
      color: #a8a29e;
      user-select: none;
    }

    .tree-branch.active-relation {
      color: #0284c7;
      font-weight: 600;
    }

    .cause-row-highlight {
      background: #f0fdf4 !important;
      border-color: #86efac !important;
      box-shadow: 0 0 0 1.5px #22c55e, 0 4px 12px rgba(34, 197, 94, 0.12) !important;
      transition: all 0.4s ease;
    }

    /* ------------------------------------------------------------
       TAB 2: CROSS-SYSTEM INTELLIGENCE (Fragmented Nodes -> Connected Context)
       ------------------------------------------------------------ */
    .nodes-constellation-card {
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 12px;
      padding: 12px 14px;
      margin: 8px 0;
      position: relative;
    }

    .nodes-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
      margin-top: 8px;
    }

    .app-node-chip {
      background: #ffffff;
      border: 1px solid #cbd5e1;
      border-radius: 8px;
      padding: 6px 8px;
      display: flex;
      flex-direction: column;
      gap: 2px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.04);
      transition: all 0.35s ease;
      animation: nodePop 0.4s forwards;
    }

    @keyframes nodePop {
      0% { opacity: 0; transform: scale(0.95); }
      100% { opacity: 1; transform: scale(1); }
    }

    .app-node-top {
      display: flex;
      align-items: center;
      gap: 5px;
      font-size: 11px;
      font-weight: 700;
      color: #1e293b;
    }

    .app-node-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
    }
    .app-node-dot.sap { background: #0284c7; }
    .app-node-dot.salesforce { background: #00a1e0; }
    .app-node-dot.tally { background: #10b981; }
    .app-node-dot.hubspot { background: #ff7a59; }
    .app-node-dot.zoho { background: #dc2626; }
    .app-node-dot.finance { background: #8b5cf6; }

    .app-node-data {
      font-size: 10.5px;
      color: #64748b;
      font-weight: 500;
    }

    .context-link-bar {
      margin-top: 10px;
      padding: 6px 10px;
      background: #eff6ff;
      border: 1px solid #bfdbfe;
      border-radius: 6px;
      font-size: 11.5px;
      color: #1d4ed8;
      display: flex;
      align-items: center;
      gap: 6px;
      font-weight: 500;
    }

    .relationship-path-box {
      background: #fafaf9;
      border: 1px solid #e7e5e4;
      border-radius: 8px;
      padding: 8px 12px;
      margin-top: 8px;
      font-size: 11.5px;
      color: #334155;
      display: flex;
      align-items: center;
      justify-content: space-around;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    }

    .path-step-node {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2px;
      text-align: center;
    }

    .path-step-tag {
      font-size: 9.5px;
      color: #94a3b8;
      text-transform: uppercase;
      font-weight: 600;
    }

    .path-step-val {
      font-weight: 700;
      color: #0f172a;
    }

    .path-arrow {
      color: #94a3b8;
      font-weight: 700;
      font-size: 13px;
    }

    /* ------------------------------------------------------------
       TAB 3: AI AGENTS THAT GET WORK DONE (Workforce Orchestration)
       ------------------------------------------------------------ */
    .orchestration-tree-box {
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 10px;
      padding: 10px 12px;
      margin: 8px 0;
    }

    .aura-hub-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: #111110;
      color: #ffffff;
      padding: 3px 10px;
      border-radius: 6px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.05em;
    }

    .agent-squad-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 6px;
      margin: 10px 0 6px;
    }

    .agent-worker-chip {
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      padding: 6px 8px;
      display: flex;
      flex-direction: column;
      gap: 2px;
      font-size: 11px;
      transition: all 0.3s ease;
    }

    .agent-worker-chip.active {
      border-color: #0284c7;
      background: #f0f9ff;
    }

    .agent-worker-name {
      font-weight: 700;
      color: #0f172a;
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .agent-worker-status {
      font-size: 10px;
      color: #64748b;
    }

    .tool-calls-container {
      display: flex;
      flex-direction: column;
      gap: 4px;
      margin: 8px 0;
    }

    .tool-call-card {
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 6px;
      padding: 5px 8px;
      font-size: 11px;
      display: flex;
      align-items: center;
      gap: 6px;
      color: #334155;
      opacity: 0;
      transform: translateY(4px);
      animation: toolPop 0.35s forwards;
    }

    @keyframes toolPop {
      to { opacity: 1; transform: translateY(0); }
    }

    .tool-call-icon {
      color: #10b981;
      font-weight: 700;
      font-size: 11px;
    }

    .action-queue-bar {
      background: #f0fdf4;
      border: 1px solid #bbf7d0;
      border-radius: 8px;
      padding: 8px 10px;
      font-size: 11.5px;
      color: #166534;
      font-weight: 600;
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: 6px;
    }

    /* ------------------------------------------------------------
       TAB 4: SECURE HUMAN CONTROL (Action -> Policy -> Human Approval -> Audit)
       ------------------------------------------------------------ */
    .policy-eval-box {
      background: #fafaf9;
      border: 1px solid #e7e5e4;
      border-radius: 8px;
      padding: 8px 10px;
      margin: 8px 0;
    }

    .policy-rule-row {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 11.5px;
      padding: 3px 0;
      color: #334155;
    }

    .policy-rule-check {
      color: #10b981;
      font-weight: 700;
    }
    .policy-rule-warn {
      color: #f59e0b;
      font-weight: 700;
    }

    .approval-prompt-box {
      background: #fffbeb;
      border: 1px solid #fde68a;
      border-radius: 10px;
      padding: 10px 12px;
      margin: 8px 0;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .approval-actions-row {
      display: flex;
      gap: 8px;
      align-items: center;
    }

    .btn-approval-confirm {
      background: #111110;
      color: #ffffff;
      border: none;
      border-radius: 6px;
      padding: 6px 14px;
      font-size: 12px;
      font-weight: 600;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      transition: all 0.2s;
    }

    .btn-approval-confirm.approved {
      background: #10b981;
    }

    .btn-approval-review {
      background: #ffffff;
      color: #475569;
      border: 1px solid #cbd5e1;
      border-radius: 6px;
      padding: 6px 12px;
      font-size: 12px;
      font-weight: 500;
      cursor: pointer;
    }

    .audit-log-card {
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      padding: 8px 12px;
      font-size: 11.5px;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
      color: #334155;
      line-height: 1.5;
      margin-top: 6px;
    }

/* ==========================================================================
   AURA CINEMATIC HERO PRODUCT DEMO - 9-SCENE SALES AGENT WORKFLOW
   ========================================================================== */

/* Header Status & Replay */
.aura-header-brand {
  font-weight: 700;
  color: #1f3f5c;
  letter-spacing: -0.3px;
}
.aura-header-divider {
  color: #cbd5e1;
  font-weight: 400;
  margin: 0 4px;
}
.aura-header-agent-name {
  font-weight: 600;
  color: #0f172a;
}
.aura-live-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 3px 8px;
  border-radius: 999px;
  margin-left: 8px;
}
.aura-live-indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
  animation: auraPulseGreen 1.6s infinite;
}
@keyframes auraPulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.aura-live-status-text {
  font-size: 11px;
  font-weight: 600;
  color: #059669;
  letter-spacing: 0.02em;
}
.btn-replay-text {
  font-size: 11.5px;
  font-weight: 600;
  margin-left: 4px;
}

/* Sidebar Tooltip */
.mac-agent-item {
  position: relative;
}
.mac-agent-tooltip {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: #0f172a;
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 11.5px;
  line-height: 1.4;
  width: 220px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.1);
  text-align: left;
}
.mac-agent-tooltip strong {
  display: block;
  font-size: 12px;
  margin-bottom: 2px;
  color: #38bdf8;
}
.mac-agent-item:hover .mac-agent-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(14px);
}

/* Base Card Animations */
.aura-demo-card-anim {
  animation: auraSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(8px);
}
@keyframes auraSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scene 1: User & Agent Bubbles */
.aura-chat-user-msg {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin: 12px 0 16px;
}
.aura-msg-meta {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 4px;
  margin-right: 4px;
}
.aura-msg-bubble {
  background: #0f172a;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 16px 16px 4px 16px;
  font-size: 13.5px;
  line-height: 1.5;
  max-width: 90%;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.aura-chat-agent-msg {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 0 18px;
}
.aura-agent-id-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
  margin-left: 2px;
}
.aura-mini-bot-icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0082fb;
}
.aura-agent-name {
  font-size: 11.5px;
  font-weight: 700;
  color: #1f3f5c;
}
.aura-agent-tag {
  font-size: 10px;
  font-weight: 600;
  color: #0082fb;
  background: #eff6ff;
  padding: 1px 6px;
  border-radius: 999px;
}
.aura-agent-bubble {
  background: #ffffff;
  border: 1px solid #eaedf0;
  color: #1e293b;
  padding: 12px 18px;
  border-radius: 16px 16px 16px 4px;
  font-size: 13.5px;
  line-height: 1.5;
  max-width: 90%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

/* Scene 2: Live Activity Panel */
.aura-live-work-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.aura-work-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}
.aura-pulse-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid #e2e8f0;
  border-top-color: #0082fb;
  border-radius: 50%;
  animation: auraSpin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes auraSpin {
  to { transform: rotate(360deg); }
}
.aura-work-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #1f3f5c;
  flex: 1;
}
.aura-work-counter {
  font-size: 11.5px;
  font-weight: 700;
  color: #0082fb;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 2px 8px;
  border-radius: 999px;
  transition: all 0.2s;
}
.aura-work-steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.aura-step-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #64748b;
  transition: all 0.2s ease;
}
.aura-step-row.is-done {
  color: #0f172a;
  font-weight: 500;
}
.aura-step-row.is-done .step-icon {
  color: #10b981;
  background: #ecfdf5;
}
.step-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}

/* Scene 3: Account Discovery Tray */
.aura-accounts-tray {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.aura-account-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  transition: all 0.2s;
}
.aura-account-card.is-spotlight {
  border-color: #0082fb;
  background: #f8fbff;
  box-shadow: 0 4px 14px rgba(0, 130, 251, 0.12);
  transform: translateY(-2px);
}
.acc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.acc-name {
  font-size: 13px;
  font-weight: 700;
  color: #1f3f5c;
}
.acc-geo {
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  padding: 1px 6px;
  border-radius: 4px;
}
.acc-meta {
  font-size: 11px;
  color: #64748b;
  margin-bottom: 8px;
}
.acc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.acc-tags .tag {
  font-size: 10px;
  font-weight: 600;
  color: #0f172a;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Scene 4: Buying Signal Callout */
.aura-signal-callout {
  background: #ffffff;
  border: 1px solid #fed7aa;
  border-left: 4px solid #f97316;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.08);
}
.signal-headline {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  color: #ea580c;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.signal-beacon {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f97316;
  animation: auraPulseOrange 1.4s infinite;
}
@keyframes auraPulseOrange {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 5px rgba(249, 115, 22, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}
.signal-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.signal-item {
  font-size: 12px;
  color: #334155;
  line-height: 1.4;
}

/* Scene 5: Decision Makers */
.aura-dm-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.dm-panel-title {
  font-size: 12px;
  font-weight: 700;
  color: #1f3f5c;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.dm-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.dm-mini-card {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  background: #f8fafc;
  border: 1px solid #eaedf0;
  border-radius: 8px;
  padding: 8px;
}
.dm-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0082fb;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dm-person {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
}
.dm-role {
  font-size: 10.5px;
  color: #64748b;
  margin-bottom: 4px;
}
.dm-badges {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.v-badge {
  font-size: 9.5px;
  font-weight: 600;
  color: #166534;
  line-height: 1.2;
}

/* Scene 6: AI Reasoning */
.aura-reasoning-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.reasoning-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.reasoning-tag {
  font-size: 11px;
  font-weight: 800;
  color: #0082fb;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.reasoning-opp {
  font-size: 11px;
  font-weight: 700;
  color: #166534;
  background: #dcfce7;
  padding: 2px 8px;
  border-radius: 999px;
}
.reasoning-quote {
  font-size: 12.5px;
  color: #1e293b;
  line-height: 1.5;
  margin: 0 0 10px;
  font-style: italic;
  border-left: 2px solid #0082fb;
  padding-left: 8px;
}
.sol-label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.sol-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sol-chip {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #1f3f5c;
  padding: 3px 8px;
}

/* Scene 7: Outreach Preview */
.aura-outreach-preview {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.outreach-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}
.outreach-label {
  font-size: 11px;
  color: #64748b;
  margin-right: 4px;
}
.outreach-pos {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 400;
}
.outreach-badge {
  font-size: 10px;
  font-weight: 700;
  color: #0082fb;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 2px 7px;
  border-radius: 999px;
  text-transform: uppercase;
}
.outreach-subject {
  font-size: 12.5px;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.4;
}
.outreach-body {
  font-size: 12px;
  color: #475569;
  line-height: 1.55;
  background: #f8fafc;
  border: 1px solid #eaedf0;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 10px;
}
.outreach-source-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}
.src-title {
  font-size: 10.5px;
  font-weight: 700;
  color: #94a3b8;
  margin-right: 2px;
}
.src-pill {
  font-size: 10px;
  font-weight: 600;
  color: #0369a1;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 4px;
  padding: 2px 6px;
}

/* Scene 8: Human Approval Bar */
.aura-approval-action-bar {
  background: #0f172a;
  color: #ffffff;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.2);
}
.approval-text-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.app-count {
  font-size: 13px;
  color: #ffffff;
}
.app-guarantee {
  font-size: 11px;
  color: #94a3b8;
}
.approval-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
}
.btn-review {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: #e2e8f0;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.btn-approve-hero {
  background: #0082fb;
  color: #ffffff;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.btn-approve-hero.is-clicked {
  background: #10b981;
}

/* Scene 9: Wow Moment Pipeline Card */
.aura-pipeline-wow-card {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  border: 1.5px solid #86efac;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 16px;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.12);
}
.wow-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.wow-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: #166534;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pulse-emerald {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);
  animation: auraPulseGreen 1.4s infinite;
}
.wow-time {
  font-size: 11.5px;
  font-weight: 700;
  color: #047857;
}
.wow-routine-name {
  font-size: 14px;
  font-weight: 800;
  color: #14532d;
  margin-bottom: 12px;
}
.wow-flow-track {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 10px;
}
.flow-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.flow-pill.done {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.flow-pill.automated {
  background: #0082fb;
  color: #ffffff;
  border: 1px solid #0082fb;
}
.flow-arrow {
  font-size: 10px;
  color: #94a3b8;
  font-weight: 700;
}
.wow-caption {
  font-size: 11.5px;
  color: #475569;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .aura-accounts-tray, .dm-cards-row {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   AURA AI BUSINESS COPILOT DEMONSTRATION STYLES
   ========================================================================== */

/* Header Copilot Badges */
.aura-copilot-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 3px 8px;
  border-radius: 999px;
  margin-left: 8px;
}
.aura-copilot-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);
  animation: auraPulseGreen 1.6s infinite;
}
.aura-copilot-text {
  font-size: 11px;
  font-weight: 600;
  color: #15803d;
  letter-spacing: 0.02em;
}

/* Agent Collaboration Ribbon */
.aura-agent-collab-ribbon {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 11px;
  color: #475569;
  margin: 6px 0 14px;
  animation: auraFadeSlide 0.3s ease;
}
.aura-collab-tag {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #0082fb;
  font-weight: 700;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 4px;
}

/* Investigation Activity Stream */
.aura-investigation-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.aura-inv-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}
.aura-inv-title {
  font-size: 12px;
  font-weight: 700;
  color: #1f3f5c;
  display: flex;
  align-items: center;
  gap: 8px;
}
.aura-inv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 14px;
}
.aura-inv-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #64748b;
  transition: all 0.2s ease;
}
.aura-inv-item.is-done {
  color: #1e293b;
  font-weight: 500;
}
.aura-inv-item.is-done .aura-check-dot {
  background: #dcfce7;
  color: #16a34a;
}
.aura-check-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Connected Systems Illuminations */
.aura-systems-tray {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 14px;
}
.aura-systems-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.aura-sys-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: #475569;
  transition: all 0.3s ease;
}
.aura-sys-pill.illuminated {
  background: #eff6ff;
  border-color: #0082fb;
  color: #0082fb;
  box-shadow: 0 0 10px rgba(0, 130, 251, 0.2);
  transform: translateY(-1px);
}
.aura-sys-pill .check-tick {
  color: #16a34a;
  font-weight: 700;
}
.aura-data-scale-row {
  display: flex;
  gap: 16px;
  font-size: 11.5px;
  color: #64748b;
  border-top: 1px solid #f1f5f9;
  padding-top: 8px;
}
.aura-scale-stat strong {
  color: #0f172a;
}

/* Scene 4: The Discovery (Root Causes Modern Matrix) */
.aura-discovery-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 14px;
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05), 0 0 0 1px rgba(15, 23, 42, 0.03);
  position: relative;
  overflow: hidden;
}
.aura-discovery-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #f97316 0%, #fb923c 50%, #f43f5e 100%);
}
.aura-disc-headline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.aura-disc-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.aura-disc-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ea580c;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
  animation: pulseDot 2s infinite ease-in-out;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
}
.aura-disc-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.aura-disc-badge {
  font-size: 11px;
  font-weight: 600;
  color: #e11d48;
  background: #fff1f2;
  border: 1px solid #ffe4e6;
  padding: 3px 9px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.aura-disc-subhead {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.aura-causes-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.aura-cause-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 10px;
  padding: 8px 12px;
  transition: all 0.2s ease;
}
.aura-cause-item:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.cause-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cause-rank {
  font-size: 10.5px;
  font-weight: 700;
  color: #64748b;
  background: #e2e8f0;
  padding: 2px 6px;
  border-radius: 5px;
  letter-spacing: -0.02em;
}
.cause-name {
  font-size: 12px;
  font-weight: 600;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.cause-detail {
  font-size: 10.5px;
  color: #64748b;
  margin-top: 1px;
}
.cause-item-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.cause-bar-track {
  width: 60px;
  height: 5px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}
.cause-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #ea580c, #f97316);
  border-radius: 999px;
}
.cause-pct {
  font-weight: 700;
  color: #ea580c;
  background: #fff7ed;
  border: 1px solid #ffedd5;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  min-width: 32px;
  text-align: center;
}

/* Scene 5: Stockout Drilldown */
.aura-drilldown-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 14px;
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05);
}
.aura-drill-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.aura-drill-badge {
  font-size: 9.5px;
  font-weight: 700;
  color: #0369a1;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 4px;
  padding: 2px 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.aura-drill-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}
.aura-drill-sub {
  font-size: 11.5px;
  color: #64748b;
  margin: 0 0 10px;
  line-height: 1.4;
}
.aura-products-table {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}
.aura-prod-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.7);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  transition: all 0.2s ease;
}
.aura-prod-row:hover {
  background: #ffffff;
  border-color: #cbd5e1;
}
.prod-info-group {
  display: flex;
  align-items: center;
  gap: 9px;
}
.prod-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #dc2626;
  flex-shrink: 0;
}
.prod-title {
  font-weight: 600;
  color: #0f172a;
}
.prod-sku {
  font-size: 10px;
  color: #94a3b8;
  font-weight: 500;
  margin-left: 3px;
}
.prod-meta {
  color: #64748b;
  font-size: 10.5px;
}
.prod-loss {
  font-weight: 700;
  color: #e11d48;
  background: #fff1f2;
  border: 1px solid #ffe4e6;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
}
.aura-drill-stat {
  font-size: 11.5px;
  color: #0369a1;
  background: #f0f9ff;
  border: 1px solid #e0f2fe;
  border-radius: 8px;
  padding: 7px 11px;
  display: flex;
  align-items: center;
  gap: 7px;
}

/* Scene 6 & 7: Action Plan Generator Matrix */
.aura-plan-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 14px;
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05);
}
.aura-plan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}
.aura-plan-title-group {
  display: flex;
  align-items: center;
  gap: 7px;
}
.aura-plan-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
}
.aura-plan-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.aura-pillar-box {
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 11px;
}
.pillar-title {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pillar-title svg {
  color: #0082fb;
}
.pillar-item {
  color: #475569;
  line-height: 1.45;
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 2px;
}
.pillar-bullet {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #0082fb;
  flex-shrink: 0;
  transform: translateY(-1px);
}
.aura-plan-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  margin-top: 6px;
}
.aura-plan-table th {
  text-align: left;
  padding: 6px 8px;
  color: #94a3b8;
  font-weight: 600;
  border-bottom: 1px solid #e2e8f0;
  text-transform: uppercase;
  font-size: 9.5px;
  letter-spacing: 0.04em;
}
.aura-plan-table td {
  padding: 8px 8px;
  color: #1e293b;
  border-bottom: 1px solid #f1f5f9;
}
.owner-pill {
  font-weight: 600;
  color: #334155;
  background: #f1f5f9;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 10.5px;
}
.status-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
}
.status-chip.ready {
  background: #dcfce7;
  color: #15803d;
}
.status-chip.queued {
  background: #f1f5f9;
  color: #64748b;
}

/* Scene 8: Controlled Execution Bar (Modern Dark Glass) */
.aura-execution-bar {
  background: linear-gradient(135deg, #0b1120 0%, #0f172a 100%);
  color: #ffffff;
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.aura-exec-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.aura-exec-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}
.aura-exec-desc {
  font-size: 10.5px;
  color: #94a3b8;
}
.aura-exec-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.btn-exec-chip {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  padding: 6px 11px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.btn-exec-chip:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-1px);
}
.btn-exec-chip.approved {
  background: #10b981;
  border-color: #059669;
  color: #ffffff;
}
.btn-exec-chip.approved:hover {
  background: #059669;
}
.btn-chip-spinner {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  animation: spin 0.8s linear infinite;
}

/* Suggested Question Chips (Modern Pill Buttons) */
.aura-suggested-tray {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.aura-sug-title {
  font-size: 10.5px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.aura-sug-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.aura-sug-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.aura-sug-btn svg {
  color: #64748b;
  transition: color 0.2s ease;
}
.aura-sug-btn:hover {
  border-color: #0082fb;
  color: #0082fb;
  background: #eff6ff;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 130, 251, 0.12);
}
.aura-sug-btn:hover svg {
  color: #0082fb;
}

@media screen and (max-width: 640px) {
  .aura-execution-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .aura-plan-pillars {
    grid-template-columns: 1fr !important;
  }
  .aura-data-scale-row {
    flex-wrap: wrap;
    gap: 8px 14px;
  }
  .aura-disc-headline {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .aura-prod-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .prod-loss {
    align-self: flex-start;
  }
  .aura-cause-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .cause-item-right {
    width: 100%;
    justify-content: space-between;
  }
  .cause-bar-track {
    flex: 1;
  }
}

@keyframes auraFadeSlide {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
