/* ============================================================
   DESIGN SYSTEM — Indigo Ink + Saffron Accent
   Fonts: Cormorant Garamond (display) + Manrope (body) + Space Mono (data)
============================================================ */

:root {
  --ink-900: #1B0A3C;
  --ink-800: #2D1660;
  --ink-700: #3D1E7C;
  --ink-600: #5A3A9E;
  --ink-400: #7B68EE;
  --ink-200: #C4B8F0;
  --ink-100: #E8E0F0;
  --ink-50:  #F5F2FC;

  --saffron-500: #E8A020;
  --saffron-400: #F0B840;
  --saffron-300: #F5CC70;
  --saffron-100: #FDF3DC;

  --amber-500: #D97706;
  --amber-400: #F59E0B;

  --white: #FFFFFF;
  --off-white: #F9F7FE;
  --gray-100: #EEE9F8;
  --gray-300: #C4B8D8;
  --gray-500: #8B7AAA;
  --gray-700: #4A3A6A;

  --success: #22C55E;
  --warning: #F59E0B;
  --danger: #EF4444;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --slide-w: 100vw;
  --slide-h: 100vh;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(27,10,60,0.12);
  --shadow-md: 0 8px 32px rgba(27,10,60,0.18);
  --shadow-lg: 0 20px 60px rgba(27,10,60,0.25);
  --shadow-glow: 0 0 40px rgba(123,104,238,0.3);
}

/* ============================================================ RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; overflow: hidden; }
body {
  font-family: var(--font-body);
  background: var(--ink-900);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ============================================================ PROGRESS BAR */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron-400), var(--ink-400));
  z-index: 1000;
  transition: width 0.5s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 0 12px var(--saffron-400);
}

/* ============================================================ SLIDE COUNTER */
.slide-counter {
  position: fixed;
  bottom: 32px; left: 40px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-300);
  letter-spacing: 0.1em;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 6px;
}
.slide-counter .divider { color: var(--gray-500); }
#currentSlide { color: var(--saffron-400); font-weight: 700; }

/* ============================================================ NAV CONTROLS */
.nav-controls {
  position: fixed;
  bottom: 28px; right: 40px;
  display: flex;
  gap: 10px;
  z-index: 100;
}
.nav-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}
.nav-btn:hover {
  background: rgba(123,104,238,0.3);
  border-color: var(--ink-400);
  transform: scale(1.05);
}
.nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* ============================================================ DOT NAV */
.dot-nav {
  position: fixed;
  right: 20px; top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 100;
}
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: all 0.3s ease;
}
.dot.active {
  background: var(--saffron-400);
  box-shadow: 0 0 8px var(--saffron-400);
  transform: scale(1.4);
}
.dot:hover { background: var(--ink-200); }

/* ============================================================ SLIDES BASE */
.slide {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1),
              transform 0.6s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
  overflow: hidden;
}
.slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}
.slide.exit-left {
  opacity: 0;
  transform: translateX(-60px);
}

.slide-inner {
  width: 100%;
  max-width: 1100px;
  padding: 60px 80px;
  position: relative;
  z-index: 2;
}
.slide-inner.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ============================================================ SLIDE HEADER */
.slide-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--saffron-400);
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}
.slide-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 32px;
}
.slide-title em {
  font-style: italic;
  color: var(--saffron-400);
}
.slide-header { margin-bottom: 36px; }

/* ============================================================ SLIDE 1 — COVER */
.slide-cover {
  background: var(--ink-900);
}
.cover-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(123,104,238,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123,104,238,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}
.cover-accent-line {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--saffron-400), var(--ink-400), transparent);
  z-index: 3;
}
.cover-content {
  position: relative;
  z-index: 3;
  max-width: 600px;
  padding: 80px 80px 80px 100px;
}
.cover-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--saffron-400);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--saffron-400);
  box-shadow: 0 0 8px var(--saffron-400);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}
