﻿/* Footer for last page */
.global-footer {
  position: absolute;
  right: 2vw;
  bottom: 2vw;
  color: #fff;
  font-size: 1rem;
  background: none;
  border: none;
  box-shadow: none;
  z-index: 10;
  pointer-events: none;
}
.global-footer a {
  color: #fff;
  text-decoration: none;
  pointer-events: auto;
  cursor: default;
}
:root {
  --deck-scale: 1;
  --deck-vh: calc(100vh / var(--deck-scale));
  --bg: #020307;
  --bg-2: #060a12;
  --ink: #f5f8ff;
  --ink-soft: #a4b1c8;
  --line: rgba(130, 167, 220, 0.25);
  --card: rgba(10, 18, 30, 0.56);
  --card-strong: rgba(12, 20, 34, 0.78);
  --cobalt: #3d7dff;
  --cobalt-soft: #76a8ff;
  --warn: #ff6e3d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
  --title-main-size: clamp(2.8rem, 7.2vw, 6.6rem);
  --title-section-size: clamp(2.7rem, 6.4vw, 6rem);
  --title-card-size: clamp(1.2rem, 1.9vw, 1.7rem);
  --subtitle-size: clamp(0.9rem, 2.13vw, 2rem);
  --content-font-family: "Noto Sans SC", "Manrope", sans-serif;
  --content-font-size: clamp(1.14rem, 1.42vw, 1.34rem);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  font-family: "Manrope", sans-serif;
  font-size: 17px;
  color: var(--ink);
  background: var(--bg);
}

h1,
h2,
h3,
p {
  margin: 0;
}

/* Create a clear summary-detail rhythm: list item title vs supporting text. */
main ul {
  line-height: 1.58;
}

main li {
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #edf6ff;
  text-shadow: 0 0 12px rgba(103, 183, 255, 0.18);
}

/* Supporting text around list titles stays softer to keep hierarchy readable. */
main .pain-card ul {
  color: #9eb3ce;
  line-height: 1.62;
  font-family: var(--content-font-family);
  font-size: var(--content-font-size);
}

main .pain-card li {
  font-size: 1em;
}

#deck {
  width: calc(100% / var(--deck-scale));
  height: var(--deck-vh);
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  transform-origin: top left;
  transform: scale(var(--deck-scale));
}

#deck::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.slide {
  width: 100%;
  height: var(--deck-vh);
  min-height: var(--deck-vh);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
}

.content,
.split {
  width: min(100%, 1740px);
  padding: clamp(10px, 1.8vw, 24px);
  position: relative;
  z-index: 2;
}

.meta {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(120, 170, 255, 0.42);
  color: #c0d8ff;
  background: rgba(49, 92, 170, 0.18);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

h1 {
  font-size: var(--title-main-size);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-shadow:
    0 0 12px rgba(130, 205, 255, 0.5),
    0 0 32px rgba(86, 180, 255, 0.34),
    0 0 54px rgba(61, 125, 255, 0.22);
}

h2 {
  font-size: var(--title-section-size);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-shadow:
    0 0 10px rgba(134, 211, 255, 0.4),
    0 0 28px rgba(83, 179, 255, 0.28),
    0 0 46px rgba(61, 125, 255, 0.2);
}

/* Keep cover hero scale untouched, but make other slide titles slightly smaller. */
.slide:not(#slide-cover) h2 {
  font-size: clamp(2.3rem, 5.4vw, 4.9rem);
}

.slide:not(#slide-cover) h3 {
  font-size: clamp(1.06rem, 1.55vw, 1.45rem);
}

h1,
h2,
h3,
.feature-title,
.matrix-title,
.action-kicker {
  text-transform: none;
}

.subtitle {
  margin-top: 16px;
  color: var(--cobalt-soft);
  font-size: var(--subtitle-size);
  line-height: 1.5;
  max-width: 28ch;
}

.subtitle span {
  display: block;
  color: #c0d3f0;
  margin-top: 8px;
  font-size: 0.95em;
}

.cover {
  background: linear-gradient(160deg, #04070f 0%, #020306 100%);
  justify-content: flex-start;
}

.cover-school-logo {
  position: absolute;
  left: clamp(14px, 2.5vw, 42px);
  top: clamp(14px, 2.5vw, 34px);
  z-index: 4;
}

.cover-school-logo img {
  display: block;
  width: clamp(190px, 22vw, 350px);
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.cover-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.74) brightness(0.5) contrast(1.08);
}

.cover-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 30%, rgba(66, 130, 255, 0.2), transparent 52%),
    linear-gradient(
      90deg,
      rgba(2, 6, 14, 0.72) 0%,
      rgba(2, 6, 14, 0.56) 28%,
      rgba(2, 6, 14, 0.28) 62%,
      rgba(2, 6, 14, 0.03) 100%
    );
}

.cover-grid {
  display: none;
}

.center-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-left {
  position: absolute;
  left: clamp(18px, 6vw, 110px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: min(92vw, 1180px);
  min-height: auto;
}

.hero-left h1 {
  width: 100%;
  max-width: 100%;
  font-size: clamp(3.5rem, 7vw, 7.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.product-name {
  color: #8df7ff;
  text-shadow:
    0 0 8px rgba(92, 239, 255, 0.62),
    0 0 24px rgba(69, 231, 255, 0.52),
    0 0 54px rgba(37, 217, 255, 0.35);
}

.hero-left .meta {
  margin-bottom: 20px;
}

.hero-left .subtitle {
  max-width: 44ch;
  margin-top: 26px;
  font-size: clamp(1.9rem, 3.9vw, 3.35rem);
  line-height: 1.22;
}

.slogan-glow {
  color: #c9feff;
  font-weight: 800;
  text-shadow:
    0 0 6px rgba(157, 255, 255, 0.7),
    0 0 18px rgba(94, 248, 255, 0.52),
    0 0 34px rgba(64, 236, 255, 0.35);
}

.hero-detail {
  margin-top: 20px;
  max-width: 56ch;
  color: #d7e8ff;
  font-size: clamp(1.45rem, 2.75vw, 2.3rem);
  line-height: 1.38;
}

.problem {
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 110, 61, 0.16), transparent 35%),
    radial-gradient(circle at 16% 80%, rgba(61, 125, 255, 0.14), transparent 38%),
    linear-gradient(180deg, #05080f 0%, #03050a 100%);
}

.warn {
  color: var(--warn);
  max-width: 18ch;
  text-shadow:
    0 0 10px rgba(255, 126, 85, 0.45),
    0 0 24px rgba(255, 104, 58, 0.28);
}

.problem-kicker {
  margin: 0 0 12px;
  color: #87a6d7;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: none;
}

.problem-lead {
  margin-top: 12px;
  color: #b7c5dd;
  font-size: var(--subtitle-size);
}

#slide-problem .content {
  align-self: stretch;
  display: grid;
  grid-template-rows: auto auto auto auto;
  gap: clamp(10px, 1.5vh, 20px);
  align-content: center;
  padding-top: clamp(30px, 6vh, 78px);
  padding-bottom: clamp(12px, 2.2vh, 28px);
}

.pain-grid {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 12px;
}

.pain-card {
  border: 1px solid rgba(255, 121, 78, 0.28);
  border-radius: 18px;
  background:
    linear-gradient(165deg, rgba(35, 18, 14, 0.62) 0%, rgba(22, 16, 20, 0.6) 58%, rgba(18, 20, 31, 0.64) 100%);
  backdrop-filter: blur(12px);
  padding: 12px 12px 14px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  cursor: pointer;
}

.pain-card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: rgba(255, 145, 108, 0.9);
  box-shadow:
    0 24px 46px rgba(0, 0, 0, 0.52),
    0 0 44px rgba(255, 122, 74, 0.45);
  filter: brightness(1.12) saturate(1.08);
}

