/* ==========================================================================
   CRM POP — Primeira Tela Cinética (Padrão Infinite + Filtros + Agenda & Voz)
   ========================================================================== */

.home-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(20, 7, 45, 0.82);
  backdrop-filter: blur(20px) saturate(175%);
  -webkit-backdrop-filter: blur(20px) saturate(175%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}

.home-header .nav-links a {
  color: #f3ecff;
  transition: color 180ms ease;
}

.home-header .nav-links a:hover {
  color: var(--lime);
  text-decoration: none;
}

.home-header .nav-cta {
  background: var(--lime);
  color: var(--ink);
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(168, 255, 0, 0.25);
}

.home-header .nav-cta:hover {
  background: var(--green);
}

.home-header .nav-toggle {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 759px) {
  .js-enabled .home-header .nav-shell.menu-open .nav-links {
    background: #1d0b40;
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 18px 40px rgba(8, 2, 20, 0.65);
  }
}

/* ---------- Hero Kinetic Atmosphere & Visual Filters ---------- */

.hero-infinite {
  --hero-glow-1: rgba(109, 40, 217, 0.68);
  --hero-glow-2: rgba(0, 229, 138, 0.36);
  --hero-media-filter: saturate(1.12) contrast(1.08);
  --hero-duotone: linear-gradient(155deg, rgba(109, 40, 217, 0.48) 0%, rgba(0, 229, 138, 0.22) 52%, rgba(20, 7, 45, 0.88) 100%);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 18%, var(--hero-glow-1) 0%, transparent 46%),
    radial-gradient(circle at 84% 26%, var(--hero-glow-2) 0%, transparent 44%),
    radial-gradient(ellipse at 70% 88%, rgba(168, 255, 0, 0.16) 0%, transparent 50%),
    linear-gradient(135deg, #120529 0%, #240b54 48%, var(--purple) 100%);
  color: #fff;
}

.hero-infinite[data-vfilter="cinema"] {
  --hero-media-filter: saturate(0.94) contrast(1.18) brightness(0.97);
  --hero-duotone: linear-gradient(165deg, rgba(26, 11, 59, 0.22) 0%, rgba(0, 229, 138, 0.12) 55%, rgba(12, 4, 28, 0.86) 100%);
}

.hero-infinite[data-vfilter="editorial"] {
  --hero-media-filter: grayscale(1) contrast(1.26) brightness(1.04);
  --hero-duotone: linear-gradient(148deg, rgba(168, 255, 0, 0.36) 0%, rgba(109, 40, 217, 0.56) 56%, rgba(20, 7, 45, 0.92) 100%);
}

.hero-ambient-fx {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.55;
  will-change: transform;
}

.hero-orb-a {
  width: clamp(240px, 34vw, 460px);
  height: clamp(240px, 34vw, 460px);
  top: -8%;
  right: 8%;
  background: radial-gradient(circle, #7c3aed 0%, rgba(124, 58, 237, 0) 70%);
}

.hero-orb-b {
  width: clamp(200px, 28vw, 380px);
  height: clamp(200px, 28vw, 380px);
  bottom: -6%;
  left: 42%;
  background: radial-gradient(circle, var(--green) 0%, rgba(0, 229, 138, 0) 72%);
}

.hero-grid-mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 65% 45%, #000 18%, transparent 75%);
  mask-image: radial-gradient(ellipse at 65% 45%, #000 18%, transparent 75%);
}

.hero-infinite .hero-grid {
  padding-top: clamp(26px, 4vw, 44px);
  padding-bottom: clamp(36px, 5vw, 58px);
  gap: clamp(26px, 3.4vw, 44px);
  align-items: center;
}

@media (min-width: 960px) {
  .hero-infinite .hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.08fr);
    min-height: clamp(650px, 64vw, 770px);
  }
}

/* ---------- Segment Filter Bar (Padrão Infinite) ---------- */

.hero-filter-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.hero-filter-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #f3ecff;
}

.hero-filter-label .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(168, 255, 0, 0.22);
}

