/* ============================================================
   ScreenImmos — Product visuals (CSS/SVG dashboard mockups)
   ============================================================ */

/* Skeleton primitives (inside mockups) */
.ph-line { height: 9px; border-radius: 5px; background: var(--bg-tint); }
.ph-line.w40 { width: 40%; } .ph-line.w60 { width: 60%; } .ph-line.w80 { width: 80%; } .ph-line.w100 { width: 100%; }
.ph-line.shimmer {
  background: linear-gradient(90deg, var(--bg-tint) 25%, #e7ebf5 45%, var(--bg-tint) 65%);
  background-size: 200% 100%;
  animation: shimmer 2.6s ease-in-out infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Real listing photos (fill their rounded container) ---------- */
.prop-photo img, .comp-thumb img, .video-thumb img, .deal-orb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--bg-tint);
}
.deal-orb img {
  position: relative;
  z-index: 1;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: var(--shadow-float);
}
/* .deal-thumb is statically positioned (sections.css) — fill without absolute */
.deal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--bg-tint); }
.deal-orb.faded img { box-shadow: var(--shadow-card); filter: saturate(0.4); }
/* Subtle reveal so swapped photos don't pop in jarringly */
.prop-photo img, .comp-thumb img { transition: transform var(--duration-normal) var(--ease-out); }
.prop-card:hover .prop-photo img, .comp-row:hover .comp-thumb img { transform: scale(1.04); }

/* ---------- Hero stage ---------- */
.hero-stage {
  position: relative;
  height: clamp(640px, 30rem + 6vw, 668px);
  background-image: radial-gradient(var(--border) 1.1px, transparent 1.1px);
  background-size: 26px 26px;
}
.stage-glow {
  position: absolute;
  inset: 6%;
  background:
    radial-gradient(42% 50% at 30% 35%, rgba(46, 155, 255, 0.12), transparent 70%),
    radial-gradient(40% 48% at 72% 28%, rgba(236, 90, 160, 0.10), transparent 70%),
    radial-gradient(44% 52% at 55% 75%, rgba(0, 167, 163, 0.10), transparent 70%);
  filter: blur(8px);
}