.cover-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 700;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.cover-title em {
  font-style: italic;
  color: var(--saffron-400);
  display: block;
}
.cover-subtitle-block {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 48px;
}
.cover-rule {
  width: 3px;
  height: 60px;
  background: linear-gradient(180deg, var(--saffron-400), transparent);
  flex-shrink: 0;
  margin-top: 4px;
}
.cover-subtitle {
  font-size: 16px;
  font-weight: 400;
  color: var(--gray-300);
  line-height: 1.6;
  max-width: 380px;
}
.cover-meta {
  display: flex;
  gap: 32px;
}
.cover-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.meta-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--gray-500);
  text-transform: uppercase;
}
.meta-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-200);
}
.cover-visual {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 45%;
  z-index: 1;
  overflow: hidden;
}
.cover-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}
.cover-orb-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(123,104,238,0.4), transparent 70%);
  top: -100px; right: -100px;
}
.cover-orb-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(232,160,32,0.25), transparent 70%);
  bottom: 50px; right: 100px;
}
.cover-orb-3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(61,30,124,0.6), transparent 70%);
  top: 50%; right: 50px;
}
.cover-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(123,104,238,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123,104,238,0.1) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ============================================================ SLIDE 2 — PROBLEM */
.slide-problem {
  background: linear-gradient(135deg, var(--ink-900) 0%, #0D0520 100%);
}
.slide-bg-geo {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(123,104,238,0.08) 0%, transparent 50%),
                    radial-gradient(circle at 20% 80%, rgba(232,160,32,0.05) 0%, transparent 40%);
  z-index: 0;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.problem-stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}
.problem-stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--saffron-400), var(--ink-400));
}
.problem-stat-card:hover { border-color: rgba(123,104,238,0.3); }
.stat-number {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  color: var(--saffron-400);
  line-height: 1;
  display: inline;
}
.stat-plus, .stat-unit {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  color: var(--saffron-300);
  display: inline;
  vertical-align: top;
  margin-top: 8px;
}
.stat-desc {
  font-size: 13px;
  color: var(--gray-300);
  line-height: 1.5;
  margin-top: 8px;
}
.problem-pain-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  transition: background 0.2s;
}
.pain-item:hover { background: rgba(255,255,255,0.06); }
.pain-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}
.pain-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pain-text strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}
.pain-text span {
  font-size: 12px;
  color: var(--gray-300);
  line-height: 1.5;
}

/* ============================================================ SLIDE 3 — SOLUTION */
.slide-solution {
  background: linear-gradient(160deg, #0D0520 0%, var(--ink-900) 100%);
}
.solution-diagram {
  position: relative;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.sol-center {
  position: absolute;
  z-index: 3;
}
.sol-core {
  width: 110px; height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ink-700), var(--ink-600));
  border: 2px solid var(--saffron-400);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 0 40px rgba(232,160,32,0.3), var(--shadow-glow);
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.sol-core-icon { font-size: 28px; }
.sol-core-label {
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  color: var(--saffron-300);
  line-height: 1.3;
  letter-spacing: 0.05em;
}
.sol-spokes {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.sol-spoke {
  position: absolute;
  display: flex;
  align-items: center;
}
.sol-spoke-1 { top: 10px; left: 50%; transform: translateX(-50%); flex-direction: column; }
.sol-spoke-2 { top: 50%; right: 60px; transform: translateY(-50%); flex-direction: row-reverse; }
.sol-spoke-3 { bottom: 10px; right: 120px; flex-direction: column-reverse; }
.sol-spoke-4 { bottom: 10px; left: 120px; flex-direction: column-reverse; }
.sol-spoke-5 { top: 50%; left: 60px; transform: translateY(-50%); }

.spoke-line {
  background: linear-gradient(var(--ink-400), var(--saffron-400));
  opacity: 0.4;
}
.sol-spoke-1 .spoke-line, .sol-spoke-3 .spoke-line, .sol-spoke-4 .spoke-line { width: 2px; height: 80px; }
.sol-spoke-2 .spoke-line, .sol-spoke-5 .spoke-line { width: 80px; height: 2px; }

.spoke-node {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(123,104,238,0.3);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 120px;
  text-align: center;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}
.spoke-node:hover {
  background: rgba(123,104,238,0.15);
  border-color: var(--ink-400);
  transform: scale(1.05);
}
.spoke-icon { font-size: 22px; }
.spoke-node span {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-200);
  letter-spacing: 0.03em;
}
.solution-tagline {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-500);
  letter-spacing: 0.08em;
  padding: 14px 24px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  display: inline-block;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

/* ============================================================ SLIDE 4 — PAYROLL */
.slide-payroll {
  background: linear-gradient(135deg, var(--ink-900) 0%, #150830 100%);
}
.col-desc {
  font-size: 14px;
  color: var(--gray-300);
  line-height: 1.7;
  margin-bottom: 28px;
  margin-top: -16px;
}
.payroll-deductions { display: flex; flex-direction: column; gap: 12px; }
.deduction-row {
  display: grid;
  grid-template-columns: 140px 1fr 50px;
  align-items: center;
  gap: 12px;
}
.ded-name {
  font-size: 12px;
  color: var(--gray-300);
  font-weight: 500;
}
.ded-bar-wrap {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  overflow: hidden;
}
.ded-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--ink-400), var(--saffron-400));
  border-radius: 100px;
  transition: width 1.5s cubic-bezier(0.4,0,0.2,1);
}
.ded-pct {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--saffron-400);
  text-align: right;
}