.pain-card:focus-visible {
  outline: none;
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(255, 145, 108, 0.95);
}

.pain-media {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 145, 106, 0.25);
  background: rgba(22, 28, 42, 0.6);
}

.pain-media img,
.pain-media video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.03);
}

#slide-problem .pain-media img {
  aspect-ratio: 16 / 9;
}

.pain-card h3 {
  margin-top: 12px;
  font-size: var(--title-card-size);
  color: #ffe1d4;
  letter-spacing: 0.01em;
}

.pain-card ul {
  margin: 9px 0 0;
  padding-left: 0;
  color: #d9beb6;
  line-height: 1.44;
  font-size: 0.92rem;
  list-style: none;
}

.pain-card li + li {
  margin-top: 7px;
}

.pain-card li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 8px;
  transform: translateY(-1px);
  background: #ff9d73;
  opacity: 0.92;
}

blockquote {
  margin: 0 auto;
  margin-top: clamp(14px, 2.8vh, 28px);
  max-width: 100%;
  width: 100%;
  align-self: center;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px 20px;
  border-radius: 15px;
  font-weight: 700;
  font-size: clamp(1.56rem, 2.28vw, 2.07rem);
  border: 1px solid rgba(255, 146, 95, 0.72);
  box-shadow: 0 0 34px rgba(255, 110, 61, 0.2);
  color: #ffd8c9;
  background: rgba(47, 25, 18, 0.58);
}

blockquote span {
  display: block;
  margin-top: 8px;
  color: #f6beab;
  font-size: 0.82em;
}

.modules {
  background:
    radial-gradient(circle at 20% 20%, rgba(65, 130, 255, 0.16), transparent 34%),
    radial-gradient(circle at 80% 75%, rgba(90, 173, 255, 0.12), transparent 34%),
    linear-gradient(180deg, #060a12 0%, #03050a 100%);
}

.module-showcase {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 14px;
  height: var(--deck-vh);
  align-content: center;
  padding-top: clamp(18px, calc(var(--deck-vh) * 0.03), 36px);
  padding-bottom: clamp(16px, calc(var(--deck-vh) * 0.026), 30px);
}

.module-showcase > h2 {
  font-size: clamp(2.7rem, 5.5vw, 5.6rem);
  line-height: 1.02;
}

.module-stage {
  position: relative;
  border: none;
  border-radius: 20px;
  background: rgba(10, 18, 31, 0.62);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.38),
    inset 0 0 0 1px rgba(118, 170, 248, 0.18);
  min-height: clamp(470px, calc(var(--deck-vh) * 0.68), 740px);
  overflow: hidden;
}

.module-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: clamp(10px, 1.5vh, 16px);
  padding: clamp(14px, 1.7vw, 24px);
  opacity: 0;
  pointer-events: none;
  transform: translateX(24px);
  transition: opacity 0.36s ease, transform 0.36s ease;
}

.module-panel.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.module-visual {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(118, 170, 248, 0.35);
  overflow: hidden;
  background: rgba(8, 15, 27, 0.78);
  min-height: 0;
}

.module-visual img,
.module-visual video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  filter: none;
}

.module-cta {
  justify-self: center;
  margin: 0;
  border: none;
  background: transparent;
  color: #d7e8ff;
  font-family: inherit;
  font-size: clamp(1.06rem, 1.45vw, 1.36rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.01em;
  text-align: center;
  min-width: min(100%, 520px);
  opacity: 0.92;
}

.module-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.module-btn {
  min-width: 112px;
}

.detail {
  background:
    radial-gradient(circle at 76% 20%, rgba(65, 130, 255, 0.18), transparent 33%),
    linear-gradient(180deg, #060a12 0%, #03050a 100%);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 16px;
  align-items: stretch;
}

.left p {
  margin-top: 14px;
  color: #c3d0e7;
  max-width: 56ch;
  line-height: 1.62;
}

.switches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.chip {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(146, 187, 245, 0.35);
  background: rgba(21, 34, 56, 0.72);
  color: #d2def2;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.28s ease;
}

.chip.active {
  border-color: rgba(160, 203, 255, 0.9);
  background: rgba(57, 113, 194, 0.44);
}

.right {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--card-strong);
  box-shadow: var(--shadow);
  min-height: 380px;
  overflow: hidden;
}

.sim-panel {
  position: relative;
  background:
    linear-gradient(180deg, rgba(30, 57, 86, 0.52), rgba(16, 26, 40, 0.62)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.07) 0,
      rgba(255, 255, 255, 0.07) 1px,
      transparent 1px,
      transparent 34px
    );
}

.drone,
.ugv {
  position: absolute;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}

.drone {
  left: 58%;
  top: 34%;
  background: #59a9ff;
  animation: fly 6s ease-in-out infinite;
}

.ugv {
  left: 16%;
  bottom: 16%;
  background: #ffc87f;
  color: #241305;
  animation: run 6s ease-in-out infinite;
}

.flight-line {
  position: absolute;
  left: 20%;
  top: 36%;
  width: 62%;
  border-top: 2px dashed #7fd5ff;
}

.road-line {
  position: absolute;
  left: 10%;
  bottom: 16%;
  width: 52%;
  height: 30%;
  border: 2px solid #ffc676;
  border-top: none;
}

.sim-panel p {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px 12px;
  border-radius: 11px;
  color: #b7ddff;
  background: rgba(11, 18, 31, 0.82);
}

