/* =========================================================================
   TRUST LEAP — components & sections
   ========================================================================= */

/* ---------------- NAVBAR ---------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px var(--pad-x);
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s, padding 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8,11,16,0.72);
  backdrop-filter: blur(20px) saturate(1.3);
  border-bottom-color: var(--line);
  padding-block: 11px;
}
.nav__logo { display: flex; align-items: center; gap: 11px; }
.nav__logo svg, .nav__logo img { height: 26px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 9px 14px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav__links a:hover { color: var(--text); background: var(--glass); }
.nav__login {
  font-size: 0.92rem; font-weight: 500; color: var(--text-2);
  padding: 9px 14px; border-radius: var(--r-pill); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 7px;
  transition: color 0.2s, background 0.2s;
}
.nav__login::before {
  content: ""; width: 14px; height: 14px; background: currentColor; flex: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 1a5 5 0 0 0-5 5v3H6a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-9a2 2 0 0 0-2-2h-1V6a5 5 0 0 0-5-5zm3 8H9V6a3 3 0 0 1 6 0v3z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 1a5 5 0 0 0-5 5v3H6a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-9a2 2 0 0 0-2-2h-1V6a5 5 0 0 0-5-5zm3 8H9V6a3 3 0 0 1 6 0v3z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.nav__login:hover { color: var(--text); background: var(--glass); }
.nav__right { display: flex; align-items: center; gap: 12px; flex: none; flex-wrap: nowrap; }

.lang-toggle {
  display: inline-flex;
  padding: 3px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: var(--r-pill);
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
}
.lang-toggle button {
  border: 0; background: transparent; cursor: pointer;
  color: var(--muted);
  padding: 5px 11px;
  border-radius: var(--r-pill);
  font-family: inherit; font-size: inherit; letter-spacing: 0.05em;
  transition: color 0.2s, background 0.2s;
}
.lang-toggle button.on { background: var(--green); color: #04130d; font-weight: 700; }

.nav__burger { display: none; }

@media (max-width: 1024px) {
  .nav__links { display: none; }
}
/* Mobile: the bottom full-width sticky CTA bar takes over — drop the header CTA
   button so we don't show two CTAs at once. Header reduces to the logo. */
@media (max-width: 720px) {
  .nav__right .btn { display: none; }
}

