/* ====================================================
   HERO SECTION — cloud bg + text + demo component
   ==================================================== */
.section_hero {
  background: var(--hero-bg);
  background: linear-gradient(180deg, #f3f3ee 0%, #eae9e4 40%, #f3f3ee 100%);
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
  margin-top: 0;
  padding-top: 5.5rem; /* clearance for fixed navbar — padding keeps bg visible under nav */
  border-radius: 0 0 28px 28px;
}

/* Cloud background */
.hero-bg-clouds {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  overflow: hidden;
}
.cloud-svg { position: absolute; }
.cloud-1 { top: -20px; left: -5%; width: 60%; opacity: 0.7; }
.cloud-2 { top: 60px; right: -10%; width: 50%; opacity: 0.5; }
.cloud-3 { top: 180px; left: 15%; width: 40%; opacity: 0.4; }

/* Hero Text Block */
.hero-text-block {
  position: relative;
  z-index: 2;
  padding: 96px 0 58px;
}

.hero-heading {
  font-size: 46px;
  font-weight: 500;
  line-height: 53px;
  letter-spacing: -1.4px;
  color: rgb(28, 28, 28);
  margin-bottom: 24px;
}

.hero-heading .italic-accent {
  display: block;
  font-size: 46px;
  color: rgb(28, 28, 28);
}

.hero-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.hero-cta {
  background-color: #1c1c1c;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease;
  cursor: pointer;
}
.hero-cta:hover { transform: translateY(-1px); }
.hero-cta::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.4s ease;
}
.hero-cta:hover::after { left: 150%; }

.hero-login {
  color: rgb(17, 17, 17);
  background-color: #fff;
  border: 1px solid rgb(243, 243, 238);
  border-radius: 10px;
  padding: 10px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s ease;
  cursor: pointer;
}
.hero-login:hover { transform: translateY(-1px); }

/* ====================================================
   HERO DEMO COMPONENT — the main interactive piece
   ==================================================== */
.hero-demo-component {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 0;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  margin-bottom: -2px;
  min-height: 540px;
  max-height: calc(100vh - 200px);
}

/* ---- Chat Panel (left) ---- */
.chat-panel {
  width: 38%;
  min-width: 340px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.7);
}

.chat-tabs {
  display: flex;
  justify-content: center;
  gap: 2px;
  padding: 6px 8px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  background: rgba(0,0,0,0.015);
}

.chat-tab {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  background: none;
  border: 1.5px solid transparent;
  font-size: 12px;
  font-weight: 500;
  color: rgb(102, 109, 128);
  border-radius: 8px;
  transition: all 0.2s;
  white-space: nowrap;
  cursor: pointer;
  margin: 4px 1px;
}

.chat-tab.active {
  color: var(--ui-green);
  background: white;
  border: 1.5px solid var(--ui-green);
}

.chat-tab svg { stroke: currentColor; width: 12px; height: 12px; }

/* Progress bar */
.chat-progress-bar {
  height: 3px;
  background: rgba(22, 160, 122, 0.1);
  position: relative;
  overflow: hidden;
}
.chat-progress-fill {
  height: 100%;
  background: var(--ui-green);
  width: 0%;
  transition: width 0.3s ease;
}

/* Chat messages area — hidden when banner is showing, flex-grows when banner hidden */
.chat-messages-area {
  flex: 1;
  padding: 10px 12px;
  min-height: 0;
  overflow-y: auto;
  display: none; /* JS shows this when story starts */
}

/* Chat input area */
.chat-input-area {
  padding: 12px 16px 16px;
  position: relative;
}

/* Single green line that travels around the input border */
.chat-input-glow {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 8px;
  bottom: 12px;
  border-radius: 20px;
  padding: 2px;
  background: conic-gradient(from var(--glow-angle, 0deg),
    transparent 0%, transparent 85%, #1E9A80 93%, #1E9A80 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.8;
  animation: rotateGlow 3s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes rotateGlow {
  to { --glow-angle: 360deg; }
}

/* Register the custom property for the conic gradient rotation */
@property --glow-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.chat-input-container {
  background: white;
  border: 1px solid rgba(0,0,0,0.03);
  border-radius: 18px;
  padding: 18px 22px;
  padding-right: 100px;
  min-height: 80px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  z-index: 1;
}

.chat-typewriter {
  font-size: 15px;
  color: rgb(28, 28, 28);
  line-height: 1.6;
}

.typewriter-cursor {
  display: inline-block;
  color: rgb(28, 28, 28);
  font-weight: 300;
  animation: cursorBlink 1s step-end infinite;
}

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

/* Click Here Tooltip */
.click-here-tooltip {
  position: absolute;
  right: 18px;
  bottom: 68px;
  width: max-content;
  background: var(--ui-green);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  white-space: nowrap;
  animation: tooltipBounce 2s ease-in-out infinite;
  z-index: 20;
  box-shadow: 0 4px 16px rgba(30, 154, 128, 0.35);
}
.tooltip-arrow {
  position: absolute;
  bottom: -6px;
  right: 16px;
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--ui-green);
}

/* Green expanding pulse behind send button */
.send-pulse-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid rgba(30, 154, 128, 0.65);
  animation: sendPulse 1.8s ease-out infinite;
  pointer-events: none;
  z-index: 10;
}
.send-pulse-ring.delay { animation-delay: 0.6s; }