.hero-segment-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.hero-seg-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #f4eeff;
  font-size: 0.82rem;
  font-weight: 750;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.hero-seg-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.34);
}

.hero-seg-btn[aria-pressed="true"] {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(168, 255, 0, 0.28);
  transform: translateY(-1px);
}

.hero-infinite h1 {
  font: 800 clamp(2.65rem, 6.4vw, 5.35rem) / 0.95 var(--display);
  letter-spacing: -0.05em;
  margin: 8px 0 16px;
}

.hero-infinite h1 em {
  color: var(--lime);
  font-style: normal;
  display: inline-block;
}

.hero-infinite .hero-lead {
  max-width: 40ch;
  color: #ebe2fb;
  font-size: clamp(1rem, 1.55vw, 1.22rem);
  line-height: 1.46;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.hero-chip-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: #f3ebff;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-chip-stat svg {
  width: 14px;
  height: 14px;
  color: var(--lime);
}

/* ---------- Hero Interactive Stage (Backdrop Video + Live Phone + Voice Studio) ---------- */

.hero-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  align-items: center;
  width: 100%;
  min-height: 540px;
  padding: 10px 0 18px;
  perspective: 1200px;
}

/* Realistic Portrait/Video Backdrop Card with Optical Filters */
.hero-backdrop-card {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 0;
  width: min(56%, 275px);
  aspect-ratio: 3 / 4.2;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 26px 60px rgba(7, 2, 18, 0.62);
  transform: rotate(4.5deg) translate3d(var(--parallax-x, 0px), var(--parallax-y, 0px), 0);
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
  background: #220c4c;
}

.hero-backdrop-card img,
.hero-backdrop-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--hero-media-filter);
  transition: filter 320ms ease, opacity 280ms ease;
}

.hero-backdrop-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--hero-duotone);
  pointer-events: none;
}

