/* =========================================================
   AUTOME — Investor Pitch Deck
   Stage: 1280 × 905 (same aspect ratio as the original PDF)
   ========================================================= */

:root {
  --navy: #0a192f;
  --blue: #0052ff;
  --blue-2: #0080ff;
  --muted: #5a6e85;
  --card: #f4f8fc;
  --card-2: #f8fbff;
  --line: #e1e8f0;
  --pill-bg: #ebf3ff;
  --pill-line: #cfe2ff;
  --radius: 20px;
  --pad-x: 60px;
  --emoji: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
  background: #0a1222;
  color: var(--navy);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------------- Stage ---------------- */
.app {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1280px;
  height: 905px;
  transform: translate(-50%, -50%) scale(var(--s, 1));
  transform-origin: center center;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(2, 8, 22, 0.65);
  direction: rtl;
}

/* ---------------- Slide ---------------- */
.slide {
  position: absolute;
  inset: 0;
  padding: 0 var(--pad-x);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.995);
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s;
  pointer-events: none;
  background:
    radial-gradient(1000px 700px at 106% -8%, #eaf2ff 0%, rgba(234, 242, 255, 0) 62%),
    radial-gradient(820px 620px at -10% 108%, #edf4ff 0%, rgba(237, 244, 255, 0) 58%),
    linear-gradient(180deg, #ffffff 0%, #fdfeff 100%);
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#d7e3f2 1.6px, transparent 1.7px);
  background-size: 22px 22px;
  opacity: 0.55;
  pointer-events: none;
}

.slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #0052ff 0%, #1b5dff 55%, #4a86ff 100%);
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.slide-body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 34px;
  padding: 128px 0 112px;
}

/* ---------------- Chrome (injected) ---------------- */
.chrome {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.page-pill {
  position: absolute;
  top: 54px;
  left: var(--pad-x);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 20px;
  border-radius: 999px;
  background: #f4f8fc;
  color: var(--blue-2);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.4px;
  direction: ltr;
}

.page-pill span {
  opacity: 0.55;
  font-weight: 500;
}

.brand {
  position: absolute;
  top: 34px;
  right: var(--pad-x);
  display: flex;
  align-items: center;
  gap: 16px;
  direction: ltr;
}

.brand-word {
  font-size: 27px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.4px;
}

.brand-badge-sm {
  width: 92px;
  height: 92px;
  object-fit: contain;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 26px -12px rgba(10, 25, 47, 0.35), 0 0 0 1px #eef3fa;
  padding: 4px;
}

.rule {
  position: absolute;
  left: var(--pad-x);
  right: var(--pad-x);
  bottom: 86px;
  height: 1px;
  background: #e6ecf4;
}

.foot-start,
.foot-end {
  position: absolute;
  bottom: 50px;
  font-size: 16px;
  color: var(--muted);
}

.foot-start {
  left: var(--pad-x);
  direction: ltr;
}

.foot-end {
  right: var(--pad-x);
}

/* ---------------- Typography ---------------- */
.kicker {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  border-radius: 999px;
  background: var(--pill-bg);
  border: 1px solid var(--pill-line);
  color: var(--blue);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
}

.slide-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.slide-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.6px;
  color: var(--navy);
}

.lead {
  font-size: 26px;
  line-height: 1.65;
  color: var(--muted);
  font-weight: 400;
  max-width: 1060px;
}

.body-text {
  font-size: 22px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------------- Grids ---------------- */
.grid {
  display: grid;
  gap: 26px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-center {
  align-items: center;
}

/* ---------------- Cards ---------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 14px;
  padding: 30px 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card-2) 0%, #f1f7fd 100%);
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px -24px rgba(10, 25, 47, 0.45);
}

.card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 12%;
  right: 12%;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(
    90deg,
    rgba(0, 82, 255, 0) 0%,
    #6f9dff 22%,
    #0052ff 50%,
    #6f9dff 78%,
    rgba(0, 82, 255, 0) 100%
  );
}

.card h3 {
  font-size: 27px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
}

.card p {
  font-size: 20px;
  line-height: 1.75;
  color: var(--muted);
}

.icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  flex: 0 0 auto;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #eef3f9;
  box-shadow: 0 14px 24px -16px rgba(10, 25, 47, 0.55);
  font-family: var(--emoji);
  font-size: 38px;
  line-height: 1;
}

.icon-lg {
  width: 108px;
  height: 108px;
  border-radius: 28px;
  font-size: 54px;
}

/* numbered cards */
.num {
  position: absolute;
  top: 20px;
  right: 26px;
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.5px;
}

/* ---------------- Solution ---------------- */
.card-accent {
  border-color: #b9d3ff;
  box-shadow: 0 0 0 1px rgba(0, 82, 255, 0.06), 0 20px 40px -28px rgba(0, 82, 255, 0.55);
  align-items: flex-start;
  text-align: right;
  gap: 6px;
}

.card-title-blue {
  font-size: 27px;
  font-weight: 700;
  color: var(--blue);
}

.checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 12px;
}

.checks li {
  position: relative;
  padding-right: 40px;
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.5;
}

.checks li::before {
  content: "✓";
  position: absolute;
  right: 0;
  top: 1px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #22b573;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.card-flow {
  justify-content: center;
  gap: 26px;
}

.flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.flow-step {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}

.flow-step em {
  font-family: var(--emoji);
  font-style: normal;
  font-size: 23px;
}

.flow-step .wa {
  color: var(--blue);
}

.flow-step svg.wa {
  width: 24px;
  height: 24px;
  display: block;
}

.flow-arrow {
  color: var(--blue);
  font-size: 21px;
  font-weight: 700;
}

/* ---------------- Technology ---------------- */
.card-ai {
  border-color: #2f6bff;
  background: linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%);
  box-shadow: 0 26px 50px -34px rgba(0, 82, 255, 0.8);
  gap: 18px;
  padding: 34px 30px;
}

.card-old {
  background: linear-gradient(180deg, #fbfcfe 0%, #f4f7fb 100%);
  gap: 18px;
  padding: 34px 30px;
}

.card-title-muted {
  font-size: 27px;
  font-weight: 700;
  color: #8a9bb0;
}

.hr {
  display: block;
  width: 100%;
  height: 1px;
  background: #dfe8f3;
}

.plain-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 21px;
  color: var(--muted);
  line-height: 1.5;
}

.plain-list.strong {
  color: var(--navy);
  font-weight: 500;
}

/* ---------------- Steps / Workflow ---------------- */
.steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.steps .card {
  flex: 1 1 0;
  min-width: 0;
  gap: 10px;
  padding: 26px 16px;
  justify-content: center;
}

.step-arrow {
  display: grid;
  place-items: center;
  width: 32px;
  flex: 0 0 32px;
  color: #a8bdd6;
  font-size: 22px;
  font-weight: 700;
}

.step .num {
  position: static;
  order: 2;
}

.step h3 {
  order: 3;
  font-size: 23px;
}

.step p {
  order: 4;
  font-size: 17px;
}

.step .icon {
  order: 1;
  width: 74px;
  height: 74px;
  font-size: 36px;
  margin-bottom: 2px;
}

.steps-5 .card {
  gap: 12px;
}

/* ---------------- Stats ---------------- */
.stat {
  gap: 10px;
  padding: 30px 18px 26px;
  justify-content: center;
}

.stat .icon {
  width: 74px;
  height: 74px;
  font-size: 34px;
  margin-bottom: 6px;
}

.big {
  font-size: 88px;
  font-weight: 700;
  line-height: 1;
  color: var(--blue);
  letter-spacing: -2px;
  direction: ltr;
  font-feature-settings: "tnum";
}

.stat h3 {
  font-size: 24px;
}

.stat p {
  font-size: 17px;
}

.bar-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 22px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 23px;
  font-weight: 500;
  color: var(--navy);
  text-align: center;
}

.bar-note b {
  color: var(--blue);
  font-weight: 700;
}

.bar-note em {
  font-family: var(--emoji);
  font-style: normal;
}

.bar-note-sm {
  font-size: 21px;
  font-weight: 700;
  color: var(--blue);
  padding: 16px 20px;
}

/* ---------------- Business model ---------------- */
.col-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.price-card {
  gap: 10px;
  padding: 44px 30px;
  border-color: #2f6bff;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
  box-shadow: 0 30px 60px -40px rgba(0, 82, 255, 0.9);
}

.price-label {
  font-size: 21px;
  font-weight: 700;
  color: var(--muted);
  margin-top: 6px;
}

.price {
  font-size: 100px;
  font-weight: 700;
  line-height: 1;
  color: var(--blue);
  letter-spacing: -3px;
  direction: ltr;
}

.price-note {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}

/* ---------------- Market ---------------- */
.market {
  gap: 10px;
  padding: 30px 12px;
  justify-content: center;
}

.market h3 {
  font-size: 22px;
}

.en-label {
  font-size: 17px;
  color: var(--muted);
  direction: ltr;
}

.note-line {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--blue);
}