.deal-orb {
  position: absolute;
  border-radius: 50%;
  animation: float-y 7s ease-in-out var(--float-delay, 0s) infinite;
}
.deal-orb.hero-in {
  animation:
    hero-in 0.7s var(--ease-out) var(--in-delay, 0ms) forwards,
    float-y 7s ease-in-out var(--float-delay, 0s) infinite;
}
.deal-orb svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: var(--shadow-float);
}
.orb-ring {
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  background: var(--grad-ring);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 4.5px), #000 calc(100% - 3.5px));
  mask: radial-gradient(closest-side, transparent calc(100% - 4.5px), #000 calc(100% - 3.5px));
  animation: spin 24s linear infinite;
}
.orb-ring.r-teal { background: conic-gradient(from 180deg, var(--teal), var(--blue), #d6f3f2, var(--teal)); animation-duration: 30s; }
.orb-ring.r-coral { background: conic-gradient(from 90deg, var(--coral), var(--pink), #ffe2db, var(--coral)); animation-duration: 19s; }
@keyframes spin { to { transform: rotate(360deg); } }

.orb-score {
  position: absolute;
  z-index: 2;
  right: -4px;
  bottom: 6px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(closest-side, #fff 76%, transparent 77% 100%), var(--grad-intel);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--ink-strong);
  box-shadow: var(--shadow-pill);
}

.deal-orb.faded { opacity: 0.55; }
.deal-orb.faded svg { box-shadow: var(--shadow-card); filter: saturate(0.35); }

/* Two scored deals peek on the left so the prominent centre card reads as
   "lifted out of the live shortlist"; status/capability callouts frame the rest. */
.deal-orb.o2 { width: 148px; height: 148px; top: 1%;    left: 0%;  --float-delay: -3s; --float-amp: -9px; }
.deal-orb.o3 { width: 124px; height: 124px; bottom: 2%; left: 2%;  --float-delay: -5s; --float-amp: -10px; }

.float-chip {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.05rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-pill);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink-strong);
  white-space: nowrap;
  animation:
    float-y 6s ease-in-out var(--float-delay, 0s) infinite,
    chip-pulse 6s ease-in-out var(--float-delay, 0s) infinite;
  --float-amp: -6px;
}
.float-chip.hero-in {
  animation:
    hero-in 0.7s var(--ease-out) var(--in-delay, 0ms) forwards,
    float-y 6s ease-in-out var(--float-delay, 0s) infinite,
    chip-pulse 6s ease-in-out var(--float-delay, 0s) infinite;
}
.float-chip .tick { font-weight: 800; }
.float-chip .tick.up { color: var(--teal-deep); }
.float-chip .tick.down { color: var(--coral-deep); }
.float-chip .tick.blue { color: var(--blue); }
.chip-ring {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(closest-side, #fff 64%, transparent 65% 100%), var(--grad-intel);
}
/* Callouts sit in the top/bottom bands + right corners — never over the card body.
   Left side carries the two scored deal orbs; right + centre carry the callouts. */
.float-chip.c1 { top: -1%;     left: 33%;  --float-delay: -1.5s; }
.float-chip.c2 { top: 0.5%;    right: -3%; --float-delay: -3.5s; }
.float-chip.c4 { bottom: 0.5%; right: -3%; --float-delay: -4.5s; }
.float-chip.c5 { bottom: -1%;  left: 29%;  --float-delay: -2.2s; }

@keyframes float-y { 0%, 100% { translate: 0 0; } 50% { translate: 0 var(--float-amp, -10px); } }
@keyframes chip-pulse {
  0%, 100% { box-shadow: var(--shadow-pill); }
  50% { box-shadow: 0 8px 22px rgba(16, 18, 47, 0.18); }
}

/* ---------- Video thumbnails ---------- */
.video-thumb {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.video-thumb svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,18,47,0) 40%, rgba(16,18,47,0.28));
}
.play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow-pill);
  display: grid;
  place-items: center;
  transition: transform var(--duration-fast) var(--ease-out);
}
.play-btn::after {
  content: "";
  width: 0; height: 0;
  border-left: 12px solid var(--ink-strong);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  margin-left: 3px;
}
.video-thumb:hover .play-btn, .quote-card.video:hover .play-btn { transform: scale(1.12); }

