/* RMUR V19: five second clarity, unmistakable laptop, visible product motion. */
.hero { min-height: 840px; }
.heroContent { grid-template-columns: .82fr 1.18fr; gap: 68px; }
.heroCopy { position: relative; z-index: 8; }
.hero h1 { font-size: clamp(52px, 5.3vw, 74px); line-height: .98; }
.hero h1 em { max-width: 650px; line-height: 1.02; }

.heroProduct {
  perspective: 1500px;
  padding: 0 18px 92px;
  transform: translateY(12px) rotateZ(-1deg);
}

.dashboardShell {
  z-index: 3;
  min-height: 430px;
  border: 11px solid #09111d;
  border-bottom-width: 15px;
  border-radius: 22px 22px 9px 9px;
  transform-origin: 50% 100%;
  transform: rotateY(-7deg) rotateX(2deg);
  box-shadow: 0 0 0 1px rgba(190, 211, 245, .38), -18px 35px 80px rgba(0, 0, 0, .7), 0 0 85px rgba(43, 112, 255, .18);
}

.dashboardShell::before {
  content: "";
  position: absolute;
  z-index: 20;
  top: -7px;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #253247;
  box-shadow: 0 0 0 2px #050a12;
}

.dashboardShell::after {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: 19;
  left: 0;
  right: 0;
  top: -35%;
  height: 19%;
  opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(54, 127, 255, .12), rgba(92, 154, 255, .35), transparent);
}

.heroProduct::before {
  left: -1%;
  right: 4%;
  bottom: 42px;
  height: 55px;
  border-radius: 4px 4px 20px 20px;
  clip-path: polygon(6% 0, 94% 0, 100% 74%, 94% 100%, 6% 100%, 0 74%);
  background: linear-gradient(180deg, #79889c 0%, #c4cfdd 5%, #465366 13%, #141d2a 45%, #070c13 100%);
  box-shadow: -16px 31px 29px rgba(0,0,0,.62), 0 0 40px rgba(49,119,255,.22);
  transform: perspective(440px) rotateX(55deg) rotateZ(-.1deg);
}

.heroProduct::after {
  left: 37%;
  right: 41%;
  bottom: 50px;
  height: 9px;
  border: 1px solid rgba(185, 198, 215, .45);
  border-radius: 2px 2px 9px 9px;
  background: #202b3a;
  transform: perspective(440px) rotateX(55deg);
}

.productPreviewLabel {
  position: absolute;
  z-index: 8;
  top: -42px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid rgba(121, 163, 238, .28);
  border-radius: 999px;
  color: #b8c9e2;
  background: rgba(5, 20, 44, .78);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
}

.productPreviewLabel span,
.liveWorkDot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #45df83;
  box-shadow: 0 0 0 4px rgba(69,223,131,.12);
}