/* Payslip Card */
.payslip-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 28px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
}
.payslip-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.payslip-logo {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--ink-600), var(--saffron-500));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}
.payslip-company {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}
.payslip-month {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gray-500);
  letter-spacing: 0.08em;
}
.payslip-employee {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 14px;
  background: rgba(123,104,238,0.1);
  border-radius: var(--radius-md);
  border: 1px solid rgba(123,104,238,0.2);
}
.emp-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ink-600), var(--ink-400));
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.emp-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}
.emp-role {
  font-size: 11px;
  color: var(--gray-500);
  margin-top: 2px;
}
.payslip-rows { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.ps-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--gray-300);
  padding: 4px 0;
}
.ps-row.deduction span:last-child { color: #F87171; }
.payslip-net {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(232,160,32,0.15), rgba(123,104,238,0.15));
  border-radius: var(--radius-md);
  border: 1px solid rgba(232,160,32,0.3);
  margin-top: 8px;
}
.payslip-net span:first-child {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.net-amount {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--saffron-400);
}

/* ============================================================ SLIDE 5 — REGISTERS */
.slide-registers {
  background: linear-gradient(160deg, #0D0520 0%, var(--ink-900) 100%);
}
.register-table-wrap {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
}
.reg-table-header {
  display: grid;
  grid-template-columns: 2fr 2fr 80px;
  padding: 12px 20px;
  background: rgba(123,104,238,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--gray-500);
  text-transform: uppercase;
}
.reg-row {
  display: grid;
  grid-template-columns: 2fr 2fr 80px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  align-items: center;
  transition: background 0.2s;
}
.reg-row:last-child { border-bottom: none; }
.reg-row:hover { background: rgba(255,255,255,0.04); }
.reg-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}
.reg-law {
  font-size: 12px;
  color: var(--gray-500);
}
.reg-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 100px;
  text-align: center;
}
.reg-badge.auto {
  background: rgba(34,197,94,0.15);
  color: #4ADE80;
  border: 1px solid rgba(34,197,94,0.3);
}
.register-note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--saffron-400);
  letter-spacing: 0.06em;
  text-align: center;
  padding: 12px;
  border: 1px solid rgba(232,160,32,0.2);
  border-radius: var(--radius-md);
  background: rgba(232,160,32,0.05);
}

/* ============================================================ SLIDE 6 — CALENDAR */
.slide-calendar {
  background: linear-gradient(135deg, var(--ink-900) 0%, #0D0520 100%);
}
.alert-channels { display: flex; flex-direction: column; gap: 14px; }
.channel-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  transition: all 0.2s;
}
.channel-item:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(123,104,238,0.3);
}
.channel-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.channel-icon.whatsapp { background: rgba(37,211,102,0.15); }
.channel-icon.email { background: rgba(123,104,238,0.15); }
.channel-icon.dashboard { background: rgba(232,160,32,0.15); }
.channel-info { display: flex; flex-direction: column; gap: 3px; }
.channel-info strong { font-size: 13px; font-weight: 700; color: var(--white); }
.channel-info span { font-size: 11px; color: var(--gray-500); }

