:root {
  --navy-950: #0a1330;
  --navy-900: #0f1b3d;
  --navy-800: #16234f;
  --navy-700: #1e2f66;
  --teal-400: #2dd4bf;
  --teal-300: #5eead4;
  --ink: #1b2333;
  --muted: #5b6479;
  --paper: #ffffff;
  --paper-soft: #f4f6fb;
  --line: #e3e7f0;
  --radius: 18px;
  --gutter: clamp(2rem, 6vw, 5.5rem);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--navy-950);
  scroll-behavior: smooth;
}

body {
  height: 100vh;
  display: flex;
  align-items: center;
  gap: 3vw;
  padding: 0 3vw;
  box-sizing: border-box;
  overflow-x: scroll;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
}

.slide {
  position: relative;
  width: min(1200px, 90vw);
  max-height: 92vh;
  min-height: 60vh;
  flex: 0 0 auto;
  scroll-snap-align: center;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem var(--gutter) 3rem;
  background: var(--paper);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 27, 61, 0.25) transparent;
  box-shadow: 0 30px 60px -25px rgba(10, 19, 48, 0.35);
}
.slide::-webkit-scrollbar { width: 6px; }
.slide::-webkit-scrollbar-thumb { background: rgba(15, 27, 61, 0.2); border-radius: 999px; }
.slide--dark::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.25); }

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.slide > * { position: relative; z-index: 1; }

.slide--dark {
  background: linear-gradient(155deg, var(--navy-950), var(--navy-800));
  color: #fff;
}
.slide--dark::before { opacity: 0.08; filter: invert(1); }

.eyebrow {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-400);
  font-weight: 700;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--teal-400);
  border-radius: 2px;
}

.slide h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.slide h2.kicker {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  margin: 0 0 1.8rem;
  letter-spacing: -0.01em;
}

.slide p.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 46ch;
  margin: 0 0 2rem;
}
.slide--dark p.lede { color: #b9c2d9; }

.slide .kicker + .lede { margin-top: -1rem; }

.page-num {
  position: absolute;
  bottom: 2rem;
  right: var(--gutter);
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
  z-index: 2;
}
.slide--dark .page-num { color: #8b94ad; }

.brandmark {
  position: absolute;
  top: 2rem;
  left: var(--gutter);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 2;
}
.slide--dark .brandmark { color: #8b94ad; }

/* ---------- Cover (Slide 1) ---------- */
.cover {
  align-items: flex-start;
  gap: 2.5rem;
}
.cover .event-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-300);
  margin-bottom: 1.5rem;
}
.cover h1 {
  font-size: clamp(2.2rem, 5.2vw, 4.1rem);
  max-width: 18ch;
  color: #fff;
}
.cover .sub {
  font-size: 1.15rem;
  color: #cdd4e8;
  max-width: 40ch;
  margin-top: 1rem;
}
.cover-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cover-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: #b9c2d9;
  font-size: 0.95rem;
}
.qr-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
}
.qr-box img {
  width: 96px;
  height: 96px;
  background: #fff;
  border-radius: 10px;
  padding: 6px;
}
.qr-box .qr-caption {
  font-size: 0.85rem;
  color: #cdd4e8;
  max-width: 16ch;
}
.qr-box .qr-caption strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

/* ---------- Profile (Slide 2) ---------- */
.profile-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  align-items: center;
}
.profile-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--paper-soft);
  box-shadow: 0 20px 45px -20px rgba(15, 27, 61, 0.45);
}
.profile-name {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 0.3rem;
}
.profile-role {
  color: var(--teal-400);
  font-weight: 700;
  margin: 0 0 1.5rem;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 1.02rem;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.contact-list .tag {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--navy-900);
  color: var(--teal-300);
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ---------- Generic content blocks ---------- */
.card-row {
  display: grid;
  gap: 1.2rem;
}
.card {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.7rem;
}
.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 800;
}
.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.card .badge {
  display: inline-block;
  background: var(--navy-900);
  color: var(--teal-300);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}
.product-url {
  margin: 0.7rem 0 0;
  color: var(--teal-400) !important;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Project cards with image (Slide 6) */
.project-row {
  grid-template-columns: repeat(3, 1fr);
}
.project-card {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.project-card img {
  width: 100%;
  height: 108px;
  object-fit: cover;
  display: block;
}
.project-card .project-body {
  padding: 0.9rem 1.1rem 1.1rem;
}
.project-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 800;
}
.project-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

/* Timeline (Slide 5) */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 3px solid var(--line);
  padding-left: 2rem;
  margin-left: 0.4rem;
}
.timeline-item {
  position: relative;
  padding: 0 0 1.05rem;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.52rem;
  top: 0.25rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal-400);
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 2px var(--teal-400);
}
.timeline-item .year {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal-400);
  letter-spacing: 0.04em;
}
.timeline-item .role {
  font-weight: 800;
  font-size: 1.05rem;
  margin: 0.15rem 0 0.1rem;
}
.timeline-item .org {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Simple data table */
table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}
table.data-table th, table.data-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
}
table.data-table th {
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}
table.data-table tr:last-child td { border-bottom: none; }

/* Numbered list */
.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  width: 100%;
}
.step-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: 1.03rem;
  line-height: 1.5;
}
.step-list .num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--navy-900);
  color: var(--teal-300);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.slide--dark .step-list .num { background: rgba(255,255,255,0.1); color: var(--teal-300); }

.step-list strong { display: block; }
.step-list span.desc { color: var(--muted); font-size: 0.94rem; }
.slide--dark .step-list span.desc { color: #b9c2d9; }

/* Two column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Transition slide (7) */
.transition-slide {
  align-items: center;
  justify-content: center;
  text-align: center;
}
.transition-slide .quote {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 700;
  max-width: 26ch;
  line-height: 1.4;
  color: #fff;
}
.transition-slide .quote::before,
.transition-slide .quote::after {
  color: var(--teal-400);
}

/* Roadmap slides */
.roadmap-tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.5rem;
  background: var(--navy-900);
  color: var(--teal-300);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

/* Footer pesan kunci */
.key-message {
  margin-top: 2rem;
  padding: 1.1rem 1.4rem;
  border-left: 4px solid var(--teal-400);
  background: var(--paper-soft);
  border-radius: 0 12px 12px 0;
  font-size: 0.98rem;
  color: var(--navy-900);
  font-weight: 600;
}
.slide--dark .key-message {
  background: rgba(255,255,255,0.07);
  color: #fff;
}

/* Nav dots */
.nav-dots {
  position: fixed;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: row;
  gap: 0.55rem;
  z-index: 50;
}
.nav-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 27, 61, 0.25);
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s, background 0.2s;
}
.nav-dots button.active {
  background: var(--teal-400);
  transform: scale(1.35);
}

@media (max-width: 720px) {
  .profile-grid, .two-col { grid-template-columns: 1fr; }
  .nav-dots { display: none; }
  .cover-footer { flex-direction: column; align-items: flex-start; }
}

@media print {
  body { display: block; padding: 0; gap: 0; overflow: visible; scroll-snap-type: none; }
  .slide { width: 100%; height: auto; min-height: 100vh; border-radius: 0; box-shadow: none; page-break-after: always; }
  .nav-dots { display: none; }
}
