/* ============================================================
   DUBAI CRYPTO ALGORITHM IT COMPANY — PITCH DECK
   Premium Dark-Mode Fullscreen Presentation Stylesheet
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================================
   1. CSS VARIABLES & RESET
   ============================================================ */
:root {
  /* Backgrounds */
  --bg-primary:   #0a0a1a;
  --bg-secondary: #12122a;
  --bg-card:      rgba(255, 255, 255, 0.05);

  /* Accent palette */
  --cyan:   #00d4ff;
  --purple: #7c3aed;
  --gold:   #f59e0b;
  --green:  #10b981;
  --red:    #ef4444;

  /* Text */
  --text-primary:   #f1f5f9;
  --text-secondary: #94a3b8;

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Misc */
  --radius:     16px;
  --radius-sm:  10px;
  --radius-pill: 100px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
}

ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::selection {
  background: rgba(0, 212, 255, 0.3);
  color: #fff;
}

/* ============================================================
   2. SLIDE ENGINE LAYOUT
   ============================================================ */
.presentation-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg-primary);
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
  z-index: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

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

/* Subtle dot-grid pattern overlay */
.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

.slide-content {
  position: relative;
  max-width: 1200px;
  width: 90%;
  padding: 2rem 0;
  z-index: 1;
}

.slide-number {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-secondary);
  opacity: 0.5;
  letter-spacing: 0.05em;
  z-index: 2;
}

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 3.5rem;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.2rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

h4 {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.subtitle {
  font-size: 1.3rem;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

p, li {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

p {
  margin-bottom: 1rem;
}

strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Statistic numbers */
.stat-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-number.gold {
  background: linear-gradient(135deg, var(--gold), #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
}

.stat-number.green {
  background: linear-gradient(135deg, var(--green), #34d399);
  -webkit-background-clip: text;
  background-clip: text;
}

.stat-number.cyan {
  background: linear-gradient(135deg, var(--cyan), #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
}

.stat-number.purple {
  background: linear-gradient(135deg, var(--purple), #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
}

.stat-unit {
  font-size: 0.5em;
  font-weight: 400;
  opacity: 0.7;
}

/* Highlight text */
.highlight-cyan   { color: var(--cyan); }
.highlight-purple { color: var(--purple); }
.highlight-gold   { color: var(--gold); }
.highlight-green  { color: var(--green); }
.highlight-red    { color: var(--red); }

/* Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-recommended {
  display: inline-block;
  padding: 0.25rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--green), #34d399);
  color: #fff;
  text-transform: uppercase;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.35);
  white-space: nowrap;
}

.badge-gold {
  background: linear-gradient(135deg, var(--gold), #fbbf24);
}

.badge-purple {
  background: linear-gradient(135deg, var(--purple), #a78bfa);
}

.badge-red {
  background: linear-gradient(135deg, var(--red), #f87171);
}

/* ============================================================
   4. GLASSMORPHISM CARDS
   ============================================================ */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color var(--transition),
              transform var(--transition),
              box-shadow var(--transition);
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.glass-card.cyan-glow {
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.08),
              inset 0 1px 0 rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.15);
}

.glass-card.cyan-glow:hover {
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.15),
              inset 0 1px 0 rgba(0, 212, 255, 0.15);
  border-color: rgba(0, 212, 255, 0.3);
}

.glass-card.purple-glow {
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.08),
              inset 0 1px 0 rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.15);
}

.glass-card.purple-glow:hover {
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.15),
              inset 0 1px 0 rgba(124, 58, 237, 0.15);
  border-color: rgba(124, 58, 237, 0.3);
}

.glass-card.gold-glow {
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.08),
              inset 0 1px 0 rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.15);
}

.glass-card.gold-glow:hover {
  box-shadow: 0 0 40px rgba(245, 158, 11, 0.15),
              inset 0 1px 0 rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.3);
}

.glass-card.green-glow {
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.08),
              inset 0 1px 0 rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.15);
}

.glass-card.green-glow:hover {
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.15),
              inset 0 1px 0 rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
}

.glass-card.no-hover:hover {
  transform: none;
}

/* ============================================================
   5. GRID LAYOUTS
   ============================================================ */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

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