.note-line em {
  font-family: var(--emoji);
  font-style: normal;
}

/* ---------------- Growth ---------------- */
.mega {
  display: block;
  font-size: 118px;
  font-weight: 700;
  line-height: 1;
  color: var(--blue);
  letter-spacing: -4px;
  direction: ltr;
}

.mega-label {
  font-size: 25px;
  font-weight: 700;
  color: var(--blue);
}

.path-card {
  gap: 16px;
  padding: 40px 30px;
}

.path {
  font-size: 21px;
  line-height: 1.7;
  color: var(--muted);
  direction: ltr;
  text-align: center;
}

/* ---------------- Center slides ---------------- */
.center-body {
  align-items: center;
  text-align: center;
  gap: 24px;
  padding: 100px 0 110px;
}

.vision-title {
  font-size: 46px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
  letter-spacing: -0.6px;
}

.vision-text {
  font-size: 24px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 940px;
}

.brand-badge {
  width: 176px;
  height: 176px;
  border-radius: 44px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 26px 60px -30px rgba(10, 25, 47, 0.55), 0 0 0 1px #eef3fa;
}

.opp-title {
  font-size: 66px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--navy);
  direction: ltr;
}

.opp-tag {
  font-size: 26px;
  font-weight: 700;
  color: var(--blue);
}