.sim-panel[data-mode="network"] {
  background:
    radial-gradient(circle at 82% 20%, rgba(95, 223, 255, 0.28), transparent 33%),
    linear-gradient(160deg, rgba(4, 26, 54, 0.9), rgba(7, 60, 115, 0.86));
}

.sim-panel[data-mode="network"] p {
  color: #ffe3b4;
}

.sim-global-layout {
  display: grid;
  grid-template-rows: 1.08fr 1fr;
  gap: 12px;
  height: var(--deck-vh);
  align-content: center;
  padding-top: clamp(18px, calc(var(--deck-vh) * 0.03), 36px);
  padding-bottom: clamp(18px, calc(var(--deck-vh) * 0.03), 34px);
}

.sim-world-map {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(118, 176, 255, 0.34);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background:
    linear-gradient(160deg, rgba(8, 21, 39, 0.85), rgba(8, 18, 33, 0.7)),
    url("https://images.pexels.com/photos/41953/earth-blue-planet-globe-planet-41953.jpeg?auto=compress&cs=tinysrgb&w=1600")
      center center / cover no-repeat;
}

.sim-world-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(112, 165, 242, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 165, 242, 0.1) 1px, transparent 1px);
  background-size: 44px 44px;
  mix-blend-mode: screen;
}

.sim-world-map h2,
.sim-world-map p {
  position: relative;
  z-index: 1;
}

.sim-world-map h2 {
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  color: #9af9ff;
  text-shadow:
    0 0 9px rgba(108, 243, 255, 0.58),
    0 0 28px rgba(85, 228, 255, 0.35);
  text-transform: none;
}

.sim-world-map p {
  margin-top: 10px;
  color: #d5e6ff;
  font-size: clamp(1rem, 1.4vw, 1.34rem);
}

.sim-city-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.sim-city-card {
  position: relative;
  border: 1px solid rgba(117, 168, 246, 0.34);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(170deg, rgba(13, 23, 40, 0.72), rgba(10, 18, 30, 0.75));
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  min-height: clamp(180px, calc(var(--deck-vh) * 0.24), 280px);
}

.sim-city-card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: rgba(145, 200, 255, 0.95);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.52),
    0 0 48px rgba(92, 171, 255, 0.48);
  filter: brightness(1.14) saturate(1.1);
}

.sim-city-card:focus-visible {
  outline: none;
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(145, 200, 255, 0.98);
}

.sim-city-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.sim-city-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48%;
  background: linear-gradient(180deg, rgba(4, 8, 16, 0) 0%, rgba(4, 8, 16, 0.82) 100%);
}

.sim-city-card h3 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  z-index: 1;
  text-align: center;
  width: 90%;
  font-size: var(--title-card-size);
  font-weight: 800;
  color: #f2f8ff;
  -webkit-text-stroke: 0;
  text-shadow:
    0 0 2px rgba(0, 0, 0, 0.95),
    0 0 8px rgba(0, 0, 0, 0.9),
    0 0 18px rgba(0, 0, 0, 0.82),
    0 0 32px rgba(0, 0, 0, 0.7);
}

.feature-showcase {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  height: var(--deck-vh);
  padding-top: clamp(18px, calc(var(--deck-vh) * 0.03), 36px);
  padding-bottom: clamp(14px, calc(var(--deck-vh) * 0.024), 28px);
}

.feature-switch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.switch-btn,
.insight-btn {
  border: 1px solid rgba(130, 186, 255, 0.4);
  background: rgba(12, 24, 41, 0.75);
  color: #c7daf6;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s ease;
}

.switch-btn.active,
.insight-btn.active {
  color: #f2fbff;
  border-color: rgba(145, 210, 255, 0.88);
  background: linear-gradient(120deg, rgba(54, 121, 200, 0.72), rgba(79, 163, 255, 0.72));
}

.feature-stage {
  position: relative;
  border: 1px solid rgba(118, 170, 248, 0.35);
  border-radius: 18px;
  background: rgba(10, 18, 31, 0.62);
  min-height: clamp(430px, calc(var(--deck-vh) * 0.64), 720px);
  overflow: hidden;
}

.feature-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.24fr 0.76fr;
  opacity: 0;
  pointer-events: none;
  transform: translateX(26px);
  transition: opacity 0.36s ease, transform 0.36s ease;
}

.feature-panel.reverse {
  grid-template-columns: 0.76fr 1.24fr;
  transform: translateX(-26px);
}

.feature-panel.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.feature-panel > img,
.feature-panel > video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center center;
  display: block;
  align-self: center;
  justify-self: stretch;
  background: transparent;
}

.feature-rich-media {
  width: 100%;
  height: 100%;
  background: linear-gradient(170deg, rgba(8, 16, 28, 0.9), rgba(8, 14, 24, 0.88));
}

.feature-sim-layout {
  height: 100%;
  min-height: 0;
  padding: clamp(12px, 1.2vw, 18px);
  grid-template-rows: 1fr 1fr;
}

.feature-sim-layout .sim-world-map h2 {
  font-size: clamp(1.4rem, 2.3vw, 2.2rem);
}

.feature-sim-layout .sim-world-map p {
  font-size: clamp(0.9rem, 1.05vw, 1.02rem);
  max-width: 52ch;
}

.feature-sim-layout .sim-city-card {
  min-height: clamp(120px, 20vh, 180px);
}

.feature-panel.reverse img,
.feature-panel.reverse video {
  order: 2;
}

.feature-panel.reverse .feature-copy {
  order: 1;
  background:
    radial-gradient(circle at 84% 22%, rgba(80, 158, 248, 0.2), transparent 46%),
    linear-gradient(195deg, rgba(12, 21, 37, 0.88), rgba(8, 14, 26, 0.9));
}

.feature-panel.reverse.active .feature-copy {
  padding-top: clamp(26px, 3.1vw, 48px);
  padding-bottom: clamp(26px, 3.1vw, 48px);
}

.feature-copy {
  padding: clamp(18px, 2.4vw, 38px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 15% 22%, rgba(80, 158, 248, 0.2), transparent 46%),
    linear-gradient(165deg, rgba(12, 21, 37, 0.88), rgba(8, 14, 26, 0.9));
}

.feature-copy h3 {
  font-size: clamp(1.54rem, 2.2vw, 2.38rem);
  font-weight: 500;
  color: #e8f3ff;
  text-shadow:
    0 0 8px rgba(132, 204, 255, 0.4),
    0 0 20px rgba(82, 178, 255, 0.2);
}

.feature-copy p {
  margin-top: 14px;
  font-size: clamp(1.16rem, 1.58vw, 1.52rem);
  font-weight: 400;
  line-height: 1.58;
  color: #bfd2ec;
  max-width: 40ch;
}

