/* ════════════════════════════════════════════════════════════════
   SRACO · Design (pixel-perfect HTML port from Figma)
   Slide artboard 1920×1080
   ──────────────────────────────────────────────────────────── */

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

:root {
  --deck-zoom: 1;
  --nav-w: 280px;
  --gap-row: 56px;
  --page-pad: 32px;
  --mint: #4ca687;          /* RGB(76,166,135) — Figma exact */
  --bg: #0a0e14;            /* slide / page bg */
  --bg-page: #050709;       /* surrounding chrome */
  --white: #ffffff;
  --text-muted: rgba(255,255,255,0.55);
  --text-faint: rgba(255,255,255,0.35);
}

html, body { background: var(--bg-page); }
body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--white);
  min-height: 100vh;
}

/* ─── Page shell ────────────────────────────────────────────── */
.page {
  display: grid;
  grid-template-columns: var(--nav-w) 1fr;
  align-items: start;
}

/* ─── Left nav ──────────────────────────────────────────────── */
.slide-nav {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  padding: 28px 22px;
  background: var(--bg-page);
  color: #eaeaea;
  overflow-y: auto;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.slide-nav__title {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: #888; margin-bottom: 4px;
}
.slide-nav__subtitle {
  font-size: 14px; font-weight: 500; color: #cfcfcf;
  letter-spacing: -0.01em; margin-bottom: 22px; line-height: 1.3;
}
.slide-nav__list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.slide-nav__link {
  display: grid; grid-template-columns: 32px 1fr;
  gap: 8px; align-items: baseline;
  padding: 9px 10px; border-radius: 6px;
  text-decoration: none; color: #b4b4b4;
  font-size: 13px; font-weight: 500;
  letter-spacing: -0.005em; line-height: 1.3;
  transition: background 140ms ease, color 140ms ease;
}
.slide-nav__link__num { font-size: 11px; font-weight: 700; color: #666; letter-spacing: 0.02em; }
.slide-nav__link:hover { background: rgba(255,255,255,0.05); color: #fff; }
.slide-nav__link.is-active { background: rgba(76,166,135,0.10); color: #fff; }
.slide-nav__link.is-active .slide-nav__link__num { color: var(--mint); }

/* ─── Deck ──────────────────────────────────────────────────── */
.deck {
  display: flex; flex-direction: column;
  gap: var(--gap-row);
  padding: var(--page-pad);
  min-width: 0;
}
.slide-row {
  display: grid;
  grid-template-columns: minmax(24px, 1fr) auto minmax(24px, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 0;
}
.slide-row__label {
  grid-column: 2; grid-row: 1;
  display: flex; align-items: baseline; gap: 8px;
  padding-bottom: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.04em; color: #888;
  user-select: none;
}
.slide-row__label__num  { font-weight: 700; color: #cfcfcf; }
.slide-row__label__sep  { color: #4a4a4a; }
.slide-row__label__title { color: #aaa; }
.slide-row .slide { grid-column: 2; grid-row: 2; }

/* ─── Slide artboard ────────────────────────────────────────── */
.slide {
  position: relative;
  width: 1920px; height: 1080px;
  background: var(--bg);
  overflow: hidden;
  box-shadow: 0 12px 56px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
  zoom: var(--deck-zoom);
  color: var(--white);
  font-family: 'Inter', system-ui, sans-serif;
}

/* ─── Slide 01 — Cover ──────────────────────────────────────── */
.slide-cover__bg {
  position: absolute; inset: 0;
  background: url('../assets/cover-bg.png') center/cover no-repeat;
}

.slide-cover__logos {
  position: absolute;
  left: 123px; top: 150px;
  display: flex; align-items: center; gap: 0;
  width: 565px; height: 136px;
}
.slide-cover__logo-sraco {
  width: 205px; height: auto; display: block;
  margin-top: 14px;
}
.slide-cover__logo-sep {
  width: 1px; height: 131px;
  background: rgba(255, 255, 255, 0.4);
  margin: 0 27px 0 28px;
}
.slide-cover__logo-srg {
  width: 251px; height: auto; display: block;
}

.slide-cover__lead {
  position: absolute;
  left: 80px; top: 450px;
  color: var(--white);
}
.slide-cover__lead-row { display: flex; align-items: flex-start; gap: 0; }
.slide-cover__lead-headline {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 123px;
  line-height: 1.016;
  letter-spacing: 0;
  color: var(--white);
}
.slide-cover__lead-small {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.2;
  color: var(--white);
}
.slide-cover__lead-row-1 {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 96px;
  align-items: end;
}
.slide-cover__lead-row-2 {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 6px;
}

.slide-cover__url-block {
  position: absolute;
  left: 80px; bottom: 96px;
}
.slide-cover__url-rule {
  width: 63px; height: 1px;
  background: var(--mint);
  margin-bottom: 22px;
}
.slide-cover__url {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 32px;
  color: var(--white);
  letter-spacing: 0;
}

/* ─── Slide 02 — About SRACO ────────────────────────────────── */
.slide-about {
  background: var(--bg);
  padding: 0;
}

.slide-about__eyebrow {
  position: absolute;
  left: 96px; top: 56px;
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.slide-about__eyebrow-rule {
  position: absolute;
  left: 96px; top: 96px;
  width: 56px; height: 1px;
  background: var(--mint);
}

.slide-about__headline {
  position: absolute;
  left: 96px; top: 172px;
  width: 1740px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 66px;
  line-height: 1.10;
  letter-spacing: 0;
  color: var(--white);
}
.slide-about__headline-mint {
  color: var(--mint);
}

.slide-about__body {
  position: absolute;
  left: 96px; top: 616px;
  width: 720px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.30;
  color: var(--white);
}
.slide-about__body p { margin: 0; }
.slide-about__body p + p { margin-top: 1.30em; }

.slide-about__stats {
  position: absolute;
  left: 960px; top: 566px;
  width: 865px;
  display: grid;
  grid-template-columns: 251px 196px 254px;
  column-gap: 82px;
}
.slide-about__stat-label {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.30;
  color: var(--white);
  margin-bottom: 16px;
}
.slide-about__stat-value {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 103px;
  line-height: 1;
  letter-spacing: 0;
  color: var(--mint);
}

.slide-about__classification {
  position: absolute;
  left: 960px; top: 781px;
  width: 720px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.10;
  color: var(--mint);
}

.slide-about__footer-num {
  position: absolute;
  left: 96px; bottom: 56px;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}
.slide-about__footer-num strong { color: rgba(255,255,255,0.85); font-weight: 700; }

.slide-about__brand {
  position: absolute;
  right: 96px; bottom: 56px;
  display: flex; flex-direction: column;
  align-items: flex-end;
  gap: 0;
  color: var(--mint);
  font-family: 'Inter', sans-serif;
}
.slide-about__brand-arabic { font-size: 22px; letter-spacing: 0.04em; }
.slide-about__brand-latin { font-size: 22px; font-weight: 700; letter-spacing: 0.08em; }

/* ════════════════════════════════════════════════════════════
   Slide 03 — Integrated IoT Smart Building Solutions for SJMB
   ──────────────────────────────────────────────────────────── */

.slide-iot {
  background:
    radial-gradient(900px 420px at 50% 56%, rgba(76,166,135,0.10), transparent 70%),
    radial-gradient(1400px 800px at 50% 50%, rgba(15,28,42,0.6), transparent 60%),
    linear-gradient(180deg, #07101a 0%, #050a12 100%);
}

/* Eyebrow + title */
.slide-iot__eyebrow {
  position: absolute;
  left: 96px; top: 88px;
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 13px; font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6fc7a9;
}
.slide-iot__eyebrow::before {
  content: '';
  display: inline-block;
  width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, #6fc7a9);
}
.slide-iot__eyebrow-marker {
  width: 8px; height: 8px;
  border: 1px solid #6fc7a9;
  transform: rotate(45deg);
  background: rgba(111,199,169,0.18);
}

.slide-iot__title {
  position: absolute;
  right: 96px; top: 60px;
  font-size: 64px; font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.05;
  background: linear-gradient(92deg, #7ef2e3 0%, #5ee3b0 60%, #4ca687 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: right;
}

/* ─── 3-column grid ─────────────────────────────────────────── */
.iot-grid {
  position: absolute;
  left: 60px; right: 60px;
  top: 148px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
}

/* Column container */
.iot-col {
  position: relative;
  padding: 24px 28px 32px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(76,166,135,0.04) 0%, rgba(76,166,135,0) 100%),
    rgba(255,255,255,0.015);
  border: 1px solid rgba(94,227,216,0.10);
}
.iot-col--center {
  background:
    radial-gradient(80% 60% at 50% 100%, rgba(94,227,216,0.20), transparent 70%),
    linear-gradient(180deg, rgba(94,227,216,0.06) 0%, rgba(76,166,135,0.02) 100%);
  border: 1px solid rgba(94,227,216,0.22);
  box-shadow:
    inset 0 0 0 1px rgba(94,227,216,0.06),
    0 30px 80px -20px rgba(94,227,216,0.18);
}

.iot-col__title {
  text-align: center;
  font-size: 34px;
  font-weight: 400;
  color: #6fe2c4;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.iot-col__subtitle {
  text-align: center;
  font-size: 20px;
  font-weight: 400;
  color: rgba(255,255,255,0.62);
  margin-bottom: 28px;
}
.iot-col__subtitle .iot-pill {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 18px;
  margin-left: 12px;
  border-radius: 999px;
  background: rgba(94,227,216,0.10);
  border: 1px solid rgba(94,227,216,0.35);
  color: #6fe2c4;
  font-size: 18px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 400;
  vertical-align: middle;
}

/* Small service cards (Other Vendors + Granlund) */
.iot-svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.iot-svc-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  height: 92px;
  border-radius: 14px;
  background: rgba(7, 18, 28, 0.55);
  border: 1px solid rgba(94,227,216,0.14);
  transition: border-color 200ms ease;
}
.iot-svc-card:hover { border-color: rgba(94,227,216,0.32); }
.iot-svc-card__icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: #6fe2c4;
}
.iot-svc-card__icon svg {
  width: 30px; height: 30px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.iot-svc-card__label {
  font-size: 20px;
  font-weight: 400;
  color: rgba(255,255,255,0.94);
  line-height: 1.18;
  letter-spacing: -0.005em;
}

/* Central card with holographic ring */
.iot-center-card {
  position: relative;
  margin: 0 auto;
  width: 100%;
  border-radius: 16px;
  background:
    radial-gradient(70% 50% at 50% 100%, rgba(94,227,216,0.16), transparent 70%),
    linear-gradient(180deg, rgba(7,18,28,0.85) 0%, rgba(8,22,30,0.55) 100%);
  border: 1px solid rgba(94,227,216,0.28);
  padding: 18px 22px 22px;
}
.iot-center-card__head {
  font-size: 22px;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.005em;
}
.iot-center-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  counter-reset: iot;
}
.iot-center-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  font-size: 20px;
  line-height: 1.25;
  color: rgba(255,255,255,0.94);
  border-radius: 10px;
  background: rgba(94, 227, 216, 0.04);
  border: 1px solid rgba(94, 227, 216, 0.10);
  transition: background-color 220ms ease, border-color 220ms ease;
}
.iot-center-list li:hover {
  background-color: rgba(94, 227, 216, 0.08);
  border-color: rgba(94, 227, 216, 0.20);
}
/* number → muted, pinned to the right */
.iot-center-list li::before {
  counter-increment: iot;
  content: counter(iot);
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.32);
  font-size: 17px;
  font-weight: 400;
  margin-left: auto;   /* pin right */
  order: 99;            /* push to end of flex row */
  flex-shrink: 0;
}
/* icon → pinned to the left */
.iot-cli-icon {
  order: -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  color: #6fe2c4;
  flex-shrink: 0;
}
.iot-cli-icon-svg {
  width: 24px; height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.iot-center-list--continue {
  counter-reset: iot 7;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(94,227,216,0.18);
}

/* Holographic ring */
.iot-hologram {
  position: relative;
  margin: 20px auto 0;
  width: 220px; height: 96px;
  display: flex; align-items: flex-end; justify-content: center;
  overflow: hidden;
}
.iot-hologram svg { width: 100%; height: 100%; }

/* API badges (between left and center) */
.iot-api-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 0;
  gap: 38px;
}
.iot-api-pill {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 22px;
  border-radius: 999px;
  background: rgba(7,18,28,0.85);
  border: 1px solid rgba(94,227,216,0.45);
  color: #6fe2c4;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.iot-api-rail::before {
  content: '';
  position: absolute;
  inset: 80px 50% auto auto;
  width: 1px;
  height: calc(100% - 160px);
  background: linear-gradient(180deg, transparent, rgba(94,227,216,0.4), transparent);
  transform: translateX(0.5px);
}

/* REST API vertical label (between center and right) */
.iot-rest-rail {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 0;
}
.iot-rest-rail__label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.62);
  padding: 18px 8px;
  background: rgba(7,18,28,0.6);
  border: 1px solid rgba(94,227,216,0.20);
  border-radius: 999px;
}

/* IoT grid layout reset — 5 columns: left col / api rail / center / rest rail / right col */
.iot-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) 64px minmax(0,1fr) 48px minmax(0,1fr);
  gap: 0;
  align-items: stretch;
}

/* ─── Bottom info cards ─────────────────────────────────────── */
.iot-bottom {
  position: absolute;
  left: 60px; right: 60px;
  bottom: 100px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 36px;
}
.iot-bottom-card {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 24px;
  align-items: center;
  padding: 26px 30px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(94,227,216,0.04), rgba(94,227,216,0.01)),
    rgba(7,18,28,0.55);
  border: 1px solid rgba(94,227,216,0.18);
}
.iot-bottom-card__icon {
  width: 100px; height: 100px;
  border-radius: 50%;
  border: 1px solid rgba(94,227,216,0.45);
  background: radial-gradient(circle at center, rgba(94,227,216,0.10), transparent 70%);
  display: flex; align-items: center; justify-content: center;
  color: #6fe2c4;
}
.iot-bottom-card__icon svg {
  width: 48px; height: 48px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.iot-bottom-card__title {
  font-size: 26px;
  font-weight: 400;
  color: #6fe2c4;
  margin-bottom: 8px;
  letter-spacing: -0.005em;
  line-height: 1.22;
}
.iot-bottom-card__body {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255,255,255,0.78);
}

/* City skyline silhouette bottom-right (very subtle) */
.slide-iot__skyline {
  position: absolute;
  right: 0; bottom: 0;
  width: 760px; height: 220px;
  pointer-events: none;
  background-image: url('../assets/cover-bg.png');
  background-position: right bottom;
  background-size: 1400px auto;
  background-repeat: no-repeat;
  opacity: 0.20;
  mask-image: linear-gradient(to top right, rgba(0,0,0,0.8), transparent 70%);
  -webkit-mask-image: linear-gradient(to top right, rgba(0,0,0,0.8), transparent 70%);
}

/* ─── Slide 03 footer / brand (reusing slide-about styles, scoped) ─── */
.slide-iot__footer-num {
  position: absolute;
  left: 96px; bottom: 36px;
  font-size: 13px; font-weight: 400;
  letter-spacing: 0.10em;
  color: rgba(255,255,255,0.5);
}
.slide-iot__footer-num strong { color: rgba(255,255,255,0.85); font-weight: 400; }

.slide-iot__brand {
  position: absolute;
  right: 96px; bottom: 36px;
  display: flex; flex-direction: column;
  align-items: flex-end;
  color: var(--mint);
}
.slide-iot__brand-arabic { font-size: 18px; letter-spacing: 0.04em; }
.slide-iot__brand-latin { font-size: 18px; font-weight: 400; letter-spacing: 0.10em; }

/* ─── Zoom controls ─────────────────────────────────────────── */
.zoom-controls {
  position: fixed;
  bottom: 24px; left: calc(var(--nav-w) + 24px);
  z-index: 100;
  display: flex; gap: 2px;
  padding: 4px;
  background: rgba(20, 20, 28, 0.85);
  backdrop-filter: blur(12px);
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}
.zoom-btn {
  appearance: none; border: 0; background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-family: inherit; font-size: 12px; font-weight: 500;
  letter-spacing: 0.02em; padding: 7px 14px;
  border-radius: 7px; cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
  min-width: 50px;
}
.zoom-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.zoom-btn.is-active { background: rgba(76,166,135,0.18); color: #fff; }