.opp-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 34px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
}

.opp-pill em,
.opp-loc em {
  font-family: var(--emoji);
  font-style: normal;
}

.opp-loc {
  font-size: 21px;
  color: var(--muted);
}

/* ---------------- Contact ---------------- */
.center-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.thanks {
  font-size: 50px;
  font-weight: 700;
  letter-spacing: -0.6px;
}

.thanks-sub {
  font-size: 21px;
  color: var(--muted);
}

.founders {
  gap: 30px;
}

.founder {
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  text-align: right;
  gap: 20px;
  padding: 26px 28px;
}

.founder-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.founder h3 {
  font-size: 25px;
}

.founder .role {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
  direction: ltr;
  text-align: right;
}

.founder p {
  font-size: 17px;
  line-height: 1.7;
}

.phone {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  direction: ltr;
  justify-content: flex-end;
}

.phone em {
  font-family: var(--emoji);
  font-style: normal;
  font-size: 20px;
}

.avatar {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 22%;
  border: 4px solid #2f6bff;
  box-shadow: 0 16px 30px -18px rgba(10, 25, 47, 0.7);
  flex: 0 0 auto;
}

.signature {
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.2px;
}

/* ---------------- Cover ---------------- */
.cover-body {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  align-items: center;
  gap: 64px;
  padding: 90px 0 100px;
}