.stats-row {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: flex-start;
  gap: 1.5rem;
  text-align: center;
}

.stats-row .stat-item {
  flex: 1;
}

/* ============================================================
   6. COMPARISON TABLE
   ============================================================ */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: var(--font-body);
}

.comparison-table thead th {
  background: rgba(124, 58, 237, 0.15);
  padding: 1rem 1.25rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: left;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(124, 58, 237, 0.25);
}

.comparison-table thead th:first-child {
  border-radius: var(--radius-sm) 0 0 0;
}

.comparison-table thead th:last-child {
  border-radius: 0 var(--radius-sm) 0 0;
}

.comparison-table tbody td {
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background var(--transition-fast);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:last-child td:first-child {
  border-radius: 0 0 0 var(--radius-sm);
}

.comparison-table tbody tr:last-child td:last-child {
  border-radius: 0 0 var(--radius-sm) 0;
}

.comparison-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

.comparison-table .recommended-row {
  background: rgba(16, 185, 129, 0.06);
}

.comparison-table .recommended-row td {
  border-left: none;
  color: var(--text-primary);
}

.comparison-table .recommended-row td:first-child {
  border-left: 3px solid var(--green);
  font-weight: 600;
}

.comparison-table .recommended-row:hover td {
  background: rgba(16, 185, 129, 0.1);
}

/* Check / X indicators */
.comparison-table .check {
  color: var(--green);
  font-weight: 700;
}

.comparison-table .cross {
  color: var(--red);
  opacity: 0.6;
}

/* ============================================================
   7. TIMELINE
   ============================================================ */
.timeline {
  display: flex;
  position: relative;
  padding: 2rem 0;
  gap: 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: calc(2rem + 8px);
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--purple), var(--gold));
  z-index: 0;
  border-radius: 1px;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  flex: 1;
  gap: 0.75rem;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  border: 3px solid var(--bg-primary);
  z-index: 2;
  transition: transform var(--transition), box-shadow var(--transition);
  flex-shrink: 0;
}

.timeline-item.active .timeline-dot {
  transform: scale(1.3);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.5),
              0 0 40px rgba(0, 212, 255, 0.2);
  animation: dotPulse 2s ease-in-out infinite;
}

.timeline-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  order: -1;
}

.timeline-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.8rem;
  text-align: center;
  width: 95%;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), transform var(--transition);
}

.timeline-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.timeline-card h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.timeline-card h3 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.timeline-card p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 0.2rem;
  line-height: 1.4;
  flex: 1;
}

.timeline-cost {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold);
  margin-top: auto;
}

.timeline-valuation {
  font-size: 0.65rem;
  font-weight: 800;
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  margin-top: 0.4rem;
  display: inline-block;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.3);
}

/* ============================================================
   8. FLOW DIAGRAM
   ============================================================ */
.flow-diagram {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.flow-step {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  text-align: center;
  min-width: 140px;
  transition: border-color var(--transition), transform var(--transition);
}

.flow-step:hover {
  border-color: rgba(0, 212, 255, 0.25);
  transform: translateY(-2px);
}

.flow-step .flow-icon {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  display: block;
}

.flow-step .flow-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.flow-step .flow-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.flow-arrow {
  width: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--cyan);
  font-size: 0;
}

.flow-arrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--cyan);
}

.flow-arrow::after {
  content: '';
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--cyan);
}

/* Vertical flow */
.flow-diagram.vertical {
  flex-direction: column;
}

.flow-diagram.vertical .flow-arrow {
  width: auto;
  height: 40px;
  flex-direction: column;
}

.flow-diagram.vertical .flow-arrow::before {
  width: 2px;
  height: 24px;
}

.flow-diagram.vertical .flow-arrow::after {
  border-top: 8px solid var(--cyan);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: none;
}

/* ============================================================
   9. LAYER STACK (VCP Architecture)
   ============================================================ */
.layer-stack {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.5rem;
}

.layer {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform var(--transition),
              border-color var(--transition),
              box-shadow var(--transition);
  position: relative;
}

.layer:hover {
  transform: translateX(8px);
}

/* Layer color coding */
.layer.layer-1 {
  border-left: 3px solid var(--cyan);
}

.layer.layer-1:hover {
  box-shadow: -4px 0 20px rgba(0, 212, 255, 0.1);
}