.proofFour { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.proofFour .proofItem { color: inherit; }
.proofFour .proofItem strong { font-size: 19px !important; }
.proofFour .proofItem small { font-size: 15px !important; }

.scoreRing strong,
.liveAlertCount,
[data-system-count],
[data-test-count],
.liveResponseText,
.liveRiskState { transition: opacity .22s ease, transform .22s ease, color .22s ease; }
.dataChanging { opacity: .22 !important; transform: translateY(3px); }
.workActive { color: #62dd83 !important; }

@media (prefers-reduced-motion: no-preference) {
  .dashboardShell { animation: laptopPresence 6s ease-in-out infinite; }
  .dashboardShell::after { animation: screenScan 5.2s 1s ease-in-out infinite; }
  .productPreviewLabel span, .liveWorkDot { animation: livePulse 1.8s infinite; }
  .userDot { animation: userPulse 4s ease-in-out infinite; }
  .trendCard { animation: chartGlow 5s ease-in-out infinite; }
  @keyframes laptopPresence {
    0%,100% { transform: rotateY(-7deg) rotateX(2deg) translateY(0); }
    50% { transform: rotateY(-5deg) rotateX(1.2deg) translateY(-5px); }
  }
  @keyframes screenScan {
    0%,14% { top:-30%; opacity:0; }
    24% { opacity:.82; }
    62% { top:112%; opacity:.35; }
    70%,100% { top:112%; opacity:0; }
  }
  @keyframes livePulse { 70% { box-shadow:0 0 0 9px rgba(69,223,131,0); } 100% { box-shadow:0 0 0 0 rgba(69,223,131,0); } }
  @keyframes userPulse { 50% { box-shadow:0 0 0 6px rgba(52,121,255,.12); } }
  @keyframes chartGlow { 50% { border-color:rgba(67,129,255,.28); box-shadow:inset 0 0 25px rgba(39,102,230,.08); } }
}

@media (max-width: 1050px) {
  .heroContent { gap: 35px; }
  .heroProduct { padding-inline: 8px; }
}

@media (max-width: 900px) {
  .heroContent { grid-template-columns: 1fr; }
  .heroProduct { width: 100%; max-width: 760px; margin: 45px auto 0; }
  .proofFour { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 48px; }
  .heroProduct { padding: 0 3px 60px; transform: none; }
  .dashboardShell { min-height: 375px; border-width: 7px; border-bottom-width: 11px; transform: rotateY(-3deg) rotateX(1deg); }
  .heroProduct::before { bottom: 26px; height: 38px; }
  .heroProduct::after { bottom: 32px; height: 6px; }
  .productPreviewLabel { top: -35px; }
  .proofFour { grid-template-columns: 1fr !important; }
}

/* V20: real laptop hardware, decisive motion and clearer conversion controls. */
.heroContent { grid-template-columns: .78fr 1.22fr; gap: 42px; }
.heroProduct {
  width: min(860px, 100%);
  aspect-ratio: 1644 / 939;
  padding: 0;
  perspective: none;
  transform: translateY(14px);
}
.heroProduct::before,
.heroProduct::after { content: none; }
.laptopFrame {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(-18px 34px 32px rgba(0,0,0,.55));
}
.dashboardShell {
  position: absolute;
  z-index: 4;
  top: 5.7%;
  left: 31.7%;
  width: 64.1%;
  height: 68.9%;
  min-height: 0;
  border: 0;
  border-radius: 2px;
  clip-path: polygon(7.2% 4%, 100% 0, 94.2% 100%, 0 92.4%);
  transform: none;
  transform-origin: center;
  box-shadow: none;
}
.dashboardShell::before { display: none; }
.dashboardShell::after { z-index: 30; }
.dashTopbar { height: 13%; min-height: 34px; }
.dashLayout { min-height: 0; height: 87%; grid-template-columns: 21% 1fr; }
.dashSidebar { padding: 10px 7px; }
.dashSidebar span { padding: 5px; }
.dashMain { padding: 9px; }
.dashKicker { margin-bottom: 6px; }
.dashGrid { grid-template-columns: 31% 1fr; gap: 6px; }
.scoreCard { padding: 8px; }
.scoreRing { width: 68px; height: 68px; margin: 4px auto 2px; }
.scoreRing::after { width: 56px; height: 56px; }
.scoreRing strong { font-size: 19px; }
.metricsColumn { grid-template-rows: 49px 1fr; gap: 6px; }
.metricsRow { gap: 5px; }
.metricsRow > div { padding: 6px; }
.metricsRow strong { font-size: 12px; }
.trendCard { padding: 6px; }
.trendCard svg { height: 47px; margin-top: 3px; }
.dashBottom { gap: 6px; margin-top: 6px; }
.riskList, .aiCard { padding: 7px 8px; }
.riskList p { margin-top: 4px; }
.aiCard p { margin: 5px 0; }
.productPreviewLabel {
  z-index: 5;
  top: -30px;
  left: 69%;
  font-size: 12px;
}

.heroActions { gap: 14px; align-items: stretch; }
.heroActions .button {
  position: relative;
  min-width: 214px;
  min-height: 66px;
  padding: 12px 48px 11px 20px;
  border-radius: 8px;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  text-align: left;
}
.heroActions .button::after {
  content: "→";
  position: absolute;
  right: 18px;
  top: 50%;
  font-size: 21px;
  transform: translateY(-50%);
  transition: transform .2s ease;
}
.heroActions .button:hover::after { transform: translate(4px,-50%); }
.heroActions .button span { font-size: 15px; font-weight: 800; }
.heroActions .button small { color: #c9d9f4; font-size: 11px; font-weight: 550; }
.heroPrimaryAction { background: #2d6ff0; box-shadow: 0 14px 34px rgba(22,84,217,.42); }
.heroSecondaryAction { color: #e9f1ff; background: rgba(8,27,57,.74); border-color: rgba(154,184,231,.5); box-shadow: none; }
.heroSecondaryAction:hover { background: rgba(19,45,82,.9); }
.heroTrust { max-width: 620px; font-size: 14px; line-height: 1.55; }

.intelligenceStats { grid-template-columns: 1fr; gap: 0; margin-top: 30px; }
.intelligenceStats > div {
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: start;
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid rgba(255,255,255,.13);
}
.intelligenceStats strong { color: #fff; font-size: 16px; }
.intelligenceStats span { color: #aebed5; font-size: 14px; line-height: 1.55; }
.responseTimeline { display: grid; padding: 7px 0 3px; }
.responseTimeline > div {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 12px;
  min-height: 66px;
  color: #8ea1bd;
}
.responseTimeline > div::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 19px;
  bottom: -4px;
  width: 1px;
  background: rgba(129,157,200,.26);
}
.responseTimeline > div:last-child::before { display: none; }
.responseTimeline i {
  z-index: 1;
  width: 13px;
  height: 13px;
  margin-top: 3px;
  border: 2px solid #59708e;
  border-radius: 50%;
  background: #0b203f;
}
.responseTimeline .complete i { border-color: #45d987; background: #45d987; box-shadow: 0 0 0 4px rgba(69,217,135,.09); }
.responseTimeline .active i { border-color: #4f89ff; background: #4f89ff; box-shadow: 0 0 0 5px rgba(79,137,255,.15); }
.responseTimeline span { display: flex; flex-direction: column; gap: 4px; }
.responseTimeline strong { color: #eef4ff; font-size: 14px; }
.responseTimeline small { color: #8fa2be; font-size: 11px; line-height: 1.35; }
.responseTimeline time { color: #7690b3; padding-top: 2px; font-size: 10px; font-style: normal; }
.reportHeader > b { color: #7ce5a5; background: rgba(61,210,121,.13); }
.dashboardShell.stateChanged .aiCard,
.dashboardShell.stateChanged .riskList { border-color: rgba(73,135,255,.58); box-shadow: inset 0 0 24px rgba(45,106,235,.13); }

.faqList summary span {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  margin-left: 20px;
  color: #155fea;
  background: #fff;
  border: 2px solid #8eb5ff;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  box-shadow: 0 5px 14px rgba(36,101,222,.12);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.faqList details[open] summary span { color: #fff; background: #2567e8; transform: rotate(45deg); }

@media (prefers-reduced-motion: no-preference) {
  .heroProduct { animation: laptopArrival .85s .12s cubic-bezier(.2,.8,.2,1) both; }
  .dashboardShell { animation: screenWake .9s .62s ease both; }
  .responseTimeline .active i { animation: workPulse 1.6s ease-out infinite; }
  @keyframes laptopArrival { from { opacity:0; transform:translate(55px,34px) scale(.91); } to { opacity:1; transform:translateY(14px) scale(1); } }
  @keyframes screenWake { from { opacity:0; filter:brightness(.1); } to { opacity:1; filter:brightness(1); } }
  @keyframes workPulse { 70% { box-shadow:0 0 0 11px rgba(79,137,255,0); } 100% { box-shadow:0 0 0 0 rgba(79,137,255,0); } }
}

@media (max-width: 900px) {
  .heroContent { grid-template-columns: 1fr; }
  .heroProduct { max-width: 820px; margin-top: 70px; }
}

@media (max-width: 640px) {
  .heroProduct { padding: 0; }
  .dashboardShell { top: 5.7%; left: 31.7%; width: 64.1%; height: 68.9%; border: 0; }
  .productPreviewLabel { top: -38px; left: 67%; white-space: nowrap; }
  .heroActions .button { width: 100%; }
  .intelligenceStats > div { grid-template-columns: 96px 1fr; }
  .responseTimeline strong { font-size: 12px; }
  .responseTimeline small { font-size: 10px; }
  .faqList summary span { width: 34px; height: 34px; flex-basis: 34px; font-size: 22px; }
}

/* V21: clean, front-facing product theatre with a fully live screen. */
.heroContent { grid-template-columns: .72fr 1.28fr; gap: 30px; }
.heroProduct {
  width: min(900px, 100%);
  aspect-ratio: 1584 / 999;
  transform: translate(8px, 10px);
}
.laptopFrame {
  z-index: 3;
  filter: drop-shadow(0 34px 38px rgba(0,0,0,.48));
}
.dashboardShell {
  z-index: 4;
  top: 6.9%;
  left: 14.45%;
  width: 70.25%;
  height: 63.05%;
  clip-path: none;
  border-radius: 1px;
  background: #041126;
  box-shadow: inset 0 0 40px rgba(45,105,235,.08);
}
.dashTopbar { height: 13%; padding-inline: 15px; }
.dashLayout { height: 87%; grid-template-columns: 18% 1fr; }
.dashMain { padding: 10px 12px 8px; }
.dashKicker {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 25px;
  margin: -2px 0 6px;
  padding: 5px 9px;
  color: #bdd2f5;
  letter-spacing: .03em;
  text-transform: none;
  background: rgba(37,101,225,.17);
  border: 1px solid rgba(75,137,255,.23);
  border-radius: 5px;
  font-size: 9px;
}
.dashKicker strong { font-weight: 750; }
.stageDot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #43db83;
  box-shadow: 0 0 0 4px rgba(67,219,131,.1);
}
.dashGrid { grid-template-columns: 29% 1fr; }
.scoreRing { width: 72px; height: 72px; }
.scoreRing::after { width: 59px; height: 59px; }
.trendCard svg { height: 52px; }
.productPreviewLabel { display: none; }

.heroActions { gap: 12px; }
.heroActions .button {
  min-width: 0;
  min-height: 52px;
  padding: 0 48px 0 22px;
  flex-direction: row;
  align-items: center;
  border-radius: 7px;
  white-space: nowrap;
  text-align: center;
  font-size: 14px;
  letter-spacing: 0;
}
.heroActions .heroPrimaryAction { min-width: 206px; }
.heroActions .heroSecondaryAction { min-width: 183px; }
.heroActions .button::after { right: 17px; font-size: 18px; }

@media (prefers-reduced-motion: no-preference) {
  .heroProduct { animation: laptopSettle .8s .08s cubic-bezier(.2,.8,.2,1) both; }
  .dashboardShell { animation: monitorWake 1.05s .38s ease both; }
  .stageDot { animation: stagePulse 1.45s ease-out infinite; }
  .dashboardShell.stateChanged .dashKicker { animation: stageNotice .5s ease both; }
  .trendCard.chartChanged .chartLine { animation: redrawProtection .75s ease both; }
  .trendCard.chartChanged .chartArea { animation: refillProtection .7s ease both; }
  @keyframes laptopSettle {
    from { opacity:0; transform:translate(38px,28px) scale(.94); }
    to { opacity:1; transform:translate(8px,10px) scale(1); }
  }
  @keyframes monitorWake {
    0% { opacity:0; filter:brightness(.05); }
    45% { opacity:1; filter:brightness(.32); }
    100% { opacity:1; filter:brightness(1); }
  }
  @keyframes stagePulse { 70% { box-shadow:0 0 0 10px rgba(67,219,131,0); } }
  @keyframes stageNotice { 0% { transform:translateY(-3px); background:rgba(48,119,255,.38); } 100% { transform:none; } }
  @keyframes redrawProtection { from { stroke-dasharray:620; stroke-dashoffset:620; } to { stroke-dasharray:620; stroke-dashoffset:0; } }
  @keyframes refillProtection { from { opacity:0; } to { opacity:1; } }
}

@media (max-width: 1050px) {
  .heroContent { grid-template-columns: .82fr 1.18fr; }
  .heroActions { flex-wrap: wrap; }
}

@media (max-width: 900px) {
  .heroContent { grid-template-columns: 1fr; }
  .heroProduct { width: min(860px, 100%); margin: 45px auto 0; transform: none; }
}

@media (max-width: 640px) {
  .heroProduct { margin-top: 35px; }
  .dashboardShell { top: 6.9%; left: 14.45%; width: 70.25%; height: 63.05%; }
  .dashKicker { min-height: 20px; margin-bottom: 4px; padding: 3px 6px; font-size: 7px; }
  .stageDot { width: 5px; height: 5px; }
  .heroActions .button { min-width: 0; width: 100%; justify-content: flex-start; }
}

/* V22: seamless hardware blend and clearly visible, restrained product motion. */
@property --score-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 232deg;
}

.laptopFrame {
  mix-blend-mode: screen;
  opacity: .98;
  filter: drop-shadow(0 30px 32px rgba(0,0,0,.38));
}
.heroActions .button { padding-right: 22px; justify-content: center; }
.heroActions .button::after { content: none; display: none; }
.scoreRing {
  --score-angle: 232deg;
  background: conic-gradient(from 225deg, #51df7d 0 var(--score-angle), #234268 var(--score-angle) 270deg, transparent 270deg);
  transition: --score-angle .95s cubic-bezier(.2,.8,.2,1), filter .3s ease;
}
.trendCard { position: relative; }
.trendCard::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 27px;
  bottom: 7px;
  left: 10%;
  width: 1px;
  opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(111,167,255,.9), transparent);
  box-shadow: 0 0 9px rgba(69,132,255,.65);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .heroProduct { animation: laptopFloat 7s 1s ease-in-out infinite; }
  .laptopFrame { animation: hardwareReveal .7s .05s ease both; }
  .trendCard::after { animation: chartSweep 3.1s 1.2s ease-in-out infinite; }
  .scoreRing { animation: scoreBreathe 3.8s ease-in-out infinite; }
  @keyframes hardwareReveal { from { opacity:0; transform:translateY(10px) scale(.985); } to { opacity:.98; transform:none; } }
  @keyframes laptopFloat { 0%,100% { transform:translate(8px,10px); } 50% { transform:translate(8px,4px); } }
  @keyframes chartSweep { 0%,8% { left:8%; opacity:0; } 18% { opacity:.8; } 72% { left:92%; opacity:.55; } 80%,100% { left:92%; opacity:0; } }
  @keyframes scoreBreathe { 50% { filter:drop-shadow(0 0 8px rgba(81,223,125,.35)); } }
}

@media (max-width: 900px) {
  .laptopFrame { mix-blend-mode: screen; }
}

/* V23: true transparent hardware and unmistakable live dashboard updates. */
.laptopFrame {
  mix-blend-mode: normal;
  opacity: 1;
  background: transparent;
  filter: drop-shadow(0 30px 34px rgba(0,0,0,.48));
}
.dashboardShell.isUpdating {
  box-shadow: inset 0 0 46px rgba(49,120,255,.24), 0 0 24px rgba(45,112,255,.18);
}
.dashboardShell.updateComplete .dashKicker {
  border-color: rgba(72,222,137,.72);
  background: rgba(41,190,111,.24);
}
.dashboardShell.updateComplete .scoreRing,
.dashboardShell.updateComplete .metricsRow strong {
  filter: drop-shadow(0 0 8px rgba(82,224,126,.52));
}
.metricsRow strong,
.dashKicker,
.riskList,
.aiCard {
  transition: color .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease, filter .25s ease;
}
@media (max-width: 900px) {
  .laptopFrame { mix-blend-mode: normal; }
}
