/* ════════════════════════════════════════════════════════════════
   NOVA MAXX — homepage visual amplification pass
   Pure visual layer: no copy changes, hero untouched.
   Loaded last so it wins the cascade over polish/omni.
   ════════════════════════════════════════════════════════════════ */

/* ── 1. GLOBAL AMBIENCE ──────────────────────────────────────── */
::selection { background: rgba(128,0,128,0.18); color: #1A0A1A; }

html { scrollbar-width: thin; scrollbar-color: rgba(128,0,128,0.45) #F0F0F2; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #F5F5F8; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #A030C0, #800080);
  border-radius: 8px;
  border: 2px solid #F5F5F8;
}

/* Luminous underline beneath accent words in headings (hero excluded) */
.section-heading em,
.final-cta-heading em {
  position: relative;
  display: inline-block;
}
.section-heading em::after,
.final-cta-heading em::after {
  content: '';
  position: absolute;
  left: 2%; right: 2%;
  bottom: 0.04em;
  height: 0.09em;
  background: linear-gradient(90deg,
    rgba(128,0,128,0) 0%,
    rgba(128,0,128,0.30) 20%,
    rgba(160,48,192,0.50) 50%,
    rgba(128,0,128,0.30) 80%,
    rgba(128,0,128,0) 100%);
  border-radius: 4px;
  pointer-events: none;
}

/* Primary button shine sweep on hover (hero left untouched) */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -85%;
  width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0.40) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn-primary:hover::after { left: 140%; }
.solar-hero .btn-primary { overflow: visible; }
.solar-hero .btn-primary::after { display: none; }