.layer.layer-2 {
  border-left: 3px solid var(--purple);
}

.layer.layer-2:hover {
  box-shadow: -4px 0 20px rgba(124, 58, 237, 0.1);
}

.layer.layer-3 {
  border-left: 3px solid var(--gold);
}

.layer.layer-3:hover {
  box-shadow: -4px 0 20px rgba(245, 158, 11, 0.1);
}

.layer-number {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

.layer.layer-1 .layer-number {
  background: rgba(0, 212, 255, 0.15);
  color: var(--cyan);
}

.layer.layer-2 .layer-number {
  background: rgba(124, 58, 237, 0.15);
  color: var(--purple);
}

.layer.layer-3 .layer-number {
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold);
}

.layer-info {
  flex: 1;
}

.layer-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
  white-space: nowrap;
}

.layer-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================================
   10. DONUT CHART (Pure CSS)
   ============================================================ */
.donut-chart-container {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.donut-chart-wrapper {
  position: relative;
  width: 200px;
  height: 200px;
  flex-shrink: 0;
}

.donut-chart {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  position: relative;
  background: conic-gradient(
    var(--cyan)   0deg   var(--seg1, 90deg),
    var(--purple) var(--seg1, 90deg) var(--seg2, 180deg),
    var(--gold)   var(--seg2, 180deg) var(--seg3, 270deg),
    var(--green)  var(--seg3, 270deg) var(--seg4, 330deg),
    rgba(255,255,255,0.08) var(--seg4, 330deg) 360deg
  );
  transition: transform var(--transition);
}

.donut-chart::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  border-radius: 50%;
  background: var(--bg-primary);
}

.donut-chart-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1;
}

.donut-chart-center .amount {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
}

.donut-chart-center .label {
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.donut-legend {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.donut-legend-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.donut-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.donut-legend-dot.cyan   { background: var(--cyan); }
.donut-legend-dot.purple { background: var(--purple); }
.donut-legend-dot.gold   { background: var(--gold); }
.donut-legend-dot.green  { background: var(--green); }
.donut-legend-dot.red    { background: var(--red); }
.donut-legend-dot.muted  { background: rgba(255, 255, 255, 0.15); }

.donut-legend-value {
  margin-left: auto;
  font-weight: 600;
  color: var(--text-primary);
}

/* ============================================================
   11. NAVIGATION
   ============================================================ */
.nav-dots {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: row;
  gap: 8px;
  z-index: 1000;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background var(--transition-fast),
              transform var(--transition-fast),
              width var(--transition-fast);
  border: none;
  outline: none;
}

.nav-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.nav-dot.active {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.2);
  width: 20px;
  border-radius: 4px;
}

.slide-counter {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-secondary);
  opacity: 0.6;
  z-index: 1000;
  letter-spacing: 0.05em;
}

.slide-counter .current {
  color: var(--text-primary);
  font-weight: 600;
}

/* Prev / Next arrows */
.nav-prev,
.nav-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity var(--transition-fast), background var(--transition-fast);
  color: var(--text-primary);
  font-size: 1.1rem;
}

.nav-prev { left: 1.5rem; }
.nav-next { right: 1.5rem; }

.nav-prev:hover,
.nav-next:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
}

/* Progress bar */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--purple), var(--gold));
  z-index: 1001;
  transition: width 0.4s ease;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

/* ============================================================
   12. ANIMATIONS & KEYFRAMES
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes dotPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5),
                0 0 40px rgba(0, 212, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.7),
                0 0 60px rgba(0, 212, 255, 0.3);
  }
}

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

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-10deg) scale(0.9);
  }
  to {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
}

/* Build-in system */
.build-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.build-in.visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Directional variants */
.build-in.from-left {
  transform: translateX(-30px);
}

.build-in.from-right {
  transform: translateX(30px);
}

.build-in.scale {
  transform: scale(0.8);
}