.cover-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.cover-title {
  font-size: 62px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1.5px;
  color: var(--navy);
}

.cover-title .dot {
  color: var(--blue);
  margin: 0 4px;
}

.cover-sub {
  font-size: 33px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--blue);
}

.cover-tag {
  font-size: 25px;
  color: var(--muted);
  direction: ltr;
  margin-top: 4px;
}

.chip-loc {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: #f4f8fc;
  border: 1px solid var(--line);
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
  direction: ltr;
}

.chip-loc em {
  font-family: var(--emoji);
  font-style: normal;
  font-size: 20px;
}

/* Hero card (cover illustration) */
.hero-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 30px 28px 28px;
  border-radius: 30px;
  background: linear-gradient(165deg, #eaf2ff 0%, #d5e1f8 100%);
  border: 1px solid #c6d8f6;
  box-shadow: 0 40px 70px -50px rgba(10, 25, 47, 0.75);
}

.hero-art {
  position: relative;
  width: 100%;
  height: 208px;
}

.blob {
  position: absolute;
  left: 112px;
  top: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  opacity: 0.6;
}

.robot {
  position: absolute;
  left: 139px;
  top: 58px;
  width: 140px;
}

.antenna {
  position: absolute;
  left: 50%;
  top: -22px;
  width: 5px;
  height: 24px;
  margin-left: -2.5px;
  background: #94a3b8;
  border-radius: 3px;
}

.antenna i {
  position: absolute;
  top: -14px;
  left: 50%;
  margin-left: -8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffcf4d, #f5a623);
}

.head {
  position: relative;
  width: 140px;
  height: 118px;
  border-radius: 32px;
  background: linear-gradient(158deg, #1d4478 0%, #123257 42%, #0a2340 100%);
  box-shadow: 0 14px 24px -16px rgba(3, 15, 35, 0.9), inset 0 0 0 2px rgba(12, 34, 62, 0.55);
}

.face {
  position: absolute;
  inset: 16px 15px 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, #0b1e36 0%, #091a2f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.55);
}

.eye {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #38e1ff;
  box-shadow: 0 0 14px rgba(56, 225, 255, 0.5);
}

.eye::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffffff;
}

.mouth {
  position: absolute;
  bottom: 13px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 9px;
  border-radius: 6px;
  background: #38e1ff;
  box-shadow: 0 0 12px rgba(56, 225, 255, 0.4);
}

.neck {
  position: absolute;
  left: 50%;
  bottom: -12px;
  margin-left: -30px;
  width: 60px;
  height: 13px;
  border-radius: 8px;
  background: #94a3b8;
}

.floor {
  position: absolute;
  left: 146px;
  top: 186px;
  width: 218px;
  height: 18px;
  border-radius: 50%;
  background: #a9bfdd;
  opacity: 0.85;
  filter: blur(1.5px);
}

.bubble {
  position: absolute;
  left: 272px;
  top: 34px;
  width: 162px;
  height: 122px;
  border-radius: 26px;
  background: linear-gradient(150deg, #4b8dff 0%, #2f6bff 55%, #1a4fe0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-shadow: 0 18px 28px -18px rgba(10, 40, 120, 0.75);
}

.bubble::after {
  content: "";
  position: absolute;
  bottom: -27px;
  left: -4px;
  width: 34px;
  height: 29px;
  background: linear-gradient(150deg, #2f6bff, #1a4fe0);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.bubble i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
}

.bolt {
  position: absolute;
  left: 88px;
  top: 112px;
  width: 96px;
  height: 112px;
  filter: drop-shadow(0 12px 14px rgba(120, 70, 0, 0.3));
}

.pill-instant {
  position: absolute;
  left: 268px;
  top: 170px;
  padding: 7px 18px;
  border-radius: 999px;
  background: #fff;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  box-shadow: 0 10px 18px -12px rgba(10, 25, 47, 0.6);
  direction: ltr;
  white-space: nowrap;
}

.hero-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--blue);
  direction: ltr;
  margin-top: 2px;
}