/* ── 2. TRUSTED-BY MARQUEE ───────────────────────────────────── */
.section-marquee {
  background: linear-gradient(180deg, #F8F6FB 0%, #F3F1F8 100%);
}
.section-marquee .marquee-fade-left  { background: linear-gradient(to right, #F6F4F9, transparent); }
.section-marquee .marquee-fade-right { background: linear-gradient(to left,  #F6F4F9, transparent); }
.mq-item { transition: color 0.25s ease; }
.mq-item:hover { color: rgba(10,10,20,0.85); }
.mq-icon {
  background: linear-gradient(135deg, rgba(128,0,128,0.13), rgba(128,0,128,0.05));
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s ease;
}
.mq-item:hover .mq-icon {
  transform: translateY(-3px) rotate(-6deg) scale(1.12);
  box-shadow: 0 6px 16px rgba(128,0,128,0.25);
}

/* ── 3. SYSTEMS STICKY THEATRE ───────────────────────────────── */
.systems-sticky {
  background:
    radial-gradient(ellipse 55% 65% at 70% 50%, rgba(128,0,128,0.055) 0%, transparent 70%),
    #FFFFFF;
}

/* Dot-grid stage behind the visuals, fading toward the edges */
.systems-visual-col::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(10,10,20,0.11) 1px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 62% 72% at 50% 50%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 62% 72% at 50% 50%, #000 0%, transparent 78%);
  opacity: 0.5;
  pointer-events: none;
}

/* Breathing aura behind the active visual */
.systems-visual-col::after {
  content: '';
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(128,0,128,0.10) 0%, transparent 65%);
  filter: blur(40px);
  animation: sys-aura 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sys-aura {
  0%, 100% { transform: scale(1);    opacity: 0.75; }
  50%      { transform: scale(1.14); opacity: 1; }
}

/* Cinematic visual swap: depth-of-field blur + perspective swing */
.sys-visual {
  z-index: 1;
  filter: blur(10px);
  transform: perspective(1100px) translateX(44px) rotateY(-6deg) scale(0.95);
  transition: opacity 0.55s ease, transform 0.6s cubic-bezier(0.22,1,0.36,1), filter 0.55s ease;
}
.sys-visual.active {
  filter: blur(0);
  transform: perspective(1100px) translateX(0) rotateY(0) scale(1);
}

/* Step list: numbered orbit chips + active glass state */
.sys-step {
  transition: opacity 0.35s ease, background 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
}
.sys-step:hover { opacity: 0.75; }
.sys-step.active {
  opacity: 1;
  transform: translateX(4px);
  background: linear-gradient(90deg, rgba(128,0,128,0.08) 0%, rgba(128,0,128,0.02) 100%);
}
.sys-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  padding-top: 0;
  margin-top: 1px;
  font-size: 9px;
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: 50%;
  background: #fff;
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}
.sys-step.active .sys-step-num {
  background: #800080;
  border-color: #800080;
  color: #fff;
  box-shadow: 0 0 14px rgba(128,0,128,0.45);
}
@media (max-width: 880px) {
  .sys-step.active { transform: none; }
}

/* ── 4. STAT STRIP ───────────────────────────────────────────── */
.section-stat-strip {
  position: relative;
  background:
    radial-gradient(ellipse 60% 100% at 50% 0%, rgba(128,0,128,0.045) 0%, transparent 70%),
    #FFFFFF;
}
.stat-strip-value {
  /* Wide gradient with a bright band in the middle: sliding the oversized
     background back and forth makes a shimmer sweep endlessly through the
     clipped text while a soft breathe keeps the number alive. */
  background: linear-gradient(115deg,
    #5A005A 0%, #800080 25%, #A030C0 42%, #D46CF0 50%,
    #A030C0 58%, #800080 75%, #5A005A 100%);
  background-size: 260% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  transition: filter 0.3s ease;
  animation: stat-shimmer 4.8s ease-in-out infinite,
             stat-breathe 4.8s ease-in-out infinite;
}
/* Negative delays desync the four stats so they ripple, not march */
.stat-strip-item:nth-of-type(1) .stat-strip-value { animation-delay: 0s; }
.stat-strip-item:nth-of-type(3) .stat-strip-value { animation-delay: -1.2s; }
.stat-strip-item:nth-of-type(5) .stat-strip-value { animation-delay: -2.4s; }
.stat-strip-item:nth-of-type(7) .stat-strip-value { animation-delay: -3.6s; }
@keyframes stat-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@keyframes stat-breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.045); }
}
@media (prefers-reduced-motion: reduce) {
  .stat-strip-value { animation: none; }
}
.stat-strip-item:hover .stat-strip-value {
  text-shadow: none;
  filter: drop-shadow(0 4px 18px rgba(128,0,128,0.40));
}
.stat-strip-divider {
  background: linear-gradient(180deg, transparent, rgba(128,0,128,0.28), transparent);
}

/* ── 5. REVIEWS MARQUEE → FLOATING GLASS CARDS ───────────────── */
.section-reviews-marquee {
  padding: 44px 0 52px;
  background: #F6F4F9;
}
.section-reviews-marquee .marquee-fade-left  { background: linear-gradient(to right, #F6F4F9, transparent); }
.section-reviews-marquee .marquee-fade-right { background: linear-gradient(to left,  #F6F4F9, transparent); }
.marquee-inner--reviews { padding: 12px 0 20px; }
.mq-review {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 14px;
  padding: 14px 22px;
  margin: 0 9px;
  box-shadow: 0 4px 16px rgba(10,10,20,0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.mq-review:nth-child(even) { transform: translateY(7px); }
.mq-review:hover {
  transform: translateY(-4px);
  border-color: rgba(128,0,128,0.35);
  box-shadow: 0 12px 28px rgba(128,0,128,0.13);
}
.mq-review:nth-child(even):hover { transform: translateY(3px); }

/* ── 6. FINAL CTA ────────────────────────────────────────────── */
.section-final-cta {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF7FC 100%);
}
/* Slow-rotating conic halo behind the headline */
.final-cta-inner::before {
  content: '';
  position: absolute;
  width: 720px; height: 720px;
  left: 50%; top: 40%;
  margin: -360px 0 0 -360px;
  background: conic-gradient(from 0deg,
    transparent 0deg,
    rgba(128,0,128,0.055) 80deg,
    transparent 160deg,
    rgba(160,48,192,0.055) 250deg,
    transparent 330deg);
  border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle, #000 0%, rgba(0,0,0,0.5) 45%, transparent 72%);
  mask-image: radial-gradient(circle, #000 0%, rgba(0,0,0,0.5) 45%, transparent 72%);
  animation: cta-halo-spin 36s linear infinite;
  pointer-events: none;
  z-index: -1;
}
@keyframes cta-halo-spin { to { transform: rotate(360deg); } }

/* ── 7. FOOTER ───────────────────────────────────────────────── */
.nova-footer {
  position: relative;
  border-top: none;
  background: linear-gradient(180deg, #FAFAFB 0%, #F4F2F7 100%);
}
.nova-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(128,0,128,0.45), transparent);
}
.nova-footer::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 64%; height: 120px;
  background: radial-gradient(ellipse 100% 100% at 50% 0%, rgba(128,0,128,0.06), transparent 70%);
  pointer-events: none;
}
.nova-footer .container { position: relative; z-index: 1; }
.footer-links a { display: inline-block; transition: color 0.25s ease, transform 0.25s ease; }
.footer-links a:hover { color: #800080 !important; transform: translateX(3px); }

/* ── 8. LAUNCH SEQUENCE EXTRA DEPTH ──────────────────────────── */
/* Gradient hairline across the top of each glass card */
.launchseq-card::after {
  content: '';
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(128,0,128,0.28), transparent);
  pointer-events: none;
}

/* ── 11. VOICE AI PANEL — restore missing mockup styling ─────── */
.voice-caller {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.voice-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(128,0,128,0.13), rgba(128,0,128,0.05));
  border: 1px solid rgba(128,0,128,0.18);
  color: #800080;
  flex-shrink: 0;
}
.voice-name { font-family: var(--font-display, 'Space Grotesk', sans-serif); font-size: 15px; font-weight: 700; color: rgba(10,10,20,0.85); }
.voice-status { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(10,10,20,0.62); }
.voice-status .voice-live {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #DC2626;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.22);
  border-radius: 100px;
  padding: 2px 8px;
  animation: live-blink 1.6s ease-in-out infinite;
}
@keyframes live-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
.voice-waveform {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 3px;
  height: 44px;
  overflow: hidden;
}
.voice-transcript {
  background: rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
}
.voice-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(10,10,20,0.62);
  margin-bottom: 10px;
}
.voice-line { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; font-size: 13px; line-height: 1.55; }
.vl-who {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  flex-shrink: 0;
  white-space: nowrap;
}
.voice-line.ai .vl-who { background: rgba(128,0,128,0.08); color: #800080; }
.voice-line.caller .vl-who { background: rgba(0,0,0,0.05); color: rgba(10,10,20,0.62); }
.vl-text { color: rgba(10,10,20,0.75); }
.voice-outcome { display: flex; gap: 10px; flex-wrap: wrap; }
.vo-tag {
  font-size: 12px;
  font-weight: 600;
  color: #800080;
  background: rgba(128,0,128,0.07);
  border: 1px solid rgba(128,0,128,0.16);
  border-radius: 100px;
  padding: 6px 12px;
}
.vo-tag.vo-green { color: #16A34A; background: rgba(34,197,94,0.07); border-color: rgba(34,197,94,0.20); }

/* ════════════════════════════════════════════════════════════════
   12. REFINEMENT PASS — streamline to a professional register.
   Restraint over spectacle: flat confident reveals, quiet accents,
   crisp chrome. Loaded after everything above, so these win.
   ════════════════════════════════════════════════════════════════ */

/* Eyebrows: plain small-caps labels, no pill chrome.
   (!important needed — nova-polish locks the pill styles, and forces
   a leftover orange #D14600 that's off-brand on the purple theme.) */
.section-badge {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  color: #800080 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
}
.section-badge::before {
  display: inline-block !important;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #800080;
}

/* Reveals: flat, confident fades — no 3D wobble */
.reveal, .reveal-left, .reveal-right, .reveal-child {
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal        { transform: translateY(26px); }
.reveal-left   { transform: translateX(-30px); }
.reveal-right  { transform: translateX(30px); }
.reveal-child  { transform: translateY(22px); }
.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-child.visible,
.reveal-child.reveal-left.visible,
.reveal-child.reveal-right.visible { transform: none; }

/* Cursor halo: barely-there */
.cursor-glow { background: radial-gradient(circle, rgba(128,0,128,0.05) 0%, transparent 70%); }

/* Heading underline: a hairline, not a glow stick */
.section-heading em::after,
.final-cta-heading em::after {
  height: 0.05em;
  bottom: 0.02em;
  background: linear-gradient(90deg,
    rgba(128,0,128,0) 0%,
    rgba(128,0,128,0.18) 20%,
    rgba(160,48,192,0.32) 50%,
    rgba(128,0,128,0.18) 80%,
    rgba(128,0,128,0) 100%);
  filter: none;
}

/* Product frames: crisper radius, layered editorial shadow */
.showcase-card {
  border-radius: 16px;
  border-color: rgba(0,0,0,0.08);
  box-shadow:
    0 1px 2px rgba(10,10,20,0.04),
    0 12px 32px rgba(10,10,20,0.07),
    0 32px 80px rgba(10,10,20,0.08);
}

/* Floating annotations: quiet pills with a status dot */
.showcase-badge {
  display: inline-flex;
  align-items: center;
  width: auto;          /* defeat .sys-visual > * { width:100% } stretch */
  max-width: none;
  border-radius: 100px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(10,10,20,0.78);
  box-shadow: 0 1px 2px rgba(10,10,20,0.06), 0 12px 32px rgba(10,10,20,0.10);
}
.showcase-badge.badge-br::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #800080;
  margin-right: 8px;
  flex-shrink: 0;
}

/* Verdict check: drawn glyph instead of emoji */
.verdict-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.30);
  color: #16A34A;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Systems stage: quieter ambience, tighter swap motion */
.systems-visual-col::before { opacity: 0.36; }
.systems-visual-col::after {
  background: radial-gradient(circle, rgba(128,0,128,0.07) 0%, transparent 65%);
}
.sys-visual {
  filter: blur(6px);
  transform: perspective(1100px) translateX(30px) rotateY(-3deg) scale(0.97);
}
.sys-visual.active { filter: blur(0); transform: perspective(1100px) translateX(0) rotateY(0) scale(1); }
.sys-step.active {
  transform: translateX(2px);
  background: linear-gradient(90deg, rgba(128,0,128,0.06) 0%, rgba(128,0,128,0.015) 100%);
}

/* Calendar flash: decisive, not bouncy */
@keyframes cell-book-flash {
  0%, 86%, 100% { background: rgba(128,0,128,0.10); color: #800080; transform: scale(1); box-shadow: none; }
  90%           { background: #800080; color: #fff; transform: scale(1.08); box-shadow: 0 3px 10px rgba(128,0,128,0.30); }
  95%           { background: rgba(128,0,128,0.15); color: #800080; transform: scale(1); }
}

/* Unread badge: breathe, don't bounce */
@keyframes badge-throb {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.08); opacity: 0.85; }
}
@keyframes ai-badge-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(128,0,128,0); }
  50%      { box-shadow: 0 0 10px 1px rgba(128,0,128,0.15); }
}

/* Floating badge entrance: rise, don't bounce */
@keyframes badge-pop {
  0%   { opacity: 0; transform: translateY(12px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Stat strip: settle the hover */
.stat-strip-item:hover { transform: translateY(-2px); background: rgba(128,0,128,0.04); }
.stat-strip-item:hover .stat-strip-value { filter: drop-shadow(0 3px 12px rgba(128,0,128,0.22)); }

/* Trusted marquee icons: lift without the spin */
.mq-item:hover .mq-icon {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 4px 12px rgba(128,0,128,0.16);
}

/* Review cards: editorial, not scrapbook */
.mq-review-text { font-style: normal; color: rgba(10,10,20,0.68); }
.mq-stars { font-size: 11px; letter-spacing: 2px; }
.mq-review:hover {
  transform: translateY(-3px);
  border-color: rgba(128,0,128,0.25);
  box-shadow: 0 10px 24px rgba(128,0,128,0.09);
}

/* Launch sequence: dial the luminance down a notch */
.launchseq-spine-progress { box-shadow: 0 0 10px rgba(128,0,128,0.32); }
.launchseq-spine-progress::after {
  box-shadow: 0 0 0 4px rgba(128,0,128,0.10), 0 0 14px rgba(128,0,128,0.45);
}
.launchseq-item.lit .launchseq-node {
  transform: scale(1.04);
  box-shadow: 0 0 0 5px rgba(128,0,128,0.07), 0 0 18px rgba(128,0,128,0.20);
}
.launchseq-card:hover {
  box-shadow: 0 12px 36px rgba(128,0,128,0.09);
  transform: translateY(-3px);
}

/* ════════════════════════════════════════════════════════════════
   13. SYSTEMS FLOW — Omni-style alternating feature rows.
   Replaces the sticky theatre: each system is a text block beside
   its product clip on a soft tinted mat, alternating sides.
   ════════════════════════════════════════════════════════════════ */
.systems-flow {
  display: flex;
  flex-direction: column;
  gap: clamp(72px, 9vw, 128px);
  padding-top: 24px;
  padding-bottom: 140px;
  /* Contain the feature-media mockups: their intrinsic min-width can exceed the
     grid cell on small screens, and the reveal animation nudges them — clip
     horizontally so neither bleeds past the viewport. */
  overflow-x: clip;
}
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.feature-row:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature-row:nth-child(even) .feature-text  { order: 2; }
.feature-row:nth-child(even) .feature-media { order: 1; }

.feature-text { max-width: 380px; }
.feature-row:nth-child(odd) .feature-text { justify-self: end; }
.feature-num {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #800080;
  margin-bottom: 16px;
}
.feature-num::after {
  content: '';
  width: 36px;
  height: 1px;
  background: rgba(128,0,128,0.30);
}
.feature-title {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: rgba(10,10,20,0.90);
  margin: 0 0 12px;
}
.feature-desc {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(10,10,20,0.62);
  margin: 0;
}

/* The mat: a quiet tinted stage behind each clip */
.feature-media {
  position: relative;
  border-radius: 28px;
  padding: clamp(22px, 3.4vw, 48px);
  background:
    radial-gradient(ellipse 90% 90% at 30% 0%, rgba(128,0,128,0.06) 0%, transparent 60%),
    linear-gradient(160deg, #F8F6FB 0%, #F3F1F8 100%);
  border: 1px solid rgba(128,0,128,0.08);
  overflow: visible;
}
/* faint dot grid inside the mat */
.feature-media::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background-image: radial-gradient(circle, rgba(10,10,20,0.09) 1px, transparent 1.5px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 0%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 0%, transparent 80%);
  opacity: 0.35;
  pointer-events: none;
}

/* Re-base the clip container from sticky-theatre absolute to in-flow */
.feature-media .sys-visual {
  position: relative;
  inset: auto;
  display: block;
  padding: 0;
  pointer-events: auto;
}
.feature-media .sys-visual > * { max-width: none; }
/* clips slide in from their own side */
.feature-row:nth-child(odd)  .sys-visual { transform: translateX(30px) scale(0.98); }
.feature-row:nth-child(even) .sys-visual { transform: translateX(-30px) scale(0.98); }
.feature-row .sys-visual { filter: blur(6px); opacity: 0; transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.16,1,0.3,1), filter 0.7s ease; }
.feature-row .sys-visual.active { opacity: 1; transform: none; filter: blur(0); }

@media (max-width: 920px) {
  .feature-row { grid-template-columns: 1fr; gap: 28px; }
  .feature-row:nth-child(even) .feature-text  { order: 1; }
  .feature-row:nth-child(even) .feature-media { order: 2; }
  .feature-row:nth-child(odd) .feature-text { justify-self: start; }
  .feature-text { max-width: 520px; }
  .feature-media { border-radius: 20px; }
  .systems-flow { padding-bottom: 96px; }
}

/* ════════════════════════════════════════════════════════════════
   14. DEMO CLIPS — supporting styles for the JS scene engine
   (nova-scenes.js). Hidden states are gated behind body.js-clips so
   mockups stay fully visible without JS or with reduced motion.
   ════════════════════════════════════════════════════════════════ */
.showcase-card { position: relative; }

/* The recorded-demo cursor */
.demo-cursor {
  position: absolute;
  top: 0; left: 0;
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.28));
  transform: translate(46%, 55%);
  will-change: transform;
}
.demo-click {
  position: absolute;
  top: -12px; left: -12px;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(128,0,128,0.55);
  z-index: 59;
  pointer-events: none;
  animation: demo-click-ring 0.55s ease-out forwards;
}
@keyframes demo-click-ring {
  0%   { opacity: 0.9; scale: 0.4; }
  100% { opacity: 0;   scale: 1.6; }
}

/* Elements the scenes reveal — hidden only when the engine runs.
   (.sys-visual included for specificity over the legacy
   .sys-visual.active reveal rules in the inline stylesheet.) */
body.js-clips .sys-visual .cal-slot,
body.js-clips .sys-visual .email-step,
body.js-clips .sys-visual .voice-line,
body.js-clips .sys-visual .vo-tag,
body.js-clips .sys-visual .qual-verdict {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s cubic-bezier(0.16,1,0.3,1), transform 0.45s cubic-bezier(0.16,1,0.3,1);
}
body.js-clips .sys-visual .cal-slot { transform: translateX(-12px); animation: none; }
body.js-clips .sys-visual .sms-messages .sms-msg {
  opacity: 0;
  transform: translateY(10px) scale(0.94);
  transition: opacity 0.35s cubic-bezier(0.34,1.2,0.64,1), transform 0.35s cubic-bezier(0.34,1.2,0.64,1);
}
body.js-clips .sys-visual .cal-slot.in,
body.js-clips .sys-visual .email-step.in,
body.js-clips .sys-visual .voice-line.in,
body.js-clips .sys-visual .vo-tag.in,
body.js-clips .sys-visual .qual-verdict.in,
body.js-clips .sys-visual .sms-messages .sms-msg.in {
  opacity: 1;
  transform: none;
}
body.js-clips .sys-visual .qual-verdict.in { transition-timing-function: cubic-bezier(0.34,1.45,0.64,1); }

/* Calendar: a day gets claimed by the AI */
.cal-cell.booked-now {
  animation: cell-claim 0.5s cubic-bezier(0.34,1.3,0.64,1) forwards;
}
@keyframes cell-claim {
  0%   { transform: scale(1); }
  45%  { transform: scale(1.16); background: #800080; color: #fff; box-shadow: 0 5px 16px rgba(128,0,128,0.40); }
  100% { transform: scale(1); background: #800080; color: #fff; box-shadow: 0 2px 8px rgba(128,0,128,0.28); }
}
.cal-slot.hover-pulse {
  border-color: rgba(128,0,128,0.40);
  background: rgba(128,0,128,0.06);
}

/* CRM: grabbed / dropped deal card */
.crm-deal.moving { position: relative; z-index: 5; }
/* the legacy deal-move wiggle animation would override the JS drag */
body.js-clips .crm-deal.moving { animation: none; }
.crm-deal.grabbed {
  z-index: 10;
  box-shadow: 0 18px 36px rgba(128,0,128,0.30);
  border-color: rgba(128,0,128,0.45);
}
.crm-deal.dropped {
  box-shadow: 0 4px 14px rgba(128,0,128,0.18);
  border-color: rgba(128,0,128,0.30);
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

/* Score panel under JS control: kill the CSS transitions that fight it */
body.js-clips .score-fill { transition: none; }
body.js-clips .qual-bar-fill { transition: none; transform-origin: left center; }

/* Ambient pulses that stay as CSS */
@keyframes dot-radar {
  0%, 100% { box-shadow: 0 0 0 0 rgba(128,0,128,0.30); }
  60%      { box-shadow: 0 0 0 9px rgba(128,0,128,0); }
}
.sys-visual.active .step-dot.active { animation: dot-radar 1.6s ease-out infinite; }
@keyframes won-glow {
  0%, 100% { box-shadow: 0 1px 4px rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.07); }
  50%      { box-shadow: 0 4px 18px rgba(34,197,94,0.28); border-color: rgba(34,197,94,0.40); }
}
.sys-visual.active .col-won .crm-deal { animation: won-glow 2.8s ease-in-out infinite; }
.sys-visual.active .sms-contact-badge { animation: badge-throb 1.4s ease-in-out infinite; }
.sys-visual.active .sms-ai-badge { animation: ai-badge-glow 2.2s ease-in-out infinite; }

/* ════════════════════════════════════════════════════════════════
   15. POP-INTO-VIEW ENTRANCES — Cluely-style spring pops.
   Everything enters with a scale-up spring (slight overshoot) and
   blur-to-sharp, staggered between siblings. Replaces the flat
   fades from §12 (later in the file, so these win).
   ════════════════════════════════════════════════════════════════ */
.reveal, .reveal-left, .reveal-right, .reveal-child {
  opacity: 0;
  filter: blur(6px);
  transition:
    opacity 0.55s cubic-bezier(0.22,1,0.36,1),
    transform 0.65s cubic-bezier(0.34,1.45,0.64,1),
    filter 0.5s ease;
  will-change: transform, opacity, filter;
}
.reveal        { transform: translateY(22px) scale(0.94); }
.reveal-left   { transform: translateX(-22px) scale(0.94); }
.reveal-right  { transform: translateX(22px) scale(0.94); }
.reveal-child  { transform: translateY(18px) scale(0.94); }
.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-child.visible,
.reveal-child.reveal-left.visible,
.reveal-child.reveal-right.visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* Feature rows: the mat pops, text children pop in a quick cascade */
.feature-media {
  opacity: 0;
  transform: translateY(28px) scale(0.93);
  filter: blur(8px);
  transition:
    opacity 0.6s cubic-bezier(0.22,1,0.36,1),
    transform 0.7s cubic-bezier(0.34,1.4,0.64,1),
    filter 0.55s ease;
}
.feature-row.in-view .feature-media {
  opacity: 1;
  transform: none;
  filter: blur(0);
}
/* the clip inside just fades — the mat carries the pop */
.feature-row .sys-visual,
.feature-row:nth-child(odd) .sys-visual,
.feature-row:nth-child(even) .sys-visual {
  opacity: 0;
  transform: none;
  filter: none;
  transition: opacity 0.45s ease 0.12s;
}
.feature-row .sys-visual.active,
.feature-row:nth-child(odd) .sys-visual.active,
.feature-row:nth-child(even) .sys-visual.active { opacity: 1; transform: none; filter: none; }

.feature-num, .feature-title, .feature-desc {
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  filter: blur(5px);
  transition:
    opacity 0.5s cubic-bezier(0.22,1,0.36,1),
    transform 0.6s cubic-bezier(0.34,1.45,0.64,1),
    filter 0.45s ease;
}
.feature-row.in-view .feature-num   { opacity: 1; transform: none; filter: blur(0); transition-delay: 0.05s; }
.feature-row.in-view .feature-title { opacity: 1; transform: none; filter: blur(0); transition-delay: 0.13s; }
.feature-row.in-view .feature-desc  { opacity: 1; transform: none; filter: blur(0); transition-delay: 0.21s; }

/* ── 9. REDUCED MOTION ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .systems-visual-col::after,
  .final-cta-inner::before { animation: none; }
  .sys-visual { filter: none; transition: opacity 0.3s ease; transform: none; }
  .btn-primary::after { display: none; }
  .sys-visual.active .step-dot.active,
  .sys-visual.active .col-won .crm-deal,
  .sys-visual.active .sms-contact-badge,
  .sys-visual.active .sms-ai-badge { animation: none !important; }
  /* pops degrade to instant visibility */
  .reveal, .reveal-left, .reveal-right, .reveal-child,
  .feature-media, .feature-num, .feature-title, .feature-desc {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}
