/* BuzzSpot · Hero Browser Mockup v2 — self-contained */

/* ── Wrapper ── */
.hero-browser-wrap { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; position:relative; }

/* ── Browser Shell ── */
.hbm-browser { width:500px; max-width:100%; background:#fff; border:1.5px solid #e2e8f0; border-radius:16px; overflow:hidden; box-shadow:0 24px 64px rgba(0,0,0,0.13),0 6px 20px rgba(79,70,229,0.1),0 0 0 1px rgba(79,70,229,0.06); animation:hbm-float 5s ease-in-out infinite; position:relative; }
@keyframes hbm-float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* ── Chrome Bar ── */
.hbm-chrome { display:flex; align-items:center; gap:10px; padding:9px 14px; background:#f1f5f9; border-bottom:1px solid #e2e8f0; flex-shrink:0; }
.hbm-dots { display:flex; gap:5px; flex-shrink:0; }
.hbm-dots span { width:10px; height:10px; border-radius:50%; display:block; }
.hbm-dots span:nth-child(1){background:#ef4444}
.hbm-dots span:nth-child(2){background:#f59e0b}
.hbm-dots span:nth-child(3){background:#22c55e}
.hbm-url-bar { flex:1; background:#fff; border:1px solid #e2e8f0; border-radius:6px; padding:4px 10px; font-size:0.7rem; color:#64748b; font-family:monospace; display:flex; align-items:center; gap:5px; white-space:nowrap; overflow:hidden; }
.hbm-url-lock { color:#22c55e; flex-shrink:0; }

/* ── Browser Body ── */
.hbm-body { display:flex; height:340px; overflow:hidden; position:relative; }

/* ── Site Content ── */
.hbm-site-content { flex:1; min-width:0; padding:12px; background:#f8faff; transition:flex 0.55s cubic-bezier(0.4,0,0.2,1); display:flex; flex-direction:column; gap:8px; overflow:hidden; position:relative; }

/* ── Real Website: Entrance animation ── */
@keyframes hbm-site-in { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:translateY(0)} }
.hbm-site-content { animation: hbm-site-in 0.6s ease both; }

/* ── Real Website: Navbar ── */
.hbm-real-nav { display:flex; align-items:center; gap:6px; padding:7px 0 8px; border-bottom:1px solid #e8ecf4; flex-shrink:0; }
.hbm-real-logo { display:flex; align-items:center; gap:4px; font-size:0.62rem; font-weight:800; color:#1e1b4b; font-family:'Inter',system-ui,sans-serif; white-space:nowrap; }
.hbm-real-logo-icon { color:#6366f1; font-size:0.55rem; }
.hbm-real-navlinks { display:flex; align-items:center; gap:8px; margin-left:auto; }
.hbm-real-navlinks a { font-size:0.5rem; color:#64748b; font-family:'Inter',system-ui,sans-serif; cursor:pointer; white-space:nowrap; text-decoration:none; transition:color 0.15s; }
.hbm-real-navlinks a:hover { color:#4f46e5; }
.hbm-real-nav-cta { padding:4px 10px; background:#4f46e5; color:#fff; border:none; border-radius:5px; font-size:0.5rem; font-weight:700; font-family:'Inter',system-ui,sans-serif; cursor:pointer; white-space:nowrap; flex-shrink:0; transition:background 0.2s; }
.hbm-real-nav-cta:hover { background:#4338ca; }

/* ── Real Website: Hero ── */
.hbm-real-hero { display:flex; flex-direction:column; gap:5px; padding:10px 0 6px; flex-shrink:0; }
.hbm-real-eyebrow { display:inline-flex; align-items:center; gap:4px; font-size:0.48rem; font-weight:600; color:#6366f1; background:#eef2ff; border:1px solid #e0e7ff; border-radius:20px; padding:2px 7px; width:fit-content; font-family:'Inter',system-ui,sans-serif; }
.hbm-real-h1 { font-size:0.82rem; font-weight:800; color:#0f172a; line-height:1.3; margin:0; font-family:'Inter',system-ui,sans-serif; }
.hbm-real-h1 span { background:linear-gradient(90deg,#6366f1,#8b5cf6); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.hbm-real-sub { font-size:0.53rem; color:#475569; line-height:1.5; margin:0; font-family:'Inter',system-ui,sans-serif; }
.hbm-real-btns { display:flex; align-items:center; gap:6px; margin-top:2px; }
.hbm-real-cta-btn { padding:5px 11px; background:linear-gradient(135deg,#4f46e5,#6d28d9); color:#fff; border:none; border-radius:6px; font-size:0.5rem; font-weight:700; font-family:'Inter',system-ui,sans-serif; cursor:pointer; white-space:nowrap; box-shadow:0 3px 12px rgba(79,70,229,0.35); transition:transform 0.15s,box-shadow 0.15s; animation:hbm-cta-pulse 2.5s ease-in-out infinite; }
.hbm-real-cta-btn:hover { transform:translateY(-1px); box-shadow:0 5px 18px rgba(79,70,229,0.5); }
@keyframes hbm-cta-pulse { 0%,100%{box-shadow:0 3px 12px rgba(79,70,229,0.35)} 50%{box-shadow:0 5px 20px rgba(79,70,229,0.55)} }
.hbm-real-ghost-btn { padding:5px 10px; background:transparent; color:#4f46e5; border:1.5px solid #c7d2fe; border-radius:6px; font-size:0.5rem; font-weight:600; font-family:'Inter',system-ui,sans-serif; cursor:pointer; white-space:nowrap; transition:background 0.15s,border-color 0.15s; }
.hbm-real-ghost-btn:hover { background:#eef2ff; border-color:#a5b4fc; }

/* ── Real Website: Feature Cards ── */
.hbm-real-cards { display:flex; gap:6px; flex-shrink:0; margin-top:4px; }
.hbm-real-card { flex:1; padding:8px 7px; background:#fff; border:1px solid #e0e7ff; border-radius:8px; display:flex; flex-direction:column; gap:3px; transition:box-shadow 0.2s,transform 0.2s; cursor:default; }
.hbm-real-card:hover { box-shadow:0 4px 16px rgba(99,102,241,0.12); transform:translateY(-1px); }
.hbm-real-card-icon { font-size:0.8rem; line-height:1; }
.hbm-real-card-title { font-size:0.55rem; font-weight:700; color:#1e1b4b; font-family:'Inter',system-ui,sans-serif; }
.hbm-real-card-desc { font-size:0.48rem; color:#64748b; font-family:'Inter',system-ui,sans-serif; line-height:1.4; }

/* ── Real Website: Stats Row ── */
.hbm-real-stats { display:flex; align-items:center; gap:10px; padding:7px 0 5px; border-top:1px solid #f1f5f9; flex-shrink:0; }
.hbm-real-stat { display:flex; flex-direction:column; align-items:center; gap:1px; }
.hbm-real-stat-num { font-size:0.6rem; font-weight:800; color:#1e1b4b; font-family:'Inter',system-ui,sans-serif; white-space:nowrap; }
.hbm-real-stat-lbl { font-size:0.42rem; color:#94a3b8; font-family:'Inter',system-ui,sans-serif; white-space:nowrap; }
.hbm-real-stat-divider { width:1px; height:18px; background:#e2e8f0; flex-shrink:0; }

/* ── Real Website: Trusted By ── */
.hbm-real-trusted { display:flex; align-items:center; gap:5px; flex-shrink:0; padding-bottom:2px; flex-wrap:nowrap; overflow:hidden; }
.hbm-real-trusted-label { font-size:0.42rem; color:#94a3b8; font-family:'Inter',system-ui,sans-serif; white-space:nowrap; flex-shrink:0; }
.hbm-real-trusted-pill { font-size:0.44rem; font-weight:600; color:#475569; background:#f8fafc; border:1px solid #e2e8f0; border-radius:4px; padding:2px 6px; white-space:nowrap; font-family:'Inter',system-ui,sans-serif; }

/* ── Explore with AI Wrapper — bottom RIGHT ── */
.hbm-explore-wrap {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 10;
  background: #f0f0f8;
  border: 1.5px solid #dddde8;
  border-radius: 999px;
  padding: 5px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: opacity 0.35s ease, transform 0.35s ease;
  animation: hbm-btn-pulse 3s ease-in-out infinite;
}
/* Hide wrapper when panel open */
.hbm-browser.panel-open .hbm-explore-wrap {
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
}
/* Inner dark pill button */
.hbm-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  background: #1e1b4b !important;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: 'Inter', system-ui, sans-serif;
  white-space: nowrap;
  transition: background 0.2s;
}
.hbm-explore-btn:hover { background: #312e81; }
@keyframes hbm-btn-pulse {
  0%,100% { box-shadow: 0 2px 12px rgba(0,0,0,0.07); }
  50%      { box-shadow: 0 4px 20px rgba(79,70,229,0.18); }
}

/* ── AI Panel ── */
.hbm-ai-panel { width:0; overflow:hidden; background:#fff; border-left:1px solid #e0e7ff; display:flex; flex-direction:column; transition:width 0.55s cubic-bezier(0.4,0,0.2,1); flex-shrink:0; }
.hbm-browser.panel-open .hbm-ai-panel { width:240px; }

/* ══ WELCOME VIEW ══ */
.hbm-welcome-view { width:240px; height:100%; display:flex; flex-direction:column; align-items:center; padding:10px 12px; background:#fff; overflow-y:auto; flex-shrink:0; }
.hbm-close-x { align-self:flex-end; width:22px; height:22px; border-radius:50%; background:#f1f5f9; border:1px solid #e2e8f0; color:#64748b; font-size:0.85rem; display:flex; align-items:center; justify-content:center; cursor:pointer; font-family:inherit; line-height:1; transition:background 0.2s; flex-shrink:0; }
.hbm-close-x:hover { background:#e2e8f0; color:#0f172a; }
.hbm-welcome-av { width:54px; height:54px; border-radius:50%; overflow:hidden; margin:6px 0 7px; border:2.5px solid #e0e7ff; flex-shrink:0; background:linear-gradient(135deg,#6366f1,#8b5cf6); display:flex; align-items:center; justify-content:center; }
.hbm-sophie-pill { background:#1e1b4b; color:#fff; font-size:0.68rem; font-weight:800; padding:4px 12px; border-radius:999px; letter-spacing:0.02em; margin-bottom:7px; flex-shrink:0; }
.hbm-welcome-msg { font-size:0.65rem; color:#334155; text-align:center; line-height:1.55; margin-bottom:10px; flex-shrink:0; }
.hbm-chips-list { display:flex; flex-direction:column; gap:5px; width:100%; flex-shrink:0; }
.hbm-chip-btn { width:100%; text-align:left; background:#fff; border:1px solid #cbd5e1; border-radius:8px; padding:7px 10px; font-size:0.6rem; color:#334155; font-weight:500; font-family:'Inter',system-ui,sans-serif; cursor:pointer; transition:background 0.15s,border-color 0.15s,transform 0.15s; }
.hbm-chip-btn:hover { background:#f0f4ff; border-color:#a5b4fc; transform:translateY(-1px); }
.hbm-chip-btn:disabled { opacity:0.4; cursor:default; transform:none; }
.hbm-welcome-footer { margin-top:auto; padding-top:8px; width:100%; flex-shrink:0; }
.hbm-ask-wrap { display:flex; align-items:center; gap:6px; background:#f8fafc; border:1.5px solid #e2e8f0; border-radius:9px; padding:6px 8px; }
.hbm-ask-text { flex:1; font-size:0.57rem; color:#94a3b8; font-family:'Inter',system-ui,sans-serif; }
.hbm-ask-send { width:20px; height:20px; border-radius:6px; background:#1e1b4b; display:flex; align-items:center; justify-content:center; flex-shrink:0; color:#fff; }

/* ══ CHAT VIEW ══ */
.hbm-chat-view { width:240px; height:100%; display:none; flex-direction:column; background:#fafafa; flex-shrink:0; }
/* Header */
.hbm-chat-hdr { display:flex; align-items:center; gap:7px; padding:8px 10px; background:linear-gradient(135deg,#1e1b4b,#312e81); flex-shrink:0; }
.hbm-chat-av { width:24px; height:24px; border-radius:50%; background:linear-gradient(135deg,#6366f1,#8b5cf6); border:1.5px solid rgba(255,255,255,0.3); display:flex; align-items:center; justify-content:center; flex-shrink:0; overflow:hidden; }
.hbm-chat-hdr-name { flex:1; font-size:0.7rem; font-weight:800; color:#fff; white-space:nowrap; }
.hbm-chat-hdr-close { width:20px; height:20px; border-radius:50%; background:rgba(255,255,255,0.15); border:none; color:rgba(255,255,255,0.75); font-size:0.8rem; display:flex; align-items:center; justify-content:center; cursor:pointer; flex-shrink:0; font-family:inherit; line-height:1; transition:background 0.2s; }
.hbm-chat-hdr-close:hover { background:rgba(255,255,255,0.28); }
/* Messages */
.hbm-msgs-area { flex:1; padding:8px 8px 4px; display:flex; flex-direction:column; gap:6px; overflow-y:auto; overflow-x:hidden; }
.hbm-msgs-area::-webkit-scrollbar { width:2px; }
.hbm-msgs-area::-webkit-scrollbar-thumb { background:#c7d2fe; border-radius:1px; }
/* User message */
.hbm-msg-user { display:flex; flex-direction:column; align-items:flex-end; gap:2px; opacity:0; transform:translateY(6px); transition:opacity 0.3s ease,transform 0.3s ease; }
.hbm-msg-user.visible { opacity:1; transform:translateY(0); }
.hbm-msg-user-lbl { font-size:0.48rem; color:#94a3b8; }
.hbm-msg-user-bubble { background:#e2e8f0; color:#334155; font-size:0.58rem; line-height:1.45; padding:5px 8px; border-radius:8px; border-bottom-right-radius:2px; max-width:150px; word-break:break-word; }
/* Bot message */
.hbm-msg-bot { display:flex; flex-direction:column; align-items:flex-start; gap:2px; opacity:0; transform:translateY(6px); transition:opacity 0.3s ease,transform 0.3s ease; }
.hbm-msg-bot.visible { opacity:1; transform:translateY(0); }
.hbm-msg-bot-lbl { font-size:0.48rem; color:#64748b; }
.hbm-msg-bot-bubble { background:#1e1b4b; color:#e0e7ff; font-size:0.58rem; line-height:1.55; padding:7px 9px; border-radius:8px; border-top-left-radius:2px; max-width:200px; word-break:break-word; }
.hbm-msg-bot-bubble strong { color:#a5b4fc; }
.hbm-msg-bot-bubble em { color:#fff; }
/* Typing */
.hbm-typing-row { display:flex; align-items:center; opacity:0; transition:opacity 0.25s ease; }
.hbm-typing-row.visible { opacity:1; }
.hbm-typing-dots { display:flex; align-items:center; gap:3px; background:#1e1b4b; padding:6px 10px; border-radius:8px; border-top-left-radius:2px; }
.hbm-typing-dots span { width:4px; height:4px; border-radius:50%; background:#a5b4fc; animation:hbm-bounce 1.3s ease-in-out infinite; }
.hbm-typing-dots span:nth-child(2){animation-delay:0.18s}
.hbm-typing-dots span:nth-child(3){animation-delay:0.36s}
@keyframes hbm-bounce { 0%,60%,100%{transform:translateY(0);opacity:0.5} 30%{transform:translateY(-4px);opacity:1} }
/* Footer */
.hbm-chat-footer { padding:6px 8px 8px; border-top:1px solid #e2e8f0; background:#fff; flex-shrink:0; }
.hbm-chat-input-wrap { display:flex; align-items:center; gap:5px; background:#f8fafc; border:1.5px solid #e2e8f0; border-radius:9px; padding:6px 8px; transition:border-color 0.2s; }
.hbm-chat-input-wrap:has(#hbm-chat-input-txt.hbm-typing) { border-color:#a5b4fc; }
.hbm-chat-input-txt { flex:1; font-size:0.57rem; color:#94a3b8; font-family:'Inter',system-ui,sans-serif; min-height:1em; }
.hbm-chat-input-txt.hbm-typing { color:#1e293b; }
/* Blinking cursor while typing */
.hbm-chat-input-txt.hbm-typing::after { content:'|'; color:#6366f1; animation:hbm-blink 0.65s step-end infinite; }
@keyframes hbm-blink { 0%,100%{opacity:1} 50%{opacity:0} }
/* Send button click flash */
.hbm-chat-send { width:20px; height:20px; border-radius:6px; background:#1e1b4b; display:flex; align-items:center; justify-content:center; flex-shrink:0; color:#fff; transition:background 0.15s,transform 0.15s; }
.hbm-chat-send.hbm-send-active { background:#4f46e5 !important; transform:scale(0.82); }

/* ── Notifications ── */
.hbm-notif { display:flex; align-items:center; gap:9px; background:#fff; border:1.5px solid #e2e8f0; border-radius:14px; padding:8px 12px; box-shadow:0 8px 28px rgba(0,0,0,0.1); position:relative; align-self:flex-start; opacity:0; }
.hbm-notif-lead { animation:hbm-notif-in 0.5s 0.3s cubic-bezier(.34,1.56,.64,1) both; }
.hbm-notif-typing { animation:hbm-notif-in 0.5s 1.0s cubic-bezier(.34,1.56,.64,1) both; }
@keyframes hbm-notif-in { from{opacity:0;transform:translateX(20px) scale(0.93)} to{opacity:1;transform:translateX(0) scale(1)} }
.hbm-notif-icon { width:28px; height:28px; border-radius:8px; flex-shrink:0; display:flex; align-items:center; justify-content:center; font-size:0.68rem; font-weight:800; }
.hbm-notif-body { display:flex; flex-direction:column; gap:2px; }
.hbm-notif-title { font-size:0.74rem; font-weight:700; color:#0f172a; white-space:nowrap; }
.hbm-notif-sub { font-size:0.62rem; color:#94a3b8; white-space:nowrap; }
.hbm-notif-ping { position:absolute; top:-5px; right:-5px; width:9px; height:9px; border-radius:50%; background:#22c55e; animation:hbm-ping 2s ease-in-out infinite; }
.hbm-notif-ping::after { content:''; position:absolute; inset:-3px; border-radius:50%; border:2px solid #22c55e; opacity:0; animation:hbm-ping-ring 2s ease-in-out infinite; }
@keyframes hbm-ping { 0%,100%{transform:scale(1)} 50%{transform:scale(1.2)} }
@keyframes hbm-ping-ring { 0%{opacity:0.8;transform:scale(1)} 100%{opacity:0;transform:scale(2)} }
.hbm-notif-dots { display:flex; align-items:center; gap:3px; margin-top:2px; }
.hbm-notif-dots span { width:4px; height:4px; border-radius:50%; background:#6366f1; animation:hbm-bounce 1.3s ease-in-out infinite; }
.hbm-notif-dots span:nth-child(2){animation-delay:0.18s}
.hbm-notif-dots span:nth-child(3){animation-delay:0.36s}

/* ── Trust line ── */
.hbm-trust { display:flex; align-items:center; gap:6px; font-size:0.76rem; color:#64748b; margin:0; }
.hbm-trust svg { color:#6366f1; flex-shrink:0; }

/* ── Responsive ── */
@media (max-width:1100px) { .hbm-browser { width:100%; } }
@media (max-width:900px) { .hero-browser-wrap { align-items:center; width:100%; } .hbm-browser { width:100%; max-width:520px; } }
@media (max-width:600px) { .hbm-browser.panel-open .hbm-ai-panel { width:180px; } .hbm-welcome-view,.hbm-chat-view { width:180px; } }