.hero-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: #fff;
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  box-shadow: 0 10px 18px -14px rgba(10, 25, 47, 0.6);
}

.tag em {
  font-family: var(--emoji);
  font-style: normal;
  font-size: 20px;
}

/* ---------------- Controls ---------------- */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 60;
}

.progress-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #0052ff, #4a86ff);
  transition: width 0.4s ease;
}

.controls {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(10, 18, 34, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  z-index: 70;
  opacity: 0.35;
  transition: opacity 0.25s ease;
  direction: ltr;
}

.controls:hover {
  opacity: 1;
}

.btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.15s ease;
  font-family: inherit;
}

.btn:hover {
  background: var(--blue);
}

.btn:active {
  transform: scale(0.94);
}

.btn-ghost {
  font-size: 16px;
}

.counter {
  display: inline-flex;
  align-items: center;
  direction: ltr;
  gap: 5px;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  font-weight: 600;
  min-width: 74px;
  justify-content: center;
}

.counter b {
  color: #fff;
  font-size: 16px;
}

/* =========================================================
   MARKET & COMPETITION  /  WHY AUTOME WINS
   (added slides — same design system)
   ========================================================= */

.compact-body {
  justify-content: center;
  gap: 13px;
  padding: 104px 0 84px;
}

.slide-head.compact {
  gap: 8px;
}

.slide-head.compact .kicker {
  font-size: 16px;
  padding: 7px 18px;
}

.slide-head.compact .slide-title {
  font-size: 40px;
  line-height: 1.18;
}

.slide-head.compact .lead {
  font-size: 19px;
  line-height: 1.5;
  max-width: 1180px;
}