.calendar-widget {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 24px;
  backdrop-filter: blur(20px);
}
.cal-month {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.cal-deadlines { display: flex; flex-direction: column; gap: 10px; }
.cal-item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all 0.2s;
}
.cal-item.urgent {
  background: rgba(239,68,68,0.08);
  border-color: rgba(239,68,68,0.2);
}
.cal-item.warning {
  background: rgba(245,158,11,0.08);
  border-color: rgba(245,158,11,0.2);
}
.cal-item.normal {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.06);
}
.cal-date {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  line-height: 1;
}
.cal-detail { display: flex; flex-direction: column; gap: 3px; }
.cal-detail strong { font-size: 13px; font-weight: 700; color: var(--white); }
.cal-detail span { font-size: 11px; color: var(--gray-500); }
.cal-status {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.06em;
}
.cal-status.overdue { background: rgba(239,68,68,0.2); color: #F87171; }
.cal-status.upcoming { background: rgba(245,158,11,0.2); color: #FCD34D; }
.cal-status.safe { background: rgba(34,197,94,0.15); color: #4ADE80; }

/* ============================================================ SLIDE 7 — TECH */
.slide-tech {
  background: linear-gradient(160deg, #0D0520 0%, var(--ink-900) 100%);
}
.tech-layers { display: flex; flex-direction: column; gap: 14px; }
.tech-layer {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 20px;
}
.layer-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--gray-500);
  text-transform: uppercase;
  text-align: right;
}
.layer-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-chip {
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: all 0.2s;
  cursor: default;
}
.tech-chip:hover { transform: translateY(-2px); }
.tech-chip.ai { background: rgba(232,160,32,0.12); border-color: rgba(232,160,32,0.3); color: var(--saffron-300); }
.tech-chip.fe { background: rgba(123,104,238,0.12); border-color: rgba(123,104,238,0.3); color: var(--ink-200); }
.tech-chip.be { background: rgba(34,197,94,0.08); border-color: rgba(34,197,94,0.25); color: #86EFAC; }
.tech-chip.int { background: rgba(59,130,246,0.1); border-color: rgba(59,130,246,0.25); color: #93C5FD; }
.tech-chip.infra { background: rgba(168,85,247,0.1); border-color: rgba(168,85,247,0.25); color: #D8B4FE; }

/* ============================================================ SLIDE 8 — ROADMAP */
.slide-roadmap {
  background: linear-gradient(135deg, var(--ink-900) 0%, #150830 100%);
}
.roadmap-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 40px;
}
.timeline-track {
  position: absolute;
  top: 20px; left: 12%; right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--saffron-400), var(--ink-400), var(--ink-600), rgba(123,104,238,0.3));
  z-index: 0;
}
.phase-card {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 24px 20px 20px;
  transition: all 0.3s;
  z-index: 1;
}
.phase-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(123,104,238,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.phase-dot {
  position: absolute;
  top: -30px; left: 50%;
  transform: translateX(-50%);
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid var(--saffron-400);
  background: var(--ink-900);
  box-shadow: 0 0 12px var(--saffron-400);
}
.phase-1 .phase-dot { background: var(--saffron-400); }
.phase-2 .phase-dot { background: var(--ink-400); border-color: var(--ink-400); box-shadow: 0 0 12px var(--ink-400); }
.phase-period {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--saffron-400);
  margin-bottom: 8px;
}
.phase-2 .phase-period { color: var(--ink-400); }
.phase-3 .phase-period { color: var(--ink-200); }
.phase-4 .phase-period { color: var(--gray-500); }
.phase-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.phase-items {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.phase-items span {
  font-size: 12px;
  color: var(--gray-300);
  padding-left: 14px;
  position: relative;
  line-height: 1.4;
}
.phase-items span::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--saffron-400);
  font-size: 10px;
}

/* ============================================================ SLIDE 9 — COMPETITIVE */
.slide-competitive {
  background: linear-gradient(160deg, #0D0520 0%, var(--ink-900) 100%);
}
.comp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.comp-feature {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.comp-feature::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ink-400), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.comp-feature:hover::after { opacity: 1; }
.comp-feature:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(123,104,238,0.3);
  transform: translateY(-4px);
}
.comp-feature.highlight {
  background: rgba(232,160,32,0.08);
  border-color: rgba(232,160,32,0.3);
}
.comp-feature.highlight::after {
  background: linear-gradient(90deg, var(--saffron-400), transparent);
  opacity: 1;
}
.comp-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}
.comp-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.comp-desc {
  font-size: 12px;
  color: var(--gray-300);
  line-height: 1.6;
}
.comp-desc strong { color: var(--saffron-400); }
.comp-vs {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.vs-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-500);
  letter-spacing: 0.08em;
  white-space: nowrap;
  flex-shrink: 0;
}
.vs-desc {
  font-size: 13px;
  color: var(--gray-300);
  line-height: 1.5;
}
.vs-desc strong { color: var(--saffron-400); }

/* ============================================================ SLIDE 10 — CTA */
.slide-cta {
  background: var(--ink-900);
  justify-content: flex-start;
}
.cta-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(123,104,238,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123,104,238,0.07) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 0;
}
.cta-content {
  position: relative;
  z-index: 3;
  padding: 80px 100px;
  max-width: 700px;
}
.cta-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--saffron-400);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}
.cta-headline em {
  font-style: italic;
  color: var(--saffron-400);
}
.cta-stats-row {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 40px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cta-stat {
  flex: 1;
  padding: 20px 24px;
  text-align: center;
}
.cta-stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--saffron-400);
  line-height: 1;
  margin-bottom: 6px;
}
.cta-stat-label {
  font-size: 11px;
  color: var(--gray-500);
  line-height: 1.4;
}
.cta-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.cta-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}
.cta-btn {
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 0.04em;
}
.cta-btn.primary {
  background: linear-gradient(135deg, var(--saffron-500), var(--saffron-400));
  color: var(--ink-900);
  box-shadow: 0 8px 24px rgba(232,160,32,0.35);
}
.cta-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(232,160,32,0.5);
}
.cta-btn.secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}
.cta-btn.secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.4);
}
.cta-footer {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gray-700);
  letter-spacing: 0.1em;
}
.cta-visual {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 40%;
  z-index: 1;
  overflow: hidden;
}
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.cta-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(123,104,238,0.35), transparent 70%);
  top: -100px; right: -150px;
}
.cta-orb-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(232,160,32,0.2), transparent 70%);
  bottom: 0; right: 50px;
}