.feature-bullets {
  margin: 14px 0 0;
  padding-left: 1.2em;
  color: #bfd2ec;
  display: grid;
  gap: 10px;
}

.feature-bullets li {
  font-size: clamp(1.14rem, 1.34vw, 1.38rem);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #d8e8fb;
  line-height: 1.6;
  text-shadow: none;
}

.feature-bullets strong {
  color: #f2f8ff;
  font-weight: 500;
}

.business-analysis {
  background:
    radial-gradient(circle at 16% 18%, rgba(64, 126, 255, 0.14), transparent 30%),
    radial-gradient(circle at 82% 22%, rgba(42, 170, 255, 0.12), transparent 26%),
    linear-gradient(180deg, #060a12 0%, #03050a 100%);
}

.business-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 14px;
  height: var(--deck-vh);
  padding-top: clamp(18px, calc(var(--deck-vh) * 0.03), 36px);
  padding-bottom: clamp(14px, calc(var(--deck-vh) * 0.024), 28px);
}

.business-switch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-self: center;
  position: relative;
  z-index: 1;
  width: fit-content;
  max-width: 100%;
  gap: 8px;
  margin-top: 0;
}

.business-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.business-header-main {
  display: grid;
  gap: 10px;
  width: 100%;
  min-width: 0;
}

.business-header-title {
  font-size: clamp(2.1rem, 4.2vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0;
  color: #edf5ff;
  white-space: nowrap;
  text-shadow:
    0 0 10px rgba(134, 211, 255, 0.4),
    0 0 28px rgba(83, 179, 255, 0.28),
    0 0 46px rgba(61, 125, 255, 0.2);
}

.business-header-subtitle {
  margin: 0;
  font-size: clamp(1.32rem, 1.9vw, 2rem);
  line-height: 1.24;
  font-weight: 700;
  color: #f3f8ff;
}

.business-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: clamp(640px, calc(var(--deck-vh) * 0.84), 880px);
  margin-bottom: clamp(30px, 4vh, 56px);
  overflow: visible;
}

.business-panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(0);
  z-index: 1;
}

.business-panel.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  z-index: 2;
}

.business-panel-shell {
  width: 100%;
  display: grid;
  height: 100%;
  align-content: center;
  gap: clamp(16px, 1.8vh, 24px);
  padding-top: 0;
}

.business-panel-body {
  width: 100%;
  display: grid;
  gap: clamp(14px, 1.6vh, 22px);
}

.ba-visual-grid {
  display: grid;
  gap: clamp(14px, 1.1vw, 18px);
  align-items: center;
  width: 100%;
}

.ba-poster-grid,
.ba-demand-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ba-poster,
.ba-demand-card,
.ba-table-shell,
.ba-competition-note {
  margin: 0;
  border: 1px solid rgba(130, 180, 248, 0.24);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(15, 24, 40, 0.92), rgba(8, 14, 24, 0.95)),
    radial-gradient(circle at top left, rgba(80, 160, 255, 0.1), transparent 34%);
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}

.ba-poster {
  height: clamp(270px, 35vh, 380px);
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.business-panel-space .ba-poster-grid {
  gap: clamp(12px, 0.95vw, 16px);
}

.business-panel-space .ba-poster {
  height: clamp(320px, 41vh, 450px);
  padding: 8px;
}

.ba-poster img,
.ba-demand-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.34s ease, filter 0.34s ease;
}

.ba-poster img {
  object-fit: contain;
}

.ba-demand-copy {
  padding: 16px 18px 18px;
}

.ba-brief-label {
  margin-bottom: 8px;
  color: #7fb3ff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ba-demand-copy h4 {
  margin: 0;
  font-size: clamp(1.1rem, 1.48vw, 1.38rem);
  color: #eff6ff;
}

.ba-demand-copy p,
.ba-competition-note p {
  color: #bfd2ec;
  line-height: 1.6;
}

.ba-demand-copy p {
  font-size: clamp(0.98rem, 1.08vw, 1.08rem);
}

.ba-demand-copy > p:last-child {
  margin-top: 10px;
}

.ba-demand-card {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.ba-demand-card img {
  height: clamp(220px, 29vh, 320px);
  object-fit: contain;
  background:
    radial-gradient(circle at top, rgba(82, 150, 255, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(10, 18, 32, 0.92), rgba(7, 13, 24, 0.96));
  padding: 12px;
}

.ba-story-list {
  margin: 0;
  padding: 22px 30px 22px 46px;
  border: 1px solid rgba(130, 180, 248, 0.24);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(15, 24, 40, 0.92), rgba(8, 14, 24, 0.95)),
    radial-gradient(circle at top left, rgba(80, 160, 255, 0.1), transparent 34%);
  display: grid;
  gap: 14px;
  color: #d8e8fb;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
  position: relative;
  z-index: 1;
  align-content: center;
  width: 100%;
}

.ba-story-list li {
  display: grid;
  gap: 4px;
  font-size: clamp(1.1rem, 1.22vw, 1.22rem);
  line-height: 1.6;
  font-weight: 400;
}

.ba-story-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: #f3f8ff;
  font-size: clamp(1.16rem, 1.32vw, 1.34rem);
  line-height: 1.35;
  font-weight: 700;
}

.ba-story-body {
  color: #d8e8fb;
}

.ba-flag {
  display: inline-block;
  margin-right: 10px;
  font-size: 1.05em;
}

.ba-poster:hover img,
.ba-demand-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.03);
}

.ba-competition-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: auto;
  width: 100%;
}

.ba-table-shell {
  padding: 28px 38px;
  width: 100%;
  align-self: center;
}

.ba-competition-table {
  width: 100%;
  border-collapse: collapse;
  color: #e8f2ff;
  font-size: clamp(1.12rem, 1.36vw, 1.44rem);
}