/* ---------- Score rings ---------- */
.score-ring {
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 800;
  color: var(--ink-strong);
  background:
    radial-gradient(closest-side, #fff 78%, transparent 79% 100%),
    var(--grad-intel);
}
.score-ring.s-teal { background: radial-gradient(closest-side, #fff 78%, transparent 79% 100%), conic-gradient(var(--teal) 0 88%, var(--bg-tint) 88% 100%); }
.score-ring.s-coral { background: radial-gradient(closest-side, #fff 78%, transparent 79% 100%), conic-gradient(var(--coral) 0 64%, var(--bg-tint) 64% 100%); }

/* ---------- Avatars ---------- */
.avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.av-teal { background: linear-gradient(135deg, var(--teal), var(--blue)); }
.av-blue { background: linear-gradient(135deg, var(--blue), var(--purple)); }
.av-purple { background: linear-gradient(135deg, var(--purple), var(--pink)); }
.av-coral { background: var(--grad-coral); }
.av-pink { background: linear-gradient(135deg, var(--pink), var(--coral)); }

/* ---------- Pillar visuals ---------- */
.pillar-visual { position: relative; }
.pillar-visual::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: radial-gradient(55% 55% at 50% 50%, rgba(123,97,255,0.07), transparent 70%);
  z-index: 0;
}
.pillar-visual > * { position: relative; z-index: 1; }

/* P1 — property valuation card */
.prop-card { max-width: 440px; margin-inline: auto; padding: 1rem; box-shadow: var(--shadow-float); }
.prop-photo {
  position: relative;
  height: 185px;
  border-radius: 14px;
  overflow: hidden;
}
.prop-photo svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.prop-meta { display: flex; gap: 0.45rem; flex-wrap: wrap; margin-top: 0.6rem; }
.chip {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  color: var(--muted);
  white-space: nowrap;
}
.chip.c-deal { background: rgba(0,167,163,0.1); border-color: transparent; color: var(--teal-text); }

/* Hero deal card — the prominent centerpiece. A faithful marketing render of the
   product deal card (src/.../screener/cards.py): a ranked + scored photo, a
   €-total price block, fact chips, the two-band ask-vs-value spectrum (as-is +
   saniert with the coral ask marker) and two market tiles. */
.hero-deal { padding: 0; overflow: hidden; }
.hero-deal .prop-photo { border-radius: 0; }
/* the same rich card also illustrates the valuation pillar (.pillar-visual); it
   is NOT in the hero stage, so size its flush photo to the product-card 16/9. */
.pillar-visual .hero-deal .prop-photo { aspect-ratio: 16 / 9; height: auto; }
.deal-rank {
  position: absolute;
  z-index: 2;
  top: 9px;
  left: 9px;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  background: rgba(16, 18, 47, 0.74);
  border-radius: var(--radius-pill);
  padding: 0.24rem 0.55rem;
}
.prop-pin {
  position: absolute;
  z-index: 2;
  left: 9px;
  bottom: 9px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.26rem 0.62rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--ink-strong);
  box-shadow: var(--shadow-pill);
}
.prop-pin::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 112, 95, 0.22);
}
.hero-deal .deal-score {
  position: absolute;
  z-index: 2;
  bottom: 9px;
  right: 9px;
  display: grid;
  gap: 1px;
  place-items: center;
  line-height: 1;
  padding: 0.32rem 0.58rem;
  border-radius: 12px;
  background: var(--grad-intel);
  color: #fff;
  text-align: center;
  box-shadow: 0 4px 12px rgba(123, 97, 255, 0.32);
}
.deal-score i { font-style: normal; font-size: 0.52rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.92; }
.deal-score b { font-size: 1.1rem; font-weight: 800; font-variant-numeric: tabular-nums; }

/* body */
.deal-body { padding: 0.95rem 1.05rem 1.05rem; }
.deal-prices { display: flex; justify-content: space-between; align-items: baseline; gap: 0.7rem; }
.deal-prices .dp { display: inline-flex; align-items: baseline; gap: 0.34rem; white-space: nowrap; }
.deal-prices .dp b { font-size: 1.5rem; font-weight: 800; color: var(--ink-strong); letter-spacing: -0.01em; line-height: 1; }
.deal-prices .dp:not(.main) b { font-size: 1rem; font-weight: 700; color: var(--muted); }
.deal-prices .dp i { font-style: normal; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.deal-title { margin-top: 0.5rem; font-size: 0.86rem; font-weight: 700; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-deal .prop-meta { margin-top: 0.62rem; }

/* two-band ask-vs-value spectrum (mirrors cards.py _spectrum_html) */
.deal-spectrum { margin-top: 0.95rem; display: grid; gap: 0.34rem; }
.ds-lbls { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; }
.ds-ask { font-size: 0.8rem; font-weight: 800; color: var(--coral-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-lbls .chip { padding: 0.26rem 0.55rem; font-size: 0.7rem; flex: none; }
.ds-track {
  position: relative;
  height: 18px;
  border-radius: var(--radius-pill);
  background: var(--bg-tint);
  box-shadow: inset 0 1px 2px rgba(16, 18, 47, 0.07);
}
.ds-band { position: absolute; height: 6px; border-radius: var(--radius-pill); }
.ds-band.asis { top: 3px; left: 30%; width: 43%; background: linear-gradient(90deg, #7aa7f7, #9a7df0); }
.ds-band.ren { bottom: 3px; left: 48%; width: 45%; background: linear-gradient(90deg, #6fcfc0, var(--teal)); }
.ds-mark {
  position: absolute;
  top: -2px;
  left: 20%;
  width: 4px;
  height: 22px;
  border-radius: 3px;
  background: var(--coral);
  transform: translateX(-50%);
  box-shadow: 0 0 0 3px rgba(255, 112, 95, 0.22);
}
.ds-legend { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; font-size: 0.72rem; font-weight: 700; color: var(--muted); }
.ds-key { white-space: nowrap; }
.ds-key::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  margin-right: 0.34rem;
  vertical-align: -1px;
}
.ds-key.asis::before { background: linear-gradient(135deg, #7aa7f7, #9a7df0); }
.ds-key.ren { color: var(--teal-text); }
.ds-key.ren::before { background: var(--teal); }

/* two market tiles (mirrors theme.ih-tile) */
.deal-tiles { margin-top: 0.9rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.dt { padding: 0.6rem 0.7rem 0.62rem; border-radius: 13px; background: var(--bg-soft); border: 1px solid var(--border-soft); }
.dt-l { display: block; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--faint); }
.dt-v { display: flex; align-items: center; gap: 0.4rem; margin-top: 0.18rem; font-size: 0.98rem; font-weight: 800; color: var(--ink-strong); }
.dt-tag { font-size: 0.64rem; font-weight: 800; color: var(--teal-text); background: rgba(0, 167, 163, 0.16); border-radius: var(--radius-pill); padding: 0.1rem 0.36rem; }
.dt-s { display: block; margin-top: 0.12rem; font-size: 0.7rem; color: var(--muted); }

/* P2 — comps list */
.comps-list { max-width: 460px; margin-inline: auto; display: grid; gap: 0.8rem; }
.comp-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 1rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out), border-color var(--duration-fast);
}
.comps-list .comp-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-float); border-color: #d9d2ff; }
.comps-list .comp-row:nth-child(2) { transform: translateX(20px); }
.comps-list .comp-row:nth-child(2):hover { transform: translateX(20px) translateY(-3px); }
.comps-list .comp-row:nth-child(3) { transform: translateX(-14px); }
.comps-list .comp-row:nth-child(3):hover { transform: translateX(-14px) translateY(-3px); }
.comp-thumb {
  position: relative;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
}
.comp-thumb svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.comp-thumb.sm { width: 30px; height: 30px; border-radius: 8px; }
.comp-info { flex: 1; min-width: 0; }
.comp-info strong { display: block; font-size: 0.9rem; color: var(--ink-strong); overflow-wrap: anywhere; }
.comp-info span { font-size: 0.78rem; color: var(--muted); }
.comp-row .score-ring { width: 46px; height: 46px; font-size: 0.78rem; flex: none; }
.comp-status { font-size: 0.68rem; font-weight: 800; padding: 0.22rem 0.55rem; border-radius: 999px; flex: none; }
.comp-status.sold { background: var(--bg-tint); color: var(--muted); }
.comp-status.active { background: rgba(0,167,163,0.12); color: var(--teal-deep); }

/* P3 — deal brief document */
.brief-card {
  max-width: 420px;
  margin-inline: auto;
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-float);
  animation: float-y 8s ease-in-out infinite;
  --float-amp: -7px;
}
.brief-head { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; margin-bottom: 1.2rem; }
.brief-head strong { font-size: 0.95rem; }
.ai-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  background: var(--grad-intel);
  animation: ai-pulse 3.4s ease-in-out infinite;
  white-space: nowrap;
}
@keyframes ai-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(123,97,255,0.32); }
  50% { box-shadow: 0 0 0 7px rgba(123,97,255,0); }
}
.brief-section { padding-block: 0.85rem; border-top: 1px solid var(--border-soft); }
.brief-section h5 { margin: 0 0 0.5rem; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.brief-section .ph-line { margin-bottom: 0.4rem; }
.brief-section .ph-line:last-child { margin-bottom: 0; }

/* Real deal-brief content */
.brief-verdict { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.7rem; font-weight: 800; color: #006b69; background: rgba(0,167,163,0.1); padding: 0.24rem 0.6rem; border-radius: 999px; margin-bottom: 0.4rem; }
.brief-text { font-size: 0.82rem; line-height: 1.5; color: var(--muted); margin: 0; }
.brief-text strong { color: var(--ink-strong); font-weight: 700; }
.brief-flags { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.42rem; }
.brief-flags li { font-size: 0.81rem; color: var(--ink-strong); display: flex; align-items: baseline; gap: 0.5rem; }
.sev { flex: none; font-size: 0.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; padding: 0.16rem 0.46rem; border-radius: 999px; }
.sev-hi { background: rgba(255,112,95,0.14); color: #c2341f; }
.sev-mid { background: rgba(245,170,70,0.2); color: #8a5a00; }
.sev-pos { background: rgba(0,167,163,0.12); color: #005f5c; }

/* P3 — "chat with the KI-Analyst" card */
.ask-card { display: grid; gap: 0; }

/* chat-partner header — names the assistant + live status */
.ai-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-soft);
}
.ai-avatar {
  flex: none;
  width: 2.4rem; height: 2.4rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad-intel);
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(123,97,255,0.32);
  animation: ai-pulse 3.4s ease-in-out infinite;
}
.ai-head-id { display: grid; gap: 0.2rem; min-width: 0; }
.ai-head-id strong { font-size: 0.96rem; color: var(--ink-strong); line-height: 1; }
.ai-head-status {
  display: inline-flex; align-items: center; gap: 0.42rem;
  font-size: 0.74rem; color: var(--muted);
}
.ai-dot {
  flex: none;
  width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: #25c26e;
  animation: ai-dot-pulse 2.4s ease-in-out infinite;
}
@keyframes ai-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,194,110,0.5); }
  50% { box-shadow: 0 0 0 5px rgba(37,194,110,0); }
}

/* conversation thread */
.ai-thread { display: grid; gap: 0.55rem; padding: 1.1rem 0; }
.ai-context {
  justify-self: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  padding: 0.3rem 0.72rem;
  border-radius: 999px;
  margin-bottom: 0.25rem;
}
.ai-bubble { font-size: 0.83rem; line-height: 1.45; border-radius: 15px; padding: 0.65rem 0.82rem; }
.ai-bubble--q {
  justify-self: end;
  max-width: 86%;
  background: var(--bg-soft);
  color: var(--ink-strong);
  font-weight: 600;
  border-bottom-right-radius: 5px;
}
.ai-bubble--a {
  justify-self: start;
  max-width: 94%;
  display: flex;
  gap: 0.55rem;
  background: linear-gradient(135deg, rgba(46,155,255,0.07), rgba(123,97,255,0.09));
  border: 1px solid rgba(123,97,255,0.16);
  border-bottom-left-radius: 5px;
}
.ai-bubble--a p { margin: 0; color: var(--muted); }
.ai-bubble--a strong { color: var(--ink-strong); font-weight: 700; }
.ai-a-mark {
  flex: none;
  width: 1.35rem; height: 1.35rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad-intel);
  color: #fff;
  font-size: 0.66rem;
}

.ai-suggest { padding: 1rem 0 1.1rem; border-top: 1px solid var(--border-soft); }
.ai-suggest-label { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.ai-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.55rem; }
.ai-chip {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue-ink);
  background: rgba(46,155,255,0.08);
  border: 1px solid rgba(46,155,255,0.18);
  padding: 0.34rem 0.72rem;
  border-radius: 999px;
}