/* ============================================================ ANIMATIONS */
.slide.active .slide-title,
.slide.active .slide-label,
.slide.active .col-desc {
  animation: fadeUp 0.6s cubic-bezier(0.4,0,0.2,1) both;
}
.slide.active .slide-label { animation-delay: 0.1s; }
.slide.active .slide-title { animation-delay: 0.2s; }
.slide.active .col-desc { animation-delay: 0.3s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.slide.active .problem-stat-card:nth-child(1) { animation: fadeUp 0.5s 0.3s both; }
.slide.active .problem-stat-card:nth-child(2) { animation: fadeUp 0.5s 0.4s both; }
.slide.active .problem-stat-card:nth-child(3) { animation: fadeUp 0.5s 0.5s both; }
.slide.active .pain-item:nth-child(1) { animation: fadeUp 0.5s 0.5s both; }
.slide.active .pain-item:nth-child(2) { animation: fadeUp 0.5s 0.6s both; }
.slide.active .pain-item:nth-child(3) { animation: fadeUp 0.5s 0.7s both; }
.slide.active .pain-item:nth-child(4) { animation: fadeUp 0.5s 0.8s both; }

.slide.active .reg-row:nth-child(2) { animation: fadeUp 0.4s 0.3s both; }
.slide.active .reg-row:nth-child(3) { animation: fadeUp 0.4s 0.35s both; }
.slide.active .reg-row:nth-child(4) { animation: fadeUp 0.4s 0.4s both; }
.slide.active .reg-row:nth-child(5) { animation: fadeUp 0.4s 0.45s both; }
.slide.active .reg-row:nth-child(6) { animation: fadeUp 0.4s 0.5s both; }
.slide.active .reg-row:nth-child(7) { animation: fadeUp 0.4s 0.55s both; }
.slide.active .reg-row:nth-child(8) { animation: fadeUp 0.4s 0.6s both; }
.slide.active .reg-row:nth-child(9) { animation: fadeUp 0.4s 0.65s both; }

.slide.active .phase-card:nth-child(2) { animation: fadeUp 0.5s 0.3s both; }
.slide.active .phase-card:nth-child(3) { animation: fadeUp 0.5s 0.4s both; }
.slide.active .phase-card:nth-child(4) { animation: fadeUp 0.5s 0.5s both; }
.slide.active .phase-card:nth-child(5) { animation: fadeUp 0.5s 0.6s both; }

.slide.active .comp-feature:nth-child(1) { animation: fadeUp 0.5s 0.3s both; }
.slide.active .comp-feature:nth-child(2) { animation: fadeUp 0.5s 0.4s both; }
.slide.active .comp-feature:nth-child(3) { animation: fadeUp 0.5s 0.5s both; }
.slide.active .comp-feature:nth-child(4) { animation: fadeUp 0.5s 0.6s both; }

.slide.active .tech-layer:nth-child(1) { animation: fadeUp 0.4s 0.2s both; }
.slide.active .tech-layer:nth-child(2) { animation: fadeUp 0.4s 0.3s both; }
.slide.active .tech-layer:nth-child(3) { animation: fadeUp 0.4s 0.4s both; }
.slide.active .tech-layer:nth-child(4) { animation: fadeUp 0.4s 0.5s both; }
.slide.active .tech-layer:nth-child(5) { animation: fadeUp 0.4s 0.6s both; }

/* ============================================================ RESPONSIVE */
@media (max-width: 900px) {
  .slide-inner { padding: 40px 32px; }
  .slide-inner.two-col { grid-template-columns: 1fr; gap: 32px; }
  .problem-grid { grid-template-columns: 1fr; }
  .comp-grid { grid-template-columns: 1fr 1fr; }
  .roadmap-timeline { grid-template-columns: 1fr 1fr; }
  .cover-visual { display: none; }
  .cta-visual { display: none; }
  .cta-content { padding: 60px 40px; }
}