.ba-competition-table th,
.ba-competition-table td {
  padding: 22px 24px;
  border: 1px solid rgba(140, 182, 240, 0.22);
  text-align: left;
  vertical-align: middle;
  transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.ba-competition-table thead th {
  background: rgba(64, 118, 196, 0.18);
  color: #f3f8ff;
}

.ba-competition-table tbody th {
  color: #d9e8fb;
  width: 24%;
}

.ba-competition-table td:last-child,
.ba-competition-table th:last-child {
  color: #92d0ff;
  font-weight: 700;
}

.ba-competition-table tbody tr:hover th,
.ba-competition-table tbody tr:hover td {
  background: rgba(86, 152, 239, 0.14);
  border-color: rgba(164, 214, 255, 0.48);
}

.ba-competition-table tbody td:hover,
.ba-competition-table tbody th:hover {
  background: rgba(95, 173, 255, 0.24);
  border-color: rgba(174, 220, 255, 0.7);
  box-shadow:
    inset 0 0 0 1px rgba(178, 223, 255, 0.28),
    0 0 20px rgba(107, 190, 255, 0.18);
}

.ba-competition-table tbody td:last-child:hover,
.ba-competition-table tbody tr:hover td:last-child {
  color: #c8ecff;
  background: rgba(89, 178, 255, 0.3);
}

.ba-competition-note {
  padding: 22px 30px;
  border-color: rgba(136, 212, 122, 0.45);
  background:
    linear-gradient(180deg, rgba(15, 28, 18, 0.92), rgba(10, 20, 13, 0.95)),
    radial-gradient(circle at 15% 20%, rgba(114, 203, 111, 0.14), transparent 36%);
  width: 100%;
  margin: 0 auto;
  align-self: center;
}

.ba-competition-note p {
  font-size: clamp(1.14rem, 1.56vw, 1.46rem);
  color: #eef8eb;
}

.ba-stage-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.ba-nav-btn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(136, 190, 252, 0.34);
  border-radius: 999px;
  background: rgba(8, 18, 34, 0.82);
  color: #edf5ff;
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.ba-nav-btn:hover,
.ba-nav-btn:focus-visible {
  background: rgba(43, 99, 176, 0.74);
  border-color: rgba(160, 210, 255, 0.9);
  transform: translateY(-1px);
}

.ba-nav-status {
  min-width: 132px;
  padding: 8px 12px;
  border: 1px solid rgba(136, 190, 252, 0.22);
  border-radius: 14px;
  background: rgba(8, 18, 34, 0.72);
  display: grid;
  gap: 2px;
}

.ba-nav-index {
  color: #8ebcff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ba-nav-label {
  color: #eef5ff;
  font-size: 0.92rem;
  font-weight: 600;
}

.business-panel-competition .business-panel-body {
  grid-template-rows: minmax(0, 1fr) auto;
}

.agent-board {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  padding: 14px;
}

.sandbox {
  grid-row: span 2;
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(125, 176, 255, 0.48);
  background:
    radial-gradient(circle at center, rgba(89, 174, 255, 0.42), rgba(14, 30, 49, 0.9)),
    linear-gradient(180deg, #0e1e31 0%, #0b1523 100%);
  padding: 12px;
}

.sandbox h3 {
  font-size: var(--title-card-size);
}

.sandbox span {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #7acbff;
  box-shadow: 0 0 0 7px rgba(122, 203, 255, 0.16);
  animation: pulse 2.8s ease-in-out infinite;
}

.profile,
.feedback {
  border-radius: 14px;
  border: 1px solid rgba(125, 176, 255, 0.48);
  background: rgba(13, 24, 39, 0.84);
  padding: 12px;
}

.profile h3,
.feedback h3 {
  font-size: var(--title-card-size);
}

.profile p,
.feedback p {
  margin-top: 8px;
  color: #b5c7df;
  font-size: 0.9rem;
}

.insight-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  grid-template-areas:
    "title title"
    "media text"
    "switch switch";
  align-content: center;
  align-items: stretch;
  gap: 14px;
  height: var(--deck-vh);
  padding-top: clamp(18px, calc(var(--deck-vh) * 0.03), 36px);
  padding-bottom: clamp(14px, calc(var(--deck-vh) * 0.024), 28px);
}

.insight-layout > h2 {
  grid-area: title;
}

.insight-left {
  border: 1px solid rgba(130, 186, 255, 0.34);
  border-radius: 20px;
  background:
    radial-gradient(circle at 12% 18%, rgba(78, 162, 255, 0.18), transparent 44%),
    linear-gradient(170deg, rgba(12, 23, 38, 0.82), rgba(8, 14, 24, 0.88));
  padding: clamp(14px, 1.8vw, 24px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.insight-switch {
  grid-area: switch;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.insight-arrow {
  color: rgba(169, 206, 248, 0.76);
  font-size: 1rem;
  line-height: 1;
}

.insight-text {
  grid-area: text;
  border: 1px solid rgba(255, 176, 108, 0.34);
  border-radius: 16px;
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 177, 84, 0.14), transparent 45%),
    linear-gradient(165deg, rgba(30, 19, 14, 0.82), rgba(16, 10, 8, 0.88));
  padding: clamp(14px, 1.5vw, 22px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 1;
  transform: translateY(0);
  will-change: opacity, transform;
}

.insight-text h3 {
  font-size: var(--title-card-size);
  color: #fff1df;
}

.insight-text p {
  margin-top: 12px;
  color: #ffd8bb;
  line-height: 1.62;
  font-size: clamp(1rem, 1.36vw, 1.28rem);
  max-width: 88ch;
}

.insight-right {
  grid-area: media;
  position: relative;
  border: 1px solid rgba(255, 174, 109, 0.38);
  border-radius: 18px;
  background: rgba(20, 12, 8, 0.66);
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.insight-track {
  height: 600%;
  display: flex;
  flex-direction: column;
  transition: transform 0.56s cubic-bezier(0.22, 0.62, 0.3, 1);
  will-change: transform;
}

.insight-frame {
  position: relative;
  min-height: 16.6667%;
  background: transparent;
}

.insight-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: contain;
  object-position: center center;
  filter: saturate(0.9) contrast(1.04) brightness(0.92);
  background: transparent;
}

.insight-frame video {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center center;
  filter: saturate(0.9) contrast(1.04) brightness(0.92);
  background: transparent;
}

.insight-btn {
  border: 1px solid rgba(255, 176, 108, 0.42);
  background: rgba(37, 20, 11, 0.76);
  color: #ffd8bb;
}

.insight-btn.active {
  color: #fff5e7;
  border-color: rgba(255, 201, 138, 0.9);
  background: linear-gradient(120deg, rgba(185, 97, 51, 0.78), rgba(218, 140, 70, 0.72));
}

.vision {
  background:
    radial-gradient(circle at 82% 18%, rgba(76, 146, 255, 0.16), transparent 35%),
    radial-gradient(circle at 18% 82%, rgba(57, 120, 255, 0.14), transparent 38%),
    linear-gradient(180deg, #050810 0%, #020307 100%);
}

#slide-vision .content {
  align-self: stretch;
  display: grid;
  grid-template-rows: auto auto auto auto;
  gap: clamp(10px, 1.5vh, 20px);
  align-content: center;
  padding-top: clamp(30px, 6vh, 78px);
  padding-bottom: clamp(12px, 2.2vh, 28px);
}

#slide-vision .warn {
  color: #8eb5ff;
  max-width: none;
  white-space: nowrap;
  text-shadow:
    0 0 10px rgba(122, 168, 255, 0.46),
    0 0 24px rgba(78, 136, 255, 0.26);
}

#slide-vision .finale-lead {
  margin-top: 12px;
  color: #d0ddf1;
  font-size: var(--subtitle-size);
}

#slide-vision .pain-grid {
  margin-top: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

#slide-vision .pain-card {
  border-color: rgba(133, 174, 246, 0.38);
  background:
    linear-gradient(168deg, rgba(13, 22, 38, 0.84) 0%, rgba(12, 18, 32, 0.82) 58%, rgba(9, 14, 27, 0.84) 100%);
}