/* ---------- market stats strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.stat-mini {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 14px;
  row-gap: 2px;
  padding: 12px 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f3f8fe 100%);
  border: 1px solid var(--line);
  box-shadow: 0 12px 26px -24px rgba(10, 25, 47, 0.5);
}

.stat-mini .v {
  grid-row: 1 / 3;
  grid-column: 1;
  font-size: 33px;
  font-weight: 700;
  line-height: 1.05;
  color: var(--blue);
  letter-spacing: -1px;
  white-space: nowrap;
  font-feature-settings: "tnum";
}

.stat-mini .l {
  grid-column: 2;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy);
}

.stat-mini .src {
  grid-column: 2;
  font-size: 11.5px;
  color: #8496a9;
  line-height: 1.25;
}

/* ---------- comparison table ---------- */
.compare-wrap {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 34px -30px rgba(10, 25, 47, 0.55);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.compare th,
.compare td {
  padding: 5px 6px;
  text-align: center;
  border-bottom: 1px solid #eef3f9;
  font-size: 15px;
}

.compare tr:last-child th,
.compare tr:last-child td {
  border-bottom: 0;
}

.compare thead th {
  background: #f4f8fc;
  color: var(--navy);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.2px;
  padding: 8px 6px;
  border-bottom: 1px solid #e3ebf4;
}

.compare thead th.crit {
  text-align: right;
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 600;
}

.compare tbody th {
  text-align: right;
  font-weight: 600;
  color: var(--navy);
  font-size: 14.5px;
  background: #fbfdff;
  line-height: 1.3;
  padding-right: 14px;
}

.compare .col-me {
  background: #eaf2ff;
}

.compare thead th.col-me {
  background: #dbe9ff;
  color: var(--blue);
  font-size: 15.5px;
}

.compare td.col-me {
  background: #f2f7ff;
}

.mk {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.mk-yes {
  background: #e4f8ee;
  color: #0b8f52;
}

.mk-part {
  background: #fff3df;
  color: #b8770a;
}

.mk-unk {
  background: #eef2f7;
  color: #7d8ea3;
}

.legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12.5px;
  color: #7c8b9d;
  line-height: 1.4;
}

.legend .keys {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.legend .keys span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend .mk {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  font-size: 11px;
}

/* ---------- market math (TAM / SAM / SOM) ---------- */
.market-math {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mm {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 13px;
  background: #f4f8fc;
  border: 1px solid var(--line);
}

.mm .k {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.mm .v {
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.6px;
  white-space: nowrap;
}

.mm .v small {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0;
}

/* ---------- sources ---------- */
.sources {
  font-size: 11.5px;
  line-height: 1.5;
  color: #7c8b9d;
  text-align: right;
  border-top: 1px dashed #e2eaf3;
  padding-top: 7px;
}

.sources b {
  color: #5a6e85;
  font-weight: 700;
}

.sources a {
  color: #4a76b8;
  text-decoration: none;
  border-bottom: 1px dotted #b9cbe4;
}

.sources a:hover {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

/* ---------- why autome: strength cards ---------- */
.win-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.win {
  align-items: flex-start;
  text-align: right;
  justify-content: flex-start;
  gap: 10px;
  padding: 20px 22px;
}

.win .tagline {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.tl-exec {
  background: #eaf2ff;
  color: var(--blue);
  border: 1px solid #cfe2ff;
}

.tl-parity {
  background: #f1f4f8;
  color: #6b7c91;
  border: 1px solid #e2e9f2;
}

.tl-proof {
  background: #e4f8ee;
  color: #0b8f52;
  border: 1px solid #c9efdb;
}

.win h3 {
  font-size: 23px;
  line-height: 1.35;
}

.win p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}

.win .em {
  font-family: var(--emoji);
  font-style: normal;
}

/* ---------- proof strip ---------- */
.proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 12px 10px;
  border-radius: 14px;
  background: #f4f8fc;
  border: 1px solid var(--line);
  text-align: center;
}

.proof-item b {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.05;
  color: var(--blue);
  letter-spacing: -1px;
  direction: ltr;
  font-feature-settings: "tnum";
}

.proof-item span {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
}

/* ---------- investment message ---------- */
.invest-msg {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 24px;
  border-radius: 16px;
  background: linear-gradient(100deg, #eef4ff 0%, #f7faff 100%);
  border: 1px solid #cfe2ff;
  border-right: 5px solid var(--blue);
}

.invest-msg .im-label {
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.4;
  max-width: 96px;
}

.invest-msg p {
  font-size: 19px;
  line-height: 1.6;
  color: var(--navy);
  font-weight: 500;
}

.invest-msg p b {
  color: var(--blue);
  font-weight: 700;
}

/* ---------- slide-10 highlight bar (added) ---------- */
.hl-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding: 10px 18px;
  border-radius: 13px;
  background: linear-gradient(100deg, #eef4ff 0%, #f7faff 100%);
  border: 1px solid #cfe2ff;
  border-right: 4px solid var(--blue);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--navy);
}

.hl-bar b {
  color: var(--blue);
  font-weight: 700;
}

.hl-bar .sep {
  color: #b9cbe4;
  font-weight: 700;
}

/* ---------------- Print ---------------- */
@media print {
  @page {
    size: 1280px 905px;
    margin: 0;
  }

  body {
    background: #fff;
    overflow: visible;
  }

  .app {
    position: static;
    transform: none !important;
    box-shadow: none;
    width: 1280px;
    height: auto;
  }

  .slide {
    position: relative;
    inset: auto;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    width: 1280px;
    height: 905px;
    page-break-after: always;
    break-after: page;
  }

  .controls,
  .progress {
    display: none !important;
  }
}

/* ---------------- Responsive fallback ---------------- */
@media (max-width: 700px) {
  .controls {
    bottom: 10px;
  }
}
