/* ==========================================================================
   Aura Hero Section: Premium Executive AI Workspace Simulator
   Matches high-end Apple / Linear / Notion aesthetic from reference screenshots
   ========================================================================== */

.hero-simulator-card {
  width: 52%;
  max-width: 620px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  box-shadow: 0 25px 65px -15px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #111827;
  min-height: 520px;
  box-sizing: border-box;
  opacity: 1 !important;
}

@media screen and (max-width: 1200px) {
  .hero-simulator-card {
    width: 50%;
  }
}

@media screen and (max-width: 991px) {
  .hero-simulator-card {
    width: 92%;
    margin-top: 30px;
  }
}

@media screen and (max-width: 767px) {
  .hero-simulator-card {
    width: 100%;
    min-height: 480px;
  }
}

/* ==========================================
   Top Window Chrome Bar
   ========================================== */
.hero-sim-topbar {
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-sim-window-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-sim-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-sim-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.hero-sim-dot.red { background: #ff5f56; }
.hero-sim-dot.yellow { background: #ffbd2e; }
.hero-sim-dot.green { background: #27c93f; }

.hero-sim-nav-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9ca3af;
}
.hero-sim-icon-btn {
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  cursor: pointer;
  transition: color 0.15s;
}
.hero-sim-icon-btn:hover { color: #111827; }

.hero-sim-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #6b7280;
  font-weight: 500;
}
.hero-sim-crumb-current {
  color: #111827;
  font-weight: 600;
}

.hero-sim-top-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-sim-live-badge {
  font-size: 10.5px;
  font-weight: 600;
  color: #10b981;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 2px 8px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.hero-sim-live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 5px #10b981;
}

/* ==========================================
   Two-Column App Layout (Sidebar + Main)
   ========================================== */
.hero-sim-app-layout {
  display: flex;
  flex: 1;
  min-height: 460px;
  overflow: hidden;
  position: relative;
}

/* Left Sidebar (Matches Reference Screenshot) */
.hero-sim-sidebar {
  width: 165px;
  background: #fbfbfb;
  border-right: 1px solid #f0f0f0;
  padding: 14px 12px 14px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
  box-sizing: border-box;
}

@media screen and (max-width: 640px) {
  .hero-sim-sidebar {
    display: none;
  }
}

.hero-sim-side-search {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 5px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #9ca3af;
  margin-bottom: 12px;
}

.hero-sim-side-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-sim-side-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 12px;
  color: #4b5563;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}
.hero-sim-side-item:hover {
  background: #f3f4f6;
  color: #111827;
}
.hero-sim-side-item.primary {
  color: #0082fb;
  font-weight: 600;
}

.hero-sim-side-section-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9ca3af;
  margin: 14px 0 4px 8px;
}

/* Scenario history items acting as interactive tabs */
.hero-sim-history-item {
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  color: #4b5563;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-sim-history-item:hover {
  background: #f3f4f6;
  color: #111827;
}
.hero-sim-history-item.active {
  background: #ffffff;
  color: #0082fb;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  border: 1px solid #e5e7eb;
}

.hero-sim-user-profile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #f0f0f0;
  font-size: 11.5px;
  font-weight: 600;
  color: #111827;
}
.hero-sim-avatar-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e0e7ff;
  color: #4338ca;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================
   Right Main Canvas Workspace
   ========================================== */
.hero-sim-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 20px 14px;
  overflow: hidden;
  background: #ffffff;
  position: relative;
}