#slide-vision .pain-card h3 {
  color: #e9f2ff;
}

#slide-vision .pain-card ul {
  color: #c4d4e9;
}

#slide-vision .pain-media {
  border-color: rgba(133, 174, 246, 0.34);
}

#slide-vision .pain-card li::before {
  background: #8db4ff;
}

#slide-vision blockquote {
  margin-top: clamp(14px, 2.8vh, 28px);
  border: 1px solid rgba(131, 220, 141, 0.72);
  box-shadow: 0 0 34px rgba(118, 224, 125, 0.2);
  color: #dcf7d9;
  background: rgba(24, 46, 27, 0.64);
}

.stars {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(109, 166, 255, 0.2) 0, transparent 38%),
    radial-gradient(circle at 84% 70%, rgba(71, 137, 255, 0.16) 0, transparent 42%),
    radial-gradient(circle at 55% 35%, rgba(255, 255, 255, 0.26) 0, transparent 1.8%),
    radial-gradient(circle at 30% 62%, rgba(255, 255, 255, 0.2) 0, transparent 1.4%),
    radial-gradient(circle at 76% 44%, rgba(255, 255, 255, 0.18) 0, transparent 1.6%);
}

.advantage-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: var(--deck-vh);
}

.advantage-lead {
  margin-top: 12px;
  color: #9eb9de;
  font-size: var(--subtitle-size);
}

.advantage-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.adv-card {
  border-radius: 18px;
  border: 1px solid rgba(138, 183, 240, 0.32);
  background: rgba(12, 20, 34, 0.74);
  padding: 16px;
  min-height: 220px;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  cursor: pointer;
}

.adv-card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: rgba(174, 214, 255, 0.96);
  box-shadow:
    0 24px 46px rgba(0, 0, 0, 0.52),
    0 0 46px rgba(111, 184, 255, 0.45);
  filter: brightness(1.12) saturate(1.08);
}

.adv-card:focus-visible {
  outline: none;
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(174, 214, 255, 0.98);
}

.adv-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 800;
}

.adv-card h3 {
  margin-top: 10px;
  font-size: var(--title-card-size);
}

.adv-card p {
  margin-top: 8px;
  color: #bfd0e8;
  line-height: 1.55;
}

.adv-metric {
  margin-top: 12px;
  border-top: 1px solid rgba(172, 206, 247, 0.26);
  padding-top: 10px;
}

.adv-metric strong {
  font-size: clamp(1.42rem, 2vw, 2rem);
  color: #f3f8ff;
}

.adv-metric span {
  display: block;
  margin-top: 6px;
  color: #95afcf;
  font-size: 0.92rem;
}

.advantage-note {
  margin-top: 12px;
  color: #86a2c6;
  font-size: 0.95rem;
}

.adv-user {
  background:
    radial-gradient(circle at 14% 16%, rgba(72, 155, 255, 0.28), transparent 42%),
    rgba(12, 20, 34, 0.8);
}

.adv-user .adv-icon {
  color: #cae8ff;
  background: rgba(84, 155, 255, 0.34);
}

.adv-cost {
  background:
    radial-gradient(circle at 14% 16%, rgba(255, 149, 78, 0.26), transparent 42%),
    rgba(28, 20, 14, 0.76);
}

.adv-cost .adv-icon {
  color: #ffe6d1;
  background: rgba(255, 147, 75, 0.28);
}

.adv-green {
  background:
    radial-gradient(circle at 14% 16%, rgba(76, 206, 149, 0.24), transparent 42%),
    rgba(12, 24, 22, 0.78);
}

.adv-green .adv-icon {
  color: #d8ffe9;
  background: rgba(76, 206, 149, 0.26);
}

.adv-speed {
  background:
    radial-gradient(circle at 14% 16%, rgba(165, 136, 255, 0.26), transparent 42%),
    rgba(22, 18, 36, 0.8);
}

.adv-speed .adv-icon {
  color: #ece4ff;
  background: rgba(165, 136, 255, 0.28);
}

.compare {
  background: linear-gradient(180deg, #050810 0%, #020307 100%);
}

.compare::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 18%, rgba(76, 211, 255, 0.14), transparent 38%),
    radial-gradient(circle at 20% 84%, rgba(61, 125, 255, 0.13), transparent 42%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025) 0,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px,
      transparent 44px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.02) 0,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px,
      transparent 44px
    );
}

.finale-lead {
  margin-top: 10px;
  color: #adc8e8;
  font-size: var(--subtitle-size);
  max-width: 56ch;
}

:root {
  --interactive-hover-lift: -10px;
  --interactive-hover-scale: 1.072;
  --interactive-focus-lift: -6px;
  --interactive-focus-scale: 1.026;
}

:is(
    .pain-card,
  .module-stage,
    .sim-world-map,
    .sim-city-card,
    .feature-stage,
    .ba-poster,
    .ba-demand-card,
    .ba-story-list,
    .ba-table-shell,
    .ba-competition-note,
  .insight-left,
    .insight-right,
    .insight-frame,
    .adv-card,
    blockquote.fade-up.in
  ) {
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    filter 0.28s ease;
  will-change: transform, box-shadow, filter, border-color;
  transform-origin: center;
}

:is(
    .pain-card,
  .module-stage,
    .sim-world-map,
    .sim-city-card,
    .feature-stage,
    .ba-poster,
    .ba-demand-card,
    .ba-story-list,
    .ba-table-shell,
    .ba-competition-note,
  .insight-left,
    .insight-right,
    .insight-frame,
    .adv-card,
    blockquote.fade-up.in
  ):hover {
  transform: translateY(var(--interactive-hover-lift)) scale(var(--interactive-hover-scale));
  border-color: rgba(168, 217, 255, 0.96);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.5),
    0 0 48px rgba(104, 186, 255, 0.4);
  filter: brightness(1.1) saturate(1.08);
  z-index: 3;
}

.feature-panel > img,
.insight-frame img,
.insight-frame video {
  transition: transform 0.34s ease, filter 0.34s ease;
}

.feature-panel.active:hover > img {
  transform: scale(1.05);
  filter: saturate(1.08) contrast(1.04);
}