.ai-ask {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.45rem 0.45rem 0.45rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.ai-ask-text { font-size: 0.83rem; color: var(--faint); }
.ai-ask-text::after {
  content: "";
  display: inline-block;
  width: 1.5px; height: 0.95em;
  margin-left: 2px;
  background: var(--purple);
  vertical-align: -0.13em;
  animation: caret-blink 1.1s step-end infinite;
}
@keyframes caret-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.ai-ask-send {
  flex: none;
  width: 1.95rem; height: 1.95rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad-intel);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1;
}

/* ---------- Product-tab window mockups ---------- */
.window-card {
  border-radius: var(--radius-card);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-float);
  overflow: hidden;
}
.window-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.7rem 1rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-soft);
}
.window-chrome i { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.window-chrome i:nth-child(1) { background: #ffb3ab; }
.window-chrome i:nth-child(2) { background: #ffe3a3; }
.window-chrome i:nth-child(3) { background: #b9e7c9; }
.window-chrome span { margin-left: 0.6rem; font-size: 0.72rem; font-weight: 700; color: var(--faint); letter-spacing: 0.04em; }
.window-body { padding: 1.2rem 1.3rem 1.4rem; display: grid; gap: 0.8rem; }
.window-body .brief-head { margin-bottom: 0; }
.window-body .brief-section { padding-block: 0.7rem 0.2rem; }
.filter-pills { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.screen-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
}
.screen-row .comp-thumb { width: 44px; height: 44px; }
.screen-info { flex: 1; display: grid; gap: 0.3rem; min-width: 0; }
.screen-info strong { font-size: 0.84rem; color: var(--ink-strong); line-height: 1.2; overflow-wrap: anywhere; }
.screen-info > span:not(.ph-line) { font-size: 0.75rem; color: var(--muted); }
.screen-row .score-ring { width: 40px; height: 40px; font-size: 0.72rem; flex: none; }

/* ---------- Integrations radial ---------- */
.radial {
  position: relative;
  aspect-ratio: 1;
  width: min(100%, 520px);
  margin-inline: auto;
}
.radial-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.radial-lines line { stroke: var(--border); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.radial-lines circle { fill: var(--coral); }
.radial-lines .dot-anim { animation: pulse-dot 3s ease-in-out infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }

.radial-hub {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  padding: 6px;
  background: var(--grad-coral);
  box-shadow: var(--shadow-float);
  animation: float-y 9s ease-in-out infinite;
  --float-amp: -8px;
}
.radial-hub > div {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-content: center;
  gap: 0.3rem;
  text-align: center;
  font-weight: 800;
  font-size: 0.85rem;
}
.radial-hub .logo-mark { margin-inline: auto; }

.radial-node {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  transform: translate(-50%, -50%);
}
.radial-node.is-named { font-size: 0.54rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink-strong); text-align: center; padding: 3px; line-height: 1.1; }
.radial-node.n-teal { color: var(--teal); }
.radial-node.n-blue { color: var(--blue); }
.radial-node.n-purple { color: var(--purple); }
.radial-node.n-pink { color: var(--pink); }
.radial-node.n-coral { color: var(--coral); }

/* ---------- Final CTA laptop ---------- */
.laptop {
  max-width: 880px;
  margin: clamp(2.5rem, 2rem + 3vw, 4.5rem) auto -2px;
  position: relative;
}
.laptop::before {
  content: "";
  position: absolute;
  inset: -8% -12% 0;
  background: radial-gradient(60% 70% at 50% 45%, rgba(123,97,255,0.13), transparent 70%);
  filter: blur(10px);
}
.laptop-screen {
  position: relative;
  border: 10px solid var(--ink-strong);
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  background: #fff;
  box-shadow: var(--shadow-float);
  overflow: hidden;
}
.laptop-base {
  position: relative;
  height: 16px;
  background: linear-gradient(180deg, #3a3c66, var(--ink-strong));
  border-radius: 0 0 14px 14px;
  max-width: 1000px;
  margin-inline: auto;
}
.dash {
  display: grid;
  grid-template-columns: 56px 1fr;
  min-height: 380px;
  text-align: left;
}
.dash-side {
  background: var(--bg-soft);
  border-right: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  padding-top: 1.1rem;
}
.dash-side i { width: 26px; height: 26px; border-radius: 8px; background: var(--bg-tint); }
.dash-side i:first-child { background: var(--grad-full); }
.dash-main { padding: 1.2rem 1.4rem; display: grid; gap: 1rem; align-content: start; }
.dash-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.8rem; }
.dash-cards .card { padding: 0.8rem 0.9rem; box-shadow: none; }
.dash-cards .card small { font-size: 0.62rem; font-weight: 700; color: var(--faint); text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }
.dash-cards .card strong { display: block; font-size: 1.1rem; color: var(--ink-strong); }
.dash-split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 0.8rem; }
.dash-chart { padding: 0.9rem; box-shadow: none; }
.dash-chart svg { width: 100%; height: 120px; }
.dash-chart svg path { fill: none; stroke-width: 2.5; stroke-linecap: round; }
.dash-gauge { padding: 0.9rem; box-shadow: none; display: grid; place-items: center; gap: 0.4rem; }
.dash-gauge .score-ring { width: 84px; height: 84px; font-size: 1.15rem; }
.dash-gauge small { font-size: 0.68rem; font-weight: 700; color: var(--faint); text-transform: uppercase; letter-spacing: 0.06em; }
.dash-list { display: grid; gap: 0.5rem; }
.dash-list .row { display: flex; align-items: center; gap: 0.7rem; padding: 0.5rem 0.7rem; border: 1px solid var(--border-soft); border-radius: 10px; }
.dash-list .row .ph-line { flex: 1; margin: 0; }
.dash-list .row .dash-row-label { flex: 1; min-width: 0; font-size: 0.76rem; font-weight: 700; color: var(--ink-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Responsive: visuals ---------- */
@media (max-width: 1024px) {
  .hero-stage { height: clamp(640px, 62vw, 668px); max-width: 640px; margin-inline: auto; width: 100%; }
}

@media (max-width: 760px) {
  /* Hero: keep the card the clear focus; two small deal peeks + two key tags */
  .deal-orb.o4, .deal-orb.o5, .float-chip.c2, .float-chip.c4 { display: none; }
  .deal-orb.o2 { width: 104px; height: 104px; top: 1%; left: 0; }
  .deal-orb.o3 { width: 90px; height: 90px; top: auto; bottom: 2%; left: 2%; }
  .orb-score { width: 34px; height: 34px; font-size: 0.72rem; }
  .float-chip { font-size: 0.76rem; padding: 0.46rem 0.8rem; }
  .float-chip.c1 { top: -2%; right: 1%; }
  .float-chip.c5 { top: auto; bottom: -2%; right: 2%; }
  .hero-stage { height: clamp(560px, 120vw, 632px); }
  .radial { width: min(100%, 360px); }
  .radial-hub { width: 116px; height: 116px; }
  .radial-node { width: 50px; height: 50px; font-size: 1.1rem; }
  .radial-node.is-named { font-size: 0.44rem; padding: 2px; }
  .dash { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .dash-split { grid-template-columns: 1fr 1fr; }
  .dash-cards { grid-template-columns: repeat(2, 1fr); }
  .comps-list .comp-row:nth-child(2), .comps-list .comp-row:nth-child(3) { transform: none; }
  .comps-list .comp-row:nth-child(2):hover, .comps-list .comp-row:nth-child(3):hover { transform: translateY(-3px); }
}

@media (max-width: 520px) {
  /* Smallest screens: card + two annotation tags only, no peeking orbs */
  .deal-orb.o2, .deal-orb.o3 { display: none; }
  .hero-stage { height: clamp(560px, 145vw, 600px); }
  .hero-deal .prop-photo { aspect-ratio: 16 / 9; height: auto; }
  .deal-prices { gap: 0.5rem; }
  .deal-prices .dp.main b { font-size: 1.35rem; }
  .deal-prices .dp:not(.main) b { font-size: 0.95rem; }
  .float-chip.c1 { top: -2%; right: 0; }
  .float-chip.c5 { bottom: -2%; right: 0; }
}