/* Staggered delay — up to 10 children */
.build-in:nth-child(1)  { transition-delay: 0.0s; }
.build-in:nth-child(2)  { transition-delay: 0.1s; }
.build-in:nth-child(3)  { transition-delay: 0.2s; }
.build-in:nth-child(4)  { transition-delay: 0.3s; }
.build-in:nth-child(5)  { transition-delay: 0.4s; }
.build-in:nth-child(6)  { transition-delay: 0.5s; }
.build-in:nth-child(7)  { transition-delay: 0.6s; }
.build-in:nth-child(8)  { transition-delay: 0.7s; }
.build-in:nth-child(9)  { transition-delay: 0.8s; }
.build-in:nth-child(10) { transition-delay: 0.9s; }

/* ============================================================
   13. BACKGROUND EFFECTS
   ============================================================ */
.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.3;
}

.gradient-orb.cyan {
  background: radial-gradient(circle, var(--cyan), transparent 70%);
}

.gradient-orb.purple {
  background: radial-gradient(circle, var(--purple), transparent 70%);
}

.gradient-orb.gold {
  background: radial-gradient(circle, var(--gold), transparent 70%);
}

.gradient-orb.sm {
  width: 200px;
  height: 200px;
}

.gradient-orb.md {
  width: 400px;
  height: 400px;
}

.gradient-orb.lg {
  width: 600px;
  height: 600px;
}

/* Floating animation for orbs */
.gradient-orb.animate {
  animation: float 8s ease-in-out infinite;
}

/* ============================================================
   14. SPECIAL SLIDE STYLES
   ============================================================ */

/* --- Title Slide (Slide 1) --- */
.slide-title {
  text-align: center;
}

.slide-title .slide-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.slide-title h1 {
  font-size: 4.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 50%, var(--gold) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 6s ease-in-out infinite;
}

.slide-title .tagline {
  font-family: var(--font-body);
  font-size: 1.5rem;
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 700px;
  line-height: 1.6;
}

.slide-title .company-badge {
  margin-bottom: 1.5rem;
}

/* --- Icon Grid (Wio Bank features, etc.) --- */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.icon-grid-item {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}

.icon-grid-item:hover {
  border-color: rgba(0, 212, 255, 0.2);
  transform: translateY(-3px);
}

.icon-grid-item .icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.icon-grid-item h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.icon-grid-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.5;
}

/* --- Checklist --- */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.checklist li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.checklist.shield li::before {
  content: '🛡';
  background: rgba(124, 58, 237, 0.15);
  font-size: 0.7rem;
}

/* --- Risk Card --- */
.risk-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  transition: border-color var(--transition);
}

.risk-card.danger {
  border-left: 3px solid var(--red);
}

.risk-card.warning {
  border-left: 3px solid var(--gold);
}

.risk-card.info {
  border-left: 3px solid var(--cyan);
}

.risk-card h4 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.risk-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* --- CTA Section (final slide) --- */
.cta-section {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cta-section h1 {
  font-size: 3.5rem;
}

.cta-section p {
  font-size: 1.2rem;
  max-width: 600px;
  color: var(--text-secondary);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform var(--transition),
              box-shadow var(--transition);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.cta-button:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.4),
              0 0 60px rgba(124, 58, 237, 0.2);
}

.cta-button:active {
  transform: translateY(0) scale(0.98);
}

.cta-button.gold {
  background: linear-gradient(135deg, var(--gold), #f59e0b, #d97706);
}

.cta-button.gold:hover {
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.4),
              0 0 60px rgba(245, 158, 11, 0.2);
}