:is(
    .pain-card,
  .module-stage,
    .sim-world-map,
    .sim-city-card,
    .feature-stage,
    .ba-poster,
    .ba-demand-card,
    .ba-story-list,
    .ba-table-shell,
    .ba-competition-note,
    .insight-left,
    .insight-right,
    .insight-frame,
    .adv-card,
    blockquote.fade-up.in
  ):focus-within {
  transform: translateY(var(--interactive-focus-lift)) scale(var(--interactive-focus-scale));
  border-color: rgba(174, 220, 255, 0.98);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.44),
    0 0 36px rgba(107, 190, 255, 0.36);
}

.rings {
  margin-top: 20px;
  width: min(100%, 840px);
  aspect-ratio: 1/1;
  position: relative;
}

.ring {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
  border: 1px solid rgba(130, 178, 255, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  background: radial-gradient(circle, rgba(17, 29, 48, 0.42), rgba(7, 12, 20, 0.25));
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.ring:hover {
  transform: scale(1.02);
  border-color: rgba(160, 208, 255, 0.8);
}

.ring h3 {
  font-size: var(--title-card-size);
}

.ring p {
  margin-top: 9px;
  font-size: clamp(0.84rem, 1.4vw, 1rem);
  color: #b7cae4;
  max-width: 34ch;
}

.ring-1 {
  width: 100%;
  height: 100%;
}

.ring-2 {
  width: 72%;
  height: 72%;
}

.ring-3 {
  width: 44%;
  height: 44%;
}

.tagline {
  margin-top: 20px;
  font-size: clamp(1.08rem, 2vw, 1.7rem);
  font-weight: 800;
  color: #deebff;
}

.tagline span {
  display: block;
  margin-top: 6px;
  color: #87b2ff;
  font-size: 0.78em;
  font-weight: 700;
}

.pager {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%) scale(var(--deck-scale));
  transform-origin: right center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 6px 4px;
  border-radius: 14px;
  background: rgba(8, 15, 25, 0.34);
  z-index: 9;
}

.page-dot {
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: rgba(212, 229, 255, 0.68);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.page-dot:hover {
  color: rgba(236, 245, 255, 0.95);
  background: rgba(61, 125, 255, 0.14);
  transform: translateY(-1px);
}

.page-dot.active {
  background: rgba(61, 125, 255, 0.82);
  color: #ffffff;
}

.auto-scroll-toggle-wrap {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 10;
  transform: scale(var(--deck-scale));
  transform-origin: right bottom;
}

.auto-scroll-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(130, 167, 220, 0.22);
  background: rgba(8, 15, 25, 0.22);
  cursor: pointer;
  user-select: none;
  opacity: 0.18;
  transition: opacity 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.auto-scroll-toggle:hover,
.auto-scroll-toggle:focus-within {
  opacity: 0.9;
  border-color: rgba(130, 167, 220, 0.45);
  background: rgba(8, 15, 25, 0.48);
}

.auto-scroll-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.auto-scroll-toggle-slider {
  width: 28px;
  height: 16px;
  border-radius: 999px;
  background: rgba(130, 167, 220, 0.28);
  position: relative;
  transition: background 0.2s ease;
}

.auto-scroll-toggle-slider::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(245, 248, 255, 0.9);
  transition: transform 0.2s ease;
}

.auto-scroll-toggle input:checked + .auto-scroll-toggle-slider {
  background: rgba(61, 125, 255, 0.8);
}

.auto-scroll-toggle input:checked + .auto-scroll-toggle-slider::after {
  transform: translateX(12px);
}

.auto-scroll-toggle-text {
  color: rgba(212, 229, 255, 0.9);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.in {
  opacity: 1;
  transform: translateY(0);
}

.pain-card.fade-up.in:hover,
.module-stage.fade-up.in:hover,
.sim-world-map.fade-up.in:hover,
.sim-city-card.fade-up.in:hover,
.feature-stage.fade-up.in:hover,
.insight-left.fade-up.in:hover,
.insight-right.fade-up.in:hover,
.insight-frame.fade-up.in:hover,
blockquote.fade-up.in:hover {
  transform: translateY(var(--interactive-hover-lift)) scale(var(--interactive-hover-scale));
}

.pain-card.fade-up.in:focus-visible,
.module-stage.fade-up.in:focus-visible,
.sim-world-map.fade-up.in:focus-visible,
.sim-city-card.fade-up.in:focus-visible,
.feature-stage.fade-up.in:focus-visible,
.insight-left.fade-up.in:focus-visible,
.insight-right.fade-up.in:focus-visible,
.insight-frame.fade-up.in:focus-visible,
blockquote.fade-up.in:focus-visible {
  transform: translateY(var(--interactive-focus-lift)) scale(var(--interactive-focus-scale));
}

/* Final normalization: keep all non-major-title text at one shared font and size. */
main .slide :is(
    p,
    li,
    button,
    h4,
    td,
    th,
    label,
    .pain-card h3,
    .sim-city-card h3,
    .feature-copy h3,
    .insight-text h3,
    .adv-card h3,
    .business-header-subtitle,
    .ba-story-kicker,
    .ba-brief-label,
    .module-cta,
    .auto-scroll-toggle-text,
    .ba-nav-index,
    .ba-nav-label
  ) {
  font-family: var(--content-font-family);
  font-size: var(--content-font-size);
}

/* First slide only: force larger hero copy independent from global body text normalization. */
#slide-cover .hero-left .subtitle,
#slide-cover .hero-left .subtitle.slogan-glow {
  font-family: var(--content-font-family);
  font-size: clamp(1.58rem, 3.08vw, 2.62rem);
  line-height: 1.24;
  max-width: 38ch;
}

#slide-cover .hero-left .hero-detail,
#slide-cover .hero-detail {
  font-family: var(--content-font-family);
  font-size: clamp(1.24rem, 2.14vw, 1.9rem);
  line-height: 1.42;
  max-width: 46ch;
}

@keyframes fly {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-36px, -18px);
  }
}