/* ---------------- HERO ---------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: clamp(118px, 15vh, 176px);
  padding-bottom: clamp(64px, 9vh, 112px);
}
/* fade the clipped aurora glow into the page bg -> seamless seam to section 2 */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px;
  background: linear-gradient(transparent, var(--bg));
  z-index: 2; pointer-events: none;
}
/* scroll cue */
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  z-index: 3; color: var(--muted);
}
.hero__scroll .t {
  font-family: 'Space Mono', monospace; font-size: 0.62rem;
  letter-spacing: 0.22em; text-transform: uppercase;
}
.hero__scroll .ln { width: 1px; height: 44px; background: rgba(255,255,255,0.12); position: relative; overflow: hidden; }
.hero__scroll .ln::after {
  content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 14px;
  background: var(--green); animation: scrolldot 1.9s var(--ease) infinite;
}
@keyframes scrolldot {
  0% { transform: translateY(-14px); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(44px); opacity: 0; }
}
@media (max-width: 940px) { .hero__scroll { display: none; } }
@media (max-height: 660px) { .hero__scroll { display: none; } }
.hero .aurora span.g1 { width: 620px; height: 620px; background: var(--green); top: -300px; left: -260px; opacity: 0.09; }
.hero .aurora span.g2 { width: 540px; height: 540px; background: var(--coral); bottom: -200px; right: -100px; opacity: 0.22; }
.hero .aurora span.g3 { width: 380px; height: 380px; background: #1f6bff; top: 40%; left: 45%; opacity: 0.12; }

/* live network / data-flow canvas */
.hero__net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.5s ease;
  -webkit-mask-image:
    radial-gradient(58% 72% at 70% 52%, #000 26%, rgba(0,0,0,0.45) 58%, transparent 86%),
    linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
          mask-image:
    radial-gradient(58% 72% at 70% 52%, #000 26%, rgba(0,0,0,0.45) 58%, transparent 86%),
    linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: clamp(48px, 8vw, 124px);
  align-items: center;
}
.hero__title { font-size: var(--t-h1); margin-top: 8px; }
.hero__sub { max-width: 540px; }
.hero__cta { display: flex; flex-wrap: nowrap; gap: 14px; margin-top: 36px; }
@media (max-width: 420px) { .hero__cta { flex-wrap: wrap; } }
.hero__microcta {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.01em;
  display: flex; align-items: center; gap: 8px;
}
.hero__microcta::before {
  content: ""; display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(63,180,136,.55);
}
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin-top: 32px;
  font-size: 0.84rem; color: rgba(206,214,222,0.82);
}
.hero__trust b, .hero__trust span span { color: rgba(206,214,222,0.82); }
.hero__trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust svg { width: 15px; height: 15px; color: var(--green); }

/* Hero layout variants (driven by data-hero on <body>) */
body[data-hero="centered"] .hero__grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
body[data-hero="centered"] .hero__sub { margin-inline: auto; }
body[data-hero="centered"] .hero__cta,
body[data-hero="centered"] .hero__trust { justify-content: center; }
body[data-hero="centered"] .hero__microcta { justify-content: center; }
body[data-hero="centered"] .hero__stage { margin-top: 64px; width: 100%; max-width: 920px; }
body[data-hero="centered"] .eyebrow { justify-content: center; }

body[data-hero="fullbleed"] .hero { padding-top: 120px; }
body[data-hero="fullbleed"] .hero__grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
body[data-hero="fullbleed"] .hero__copy { position: relative; z-index: 3; }
body[data-hero="fullbleed"] .hero__sub { margin-inline: auto; }
body[data-hero="fullbleed"] .hero__cta, body[data-hero="fullbleed"] .hero__trust { justify-content: center; }
body[data-hero="fullbleed"] .hero__microcta { justify-content: center; }
body[data-hero="fullbleed"] .eyebrow { justify-content: center; }
body[data-hero="fullbleed"] .hero__stage {
  margin-top: -40px;
  width: 100%;
  -webkit-mask-image: linear-gradient(#000 70%, transparent 99%);
          mask-image: linear-gradient(#000 70%, transparent 99%);
}

@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .hero__sub { margin-inline: auto; }
  .hero__cta, .hero__trust { justify-content: center; }
  .hero__microcta { justify-content: center; }
  .hero .eyebrow { justify-content: center; }
  /* Trim the oversized hero primary CTA on mobile — desktop btn--lg is too wide on 360px */
  .hero__cta .btn--lg { padding: 14px 22px; font-size: 0.95rem; }
  .hero__stage { margin-top: 48px; }
}

/* ---------------- HERO STAGE (3D-ish scene) ---------------- */
.hero__stage {
  position: relative;
  perspective: 1600px;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scene { position: relative; width: 100%; max-width: 460px; transform-style: preserve-3d; }

/* default "phone + dashboard behind" scene */
.scene__phone { position: relative; z-index: 4; margin-inline: auto; }
.scene__dash {
  position: absolute;
  z-index: 2;
  top: -46px; right: -78px;
  width: 290px;
}
.scene__onepager {
  position: absolute;
  z-index: 1;
  bottom: -34px; left: -76px;
  width: 216px;
}
.scene__badge {
  position: absolute; z-index: 5;
}

@media (max-width: 1180px) {
  .scene__dash { right: -40px; width: 280px; }
  .scene__onepager { left: -44px; width: 200px; }
}
@media (max-width: 1200px) {
  .scene__dash, .scene__onepager { display: none; }
}

/* Scene style variants (data-scene on body)
   PHONE scene = Two-Anchor: phone (primary) + outcome-bubble (supporting). Everything else hidden. */
/* PHONE scene = phone center + 3 floating containers:
   Kampagne teilen (share-sheet) · Neue Empfehlung (outcome) · Conversion (dash) */
body[data-scene="phone"] .scene__onepager,
body[data-scene="phone"] .stat-strip { display: none !important; }
body[data-scene="phone"] .scene__dash {
  display: block !important;
  top: -36px; left: -180px; right: auto;
  width: 230px; z-index: 6;
}
body[data-scene="phone"] .outcome-bubble {
  top: -22px; right: -120px; width: 208px; z-index: 8;
}
body[data-scene="phone"] .wa-bubble.share-sheet {
  display: block !important;
  top: auto; bottom: 4px; right: -104px;
  z-index: 7;
}
@media (max-width: 1320px) {
  body[data-scene="phone"] .scene__dash { left: -120px; }
  body[data-scene="phone"] .outcome-bubble { right: -70px; }
  body[data-scene="phone"] .wa-bubble.share-sheet { right: -60px; }
}
@media (max-width: 1200px) {
  body[data-scene="phone"] .scene__dash { display: none !important; }
}
@media (max-width: 560px) {
  body[data-scene="phone"] .wa-bubble.share-sheet { display: none !important; }
}

/* Split-Hero + Phone-Szene: schwebende Karten in der rechten Stage-Spalte halten,
   damit das Dashboard-Kärtchen nicht in die linke Copy-Spalte / über den Titel ragt.
   (Die -180px-Offsets oben sind für die zentrierte Hero gedacht.) */
body[data-hero="split"] .hero__copy { position: relative; z-index: 5; }
body[data-hero="split"][data-scene="phone"] .scene__dash {
  left: -24px; right: auto; top: -58px;
}

/* DASHBOARD scene = Buyer-First: dashboard (primary, large) + outcome-bubble (live signal) + phone tiny in back ("your promoters see this") */
body[data-scene="dashboard"] .scene__dash {
  z-index: 5;
  top: 30px; right: 30px;
  width: 360px;
  opacity: 1;
  transform: none;
}
body[data-scene="dashboard"] .scene__phone {
  z-index: 1;
  transform: scale(0.6) translate(60%, 8%) rotate(8deg);
  opacity: 0.55;
  filter: blur(0.4px);
}
body[data-scene="dashboard"] .scene__onepager,
body[data-scene="dashboard"] .wa-bubble.share-sheet { display: none !important; }
body[data-scene="dashboard"] .outcome-bubble {
  top: auto; bottom: 6%;
  right: -8%;
  z-index: 7;
}

body[data-scene="onepager"] .scene__phone { z-index: 2; transform: scale(0.82) translateX(34%); }
body[data-scene="onepager"] .scene__onepager { z-index: 4; left: -40px; bottom: 10px; width: 300px; }
body[data-scene="onepager"] .scene__dash { z-index: 1; top: -50px; right: -60px; opacity: 0.95; }
/* Hide share-sheet + outcome-bubble in onepager scene — they belong to the promoter-story */
body[data-scene="onepager"] .wa-bubble.share-sheet,
body[data-scene="onepager"] .outcome-bubble { display: none; }

/* BUILDER scene = Team-decision: KI-Onepager as primary hero anchor + outcome-bubble + tiny phone hint + sub-USP stat strip */
body[data-scene="builder"] .scene__onepager {
  position: relative;
  z-index: 5;
  left: auto; bottom: auto;
  width: 100%; max-width: 360px;
  margin: 0 auto;
}
body[data-scene="builder"] .scene__phone {
  z-index: 1;
  position: absolute;
  top: 6%; right: -18%;
  transform: scale(0.42) rotate(6deg);
  opacity: 0.42;
  filter: blur(0.5px);
  pointer-events: none;
}
body[data-scene="builder"] .scene__dash,
body[data-scene="builder"] .wa-bubble.share-sheet { display: none !important; }
body[data-scene="builder"] .outcome-bubble {
  top: auto; bottom: 28%;
  right: -10%;
  z-index: 7;
}
/* sub-USP stat strip — only visible in builder scene */
body[data-scene="builder"] .stat-strip { display: flex; }
.stat-strip {
  display: none;
  position: relative; z-index: 5;
  align-items: center; justify-content: center;
  gap: 14px;
  margin: 18px auto 0;
  max-width: 360px;
  padding: 9px 14px;
  background: rgba(20,28,36,0.55);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  font-family: 'Space Mono', monospace;
  font-size: 9.5px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.stat-strip > span { display: inline-flex; align-items: center; gap: 6px; }
.stat-strip b { font-size: 11px; font-weight: 700; color: #fff; letter-spacing: 0.02em; }
.stat-strip em { font-style: normal; opacity: 0.72; }
.stat-strip .sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.18); padding: 0; }
.stat-strip > span:first-child b { color: var(--green); }
.stat-strip > span:last-child b { color: var(--coral); }
@media (max-width: 540px) {
  .stat-strip { gap: 10px; padding: 7px 12px; font-size: 8.5px; }
  .stat-strip b { font-size: 10px; }
}

/* KI badge on onepager card */
.op-card__ai {
  position: absolute; top: 10px; right: 10px; z-index: 5;
  font-family: 'Space Mono', monospace;
  font-size: 9px; letter-spacing: 0.05em;
  padding: 4px 8px; border-radius: 999px;
  background: linear-gradient(135deg, rgba(63,180,136,0.22), rgba(63,180,136,0.08));
  color: var(--green);
  border: 1px solid rgba(63,180,136,0.4);
  box-shadow: 0 0 14px -4px rgba(63,180,136,0.45);
  white-space: nowrap;
}

body[data-scene="abstract"] .scene__phone,
body[data-scene="abstract"] .scene__dash,
body[data-scene="abstract"] .scene__onepager { display: none; }
body[data-scene="abstract"] .abstract-scene { display: flex; }
.abstract-scene { display: none; }

/* ---------------- PHONE MOCKUP ---------------- */
/* Premium CSS phone: dark titanium frame, dynamic island, glass */
.device3d {
  position: relative;
  width: clamp(248px, 23.5vw, 296px);
  aspect-ratio: 9 / 19.5;
  margin-inline: auto;
  border-radius: 48px;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.55) 0%, transparent 7%),     /* polished top-left rail */
    linear-gradient(315deg, rgba(255,255,255,0.30) 0%, transparent 6%),     /* polished bottom-right rail */
    linear-gradient(150deg, #5b626b 0%, #2b303a 13%, #14181e 33%, #0b0e12 51%, #15191f 71%, #2d333c 88%, #565d67 100%);
  box-shadow:
    0 60px 100px -34px rgba(0,0,0,0.9),
    0 12px 30px -12px rgba(0,0,0,0.7),
    inset 0 0 0 1px rgba(0,0,0,0.55),
    inset 0 1.5px 1px rgba(255,255,255,0.42),
    inset 0 -2px 3px rgba(0,0,0,0.6),
    inset 2px 0 2px rgba(255,255,255,0.12),
    inset -2px 0 2px rgba(0,0,0,0.4),
    inset 4px 5px 13px rgba(63,180,136,0.11),      /* green env light */
    inset -4px -6px 15px rgba(240,127,94,0.12);    /* coral env light */
}
/* inner chamfer ring between frame and glass */
.device3d::before {
  content: ""; position: absolute; inset: 8px;
  border-radius: 40px; pointer-events: none; z-index: 4;
  box-shadow: inset 0 0 0 1.5px rgba(0,0,0,0.9), inset 0 0 0 2.5px rgba(255,255,255,0.04);
}
/* side buttons (titanium) */
.device3d__btn { position: absolute; z-index: 0; border-radius: 2px 4px 4px 2px;
  background: linear-gradient(180deg, #4a515b 0%, #20242b 35%, #14171c 100%); }
.device3d__btn--pw  { right: -3px; top: 31%; width: 3px; height: 70px; box-shadow: 1px 0 2px rgba(0,0,0,0.7), inset 0 1px 1px rgba(255,255,255,0.3); }
.device3d__btn--vol { left: -3px; top: 22%; width: 3px; height: 46px; border-radius: 4px 2px 2px 4px; box-shadow: -1px 0 2px rgba(0,0,0,0.7), inset 0 1px 1px rgba(255,255,255,0.25); }
.device3d__btn--vol2{ left: -3px; top: 32%; width: 3px; height: 46px; border-radius: 4px 2px 2px 4px; box-shadow: -1px 0 2px rgba(0,0,0,0.7), inset 0 1px 1px rgba(255,255,255,0.25); }

.device3d__screen {
  position: absolute; inset: 12px;
  border-radius: 37px;
  overflow: hidden;
  background: #0a0e13;
}
.device3d__screen .app {
  width: 268px; height: 560px;
  transform-origin: 0 0;               /* uniform scale set by app.js */
}
/* black display bezel + screen vignette on top of the app edge */
.device3d__screen::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 4;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 3px #04070a,
    inset 0 0 1px 3.5px rgba(0,0,0,0.9),
    inset 0 0 34px rgba(0,0,0,0.55);
}
/* dynamic island */
.device3d__island {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 26%; height: 19px; border-radius: 11px;
  background: linear-gradient(180deg, #0a0a0b 0%, #000 60%); z-index: 6;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), inset 0 1px 2px rgba(255,255,255,0.06), 0 1px 2px rgba(0,0,0,0.6);
}
.device3d__island::before {
  content: ""; position: absolute; right: 26%; top: 50%; transform: translateY(-50%);
  width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 34% 32%, #36505c 0%, #0c1418 55%, #05090c 100%);
  box-shadow: 0 0 0 1px rgba(90,150,130,0.3), inset 0 0 2px rgba(120,200,255,0.4);
}
.device3d__island::after {
  content: none;
}
/* faux glass glare — subtle diagonal reflection + corner sheen */
.device3d__glass {
  position: absolute; inset: 12px; pointer-events: none; z-index: 5;
  border-radius: 37px;
  background:
    linear-gradient(122deg, transparent 34%, rgba(255,255,255,0.035) 42%, rgba(255,255,255,0.10) 46%, rgba(255,255,255,0.03) 50%, transparent 58%),
    linear-gradient(138deg, rgba(255,255,255,0.06) 0%, transparent 16%);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.09);
}
/* environment colour — visible but uneven, in the corners */
.device3d__glass::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background:
    radial-gradient(72% 52% at -8% -10%, rgba(63,180,136,0.24), transparent 56%),
    radial-gradient(74% 54% at 110% 114%, rgba(240,127,94,0.21), transparent 56%);
  mix-blend-mode: screen;
}

.phone {
  position: relative;
  width: 268px;
  border-radius: 42px;
  padding: 11px;
  background: linear-gradient(160deg, #232a32, #0c0f14);
  box-shadow:
    var(--shadow-float),
    inset 0 1px 1px rgba(255,255,255,0.18),
    0 0 0 1px rgba(0,0,0,0.6);
}
.phone__screen {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: #0a0e13;
  aspect-ratio: 268 / 560;
  display: flex;
  flex-direction: column;
}
.phone__notch {
  position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 22px; border-radius: var(--r-pill);
  background: #05080c; z-index: 6;
}
.app {
  display: flex; flex-direction: column; height: 100%;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(63,180,136,0.16), transparent 60%),
    #0a0e13;
  color: #e9f0ee;
  font-size: 12px;
}
.app__top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 38px 18px 14px;
}
.app__brand { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 13px; letter-spacing: -0.02em; }
.app__brand i {
  width: 16px; height: 16px; border-radius: 5px; display: block;
  background: var(--grad-brand);
}
.app__avatar { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg,#2a3038,#11151b); border: 1px solid var(--glass-line); }

.app__hello { padding: 4px 18px 12px; }
.app__hello small { color: var(--muted); font-size: 11px; }
.app__hello b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -0.02em; margin-top: 2px; }

.app__card {
  margin: 4px 16px 0;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(63,180,136,0.18), rgba(240,127,94,0.10));
  border: 1px solid rgba(63,180,136,0.3);
}
.app__card .lbl { font-family: 'Space Mono', monospace; font-size: 8.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); }
.app__link {
  display: flex; align-items: center; gap: 8px;
  margin-top: 9px; padding: 9px 11px;
  background: rgba(0,0,0,0.35); border-radius: 11px;
  font-family: 'Space Mono', monospace; font-size: 10px; color: #cfe9df;
  border: 1px solid rgba(255,255,255,0.08);
}
.app__link .copy { margin-left: auto; color: var(--green); }
.app__wa {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 11px 16px 0; padding: 12px;
  border-radius: 13px; font-weight: 700; font-size: 12.5px;
  background: #25D366; color: #04140b;
}
.app__wa svg { width: 16px; height: 16px; }