/* User Message Pill on Right (Matches Reference) */
.hero-sim-user-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.hero-sim-user-pill {
  background: #f3f4f6;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 24px;
  padding: 7px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 92%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.hero-sim-user-text {
  font-size: 12.5px;
  font-weight: 500;
  color: #1f2937;
  letter-spacing: -0.01em;
}

.hero-sim-cursor {
  display: inline-block;
  width: 2px;
  height: 13px;
  background: #0082fb;
  margin-left: 2px;
  vertical-align: middle;
  animation: heroSimBlink 0.9s infinite;
}
@keyframes heroSimBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-sim-tag-pill {
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 10px;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}
.hero-sim-tag-pill.peach {
  background: #fed7aa;
  color: #c2410c;
}
.hero-sim-tag-pill.blue {
  background: #bfdbfe;
  color: #1d4ed8;
}
.hero-sim-tag-pill.emerald {
  background: #a7f3d0;
  color: #047857;
}

/* Reasoning Shimmer Banner */
.hero-sim-reasoning-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f0f7ff;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  color: #0284c7;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(-4px);
  transition: all 0.3s ease;
}
.hero-sim-reasoning-wrap.show {
  opacity: 1;
  transform: translateY(0);
}
.hero-sim-spin-icon {
  width: 11px;
  height: 11px;
  border: 2px solid #bae6fd;
  border-top-color: #0284c7;
  border-radius: 50%;
  animation: heroSimSpin 0.75s linear infinite;
  flex-shrink: 0;
}
@keyframes heroSimSpin {
  to { transform: rotate(360deg); }
}

/* Agent Response Stream (Matches Reference) */
.hero-sim-response-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.35s ease;
  flex: 1;
}
.hero-sim-response-container.show {
  opacity: 1;
  transform: translateY(0);
}

/* Response Header: Dual Circular Icons (Matches Reference) */
.hero-sim-resp-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-sim-dual-avatar {
  display: flex;
  align-items: center;
}
.hero-sim-sub-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  color: #ffffff;
}
.hero-sim-sub-avatar.peach {
  background: #fb923c;
  z-index: 2;
}
.hero-sim-sub-avatar.blue {
  background: #38bdf8;
  margin-left: -7px;
  z-index: 1;
}

.hero-sim-agent-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #111827;
}

.hero-sim-resp-tag {
  font-size: 10px;
  font-weight: 600;
  color: #4b5563;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  padding: 1px 7px;
  border-radius: 10px;
}

.hero-sim-resp-time {
  font-size: 10.5px;
  color: #9ca3af;
  margin-left: auto;
}

/* Lead Conclusion Text */
.hero-sim-lead-text {
  font-size: 12px;
  font-weight: 400;
  color: #374151;
  line-height: 1.5;
}

/* High-End Clean SVG Chart */
.hero-sim-chart-card {
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  padding: 8px 12px;
  box-sizing: border-box;
}
.hero-sim-chart-svg {
  width: 100%;
  height: 95px;
}

/* Bullet Points (Matches Reference Screenshot) */
.hero-sim-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 11px;
  color: #4b5563;
  line-height: 1.45;
}
.hero-sim-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.hero-sim-bullet-dot {
  color: #0082fb;
  font-weight: 700;
  flex-shrink: 0;
}

/* Action Trigger Pills */
.hero-sim-action-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.hero-sim-action-btn {
  background: #ffffff;
  border: 1px solid #0082fb;
  color: #0082fb;
  padding: 4px 10px;
  border-radius: 14px;
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}
.hero-sim-action-btn:hover {
  background: #0082fb;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 130, 251, 0.2);
}

.hero-sim-action-btn.secondary {
  border-color: #e5e7eb;
  color: #4b5563;
  background: #fafafa;
}
.hero-sim-action-btn.secondary:hover {
  border-color: #cbd5e1;
  background: #f1f5f9;
  color: #111827;
}

/* ==========================================
   Bottom Input Bar (Matches Reference)
   ========================================== */
.hero-sim-bottom-bar {
  background: #fafafa;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.hero-sim-bottom-plus {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  cursor: pointer;
  flex-shrink: 0;
}

.hero-sim-bottom-input-placeholder {
  flex: 1;
  font-size: 11.5px;
  color: #9ca3af;
  font-weight: 400;
}

.hero-sim-bottom-mic {
  color: #9ca3af;
  display: flex;
  align-items: center;
  cursor: pointer;
}

/* Autoplay Progress Line */
.hero-sim-progress-track {
  height: 2px;
  width: 100%;
  background: #f3f4f6;
  position: relative;
  overflow: hidden;
}
.hero-sim-progress-indicator {
  height: 100%;
  width: 0%;
  background: #0082fb;
  transition: width 0.1s linear;
}

/* Toast Notification */
.hero-sim-toast {
  position: absolute;
  top: 12px;
  right: 14px;
  background: #111827;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all 0.25s ease;
  z-index: 30;
}
.hero-sim-toast.show {
  opacity: 1;
  transform: translateY(0);
}