@keyframes run {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(26px, -2px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

@media (max-width: 1180px), (max-height: 720px) {
  #deck {
    width: 100%;
    height: 100%;
    transform: none;
    scroll-snap-type: y proximity;
  }

  .slide {
    height: auto;
    min-height: 100svh;
    align-items: center;
    overflow: visible;
  }

  .content,
  .split {
    width: min(100%, 1160px);
    padding: clamp(16px, 2.8vw, 24px);
  }

  h1 {
    font-size: clamp(2.8rem, 7vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2rem, 5.6vw, 3.4rem);
  }

  .problem-lead,
  .hint,
  .advantage-lead,
  .finale-lead {
    font-size: 1rem;
  }

  #slide-problem .content {
    display: block;
    align-self: auto;
    gap: 0;
    padding-top: clamp(16px, 2.6vh, 28px);
    padding-bottom: clamp(16px, 2.6vh, 28px);
  }

  #slide-vision .content {
    display: block;
    align-self: auto;
    gap: 0;
    padding-top: clamp(16px, 2.6vh, 28px);
    padding-bottom: clamp(16px, 2.6vh, 28px);
  }

  .pain-grid {
    margin-top: 18px;
  }

  blockquote {
    margin-top: 24px;
  }

  .pain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .module-showcase {
    grid-template-rows: auto auto auto auto;
    height: auto;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .module-stage {
    min-height: auto;
    height: auto;
    overflow: visible;
  }

  .module-panel {
    position: relative;
    inset: auto;
    display: none;
    opacity: 1;
    transform: none;
    transition: none;
    min-height: clamp(420px, 62svh, 640px);
  }

  .module-panel.active {
    display: grid;
  }

  .module-visual {
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .module-visual img,
  .module-visual video {
    object-position: center center;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .sim-global-layout {
    grid-template-rows: auto auto;
    height: auto;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .sim-city-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-showcase {
    height: auto;
    justify-content: center;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .feature-stage {
    min-height: auto;
    height: auto;
    overflow: visible;
  }

  .business-wrap {
    height: auto;
    align-items: stretch;
    justify-content: flex-start;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .business-header {
    width: 100%;
    justify-content: flex-start;
  }

  .business-header-title {
    white-space: normal;
  }

  .business-stage {
    width: 100%;
    min-height: auto;
    height: auto;
    margin-bottom: 20px;
    overflow: visible;
  }

  .feature-panel,
  .feature-panel.reverse {
    position: relative;
    inset: auto;
    display: none;
    grid-template-columns: minmax(320px, 1.24fr) minmax(240px, 0.76fr);
    min-height: clamp(360px, 62svh, 520px);
    opacity: 1;
    transform: none;
    transition: none;
  }

  .feature-panel.active {
    display: grid;
  }

  .business-panel {
    position: relative;
    inset: auto;
    display: none;
    min-height: auto;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .business-panel.active {
    display: block;
  }

  .feature-panel > img,
  .feature-panel > video {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    object-position: center center;
  }

  .feature-rich-media {
    width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
  }

  .ba-poster-grid,
  .ba-demand-grid {
    grid-template-columns: 1fr;
  }

  .ba-poster {
    height: auto;
    aspect-ratio: 16 / 9;
      max-width: 100vw;
      width: 100%;
      padding: 4vw 2vw;
      box-sizing: border-box;
      border-radius: 12px;
      margin: 0 auto 18px auto;
      background: linear-gradient(180deg, rgba(15, 24, 40, 0.92), rgba(8, 14, 24, 0.95)),
        radial-gradient(circle at top left, rgba(80, 160, 255, 0.08), transparent 34%);
    }

    .ba-poster img {
      max-width: 100%;
      max-height: 60vw;
      width: auto;
      height: auto;
      object-fit: contain;
      display: block;
      margin: 0 auto;
    }
  }

  .business-panel-shell {
    padding-top: 0;
  }

  .ba-story-list {
    padding-left: 34px;
  }

  .ba-stage-nav {
    align-self: flex-start;
  }

  .ba-table-shell {
    overflow-x: auto;
  }

  .ba-competition-table {
    min-width: 720px;
  }

  .insight-layout {
    grid-template-columns: minmax(260px, 1.12fr) minmax(260px, 0.88fr);
    grid-template-areas:
      "title title"
      "media text"
      "switch switch";
    height: auto;
    max-height: none;
    gap: 12px;
  }

  .insight-left {
    justify-content: flex-start;
  }

  .insight-right {
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 0;
    height: auto;
  }

  .rings {
    width: min(100%, 640px);
  }

  .advantage-grid {
    grid-template-columns: 1fr;
  }

  .advantage-wrap {
    height: auto;
    justify-content: center;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .pager,
  .auto-scroll-toggle-wrap {
    right: 12px;
  }
}

@media (max-width: 820px), (max-height: 520px) {
  .cover-school-logo img {
    width: min(46vw, 220px);
  }

  .hero-left {
    left: 18px;
    bottom: 24px;
    width: min(72vw, 420px);
    top: auto;
    transform: none;
  }

  .hero-left h1 {
    max-width: 100%;
    font-size: clamp(2.25rem, 9vw, 3.4rem);
    line-height: 1.02;
  }

  .hero-left .subtitle {
    max-width: 100%;
    margin-top: 16px;
    font-size: clamp(1rem, 2.7vw, 1.28rem);
  }

  .hero-detail {
    margin-top: 12px;
    max-width: 32ch;
    font-size: clamp(0.92rem, 2.2vw, 1.08rem);
  }

  .pain-grid,
  .sim-city-grid,
  .advantage-grid {
    grid-template-columns: 1fr;
  }

  #slide-vision .pain-grid {
    grid-template-columns: 1fr;
  }

  .module-cta {
    width: 100%;
    min-width: 0;
  }

  blockquote {
    margin-top: 18px;
    padding: 14px 16px;
  }

  .feature-switch {
    gap: 6px;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .module-switch {
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .module-btn {
    flex: 0 0 auto;
  }

  .switch-btn,
  .insight-btn {
    padding: 10px 14px;
    font-size: 0.9rem;
    flex: 0 0 auto;
  }

  .agent-board {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .sandbox {
    grid-row: auto;
    min-height: 250px;
  }

  .insight-switch {
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .insight-arrow {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .feature-panel,
  .feature-panel.reverse {
    grid-template-columns: 1fr;
    min-width: 0;
    min-height: auto;
  }

  .feature-panel > img {
    min-height: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    object-position: center center;
  }

  .feature-panel > video {
    min-height: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    object-position: center center;
  }

  .feature-rich-media {
    min-height: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
  }

  .feature-sim-layout {
    grid-template-rows: auto auto;
  }

  .feature-sim-layout .sim-city-grid {
    grid-template-columns: 1fr;
  }

  .feature-panel.reverse img,
  .feature-panel.reverse .feature-copy {
    order: initial;
  }

  .feature-copy {
    padding: 18px;
  }

  .feature-copy p {
    max-width: none;
  }

  .insight-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "media"
      "switch"
      "text";
    min-width: 0;
  }

  .insight-right {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 0;
  }

  .advantage-wrap {
    height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .adv-card {
    min-height: auto;
  }

  .pager,
  .auto-scroll-toggle-wrap {
    display: none;
  }
}