.app__leads { margin: 14px 16px 0; }
.app__leads .h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.app__leads .h span { font-weight: 700; font-size: 12px; }
.app__leads .h em { font-style: normal; color: var(--muted); font-size: 10px; }
.lead-row {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 0; border-top: 1px solid rgba(255,255,255,0.06);
}
.lead-row .ava { width: 32px; height: 32px; border-radius: 50%; flex: none; object-fit: cover; object-position: center; }
.lead-row .nm { font-size: 11px; font-weight: 600; }
.lead-row .mt { font-size: 9px; color: var(--muted); }
.lead-row .stt { margin-left: auto; font-size: 8.5px; font-family:'Space Mono',monospace; padding: 3px 7px; border-radius: 999px; }
.stt.new { background: var(--coral-18); color: #ffd2c2; }
.stt.qual { background: var(--green-22); color: #b8f3da; }

.app__tab {
  margin-top: auto;
  display: flex; justify-content: space-around;
  padding: 12px 16px 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
  background: rgba(0,0,0,0.3);
}
.app__tab i { width: 20px; height: 20px; border-radius: 6px; background: rgba(255,255,255,0.1); }
.app__tab i.act { background: var(--green); }

/* floating WhatsApp bubble next to phone */
.wa-bubble {
  position: absolute; z-index: 7;
  top: 32%; right: -28%;
  width: 188px;
  padding: 11px 13px;
  border-radius: 16px 16px 16px 4px;
  background: #ffffff;
  color: #0c1c18;
  font-size: 11.5px; line-height: 1.4;
  box-shadow: 0 24px 56px -16px rgba(0,0,0,0.78), 0 0 0 1px rgba(0,0,0,0.04);
}
.wa-bubble::before {
  content: "WhatsApp"; display: block;
  font-size: 9px; font-weight: 700; color: #25D366; margin-bottom: 3px;
}
.wa-bubble .ln { font-family:'Space Mono',monospace; font-size: 9.5px; color: var(--green); margin-top: 5px; word-break: break-all; }
@media (max-width: 1200px) { .wa-bubble { right: 2%; width: 188px; } }
@media (max-width: 560px) { .wa-bubble { display: none; } }

/* ---- Share-channel sheet — icon bubbles, minimal ---- */
.wa-bubble.share-sheet {
  width: 196px;
  padding: 13px 14px 14px;
  border-radius: 16px 16px 16px 4px;
  background: linear-gradient(180deg, rgba(20,28,36,0.94), rgba(14,20,26,0.92));
  color: #e6edf3;
  border: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 56px -16px rgba(0,0,0,0.78), 0 0 0 1px rgba(0,0,0,0.04), 0 0 22px -10px rgba(63,180,136,0.3);
}
.wa-bubble.share-sheet::before { display: none; }
.share-sheet__head {
  display: flex; flex-direction: column; gap: 2px;
  padding-bottom: 11px; margin-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.share-sheet__head > span {
  font-family: 'Space Mono', monospace;
  font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green);
}
.share-sheet__head em {
  font-family: 'Space Mono', monospace;
  font-size: 9.5px; font-style: normal;
  color: var(--muted);
  word-break: break-all;
}
.share-bubbles {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
}
.share-link-chip {
  display: flex; align-items: center; gap: 8px; justify-content: space-between;
  padding: 7px 9px; margin-bottom: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 9px;
}
.share-link-chip__url {
  font-family: 'Space Mono', monospace; font-size: 10px;
  color: #e6edf3; letter-spacing: 0.02em; white-space: nowrap;
}
.share-link-chip__badge {
  font-family: 'Space Mono', monospace; font-size: 8.5px;
  text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap;
  color: var(--coral); background: rgba(240,127,94,0.14);
  border: 1px solid rgba(240,127,94,0.3); border-radius: 999px; padding: 2px 7px;
}
.share-bubble {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #cdd5dc;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.share-bubble:hover { background: rgba(255,255,255,0.09); border-color: rgba(63,180,136,0.35); transform: translateY(-2px); }
.share-bubble svg { width: 15px; height: 15px; }
.share-bubble--wa {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, #2BC95F, #1FA84C);
  border-color: rgba(37,211,102,0.7);
  color: #fff;
  box-shadow: 0 0 22px -6px rgba(37,211,102,0.6), inset 0 1px 0 rgba(255,255,255,0.18);
}
.share-bubble--wa svg { width: 22px; height: 22px; }
.share-bubble--wa:hover { transform: translateY(-2px); box-shadow: 0 0 28px -5px rgba(37,211,102,0.78), inset 0 1px 0 rgba(255,255,255,0.22); }

/* ---- Outcome notification bubble (above the phone, success signal) ---- */
.outcome-bubble {
  position: absolute; z-index: 7;
  top: -3%; right: -28%;
  width: 198px;
  padding: 11px 13px 12px;
  background: linear-gradient(180deg, rgba(20,28,36,0.92), rgba(14,20,26,0.88));
  border: 1px solid rgba(63,180,136,0.32);
  border-radius: 14px;
  color: #e6edf3;
  font-size: 11px; line-height: 1.35;
  box-shadow: 0 24px 56px -16px rgba(0,0,0,0.78), 0 0 0 1px rgba(0,0,0,0.04), 0 0 24px -8px rgba(63,180,136,0.35);
  backdrop-filter: blur(14px);
}
.outcome-bubble__head {
  display: flex; align-items: center; gap: 6px;
  font-family: 'Space Mono', monospace;
  font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--green);
  margin-bottom: 7px;
}
.outcome-bubble__head .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: outcomeDot 1.8s ease-in-out infinite;
}
@keyframes outcomeDot {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
.outcome-bubble__head em {
  margin-left: auto;
  color: var(--muted); font-style: normal;
  font-size: 9px; text-transform: none; letter-spacing: 0;
}
.outcome-bubble__line { display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; }
.outcome-bubble__line b { font-weight: 600; font-size: 12.5px; color: #fff; }
.outcome-bubble__line span { font-size: 11px; color: var(--muted); }
@media (max-width: 1200px) { .outcome-bubble { right: 2%; top: -2%; width: 180px; } }
@media (max-width: 760px)  { .outcome-bubble { display: none; } }

/* ---------------- FLOATING DASHBOARD PANEL ---------------- */
.mini-dash { padding: 16px; }
.mini-dash__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.mini-dash__top .lbl { font-family:'Space Mono',monospace; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.mini-dash__top b { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; display: block; margin-top: 4px; }
.mini-dash__top .up { color: var(--green); font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; gap: 3px; }
.mini-chart { display: flex; align-items: flex-end; gap: 6px; height: 70px; }
.mini-chart i {
  flex: 1; border-radius: 5px 5px 2px 2px;
  background: linear-gradient(var(--green), rgba(63,180,136,0.25));
  transform-origin: bottom;
}
.mini-chart i:last-child { background: linear-gradient(var(--coral), rgba(240,127,94,0.3)); }
.mini-dash__legend { display: flex; gap: 14px; margin-top: 12px; font-size: 10px; color: var(--muted); flex-wrap: wrap; }
.mini-dash__legend span { display: inline-flex; align-items: center; gap: 5px; }
.mini-dash__legend i { width: 8px; height: 8px; border-radius: 3px; }
/* NPS chip (intern) — promoter quality KPI */
.mini-dash__legend .mini-dash__nps {
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(63,180,136,0.12);
  border: 1px solid rgba(63,180,136,0.28);
  gap: 6px;
}
.mini-dash__legend .mini-dash__nps b {
  font-size: 10px; font-weight: 700; color: var(--green);
  letter-spacing: 0.02em;
}
.mini-dash__legend .mini-dash__nps em {
  font-family: 'Space Mono', monospace;
  font-style: normal; font-size: 8px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted);
}

/* ---------------- ONEPAGER CARD ---------------- */
.op-card { overflow: hidden; }
.op-card__hero {
  height: 76px;
  background: linear-gradient(135deg, rgba(63,180,136,0.4), rgba(240,127,94,0.3));
  position: relative;
  display: flex; align-items: flex-end; padding: 10px;
}
.op-card__ava { width: 52px; height: 52px; border-radius: 50%; background: transparent; border: 0; position: absolute; bottom: -24px; left: 14px; object-fit: cover; object-position: center; box-shadow: 0 0 0 2px rgba(255,255,255,0.18), 0 6px 14px rgba(0,0,0,0.4); }
.op-card__body { padding: 24px 14px 14px; }
.op-card__body .nm { font-size: 12px; font-weight: 700; }
.op-card__body .ro { font-size: 9.5px; color: var(--muted); }
.op-card__body .bar { height: 7px; border-radius: 4px; background: var(--line); margin-top: 9px; }
.op-card__body .bar.s { width: 70%; }
.op-card__form {
  margin-top: 12px; padding: 9px; border-radius: 10px;
  background: var(--green-08); border: 1px solid var(--green-22);
}
.op-card__form i { display: block; height: 8px; border-radius: 4px; background: rgba(255,255,255,0.12); margin-bottom: 6px; }
.op-card__form b { display: block; text-align: center; font-size: 9px; font-weight: 700; color: #04130d; background: var(--green); border-radius: 7px; padding: 6px; }

/* connecting data flow (SVG drawn in JS overlay) */
.flow-dot {
  fill: var(--green);
  filter: drop-shadow(0 0 6px rgba(63,180,136,0.9));
}

/* ---------------- ABSTRACT SCENE (variant) ---------------- */
.abstract-scene { position: relative; width: 100%; min-height: 480px; align-items: center; justify-content: center; }
.orbit-core {
  width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #6ff0c0, var(--green) 55%, #1c7d59);
  box-shadow: var(--glow-green), inset 0 6px 20px rgba(255,255,255,0.35);
  position: relative; z-index: 3;
}
.orbit-core::after {
  content: "Trust Leap"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #04261a; font-size: 15px; letter-spacing: -0.02em;
}
.orbit-ring {
  position: absolute; border: 1px dashed var(--green-40); border-radius: 50%;
  top: 50%; left: 50%; translate: -50% -50%;
}
.orbit-ring.r1 { width: 300px; height: 300px; animation: orbit 26s linear infinite; }
.orbit-ring.r2 { width: 440px; height: 440px; animation: orbit 40s linear infinite reverse; border-color: var(--coral-30); }
@keyframes orbit { to { transform: rotate(360deg); } }
.orbit-node {
  position: absolute; top: -1px; left: 50%; translate: -50% -50%;
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: var(--r-pill);
  background: var(--glass-2); border: 1px solid var(--glass-line);
  backdrop-filter: blur(12px); font-size: 11px; font-weight: 600; white-space: nowrap;
  box-shadow: var(--shadow-card);
}
.orbit-node i { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.orbit-ring.r2 .orbit-node { bottom: -1px; top: auto; }

/* ---------------- HERO DROP-IN MEDIA (Blender render / video loop) ---------------- */
.scene-media {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
}
.scene-render {
  width: 100%;
  height: 100%;
  max-width: 460px;
  display: none;
  filter: drop-shadow(0 40px 90px rgba(0,0,0,0.7));
}
.scene-video { position: relative; width: 100%; max-width: 460px; aspect-ratio: 4 / 5; display: none; }
.scene-video__el {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-float);
  z-index: 1;
}
.scene-video__ph {
  position: absolute; inset: 0; z-index: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center;
  border-radius: var(--r-xl);
  border: 1px dashed var(--green-40);
  background:
    repeating-linear-gradient(135deg, rgba(63,180,136,0.05) 0 12px, transparent 12px 24px),
    var(--surface-2);
  color: var(--green);
}

/* Medium switch (data-heromedia on body) */
body[data-heromedia="css"] .scene-media { display: none; }
body[data-heromedia="css"] .scene { display: block; }

body[data-heromedia="render"] .scene { display: none; }
body[data-heromedia="render"] .scene-media { display: flex; }
body[data-heromedia="render"] .scene-render { display: block; }

body[data-heromedia="video"] .scene { display: none; }
body[data-heromedia="video"] .scene-media { display: flex; }
body[data-heromedia="video"] .scene-video { display: block; }