@keyframes sendPulse {
  0%   { transform: scale(1);   opacity: 0.8; }
  100% { transform: scale(2.8); opacity: 0;   }
}

@keyframes tooltipBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Input actions — pinned inside input container */
.chat-input-actions {
  position: absolute;
  right: 22px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.chat-mic-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mic-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0abfc, #c084fc);
  opacity: 0.8;
  animation: micPulse 3s ease-in-out infinite;
}
@keyframes micPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
}

.chat-send-btn {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  position: relative;
  border: none;
  background: var(--ui-green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 2px 6px rgba(30, 154, 128, 0.25);
}
.chat-send-btn:hover { background: #14926E; transform: scale(1.05); }

/* ---- Preview Panel (right) ---- */
.preview-panel {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: white;
}

.preview-content {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow-y: hidden;
  overflow-x: hidden;
  z-index: 0;
}
.preview-content.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  pointer-events: auto;
}
.preview-content::-webkit-scrollbar { width: 0; }

/* ====================================================
   AIRBNB MOCKUP (Web tab)
   ==================================================== */
.airbnb-mock {
  padding: 0;
  font-size: 12px;
  color: #222;
  background: white;
  min-height: 100%;
}

.ab-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
}
.ab-logo { display: flex; align-items: center; gap: 6px; }
.ab-brand { font-size: 16px; font-weight: 700; color: #FF385C; }
.ab-search-bar {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid #ddd;
  border-radius: 40px;
  padding: 6px 6px 6px 16px;
  font-size: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.ab-search-item { padding: 0 12px; font-weight: 500; white-space: nowrap; }
.ab-search-item.muted { color: #717171; font-weight: 400; }
.ab-search-divider { width: 1px; height: 20px; background: #ddd; }
.ab-search-btn {
  width: 28px; height: 28px; border-radius: 50%;
  background: #FF385C; border: none;
  display: flex; align-items: center; justify-content: center;
  margin-left: 8px;
}
.ab-header-right { display: flex; align-items: center; gap: 8px; }
.ab-menu-icon {
  display: flex; align-items: center; gap: 6px;
  border: 1px solid #ddd; border-radius: 24px;
  padding: 4px 8px;
}
.ab-avatar {
  width: 24px; height: 24px; border-radius: 50%;
  background: #717171; display: flex; align-items: center; justify-content: center;
}

/* Categories */
.ab-categories {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  border-bottom: 1px solid #f0f0f0;
  overflow-x: auto;
}
.ab-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: #717171;
  white-space: nowrap;
  padding-bottom: 8px;
  border-bottom: 2px solid transparent;
  opacity: 0.7;
  flex-shrink: 0;
}
.ab-cat.active { color: #222; opacity: 1; border-bottom-color: #222; }
.ab-cat svg { width: 18px; height: 18px; }
.ab-filters-btn {
  display: flex; align-items: center; gap: 4px;
  border: 1px solid #ddd; border-radius: 8px;
  padding: 6px 10px; font-size: 11px; font-weight: 500;
  white-space: nowrap; margin-left: auto; flex-shrink: 0;
}

/* Listings grid */
.ab-listings {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  padding: 16px;
}
.ab-card { position: relative; border-radius: 12px; overflow: hidden; }
.ab-card-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  position: relative;
}
.ab-card-badge {
  position: absolute;
  top: 8px; left: 8px;
  background: white;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  z-index: 2;
}
.ab-card-fav {
  position: absolute;
  top: 8px; right: 8px;
  z-index: 2;
  opacity: 0.8;
}
.ab-card-dots {
  display: flex; gap: 3px; justify-content: center;
  margin-top: -14px; position: relative; z-index: 2;
}
.ab-card-dots span {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,0.5);
}
.ab-card-dots .dot-active { background: white; }
.ab-card-info { padding: 8px 0 0; }
.ab-card-title { font-size: 12px; font-weight: 600; color: #222; }
.ab-card-price { font-size: 11px; color: #717171; margin-top: 2px; }
.ab-card-price strong { color: #222; }
.ab-star { color: #222; }

.ab-show-map {
  display: flex; justify-content: center;
  padding: 12px 0;
}
.ab-map-btn {
  background: #222; color: white;
  border: none; border-radius: 24px;
  padding: 8px 16px; font-size: 12px; font-weight: 600;
  display: flex; align-items: center; gap: 6px;
}

/* ====================================================
   CHROME EXTENSION MOCKUP
   ==================================================== */
.ext-mock {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  margin: 24px;
  padding: 20px;
  font-size: 13px;
  color: #1F2937;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

.ext-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.ext-header-left { display: flex; align-items: center; gap: 8px; }
.ext-title { font-size: 16px; font-weight: 700; }
.ext-badge-pro { background: var(--ui-green); color: white; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 4px; }
.ext-version { font-size: 12px; color: #9CA3AF; }

.ext-focus-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid #F3F4F6;
}
.ext-focus-left { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.ext-status-pill { font-size: 11px; font-weight: 600; }
.ext-status-pill.green { color: var(--ui-green); }
.ext-focus-right { display: flex; align-items: center; gap: 8px; }
.ext-muted { font-size: 12px; color: #9CA3AF; }
.ext-toggle {
  width: 36px; height: 20px; border-radius: 10px;
  background: #D1D5DB; position: relative; transition: background 0.2s;
}
.ext-toggle.on { background: var(--ui-green); }
.ext-toggle-knob {
  width: 16px; height: 16px; border-radius: 50%;
  background: white; position: absolute; top: 2px; left: 2px;
  transition: left 0.2s; box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.ext-toggle.on .ext-toggle-knob { left: 18px; }

.ext-stats-row {
  display: flex; gap: 12px; padding: 10px 0;
  font-size: 12px; color: #6B7280; border-bottom: 1px solid #F3F4F6;
}
.ext-stat-orange { color: #D97706; }
.ext-stat-right { margin-left: auto; }

/* Activity chart */
.ext-activity { padding: 12px 0; border-bottom: 1px solid #F3F4F6; }
.ext-activity-header { display: flex; justify-content: space-between; margin-bottom: 8px; }
.ext-activity-title { font-weight: 600; font-size: 13px; }
.ext-bar-chart { display: flex; gap: 8px; align-items: flex-end; height: 60px; }
.ext-bar-group { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1; }
.ext-bar-group span { font-size: 10px; color: #9CA3AF; }
.ext-bar-stack { display: flex; flex-direction: column; gap: 2px; height: 50px; width: 100%; align-items: stretch; justify-content: flex-end; }
.ext-bar { background: var(--ui-green); border-radius: 2px; min-height: 4px; transition: height 0.6s ease; }
.ext-bar.light { background: rgba(22, 160, 122, 0.3); }

.ext-search {
  display: flex; align-items: center; gap: 8px;
  background: #F9FAFB; border: 1px solid #E5E7EB;
  border-radius: 8px; padding: 8px 12px; margin: 12px 0;
  font-size: 13px; color: #9CA3AF;
}
.ext-shortcut {
  margin-left: auto; font-size: 11px; color: #9CA3AF;
  background: white; border: 1px solid #E5E7EB;
  border-radius: 4px; padding: 2px 6px;
}

.ext-actions { display: flex; gap: 8px; margin-bottom: 12px; }
.ext-action-btn {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 500; color: #6B7280;
  background: none; border: none; padding: 4px 8px; border-radius: 6px;
}
.ext-action-btn.active { color: var(--ui-green); background: rgba(22, 160, 122, 0.08); }

.ext-sessions { margin-bottom: 12px; }
.ext-sessions-header {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: #6B7280; margin-bottom: 8px;
}
.ext-sessions-title { font-size: 13px; color: #374151; }

.ext-session-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 0; border-bottom: 1px solid #F9FAFB;
}
.ext-session-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ext-session-dot.blue { background: #3B82F6; }
.ext-session-dot.purple { background: #8B5CF6; }
.ext-session-dot.green { background: var(--ui-green); }
.ext-session-info { flex: 1; }
.ext-session-name { font-size: 13px; font-weight: 500; color: #1F2937; display: block; }
.ext-session-meta { font-size: 11px; color: #9CA3AF; }
.ext-pin { font-size: 12px; }
.ext-restore-btn {
  font-size: 11px; font-weight: 600; color: var(--ui-green);
  background: none; border: 1px solid rgba(22, 160, 122, 0.3);
  border-radius: 6px; padding: 3px 10px; transition: background 0.2s;
}
.ext-restore-btn:hover { background: rgba(22, 160, 122, 0.08); }

.ext-groups { }
.ext-group-item {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 0; font-size: 13px; font-weight: 500; color: #374151;
}
.ext-group-dot { width: 8px; height: 8px; border-radius: 50%; }
.ext-group-dot.blue { background: #3B82F6; }
.ext-group-dot.purple { background: #8B5CF6; }
.ext-group-dot.red { background: #EF4444; }
.ext-group-count {
  font-size: 10px; font-weight: 700;
  padding: 1px 6px; border-radius: 10px; color: white;
}
.ext-group-count.blue { background: #3B82F6; }
.ext-group-count.purple { background: #8B5CF6; }
.ext-group-count.red { background: #EF4444; }
.ext-group-more { margin-left: auto; color: #9CA3AF; letter-spacing: 1px; }
.ext-blocked-badge { font-size: 10px; font-weight: 600; color: #EF4444; background: rgba(239,68,68,0.1); padding: 1px 6px; border-radius: 4px; }

/* ====================================================
   MOBILE APP MOCKUP — EchoForge
   ==================================================== */
.preview-app {
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-frame {
  width: 280px;
  background: #1A1B25;
  border-radius: 36px;
  padding: 0;
  margin: 24px auto;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
  border: 3px solid #2D2E3A;
}

.phone-notch {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 600;
  color: white;
}

.phone-screen {
  padding: 0 12px 12px;
  font-size: 11px;
  color: rgba(255,255,255,0.9);
}

.phone-home-indicator {
  width: 120px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  margin: 8px auto 6px;
}

/* EchoForge styles */
.ef-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0 12px;
}
.ef-header-left { display: flex; align-items: center; gap: 6px; }
.ef-icon { font-size: 16px; }
.ef-title { font-size: 16px; font-weight: 700; }
.ef-ai-badge { background: #4B5563; color: white; font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 4px; }
.ef-header-right { display: flex; align-items: center; gap: 8px; }
.ef-version { font-size: 10px; color: rgba(255,255,255,0.4); }

.ef-noise-card {
  background: #252636;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 8px;
}
.ef-noise-header {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; margin-bottom: 8px;
}
.ef-sparkle { color: var(--ui-green); }
.ef-active-badge { font-size: 9px; color: var(--ui-green); font-weight: 600; }
.ef-toggle {
  width: 32px; height: 17px; border-radius: 9px;
  background: #4B5563; position: relative; margin-left: auto;
}
.ef-toggle.on { background: var(--ui-green); }
.ef-toggle-knob {
  width: 13px; height: 13px; border-radius: 50%;
  background: white; position: absolute; top: 2px; left: 2px;
  transition: left 0.2s;
}
.ef-toggle.on .ef-toggle-knob { left: 17px; }

.ef-noise-controls { display: flex; align-items: center; gap: 6px; }
.ef-mode {
  font-size: 11px; padding: 4px 10px; border-radius: 6px;
  color: rgba(255,255,255,0.5); font-weight: 500;
}
.ef-mode.active {
  background: var(--ui-green); color: white; font-weight: 600;
}
.ef-level-bar {
  flex: 1; height: 4px; background: #374151;
  border-radius: 2px; overflow: hidden;
}
.ef-level-fill { width: 94%; height: 100%; background: var(--ui-green); border-radius: 2px; }
.ef-level-text { font-size: 10px; color: var(--ui-green); font-weight: 600; white-space: nowrap; }

.ef-player-card {
  background: #252636;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 8px;
}
.ef-player-header {
  display: flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 600; margin-bottom: 10px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.5px;
}
.ef-enhanced-dot { color: var(--ui-green); }
.ef-timestamp { margin-left: auto; }

.ef-waveform { position: relative; margin-bottom: 6px; }
.ef-wave-bars {
  display: flex; gap: 2px; align-items: center;
  height: 40px;
}
.wbar {
  flex: 1;
  background: var(--ui-green);
  border-radius: 1px;
  min-width: 3px;
  transition: height 0.3s ease;
}
.wbar.active { background: white; }
.wbar.inactive { background: rgba(255,255,255,0.15); }

.ef-time-labels {
  display: flex; justify-content: space-between;
  font-size: 9px; color: rgba(255,255,255,0.3); margin-bottom: 4px;
}
.ef-drag-hint { text-align: center; font-size: 9px; color: rgba(255,255,255,0.2); margin-bottom: 10px; }

.ef-speed-row {
  display: flex; align-items: center; gap: 6px; margin-bottom: 10px;
}
.ef-speed {
  font-size: 11px; font-weight: 500;
  padding: 4px 10px; border-radius: 14px;
  background: none; border: none;
  color: rgba(255,255,255,0.4);
}
.ef-speed.active {
  background: var(--ui-green); color: white; font-weight: 600;
}
.ef-speed-label { margin-left: auto; font-size: 10px; color: rgba(255,255,255,0.3); }

.ef-transport {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; margin-bottom: 10px;
}
.ef-transport-btn { background: none; border: none; padding: 4px; }
.ef-play-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ui-green); border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(22, 160, 122, 0.4);
}

.ef-volume {
  display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
}
.ef-volume-track {
  flex: 1; height: 3px; background: #374151;
  border-radius: 2px; position: relative;
}
.ef-volume-fill {
  width: 70%; height: 100%; background: #D97706;
  border-radius: 2px;
}
.ef-volume-knob {
  width: 10px; height: 10px; border-radius: 50%;
  background: white; position: absolute; top: -3.5px; left: 70%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.ef-effects { margin-bottom: 8px; }
.ef-effects-header {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; font-weight: 600; margin-bottom: 8px;
}
.ef-effects-count { font-size: 10px; color: var(--ui-green); font-weight: 600; }
.ef-effects-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ef-effect {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 8px 4px; border-radius: 10px;
  background: #2D2E3A; border: 1px solid #374151;
  font-size: 10px; color: rgba(255,255,255,0.5);
}
.ef-effect.active {
  background: rgba(22, 160, 122, 0.15);
  border-color: var(--ui-green);
  color: var(--ui-green);
}
.ef-effect-icon { font-size: 16px; }

.ef-recent { }
.ef-recent-title { font-size: 12px; font-weight: 600; margin-bottom: 8px; display: block; }
.ef-recent-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 0; border-bottom: 1px solid #2D2E3A;
}
.ef-recent-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.ef-recent-info { flex: 1; }
.ef-recent-name { font-size: 12px; font-weight: 500; display: block; }
.ef-recent-meta { font-size: 10px; color: rgba(255,255,255,0.4); }
.ef-ai-tag {
  font-size: 9px; font-weight: 700;
  background: #4B5563; color: white;
  padding: 2px 6px; border-radius: 4px;
}

/* ---- Scroll Indicator ---- */
.hero-scroll-indicator {
  display: flex;
  justify-content: center;
  padding: 10px 0;
}
.scroll-pill {
  width: 48px;
  height: 6px;
  border-radius: 3px;
  background: rgba(0,0,0,0.15);
}

/* ---- Chat Widget (removed — Task 2) ---- */


/* ====================================================
   EARNINGS BANNER (ChatEmptyState in left panel)
   ==================================================== */
.chat-earnings-banner {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 16px 12px; gap: 8px; flex: 1; text-align: center;
  min-height: 0;
}
.earnings-thumb {
  width: 72px; height: 72px; border-radius: 14px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1); flex-shrink: 0;
}
.earnings-headline {
  font-size: 18px; font-weight: 700; color: #0a0a0a; line-height: 1.15;
  letter-spacing: -0.3px; max-width: 240px;
}
.earnings-amount { color: #059669; }
.earnings-sub { font-size: 11px; color: #737373; max-width: 220px; line-height: 1.4; }

/* ====================================================
   ANIMATED CURSOR
   ==================================================== */
.animated-cursor {
  position: absolute; z-index: 100; pointer-events: none;
  filter: drop-shadow(2px 3px 4px rgba(0,0,0,0.25));
  will-change: transform;
}

/* ====================================================
   RIPPLE RINGS on Click Here tooltip
   ==================================================== */
.ripple-ring {
  position: absolute; top: 50%; left: 50%;
  width: 36px; height: 36px; margin: -18px 0 0 -18px;
  border: 2px solid #1e9a80; border-radius: 50%;
  pointer-events: none; opacity: 0;
  animation: rippleExpand 2s ease-out infinite;
}
.ripple-ring.r2 { animation-delay: 0.5s; }
.ripple-ring.r3 { animation-delay: 1s; }
@keyframes rippleExpand {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* Ripple rings — hidden (Shipper doesn't use them) */
.click-here-tooltip .ripple-ring {
  display: none;
}

/* ====================================================
   PROPERTY CARDS (matching PropertyCard.tsx)
   ==================================================== */
.nfs-mock-page { padding: 10px; background: white; min-height: 100%; font-size: 10px; }
.nfs-mock-search {
  display: flex; align-items: center; gap: 6px;
  height: 28px; border-radius: 8px; border: 1px solid #e5e7eb;
  padding: 0 8px; margin-bottom: 8px; background: #fafafa;
  font-size: 10px; color: #9ca3af;
}
.nfs-mock-filter {
  margin-left: auto; display: flex; align-items: center; gap: 3px;
  font-size: 9px; font-weight: 500; color: #525252;
}
.nfs-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

/* Property Card */
.nfs-pcard {
  border-radius: 12px; border: 1px solid #e8e5df; overflow: hidden;
  background: white; transition: all 0.4s ease; cursor: pointer;
}
.nfs-pcard:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.nfs-pcard.highlighted {
  outline: 2.5px solid #1e9a80; outline-offset: 2px;
  box-shadow: 0 0 0 5px rgba(30,154,128,0.12), 0 8px 24px rgba(0,0,0,0.1);
  transform: scale(1.02);
}
.nfs-pcard-img {
  aspect-ratio: 16/10;
  position: relative;
  background-size: cover !important;
  background-position: center !important;
  background-color: #e8e5df; /* fallback while image loads */
}
.nfs-pcard-badge {
  position: absolute; top: 5px; left: 5px;
  background: white; font-size: 7px; font-weight: 600;
  padding: 2px 5px; border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1); color: #0a0a0a;
}
.nfs-pcard-badge.pjv { background: #1A1A2E; color: #F0D55E; border: 1px solid #C9A842; }
.nfs-pcard-heart { position: absolute; top: 5px; right: 5px; font-size: 12px; opacity: 0.7; color: white; }
.nfs-pcard-body { padding: 6px 7px 7px; }
.nfs-pcard-name {
  display: flex; align-items: center; gap: 3px;
  font-size: 10px; font-weight: 700; color: #0a0a0a;
}
.nfs-pcard-loc { font-size: 9px; color: #737373; margin-top: 1px; }
.nfs-pcard-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 3px 0; border-bottom: 1px solid rgba(232,229,223,0.5);
}
.nfs-pcard-label { font-size: 8px; color: #737373; }
.nfs-pcard-val { font-size: 9px; font-weight: 500; color: #0a0a0a; }
.nfs-pcard-val.profit { color: #059669; font-weight: 700; }
.nfs-pcard-btns { display: flex; gap: 4px; margin-top: 5px; }
.nfs-pcard-btn {
  flex: 1; display: flex; align-items: center; justify-content: center;
  height: 22px; border-radius: 6px; font-size: 8px; font-weight: 600;
  text-decoration: none; cursor: pointer; transition: all 0.2s;
}
.nfs-pcard-btn.primary {
  background: linear-gradient(to right, #059669, #0d9488);
  color: white; border: none;
}
.nfs-pcard-btn.outline {
  background: white; color: #0a0a0a;
  border: 1px solid #e8e5df;
}
.nfs-pcard-btn.outline:hover { background: #fafafa; }
.nfs-pcard-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 4px; margin-top: 4px; border-top: 1px solid rgba(232,229,223,0.5);
  font-size: 8px; color: #737373;
}
.nfs-status-dot { width: 5px; height: 5px; border-radius: 50%; display: inline-block; }
.nfs-status-dot.green { background: #22c55e; }
.nfs-status-dot.amber { background: #f59e0b; }
.nfs-status-dot.grey { background: #9ca3af; }
.nfs-status-dot.blue { background: #3b82f6; }
.nfs-status-dot.purple { background: #8b5cf6; }

/* ====================================================
   DEAL DETAIL + EARNINGS ESTIMATOR
   ==================================================== */
.nfs-detail-hero { height: 140px; border-radius: 10px; margin-bottom: 10px; }
.nfs-detail-head { margin-bottom: 10px; }
.nfs-detail-name { font-size: 15px; font-weight: 700; color: #0a0a0a; }
.nfs-detail-loc { font-size: 10px; color: #737373; margin-top: 2px; }
.nfs-detail-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 10px; }
.nfs-stat-box { background: #f8f9fa; border-radius: 10px; padding: 7px 8px; }
.nfs-stat-label { font-size: 8px; color: #737373; display: block; }
.nfs-stat-value { font-size: 13px; font-weight: 700; color: #0a0a0a; display: block; margin-top: 2px; }
.nfs-stat-value.green { color: #059669; }

.nfs-estimator {
  border: 1px solid #e8e5df; border-radius: 14px; padding: 12px;
  background: white;
}
.nfs-est-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.nfs-est-title { font-size: 11px; font-weight: 700; color: #0a0a0a; }
.nfs-est-badge { font-size: 8px; color: #9ca3af; background: #f8f9fa; padding: 2px 7px; border-radius: 10px; }
.nfs-est-slider-section { margin-bottom: 10px; }
.nfs-est-slider-head { display: flex; justify-content: space-between; font-size: 9px; margin-bottom: 4px; }
.nfs-est-slider-head span:first-child { color: #737373; }
.nfs-est-nights { font-weight: 600; color: #059669; background: #ecfdf5; padding: 1px 6px; border-radius: 8px; font-size: 9px; }
.nfs-est-slider {
  width: 100%; height: 5px; border-radius: 3px; -webkit-appearance: none; appearance: none;
  cursor: pointer; outline: none; background: #e5e7eb;
}
.nfs-est-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%;
  background: #10b981; cursor: pointer; border: 2px solid white;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.nfs-est-slider-labels { display: flex; justify-content: space-between; font-size: 8px; color: #9ca3af; margin-top: 2px; }
.nfs-est-rows { border-top: 1px solid #e8e5df; padding-top: 8px; margin-top: 8px; }
.nfs-est-row { display: flex; justify-content: space-between; font-size: 9px; padding: 3px 0; }
.nfs-est-row span:first-child { color: #737373; }
.nfs-est-row span:last-child { color: #0a0a0a; font-weight: 500; }
.nfs-est-row.total { border-top: 1px solid #e8e5df; padding-top: 6px; margin-top: 4px; font-weight: 700; font-size: 11px; }
.nfs-est-row.total .green { color: #059669; }
.nfs-add-crm-story-btn {
  width: 100%; height: 32px; border-radius: 8px; margin-top: 10px;
  background: #0a0a0a; color: white; font-size: 10px; font-weight: 600;
  border: none; cursor: pointer; transition: all 0.2s;
}
.nfs-add-crm-story-btn:hover { opacity: 0.9; }
.nfs-add-crm-story-btn.done { background: #059669; }

/* ====================================================
   CRM PIPELINE
   ==================================================== */
.nfs-pipe-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.nfs-pipe-header strong { font-size: 12px; color: #0a0a0a; }
.nfs-pipe-meta { font-size: 9px; color: #737373; flex: 1; }
.nfs-pipe-add {
  height: 22px; padding: 0 8px; border-radius: 6px; border: none;
  background: #1e9a80; color: white; font-size: 8px; font-weight: 600;
  cursor: pointer;
}
.nfs-pipe-columns { display: flex; gap: 6px; overflow-x: auto; }
.nfs-pipe-col { flex: 1; min-width: 130px; background: #f8f9fa; border-radius: 10px; padding: 7px; }
.nfs-pipe-col-head {
  display: flex; align-items: center; gap: 4px;
  font-size: 9px; font-weight: 700; color: #0a0a0a; margin-bottom: 6px;
}
.nfs-pipe-count {
  background: white; font-size: 8px; color: #9ca3af;
  padding: 1px 5px; border-radius: 6px; border: 1px solid #e5e7eb; margin-left: auto;
}
.nfs-pipe-card {
  background: white; border: 1px solid #e8e5df; border-radius: 7px;
  padding: 6px 7px; margin-bottom: 5px; cursor: pointer;
  transition: box-shadow 0.2s;
}
.nfs-pipe-card:hover { box-shadow: 0 2px 6px rgba(0,0,0,0.06); }
.nfs-pipe-card strong { display: block; font-size: 9px; color: #0a0a0a; }
.nfs-pipe-card span { font-size: 8px; color: #737373; }
.nfs-pipe-profit { color: #059669; font-weight: 600; font-size: 8px; display: block; }
.nfs-pipe-card.new-deal-glow {
  outline: 2px solid #1e9a80; outline-offset: 1px;
  box-shadow: 0 0 0 4px rgba(30,154,128,0.12);
  animation: glowFade 1.5s ease-in-out 2;
}
@keyframes glowFade {
  0%, 100% { box-shadow: 0 0 0 4px rgba(30,154,128,0.12); }
  50% { box-shadow: 0 0 0 6px rgba(30,154,128,0.25); }
}

/* ====================================================
   INBOX MOCKUP
   ==================================================== */
.nfs-inbox-mock { display: flex; height: 100%; font-size: 12px; }
.nfs-inbox-threads { width: 200px; border-right: 1px solid #e8e5df; flex-shrink: 0; overflow-y: auto; }
.nfs-inbox-header {
  padding: 10px 12px; font-weight: 700; font-size: 13px; color: #0a0a0a;
  border-bottom: 1px solid #e8e5df;
}
.nfs-inbox-count {
  background: #1e9a80; color: white; font-size: 10px; font-weight: 700;
  padding: 2px 6px; border-radius: 8px; margin-left: 4px;
}
.nfs-thread {
  display: flex; align-items: center; gap: 8px; padding: 10px 10px;
  cursor: pointer; transition: background 0.15s; border-bottom: 1px solid #f3f4f6;
}
.nfs-thread:hover { background: #fafafa; }
.nfs-thread.active { background: #ecfdf5; }
.nfs-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 0; font-weight: 700; flex-shrink: 0;
  overflow: hidden;
}
.nfs-avatar img { width: 100%; height: 100%; object-fit: cover; }
.nfs-avatar.small { width: 26px; height: 26px; }
.nfs-thread-info { flex: 1; min-width: 0; }
.nfs-thread-info strong { display: block; font-size: 12px; color: #0a0a0a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nfs-thread-info span { display: block; font-size: 10px; color: #737373; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nfs-thread-time { font-size: 10px; color: #9ca3af; flex-shrink: 0; }
.nfs-inbox-chat { flex: 1; display: flex; flex-direction: column; }
.nfs-chat-header {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-bottom: 1px solid #e8e5df; font-size: 13px;
}
.nfs-chat-header strong { color: #0a0a0a; font-size: 13px; }
.nfs-online { color: #1e9a80; font-size: 10px; margin-left: auto; }
.nfs-chat-messages {
  flex: 1; padding: 12px; overflow: auto; background: #fafafa;
  display: flex; flex-direction: column; gap: 8px;
}
.nfs-msg { display: flex; }
.nfs-msg.them { justify-content: flex-start; }
.nfs-msg.me { justify-content: flex-end; }
.nfs-msg p {
  max-width: 75%; padding: 8px 12px; border-radius: 14px;
  font-size: 12px; line-height: 1.5; margin: 0;
}
.nfs-msg.them p { background: white; border: 1px solid #e8e5df; border-bottom-left-radius: 4px; color: #0a0a0a; }
.nfs-msg.me p { background: #1e9a80; color: white; border-bottom-right-radius: 4px; }
.nfs-chat-input {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-top: 1px solid #e8e5df; font-size: 11px; color: #9ca3af;
}
.nfs-send-mini {
  width: 22px; height: 22px; border-radius: 6px; background: #1e9a80;
  display: flex; align-items: center; justify-content: center; margin-left: auto;
}

/* ====================================================
   FINALE
   ==================================================== */
.nfs-finale {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; text-align: center; padding: 40px 20px;
  background: linear-gradient(135deg, #ecfdf5 0%, #f3f3ee 50%, #ecfdf5 100%);
}
.nfs-finale-icon { font-size: 36px; margin-bottom: 14px; }
.nfs-finale h3 {
  font-size: 17px; font-weight: 700; color: #0a0a0a; line-height: 1.3;
  margin-bottom: 6px; max-width: 300px;
}
.nfs-finale p { font-size: 12px; color: #737373; margin-bottom: 16px; }
.nfs-finale-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 38px; padding: 0 22px; border-radius: 10px;
  background: #1e9a80; color: white; font-size: 13px; font-weight: 600;
  text-decoration: none; transition: background 0.2s;
}
.nfs-finale-btn:hover { background: #178f72; }

/* ====================================================
   STORY CHAT BUBBLES (in left panel during story)
   ==================================================== */
.story-msg { display: flex; margin-bottom: 6px; padding: 0 4px; }
.story-msg.me { justify-content: flex-end; }
.story-msg.them { justify-content: flex-start; }
.story-msg-bubble {
  max-width: 88%; padding: 8px 12px; border-radius: 14px;
  font-size: 13px; line-height: 1.5;
}
.story-msg.me .story-msg-bubble { background: #1e9a80; color: white; border-bottom-right-radius: 4px; }
.story-msg.them .story-msg-bubble { background: #f3f4f6; color: #0a0a0a; border-bottom-left-radius: 4px; }

/* Typing indicator dots */
.typing-dots {
  display: flex; align-items: center; gap: 4px;
  padding: 10px 16px !important; min-width: 52px;
}
.typing-dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: #9ca3af; display: block;
  animation: typingBounce 1.4s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.typing-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}


/* ════════════════════════════════════════════
   Tooltip visibility fix
   ════════════════════════════════════════════ */
/* ════════════════════════════════════════════
   TASK 6: Tooltip visibility fix
   ════════════════════════════════════════════ */
/* Ensure click-here-tooltip is above the input area and visible */
.chat-input-area {
  position: relative;
  z-index: 2;
}
.click-here-tooltip {
  z-index: 30;
  pointer-events: auto;
}