/* Contact info on CTA */
.contact-info {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-item {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ============================================================
   15. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.3rem; }
  .subtitle { font-size: 1.1rem; }
  .stat-number { font-size: 3rem; }

  .slide-title h1 { font-size: 3.5rem; }

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

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

  .timeline {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .timeline::before {
    display: none;
  }

  .timeline-item {
    flex: 0 0 calc(50% - 0.5rem);
  }

  .flow-diagram {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .donut-chart-container {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.15rem; }
  .subtitle { font-size: 1rem; }
  .stat-number { font-size: 2.5rem; }
  .stat-label { font-size: 0.8rem; }

  .slide-title h1 { font-size: 2.5rem; }
  .slide-title .tagline { font-size: 1.1rem; }

  .slide-content {
    width: 94%;
    padding: 1.5rem 0;
  }

  .glass-card {
    padding: 1.25rem;
  }

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

  .stats-row {
    flex-direction: column;
    gap: 1rem;
  }

  .timeline-item {
    flex: 0 0 100%;
  }

  .flow-diagram {
    flex-direction: column;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }

  .layer:hover {
    transform: translateX(4px);
  }

  .nav-prev,
  .nav-next {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .nav-prev { left: 0.75rem; }
  .nav-next { right: 0.75rem; }

  .nav-dots {
    bottom: 1.25rem;
    padding: 0.35rem 0.75rem;
  }

  .cta-button {
    padding: 0.85rem 2rem;
    font-size: 1rem;
  }

  .comparison-table {
    font-size: 0.85rem;
  }

  .comparison-table thead th,
  .comparison-table tbody td {
    padding: 0.75rem 0.85rem;
  }

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

  .donut-chart,
  .donut-chart-wrapper {
    width: 160px;
    height: 160px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.7rem; }
  .slide-title h1 { font-size: 2rem; }
  .stat-number { font-size: 2rem; }

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

  .contact-info {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* ============================================================
   16. UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.ml-1 { margin-left: 0.5rem; }
.mr-1 { margin-right: 0.5rem; }

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  margin: 1.5rem 0;
  border: none;
}

.w-100 { width: 100%; }

.nowrap { white-space: nowrap; }

.relative { position: relative; }

.overflow-hidden { overflow: hidden; }

/* Visually hidden but accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-gold {
  background: linear-gradient(135deg, var(--gold), #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ============================================================
   SUPPLEMENTAL STYLES — HTML 보완 클래스
   ============================================================ */

/* Gradient Orb 색상 변형 */
.gradient-orb.orb-cyan   { background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%); }
.gradient-orb.orb-purple { background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%); }
.gradient-orb.orb-gold   { background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%); }
.gradient-orb.orb-red    { background: radial-gradient(circle, rgba(239, 68, 68, 0.12) 0%, transparent 70%); }

/* Table wrapper — 가로 스크롤 지원 */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Revenue calculation rows */
.revenue-calc {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.3rem 0;
  font-size: 0.95rem;
}

/* Strategy split layout */
.strategy-split {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.strategy-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.strategy-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  flex-shrink: 0;
  min-width: 50px;
  text-align: center;
}

.strategy-badge.free {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(0, 212, 255, 0.2));
  color: var(--green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.strategy-badge.paid {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(239, 68, 68, 0.2));
  color: var(--gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Mini-flow (검증 프로세스 단계) */
.mini-flow {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mini-step {
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  border-left: 2px solid rgba(0, 212, 255, 0.3);
  transition: var(--transition-fast);
}

.mini-step:hover {
  background: rgba(255, 255, 255, 0.06);
  border-left-color: var(--cyan);
  transform: translateX(4px);
}

/* Vertical flow diagram arrows */
.flow-arrow-down {
  font-size: 1.5rem;
  color: var(--cyan);
  text-align: center;
  line-height: 1;
  opacity: 0.7;
}

.flow-step.wide {
  min-width: auto;
  width: 100%;
  max-width: 550px;
}

/* Donut chart text overrides */
.donut-total {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  display: block;
}

.donut-unit {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
}

.donut-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1;
}

/* Legend items (alternate naming from HTML) */
.legend-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}

.legend-value {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.legend-item strong {
  color: var(--text-primary);
  font-size: 0.95rem;
}

/* Flow diagram vertical variant */
.flow-diagram.vertical {
  flex-direction: column;
  align-items: center;
}

/* UL list styling for slide cards */
.glass-card ul {
  list-style: none;
  padding: 0;
}

.glass-card ul li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.2rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.glass-card ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
}

.glass-card ul li strong,
.glass-card ul li span.highlight-green,
.glass-card ul li span.highlight-red,
.glass-card ul li span.highlight-cyan {
  color: inherit;
}

/* Donut chart container (flex wrapper used in HTML) */
.donut-chart-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

.donut-chart-wrapper {
  position: relative;
  flex-shrink: 0;
}

/* Print — hide navigation */
@media print {
  .nav-dots,
  .nav-prev,
  .nav-next,
  .slide-counter,
  .progress-bar { display: none !important; }

  .slide {
    position: relative !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    page-break-after: always;
  }

  body { overflow: visible; }
}