.hero-backdrop-card::after {
  content: "";
  position: absolute;
  inset: -24px;
  z-index: 2;
  background: repeating-linear-gradient(
    132deg,
    transparent 0 22px,
    rgba(168, 255, 0, 0.22) 22px 24px,
    transparent 24px 34px,
    rgba(255, 255, 255, 0.14) 34px 35px,
    transparent 35px 58px
  );
  -webkit-mask-image: linear-gradient(150deg, #000 8%, transparent 45% 68%, rgba(0, 0, 0, 0.7) 100%);
  mask-image: linear-gradient(150deg, #000 8%, transparent 45% 68%, rgba(0, 0, 0, 0.7) 100%);
  pointer-events: none;
}

.hero-backdrop-tag {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 10px;
  left: auto;
  bottom: auto;
  max-width: calc(100% - 20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 13px;
  background: rgba(20, 7, 45, 0.84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 750;
}

.hero-backdrop-tag strong {
  display: block;
  font-size: 0.76rem;
  color: var(--lime);
}

@media (max-width: 639px) {
  .hero-backdrop-card {
    top: 4px;
    right: -4px;
    width: 148px;
    aspect-ratio: 3 / 3.8;
    opacity: 0.92;
  }
  .hero-backdrop-tag span {
    display: none;
  }
}

/* Interactive CRM POP Phone */
.hero-stage .phone-hero {
  position: relative;
  z-index: 3;
  width: min(100%, 336px);
  min-height: 506px;
  border: 6px solid #351b64;
  outline: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 36px;
  background: var(--white);
  color: var(--ink);
  box-shadow:
    0 30px 70px rgba(7, 2, 18, 0.72),
    0 0 0 1px rgba(168, 255, 0, 0.16);
  transform: rotate(-1.5deg) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 760px) {
  .hero-stage .phone-hero {
    margin-right: 48px;
  }
}

.phone-hero .demo-brand {
  min-height: 50px;
  padding: 4px 14px 9px;
  background: linear-gradient(135deg, #1a0b3b 0%, #2d1853 100%);
}

.phone-hero .demo-brand img {
  width: 96px;
  height: auto;
}

.phone-hero .demo-brand-biz {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #f6f1ff;
  font-size: 10px;
  font-weight: 750;
}

.hero-demo-panels {
  display: grid;
  flex: 1;
}

.hero-demo-panels > .demo-body {
  grid-area: 1 / 1;
  min-width: 0;
}

.hero-demo-panels > .demo-body[inert] {
  visibility: hidden;
  pointer-events: none;
}

/* Top row inside Hoje: Greeting + Hoje/Semana pill switch */
.demo-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.demo-view-switch {
  display: inline-flex;
  padding: 2px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--purple);
}

.demo-view-switch button {
  border: 0;
  background: transparent;
  color: #4f2c85;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
}

.demo-view-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

/* Interactive Quick Action Buttons inside Phone */
.phone-hero .demo-quick button {
  min-height: 38px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 2px;
  padding: 4px 3px;
  border: 1px solid #e1d6f0;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  text-align: center;
  font-size: 8.5px;
  font-weight: 800;
  transition: transform 140ms ease, border-color 140ms ease, background-color 140ms ease;
}

.phone-hero .demo-quick button:hover {
  border-color: var(--purple);
  background: var(--lime);
  transform: translateY(-1px);
}

.phone-hero .demo-quick button .icon {
  width: 13px;
  height: 13px;
  color: var(--purple);
}

/* Inline Quick Add Slot Form inside Hero Phone */
.demo-inline-form {
  display: grid;
  gap: 5px;
  padding: 8px;
  border-radius: 11px;
  background: #fff;
  border: 1.5px solid var(--purple);
  box-shadow: 0 8px 20px rgba(45, 24, 83, 0.12);
}

.demo-inline-row {
  display: grid;
  grid-template-columns: 1fr 72px;
  gap: 5px;
}

.demo-inline-form input {
  width: 100%;
  min-height: 28px;
  padding: 4px 7px;
  border: 1px solid #cbb9e6;
  border-radius: 7px;
  font-size: 10px;
  color: var(--ink);
  background: var(--white);
}

.demo-inline-actions {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
}

.demo-inline-actions button {
  min-height: 27px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 0;
  font-size: 9.5px;
  font-weight: 800;
}

.demo-inline-save {
  background: var(--lime);
  color: var(--ink);
}

.demo-inline-cancel {
  background: var(--ink);
  color: var(--white);
}

/* Interactive Agenda Slots inside Hero Phone */
.demo-slots-list {
  display: grid;
  gap: 6px;
}

.phone-hero .demo-slot-interactive {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 7px 8px;
  border: 1px solid #e2d8f0;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.phone-hero .demo-slot-interactive:hover {
  border-color: #9e7be0;
  box-shadow: 0 6px 16px rgba(45, 24, 83, 0.08);
}

.phone-hero .demo-slot-interactive.is-new {
  animation: slot-pop-in 420ms cubic-bezier(0.18, 0.89, 0.32, 1.24) both;
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
}

.phone-hero .demo-slot-interactive.is-paid {
  border-color: var(--green);
}

.demo-slot-interactive time {
  flex: 0 0 auto;
  min-width: 42px;
  padding: 6px 4px;
  border-radius: 8px;
  background: var(--purple);
  color: var(--white);
  text-align: center;
  font-size: 10px;
  font-weight: 800;
}

.demo-slot-interactive > div {
  flex: 1;
  min-width: 0;
}

.demo-slot-interactive strong {
  display: block;
  font-size: 11.5px;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-slot-interactive small {
  display: block;
  color: #625178;
  font-size: 9px;
  margin-top: 2px;
}

.demo-slot-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  flex: 0 0 auto;
}

.demo-slot-meta b {
  font-size: 11px;
  font-weight: 800;
}

.demo-slot-cta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 800;
  background: var(--lime);
  color: var(--ink);
}

.demo-slot-cta.is-confirmed {
  background: var(--purple);
  color: var(--white);
}

.demo-slot-cta.is-paid {
  background: var(--green);
  color: var(--ink);
}

/* Week Mini Grid inside Hero Phone */
.demo-week-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin-top: 2px;
}

.demo-week-day {
  padding: 5px 2px;
  border-radius: 9px;
  border: 1px solid #e2d8f0;
  background: #fff;
  color: var(--ink);
  text-align: center;
  font-size: 8.5px;
  font-weight: 750;
}

.demo-week-day strong {
  display: block;
  font-size: 11px;
  margin-top: 1px;
}

.demo-week-day[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* Interactive Mic Button inside Phone */
.demo-mic-btn {
  margin-top: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 14px;
  border: 1.5px solid var(--green);
  background: var(--green);
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(0, 229, 138, 0.24);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.demo-mic-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 229, 138, 0.34);
}

.demo-mic-btn.is-listening {
  background: var(--lime);
  border-color: var(--ink);
  animation: pulse-ring 1.2s infinite;
}

.demo-mic-btn .icon {
  width: 15px;
  height: 15px;
}

/* Bottom Tabs inside Hero Phone */
.phone-hero .demo-tabs > button {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  min-height: 44px;
  padding: 3px 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #654f87;
  font-size: 9.5px;
  font-weight: 750;
  touch-action: manipulation;
}

.phone-hero .demo-tabs > button[aria-pressed="true"],
.phone-hero .demo-tabs > button:hover {
  background: var(--purple);
  color: var(--white);
}

/* ---------- Live Voice Studio Floating Card (Agenda + Voz funcionando) ---------- */

.hero-voice-studio {
  position: relative;
  z-index: 4;
  width: min(100%, 380px);
  margin-top: 12px;
  padding: 13px 14px;
  border-radius: 22px;
  background: rgba(21, 8, 46, 0.88);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(168, 255, 0, 0.34);
  box-shadow: 0 22px 48px rgba(6, 2, 16, 0.65);
  color: #fff;
}

@media (min-width: 760px) {
  .hero-voice-studio {
    margin-top: -22px;
    width: min(96%, 430px);
  }
}

.hero-voice-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hero-voice-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.73rem;
  font-weight: 800;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-wave {
  display: inline-flex;
  align-items: center;
  gap: 2.5px;
  height: 16px;
}

.hero-wave i {
  display: block;
  width: 3px;
  height: 5px;
  border-radius: 999px;
  background: var(--lime);
  transition: height 140ms ease;
}

.hero-voice-studio.is-speaking .hero-wave i {
  animation: wave-bounce 640ms ease-in-out infinite alternate;
}

.hero-voice-studio.is-speaking .hero-wave i:nth-child(2) { animation-delay: 90ms; }
.hero-voice-studio.is-speaking .hero-wave i:nth-child(3) { animation-delay: 180ms; }
.hero-voice-studio.is-speaking .hero-wave i:nth-child(4) { animation-delay: 270ms; }
.hero-voice-studio.is-speaking .hero-wave i:nth-child(5) { animation-delay: 130ms; }
.hero-voice-studio.is-speaking .hero-wave i:nth-child(6) { animation-delay: 220ms; }

.hero-voice-actions {
  display: flex;
  gap: 6px;
}

.hero-voice-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 0;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
}

.hero-voice-trigger:hover {
  background: var(--green);
}

.hero-voice-mic-real {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 750;
}

.hero-voice-mic-real[aria-pressed="true"] {
  background: var(--green);
  color: var(--ink);
  border-color: var(--green);
  font-weight: 800;
}

.hero-voice-transcript {
  margin-top: 9px;
  padding: 8px 11px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: #f6f1ff;
  font-size: 0.83rem;
  line-height: 1.35;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hero-voice-transcript small {
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.hero-voice-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.hero-voice-chip {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #e9ddff;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: left;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.hero-voice-chip:hover {
  background: rgba(168, 255, 0, 0.16);
  border-color: var(--lime);
  color: #fff;
}

.hero-voice-custom {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.hero-voice-custom input {
  flex: 1;
  min-width: 0;
  min-height: 34px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(12, 4, 28, 0.65);
  color: #fff;
  font-size: 0.77rem;
}

.hero-voice-custom input::placeholder {
  color: #bdaad8;
}

.hero-voice-custom button {
  min-height: 34px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 0;
  background: var(--green);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 800;
}

/* ---------- Floating Pingou! Receipt Card + Visual Filter Toolbar ---------- */

.hero-stage .hero-receipt {
  position: absolute;
  z-index: 5;
  right: 0;
  top: 238px;
  bottom: auto;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1.5px solid #9fda52;
  border-radius: 18px;
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 18px 36px rgba(10, 3, 24, 0.55);
  transform: rotate(3deg);
  transition: transform 280ms cubic-bezier(0.18, 0.89, 0.32, 1.28), opacity 220ms ease;
}

.hero-stage .hero-receipt.is-popping {
  animation: receipt-pop 520ms cubic-bezier(0.18, 0.89, 0.32, 1.32);
}

.hero-receipt-undo {
  margin-left: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(26, 11, 59, 0.28);
  background: rgba(26, 11, 59, 0.1);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 800;
}

.hero-receipt-undo:hover {
  background: rgba(26, 11, 59, 0.2);
}

.hero-toolbar-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  width: 100%;
}

.hero-vfilter-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-vfilter-btn {
  border: 0;
  background: transparent;
  color: #e9ddff;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 750;
}

.hero-vfilter-btn[aria-pressed="true"] {
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
}

/* Client list colors in Hero Phone */
.demo-clients {
  --client-first: var(--purple);
  --client-second: var(--lime);
  --client-on-first: #fff;
  --client-on-second: var(--ink);
  background: #fff;
}

.demo-clients .demo-person {
  border-color: transparent;
  background: var(--client-first);
  color: var(--client-on-first);
}

.demo-clients .demo-person + .demo-person,
.demo-clients .demo-person > b {
  background: var(--client-second);
  color: var(--client-on-second);
}

.demo-clients .demo-person + .demo-person > b {
  background: var(--client-first);
  color: var(--client-on-first);
}

.demo-clients .demo-person small {
  color: inherit;
}

@keyframes wave-bounce {
  from { height: 4px; }
  to { height: 16px; }
}

@keyframes slot-pop-in {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

@keyframes receipt-pop {
  0% { transform: scale(0.84) rotate(-4deg); }
  60% { transform: scale(1.06) rotate(4deg); }
  100% { transform: scale(1) rotate(3deg); }
}

@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(168, 255, 0, 0.55); }
  50% { box-shadow: 0 0 0 8px rgba(168, 255, 0, 0); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-orb-a { animation: orb-float 9s ease-in-out infinite alternate; }
  .hero-orb-b { animation: orb-float 11s ease-in-out infinite alternate-reverse; }
  .hero-demo-switched > .demo-body:not([inert]) {
    animation: demo-screen-in 240ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  @keyframes orb-float {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(-18px, 16px, 0) scale(1.08); }
  }
  @keyframes demo-screen-in {
    from { opacity: 0.9; transform: translateY(5px); }
    to { opacity: 1; transform: none; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-stage .phone-hero,
  .hero-backdrop-card,
  .hero-stage .hero-receipt {
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

.hero-voice-actions { flex-wrap: wrap; justify-content: flex-end; }
.hero-voice-sound {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 34px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(168, 255, 0, 0.45);
  background: rgba(168, 255, 0, 0.14);
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 800;
}
.hero-voice-sound[aria-pressed="false"] {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #cbbbe4;
}
.hero-voice-reply {
  width: 100%;
  margin-top: 7px;
  padding: 8px 11px;
  border-radius: 12px;
  border: 1px solid rgba(0, 229, 138, 0.55);
  background: var(--green);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
}
.hero-voice-reply:hover {
  border-color: var(--lime);
  background: var(--lime);
}
.hero-voice-reply b {
  flex: 0 0 auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 800;
}
.hero-stage .hero-receipt { cursor: pointer; }
