/* ================================================================
   SMA PGRI Cibadak — Presentation v2.0
   Premium Slider Presentation CSS
   ================================================================ */

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

:root {
  --primary: #2256a0;
  --primary-dark: #1b4583;
  --accent: #3b82f6;
  --accent2: #22c1ff;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --bg-dark: #0a0b1a;
  --bg-card: rgba(255,255,255,0.05);
  --bg-card-hover: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.08);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --grad-1: linear-gradient(135deg, #2256a0, #3b82f6);
  --grad-2: linear-gradient(135deg, #22c1ff, #2256a0);
  --grad-3: linear-gradient(135deg, #10b981, #22c1ff);
  --font: 'Outfit', 'Inter', sans-serif;
  --transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

/* ----------------------------------------------------------------
   PROGRESS BAR
---------------------------------------------------------------- */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--grad-1);
  z-index: 100;
  transition: width 0.5s ease;
  box-shadow: 0 0 12px rgba(99,102,241,0.7);
}

/* ----------------------------------------------------------------
   SLIDE COUNTER
---------------------------------------------------------------- */
.slide-counter {
  position: fixed;
  top: 25px;
  right: 2rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  background: rgba(255,255,255,0.06);
  padding: 0.5rem 1.1rem;
  border-radius: 2rem;
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  z-index: 10000;
  white-space: nowrap;
}

/* ----------------------------------------------------------------
   NAV CONTROLS
---------------------------------------------------------------- */
.nav-controls {
  position: fixed;
  bottom: 2rem; right: 2rem;
  display: flex;
  gap: 0.75rem;
  z-index: 100;
}

.nav-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.08);
  color: var(--text-primary);
  font-size: 1rem;
  cursor: pointer;
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.nav-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(99,102,241,0.4);
}
.nav-btn:disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* ----------------------------------------------------------------
   SLIDE DOTS
---------------------------------------------------------------- */
.slide-dots {
  position: fixed;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 100;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
.dot::before{
  content:'';
  position:absolute;
  inset:-10px;
}
.dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(34,86,160,0.6);
}
.dot:hover {
  background: rgba(255,255,255,0.7);
  transform: scale(1.6);
}
.dot.active:hover { transform: none; }



/* ----------------------------------------------------------------
   KEYBOARD HINT
---------------------------------------------------------------- */
.keyboard-hint {
  position: fixed;
  bottom: 5.5rem; left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  color: var(--text-muted);
  font-size: 0.72rem;
  padding: 0.4rem 0.9rem;
  border-radius: 2rem;
  z-index: 100;
  transition: opacity 0.5s ease;
  white-space: nowrap;
}

/* ----------------------------------------------------------------
   PRESENTATION WRAPPER
---------------------------------------------------------------- */
.presentation {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* ----------------------------------------------------------------
   SLIDES
---------------------------------------------------------------- */
.slide {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
.slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.slide.exit-left {
  opacity: 0;
  transform: translateX(-100%);
  visibility: hidden;
}

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

.center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  min-height: 100vh;
}

/* ----------------------------------------------------------------
   COMMON ELEMENTS
---------------------------------------------------------------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.3);
  color: #a5b4fc;
  padding: 0.35rem 1rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.section-header {
  text-align: center;
  margin-bottom: 2rem;
}
.gradient-text {
  background: var(--grad-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ----------------------------------------------------------------
   SLIDE 1: WELCOME
---------------------------------------------------------------- */
.slide-welcome {
  background: radial-gradient(ellipse at 20% 50%, rgba(99,102,241,0.2) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(139,92,246,0.15) 0%, transparent 60%),
              linear-gradient(135deg, #050714 0%, #0a0b1a 50%, #0d0a1f 100%);
}

.welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.4);
  color: #a5b4fc;
  padding: 0.4rem 1.2rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.school-logo { margin-bottom: 1.5rem; }
.logo-ring {
  width: 100px; height: 100px;
  border-radius: 50%;
  border: 2px solid rgba(99,102,241,0.4);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  animation: ringPulse 3s ease-in-out infinite;
  margin: 0 auto;
}
.logo-ring::before {
  content: '';
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(99,102,241,0.2);
  animation: ringPulse 3s ease-in-out infinite reverse;
}
.logo-inner {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--grad-1);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  box-shadow: 0 0 40px rgba(99,102,241,0.5);
}
.logo-inner.logo-img {
  background: white;
  padding: 4px;
  overflow: hidden;
}
.logo-inner.logo-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}
.logo-ring.large { width: 120px; height: 120px; }
.logo-inner.large { width: 88px; height: 88px; font-size: 2.5rem; }

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

.welcome-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.version-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.3);
  color: #67e8f9;
  padding: 0.4rem 1.2rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}
.ver-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent2);
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1}50%{opacity:0.2} }

.welcome-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 2rem;
}

.welcome-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--grad-1);
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(99,102,241,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(99,102,241,0.6);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-2px);
}

.scroll-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  color: rgba(241,245,249,0.60);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.35);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}
.scroll-arrow {
  display: none;
}

/* Floating icons */
.floating-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.float-icon {
  position: absolute;
  width: 52px; height: 52px;
  border-radius: 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
  animation: floatAnim linear infinite;
}
.fi-1 { top: 15%; left: 5%; animation-duration: 8s; animation-delay: 0s; }
.fi-2 { top: 25%; right: 8%; animation-duration: 10s; animation-delay: -2s; }
.fi-3 { top: 65%; left: 7%; animation-duration: 9s; animation-delay: -4s; }
.fi-4 { top: 75%; right: 6%; animation-duration: 11s; animation-delay: -1s; }
.fi-5 { top: 45%; left: 3%; animation-duration: 7s; animation-delay: -3s; }
.fi-6 { top: 55%; right: 4%; animation-duration: 12s; animation-delay: -5s; }
@keyframes floatAnim {
  0%,100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-15px) rotate(5deg); }
  50% { transform: translateY(-8px) rotate(-3deg); }
  75% { transform: translateY(-20px) rotate(2deg); }
}

/* Particles */
.particles {
  position: absolute; inset: 0;
  pointer-events: none;
}

/* ----------------------------------------------------------------
   SLIDE 2: PROFILE
---------------------------------------------------------------- */
.slide-profile {
  background: linear-gradient(135deg, #050714 0%, #0d0a1f 100%);
}
.profile-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  grid-template-areas: 
    "left header"
    "left right";
  gap: 1.5rem 3rem;
  align-items: start;
  padding: 2rem 3rem;
}
.profile-header { grid-area: header; }

.profile-left { 
  grid-area: left;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.profile-right { grid-area: right; }
.profile-avatar-wrap {
  position: relative;
  width: 140px; height: 140px;
}
.profile-avatar {
  width: 140px; height: 140px;
  border-radius: 50%;
  background: var(--grad-1);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  box-shadow: 0 0 50px rgba(34,86,160,0.4);
  overflow: hidden;
}
.profile-avatar-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.avatar-ring {
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(99,102,241,0.4);
  animation: spin 20s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.avatar-badge {
  position: absolute;
  bottom: 4px; right: 4px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--success);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  border: 3px solid var(--bg-dark);
}

.exp-badge {
  text-align: center;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  width: 100%;
}
.exp-number {
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--grad-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.exp-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}
.tech-tag {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  padding: 0.25rem 0.7rem;
  border-radius: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.profile-name {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.name-suffix {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.profile-title {
  margin-bottom: 1.25rem;
}
.title-badge {
  background: var(--grad-1);
  padding: 0.4rem 1.2rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.profile-company {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.85rem 1.25rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.company-icons-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.15rem;
  flex-shrink: 0;
  width: 1.25rem;
}
.company-icons-stack i:first-child {
  color: var(--accent2);
  font-size: 1.1rem;
}
.company-icons-stack i:last-child {
  color: var(--accent2);
  opacity: 0.6;
  font-size: 0.85rem;
}
.company-info-stack {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.company-loc {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.profile-since {
  background: rgba(6,182,212,0.08);
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: 0.75rem;
  padding: 0.85rem 1.25rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.profile-since > i { color: var(--accent2); margin-top: 0.2rem; flex-shrink: 0; }
.profile-since strong { color: var(--text-primary); }

.career-timeline { display: block; }
.timeline-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.timeline-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.tl-item {
  display: flex;
  gap: 1rem;
  position: relative;
  padding-bottom: 1.25rem;
}
.tl-item:not(:last-child) .tl-dot::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 14px;
  width: 2px;
  height: calc(100% - 10px);
  background: rgba(255,255,255,0.1);
}
.tl-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.2);
  flex-shrink: 0;
  margin-top: 4px;
  position: relative;
}
.tl-dot.active {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(99,102,241,0.6);
}
.tl-role {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}
.tl-company {
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.tl-year {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

/* ----------------------------------------------------------------
   SLIDE 3: PORTFOLIO
---------------------------------------------------------------- */
.slide-portfolio {
  background: linear-gradient(135deg, #050714 0%, #0d0a1f 100%);
}
.portfolio-featured {
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.portfolio-card {
  background: rgba(248,250,252,0.96);
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 1rem;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  transition: all 0.3s ease;
  cursor: default;
  color: #0b1220;
  box-shadow: 0 18px 50px rgba(0,0,0,0.28);
  overflow: hidden;
}
.portfolio-card::before{
  content:'';
  position:absolute;
  inset:0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(34,86,160,0.28), rgba(34,193,255,0.18), rgba(15,23,42,0.06));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events:none;
}
.portfolio-card:hover {
  background: rgba(255,255,255,0.98);
  border-color: rgba(34,86,160,0.22);
  transform: translateY(-3px);
  box-shadow: 0 24px 70px rgba(0,0,0,0.32);
}
.portfolio-card-highlight {
  background: linear-gradient(135deg, rgba(34,86,160,0.12), rgba(34,193,255,0.08)), rgba(248,250,252,0.98);
  border-color: rgba(34,86,160,0.20);
}
.portfolio-card-highlight:hover {
  box-shadow: 0 26px 75px rgba(34,86,160,0.18), 0 26px 75px rgba(0,0,0,0.25);
}
.port-icon {
  width: 46px; height: 46px;
  border-radius: 0.75rem;
  background: rgba(15,23,42,0.06);
  border: 1px solid rgba(15,23,42,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  color: var(--c);
}
.port-icon { background: color-mix(in srgb, var(--c) 10%, rgba(15,23,42,0.04)); }
.port-logo{
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}
.port-name { font-size: 0.9rem; font-weight: 800; color: #0b1220; }
.port-desc { font-size: 0.75rem; color: #334155; }
.port-url { font-size: 0.7rem; color: var(--primary); font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace; margin-top: 0.15rem; }
.port-badge {
  position: absolute;
  top: 0.6rem; right: 0.75rem;
  background: rgba(15,23,42,0.06);
  border: 1px solid rgba(15,23,42,0.10);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(15,23,42,0.70);
}
.port-badge-special {
  background: rgba(34,86,160,0.10);
  border-color: rgba(34,86,160,0.22);
  color: rgba(34,86,160,0.95);
}
.portfolio-card-current {
  width: 100%;
  max-width: 800px;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.98);
  border: none;
  box-shadow: 0 30px 100px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  gap: 2.5rem;
  position: relative;
  overflow: visible !important;
}
.portfolio-card-current::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(45deg, #2256a0, #3b82f6, #22c1ff, #2256a0);
  background-size: 400%;
  z-index: -1;
  border-radius: 1.25rem;
  animation: borderGlow 12s linear infinite;
  filter: blur(8px);
  opacity: 0.6;
}
@keyframes borderGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.portfolio-card-current .port-icon {
  width: 100px; height: 100px;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 15px 40px rgba(34,86,160,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.portfolio-card-current .port-logo {
  width: 64px; height: 64px;
}
.portfolio-card-current .port-name {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 0.3rem;
  letter-spacing: -0.02em;
}
.portfolio-card-current .port-desc {
  font-size: 1.1rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 0.5rem;
}
.portfolio-card-current .port-url {
  font-size: 1rem;
  color: var(--accent);
  font-weight: 600;
}
.portfolio-card-current .port-badge {
  top: -1rem;
  right: 2rem;
  padding: 0.5rem 1.5rem;
  background: var(--grad-1);
  color: white;
  font-size: 0.85rem;
  border-radius: 2rem;
  box-shadow: 0 10px 20px rgba(34,86,160,0.3);
}
.portfolio-card-current:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 40px 120px rgba(0,0,0,0.4);
}
.portfolio-card-current::after {
  display: none !important;
}


.portfolio-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.portfolio-note i { color: var(--primary); }

/* ----------------------------------------------------------------
   SLIDE 4: AGENDA
---------------------------------------------------------------- */
.slide-agenda {
  background: radial-gradient(ellipse at 50% 100%, rgba(34,86,160,0.18) 0%, transparent 70%),
              linear-gradient(135deg, #050714 0%, #0d0a1f 100%);
}
.agenda-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
  width: 100%;
  max-width: 900px;
}
.agenda-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 1.25rem;
  padding: 2.1rem 2.1rem 1.9rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 22px 70px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
}

.agenda-jump{
  position: absolute;
  top: 1.05rem;
  right: 1.05rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(34,86,160,0.92);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
  transition: all 0.25s ease;
}
.agenda-card:nth-child(2) .agenda-jump{
  background: rgba(34,193,255,0.80);
}
.agenda-jump i{ font-size: 1rem; }
.agenda-jump:hover{
  transform: translateY(-2px) scale(1.04);
  filter: brightness(1.05);
}
.agenda-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-1);
  opacity: 0.9;
  transition: opacity 0.3s ease;
}
.agenda-card:nth-child(2)::before {
  background: var(--grad-2);
}
.agenda-card:hover { transform: translateY(-8px); border-color: rgba(34,86,160,0.45); }
.agenda-card:hover::before { opacity: 1; }

/* Hover state: make it obviously clickable */
.agenda-card:hover{
  background: rgba(248,250,252,0.96);
  border-color: rgba(15,23,42,0.10);
  box-shadow: 0 26px 85px rgba(0,0,0,0.38);
}
.agenda-card:hover .agenda-num{
  color: rgba(34,86,160,0.95);
}
.agenda-card:nth-child(2):hover .agenda-num{
  color: rgba(8,145,178,0.95);
}
.agenda-card:hover h3{
  color: #0b1220;
}
.agenda-card:hover p{
  color: rgba(30,41,59,0.78);
}
.agenda-card:hover .agenda-icon{
  background: var(--grad-1);
  border-color: transparent;
  color: white;
  transform: scale(1.15) rotate(-5deg);
  box-shadow: 0 15px 35px rgba(34, 86, 160, 0.4);
}
.agenda-card:nth-child(2):hover .agenda-icon{
  background: var(--grad-2);
  box-shadow: 0 15px 35px rgba(34, 193, 255, 0.3);
}
.agenda-card:hover .agenda-list li{
  background: rgba(15,23,42,0.05);
  border-color: rgba(15,23,42,0.08);
  color: rgba(15,23,42,0.86);
}
.agenda-card:hover .agenda-list li i{
  color: #10b981;
}
.agenda-card:hover .agenda-jump{
  box-shadow: 0 18px 40px rgba(34,86,160,0.28);
}
.agenda-card:nth-child(2):hover .agenda-jump{
  box-shadow: 0 18px 40px rgba(34,193,255,0.20);
}

/* Keyboard accessibility */
.agenda-card:focus-within{
  outline: 3px solid rgba(34,86,160,0.45);
  outline-offset: 4px;
}

.agenda-num {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 0.75rem;
  opacity: 0.95;
}
.agenda-card:nth-child(2) .agenda-num { color: var(--accent2); }
.agenda-icon {
  width: 58px; height: 58px;
  border-radius: 1rem;
  background: rgba(34,86,160,0.18);
  border: 1px solid rgba(34,86,160,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.65rem;
  margin-bottom: 1rem;
  box-shadow: 0 14px 35px rgba(0,0,0,0.35);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.agenda-card:nth-child(2) .agenda-icon { background: rgba(34,193,255,0.16); border-color: rgba(34,193,255,0.25); }
.agenda-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.agenda-card p {
  color: rgba(241,245,249,0.78);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1.15rem;
}
.agenda-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.4rem;
}
.agenda-list li {
  font-size: 0.95rem;
  color: rgba(241,245,249,0.90);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(15,23,42,0.3);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.65rem 0.95rem;
  border-radius: 0.85rem;
  transition: all 0.3s ease;
  cursor: pointer;
}
.agenda-list li:hover {
  background: #ffffff;
  color: #0f172a;
  transform: translateX(10px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.agenda-list li:hover i {
  color: var(--success);
  transform: scale(1.2);
}
.agenda-list li i {
  color: var(--success);
  font-size: 0.95rem;
}
.agenda-cta {
  font-size: 0.95rem;
  font-weight: 800;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.95rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(34,86,160,0.18);
  width: fit-content;
}
.agenda-card:nth-child(2) .agenda-cta { background: rgba(34,193,255,0.14); }

/* ----------------------------------------------------------------
   SESSION TITLE SLIDES
---------------------------------------------------------------- */
.slide-session {
  background: radial-gradient(ellipse at 30% 50%, rgba(99,102,241,0.25) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(139,92,246,0.15) 0%, transparent 60%),
              linear-gradient(135deg, #050714 0%, #0d0a1f 100%);
}
.slide-session.session-2 {
  background: radial-gradient(ellipse at 30% 50%, rgba(6,182,212,0.25) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(99,102,241,0.15) 0%, transparent 60%),
              linear-gradient(135deg, #050714 0%, #0a1520 100%);
}
.session-number {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--primary);
  margin-bottom: 1.5rem;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.3);
  padding: 0.4rem 1.5rem;
  border-radius: 2rem;
}
.session-2 .session-number { color: var(--accent2); background: rgba(6,182,212,0.1); border-color: rgba(6,182,212,0.3); }
.session-icon {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--grad-1);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 50px rgba(99,102,241,0.5);
}
.session-2 .session-icon { background: var(--grad-2); box-shadow: 0 0 50px rgba(6,182,212,0.4); }
.session-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.session-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto 2rem;
}

/* ----------------------------------------------------------------
   FEATURE SLIDES
---------------------------------------------------------------- */
.slide-feature {
  background: linear-gradient(135deg, #050714 0%, #0d0a1f 100%);
}
.feature-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 1.5rem 3rem;
  height: 100vh;
}
.feature-layout.reverse {
  grid-template-columns: 1fr 1fr;
}
.feature-layout.reverse .feature-visual { order: 1; }
.feature-layout.reverse .feature-text { order: 2; }

.session-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.25);
  color: #a5b4fc;
  padding: 0.3rem 0.9rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.session-chip-2 {
  background: rgba(6,182,212,0.1);
  border-color: rgba(6,182,212,0.25);
  color: #67e8f9;
}

.feature-title {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.feature-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.feat-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.9rem 1rem;
  transition: all 0.3s ease;
}
.feat-item:hover {
  background: #ffffff;
  border-color: #ffffff;
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}
.feat-item:hover .feat-icon {
  background: var(--primary);
  color: #ffffff;
  transform: rotate(10deg);
}
.feat-item:hover strong {
  color: #0f172a;
}
.feat-item:hover span {
  color: #475569;
}
.feat-icon {
  width: 44px; height: 44px;
  border-radius: 0.8rem;
  background: rgba(99,102,241,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: #a5b4fc;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
}
.feat-item > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.feat-item strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}
.feat-item span {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ----------------------------------------------------------------
   MOCKUP CARDS
---------------------------------------------------------------- */
.feature-visual { display: flex; align-items: center; justify-content: center; }
.mockup-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1.25rem;
  overflow: hidden;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
}
.mockup-header {
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.mockup-dots {
  display: flex;
  gap: 0.3rem;
}
.mockup-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #28c940; }
.mockup-title, .mockup-url {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}
.mockup-url {
  background: rgba(255,255,255,0.06);
  padding: 0.25rem 0.75rem;
  border-radius: 0.4rem;
  border: 1px solid var(--border);
}

.mockup-stats {
  display: flex;
  gap: 0.5rem;
  padding: 1rem;
  flex-wrap: wrap;
}
.stat-pill {
  background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.25);
  padding: 0.35rem 0.8rem;
  border-radius: 2rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #a5b4fc;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.mockup-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  padding: 0 1rem 0.5rem;
  height: 90px;
}
.chart-bar {
  flex: 1;
  border-radius: 0.3rem 0.3rem 0 0;
  background: rgba(99,102,241,0.2);
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.3rem;
}
.chart-bar span { font-size: 0.6rem; color: var(--text-muted); }
.chart-bar.active { background: rgba(34,86,160,0.7); }
.mockup-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-align: center;
  padding-bottom: 0.75rem;
}

/* Exam mockup */
.exam-timer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.2);
  margin: 0.75rem 1rem;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
}
.exam-timer i { color: var(--danger); font-size: 1.25rem; }
.timer-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--danger);
  font-variant-numeric: tabular-nums;
}
.timer-label { font-size: 0.7rem; color: var(--text-muted); }
.exam-progress-wrap {
  padding: 0.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.exam-prog-bar {
  background: rgba(255,255,255,0.08);
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
}
.exam-prog-fill {
  height: 100%;
  background: var(--grad-1);
  border-radius: 3px;
}
.exam-progress-wrap span { font-size: 0.7rem; color: var(--text-muted); }
.exam-security-tags {
  display: flex;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  flex-wrap: wrap;
}
.sec-tag {
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.2);
  color: #34d399;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.violation-strip {
  margin: 0.5rem;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.72rem;
  color: #fbbf24;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Student mockup */
.student-welcome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}
.student-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--grad-1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.student-name { font-size: 0.85rem; font-weight: 700; }
.student-class { font-size: 0.7rem; color: var(--text-muted); }
.mockup-menu {
  display: flex;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.menu-pill {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 0.3rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.menu-pill.active {
  background: rgba(99,102,241,0.2);
  border-color: rgba(99,102,241,0.4);
  color: #a5b4fc;
}
.mockup-score-list {
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.score-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.score {
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 0.3rem;
  font-size: 0.82rem;
}
.score.good { background: rgba(16,185,129,0.15); color: var(--success); }
.score.great { background: rgba(99,102,241,0.15); color: var(--primary); }
.score.bad { background: rgba(239,68,68,0.15); color: var(--danger); }

/* Absensi calendar */
.absen-calendar { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); }
.cal-header {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-secondary);
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.25rem;
}
.cal-h {
  font-size: 0.62rem;
  color: var(--text-muted);
  text-align: center;
  font-weight: 700;
  padding: 0.2rem;
}
.cal-day {
  font-size: 0.68rem;
  font-weight: 600;
  text-align: center;
  padding: 0.25rem;
  border-radius: 0.3rem;
  background: rgba(255,255,255,0.03);
}
.cal-day.hadir { background: rgba(16,185,129,0.15); color: var(--success); }
.cal-day.alpha { background: rgba(239,68,68,0.15); color: var(--danger); }
.cal-day.sakit { background: rgba(245,158,11,0.15); color: var(--warning); }
.cal-day.today { background: var(--primary); color: white; }
.cal-day.upcoming { opacity: 0.3; }
.cal-legend {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.leg {
  font-size: 0.65rem;
  padding: 0.15rem 0.5rem;
  border-radius: 0.3rem;
  font-weight: 600;
}
.leg.hadir { background: rgba(16,185,129,0.15); color: var(--success); }
.leg.alpha { background: rgba(239,68,68,0.15); color: var(--danger); }
.leg.sakit { background: rgba(245,158,11,0.15); color: var(--warning); }
.absen-summary {
  display: flex;
  gap: 0;
}
.abs-s {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem;
  border-right: 1px solid var(--border);
}
.abs-s:last-child { border-right: none; }
.abs-s span { font-size: 0.65rem; color: var(--text-muted); }
.abs-s strong { font-size: 1.1rem; font-weight: 800; }

/* Editor mockup */
.editor-mock { padding: 0.75rem 1rem 1rem; }
.editor-toolbar {
  display: flex;
  gap: 0.5rem;
  padding: 0.4rem 0.6rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
  align-items: center;
}
.editor-toolbar span {
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 0.2rem 0.3rem;
  border-radius: 0.3rem;
  transition: all 0.2s;
}
.editor-toolbar span:hover { background: rgba(255,255,255,0.08); color: var(--text-primary); }
.ed-sep { width: 1px; height: 1rem; background: var(--border); margin: 0 0.1rem; }
.editor-title-mock {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.editor-body-mock {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
}
.editor-line {
  height: 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
}
.editor-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}
.ed-btn {
  padding: 0.4rem 0.9rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.ed-btn.draft {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.ed-btn.publish {
  background: var(--grad-1);
  color: white;
}

/* PPDB mockup */
.ppdb-stats {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
}
.ppdb-stat {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem;
  border-right: 1px solid var(--border);
}
.ppdb-stat:last-child { border-right: none; }
.ppdb-stat i { font-size: 1.25rem; }
.ppdb-stat div { display: flex; flex-direction: column; }
.ppdb-stat strong { font-size: 1.1rem; font-weight: 800; }
.ppdb-stat span { font-size: 0.65rem; color: var(--text-muted); }
.ppdb-list {
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ppdb-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.ppdb-item:last-child { border-bottom: none; }
.ppdb-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ppdb-dot.accepted { background: var(--success); }
.ppdb-dot.pending { background: var(--warning); }
.ppdb-item span:nth-child(2) { flex: 1; }
.ppdb-status {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 0.3rem;
}
.ppdb-status.acc { background: rgba(16,185,129,0.15); color: var(--success); }
.ppdb-status.pend { background: rgba(245,158,11,0.15); color: var(--warning); }

/* Datatable mockup */
.datatable-mock { padding: 0.5rem 0; }
.dt-header, .dt-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 1fr;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  font-size: 0.72rem;
  align-items: center;
}
.dt-header {
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
}
.dt-row { border-bottom: 1px solid rgba(255,255,255,0.04); color: var(--text-secondary); }
.dt-badge {
  padding: 0.2rem 0.5rem;
  border-radius: 0.3rem;
  font-weight: 700;
  font-size: 0.65rem;
}
.dt-badge.active { background: rgba(16,185,129,0.15); color: var(--success); }
.dt-actions-row {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  justify-content: flex-end;
}
.dt-act-btn {
  padding: 0.4rem 0.9rem;
  border-radius: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.dt-act-btn.primary {
  background: var(--grad-1);
  border: none;
  color: white;
}

/* Website mockup */
.website-mockup { display: block; }
.web-hero {
  background: var(--grad-1);
  padding: 1.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.web-hero-content { text-align: center; }
.web-badge {
  background: rgba(255,255,255,0.2);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 2rem;
  margin-bottom: 0.4rem;
  display: inline-block;
}
.web-title { font-size: 1rem; font-weight: 800; }
.web-sub { font-size: 0.75rem; opacity: 0.8; }
.web-nav-mock {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
}
.web-nav-mock span {
  flex: 1;
  text-align: center;
  font-size: 0.68rem;
  padding: 0.6rem 0.3rem;
  color: var(--text-muted);
  border-right: 1px solid var(--border);
  font-weight: 600;
}
.web-nav-mock span:last-child { border-right: none; }
.web-nav-mock span:first-child { color: var(--primary); }

/* ----------------------------------------------------------------
   TECH GRID
---------------------------------------------------------------- */
.slide-tech {
  background: linear-gradient(135deg, #050714 0%, #0d0a1f 100%);
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.tech-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.tech-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--tc, var(--primary)), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.tech-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.1); }
.tech-card:hover::before { opacity: 1; }
.tech-icon {
  width: 52px; height: 52px;
  border-radius: 0.75rem;
  background: rgba(var(--tc,99,102,241),0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 0.75rem;
  color: var(--tc, var(--primary));
}
.tech-name {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}
.tech-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ----------------------------------------------------------------
   CLOSING SLIDE
---------------------------------------------------------------- */
.slide-closing {
  background: radial-gradient(ellipse at 50% 50%, rgba(99,102,241,0.2) 0%, transparent 70%),
              linear-gradient(135deg, #050714 0%, #0d0a1f 100%);
}
.closing-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  color: var(--success);
  padding: 0.4rem 1.2rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 2rem;
}
.closing-logo { margin-bottom: 1.5rem; }
.closing-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.closing-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 500px;
  text-align: center;
  margin-bottom: 1.5rem;
}
.closing-contact {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.contact-card i {
  font-size: 1.75rem;
  color: var(--primary);
}
.contact-card div { text-align: left; }
.contact-card strong { display: block; font-size: 1rem; font-weight: 700; }
.contact-card span { font-size: 0.82rem; color: var(--text-secondary); }
.closing-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.closing-year {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ----------------------------------------------------------------
   ANIMATIONS
---------------------------------------------------------------- */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.animate-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.animate-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.animate-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide.active .animate-in,
.slide.active .animate-left,
.slide.active .animate-right,
.slide.active .animate-up {
  opacity: 1;
  transform: translate(0,0);
}

/* ----------------------------------------------------------------
   RESPONSIVE DESIGN
---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .slide-content { padding: 2rem; }
  .profile-layout { grid-template-columns: 1fr; grid-template-areas: "header" "left" "right"; gap: 2rem; text-align: center; }
  .profile-company, .profile-since { justify-content: center; text-align: left; }
  .portfolio-featured { padding: 0 1rem; }
  .portfolio-card-current { gap: 1.5rem; padding: 1.5rem; }
  .portfolio-card-current .port-icon { width: 70px; height: 70px; }
  .portfolio-card-current .port-logo { width: 44px; height: 44px; }
  .portfolio-card-current .port-name { font-size: 1.4rem; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-layout { grid-template-columns: 1fr; gap: 3rem; text-align: center; overflow-y: auto; align-items: flex-start; }
  .feature-layout.reverse { display: flex; flex-direction: column; }
  .feature-visual { order: -1; max-width: 500px; margin: 0 auto; }
  .feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; text-align: left; }
}

@media (max-width: 768px) {
  .welcome-title { font-size: 2.2rem; }
  .section-title { font-size: 1.6rem; margin-bottom: 0.5rem; }
  .section-desc { font-size: 0.8rem; margin-bottom: 1.25rem; }
  
  .slide { 
    display: block !important;
    overflow-y: auto !important; 
    -webkit-overflow-scrolling: touch; 
    background: #050714;
  }
  
  /* IMPORTANT: Substantial Headroom for Mobile to avoid browser bars */
  .slide-content { 
    padding: 4rem 2rem 8rem !important; 
    display: block !important;
    height: auto !important;
    min-height: 100% !important;
    overflow: visible !important;
    text-align: center;
  }
  
  /* Safe area fallback for first child */
  .slide-content > *:first-child {
    margin-top: 0 !important;
  }

  .center-content { 
    justify-content: flex-start !important; 
    padding-top: 4rem !important; 
  }

  /* Feature Slides: Title First, Image Second */
  .feature-layout { 
    display: flex !important; 
    flex-direction: column !important; 
    gap: 2.5rem !important;
    text-align: center !important;
  }
  .feature-text { order: 1 !important; }
  .feature-visual { 
    order: 2 !important; 
    max-width: 100% !important; 
    margin: 1.5rem auto !important;
    transform: scale(0.9);
  }
  .feature-title { font-size: 1.6rem !important; line-height: 1.2 !important; }
  .feature-desc { font-size: 0.85rem !important; margin-bottom: 1.5rem !important; }
  .feature-list { 
    display: flex !important; 
    flex-direction: row !important; 
    overflow-x: auto !important; 
    gap: 1.25rem !important;
    padding: 0.5rem 0 2rem;
    width: 100vw;
    margin-left: -2rem;
    padding-left: 2rem;
    padding-right: 2rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    text-align: left;
  }
  .feature-list::-webkit-scrollbar { display: none; }
  .feat-item { 
    flex: 0 0 85%;
    min-width: 260px;
    scroll-snap-align: center;
    padding: 1rem 1.25rem !important; 
    margin-bottom: 0 !important; 
  }
  .feat-item strong { font-size: 0.85rem !important; }
  .feat-item span { font-size: 0.75rem !important; }

  /* Agenda / Daftar Isi */
  .agenda-cards { 
    display: flex !important; 
    flex-direction: row !important; 
    overflow-x: auto !important; 
    gap: 1.25rem !important;
    padding: 0.5rem 0 2rem;
    width: 100vw;
    margin-left: -2rem;
    padding-left: 2rem;
    padding-right: 2rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .agenda-card { 
    flex: 0 0 85%; 
    min-width: 260px; 
    padding: 1.5rem !important;
  }
  .agenda-card h3 { font-size: 1.1rem !important; }

  /* Current Project & Portfolio */
  .portfolio-featured { margin-bottom: 2.5rem; margin-top: 1rem; }
  .portfolio-card-current { 
    flex-direction: column !important; 
    padding: 2rem 1.5rem !important; 
    gap: 1.25rem !important;
  }
  .portfolio-card-current .port-icon { width: 64px !important; height: 64px !important; }
  .portfolio-card-current .port-name { font-size: 1.4rem !important; }
  .portfolio-card-current .port-badge { top: -0.85rem; }
  
  .portfolio-grid { 
    display: flex !important; 
    flex-direction: row !important; 
    overflow-x: auto !important; 
    gap: 1.25rem !important;
    padding: 0.5rem 0 2.5rem;
    width: 100vw;
    margin-left: -2rem;
    padding-left: 2rem;
    padding-right: 2rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .portfolio-grid::-webkit-scrollbar { display: none; }
  .portfolio-grid .portfolio-card {
    flex: 0 0 80%;
    min-width: 280px;
    scroll-snap-align: center;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
    padding: 1.5rem !important;
  }
  .portfolio-grid .port-icon { margin: 0 auto 0.75rem !important; }
  .portfolio-grid .port-info { width: 100%; }

  .mockup-card { 
    transform: none !important; 
    width: 95% !important; 
    max-width: 360px !important; 
    margin: 1.5rem auto 2.5rem !important; 
  }

  /* Tech Grid */
  .tech-grid { 
    display: flex !important; 
    flex-direction: row !important; 
    overflow-x: auto !important; 
    gap: 1.25rem !important;
    padding: 0.5rem 0 2.5rem;
    width: 100vw;
    margin-left: -2rem;
    padding-left: 2rem;
    padding-right: 2rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .tech-grid::-webkit-scrollbar { display: none; }
  .tech-card {
    flex: 0 0 75%;
    min-width: 240px;
    scroll-snap-align: center;
    margin-bottom: 0 !important;
  }

  /* Profile Mobile Fix */
  .profile-layout { display: block !important; }
  .profile-header { margin-bottom: 2rem; }
  .tech-tags { margin-bottom: 1.5rem; }
  .profile-avatar-wrap { width: 90px; height: 90px; margin: 0 auto 1.5rem; }
  .profile-avatar { width: 90px; height: 90px; font-size: 2.2rem; }
  .exp-badge { padding: 0.75rem 1.25rem; }
  .exp-number { font-size: 1.75rem; }
  .profile-name { font-size: 1.6rem; margin-bottom: 1rem; }
  .profile-company, .profile-since { 
    text-align: left; 
    max-width: 400px; 
    margin-left: auto; 
    margin-right: auto; 
    font-size: 0.8rem;
    padding: 0.75rem 1rem;
  }
  .career-timeline { margin-top: 2.5rem; text-align: left; max-width: 400px; margin-left: auto; margin-right: auto; }
  .timeline-label { justify-content: center; margin-bottom: 1.5rem; }
  .tl-item { gap: 1.25rem; }
  .tl-role { font-size: 0.85rem; }
  .tl-company { font-size: 0.75rem; }
  .tl-year { font-size: 0.7rem; }

  /* Closing Actions */
  .closing-actions {
    flex-direction: column !important;
    width: 100%;
    gap: 0.75rem !important;
  }
  .closing-actions .btn-outline, 
  .closing-actions .btn-primary {
    width: 100% !important;
    justify-content: center !important;
  }
} /* <--- CLOSING THE MEDIA QUERY HERE */

/* ----------------------------------------------------------------
   REMOTE CONTROL SYSTEM
---------------------------------------------------------------- */
.top-right-controls {
  position: fixed;
  top: 25px;
  left: 16px;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  z-index: 10000 !important;
}

.fullscreen-toggle {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 12px;
  background-color: transparent;
  color: rgba(255,255,255,0.5);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 0px;
  /* background: rgba(255,255,255,0.95); */
  /* border: 1px solid rgba(255,255,255,0.25); */
  /* box-shadow: 0 4px 15px rgba(0,0,0,0.25); */
}
.fullscreen-toggle:hover {
  background: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.remote-modal {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}
.remote-modal.active {
  opacity: 1;
  visibility: visible;
}
.remote-modal-content {
  background: #111222;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 40px;
  border-radius: 2rem;
  max-width: 450px;
  width: 90%;
  text-align: center;
  transform: translateY(30px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 30px 60px -12px rgba(0,0,0,0.5);
}
.remote-modal.active .remote-modal-content {
  transform: translateY(0);
}
.close-modal {
  position: absolute;
  top: 20px; right: 20px;
  background: none; border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s;
}
.close-modal:hover { color: white; }

.remote-header {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.remote-icon-ring {
  width: 60px; height: 60px;
  background: rgba(99,102,241,0.1);
  color: var(--accent2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.remote-header h3 { font-size: 1.5rem; font-weight: 900; }
.remote-p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 2rem; }

.qrcode-container {
  background: white;
  padding: 20px;
  border-radius: 1.5rem;
  display: inline-block;
  margin-bottom: 2rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.qrcode-container img { margin: 0 auto; }

.remote-status {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
}
.status-dot {
  width: 8px; height: 8px;
  background: #64748b;
  border-radius: 50%;
}
.remote-status.connected .status-dot {
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
  animation: pulse-green 2s infinite;
}
.remote-status.connected .status-text { color: var(--success); }

.remote-id-display {
  background: rgba(255,255,255,0.05);
  padding: 0.75rem 1.5rem;
  border-radius: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.remote-id-display strong { color: white; letter-spacing: 0.05em; }

.remote-info {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
}

@keyframes pulse-green {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16,185,129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(16,185,129, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16,185,129, 0); }
}

@media (max-width: 768px) {
  .top-right-controls { top: 15px; right: 15px; gap: 8px; }
  .fullscreen-toggle { width: 20px; height: 20px; font-size: 1rem; border-radius: 10px; }
  .slide-counter { top: 15px; right: 16px; padding: 0.4rem 0.8rem; font-size: 0.75rem; }
  
  /* Navigation UI */
  .nav-controls { bottom: 1rem; right: 1rem; }
  .slide-dots { display: none; }
  .float-icon { width: 24px; height: 24px; opacity: 0.08; }
}

@media (max-height: 700px) {
  .slide-content { padding-top: 5rem !important; }
  .section-title { font-size: 1.5rem; }
  .mockup-card { 
    transform: none !important; 
    width: 95% !important; 
    max-width: 360px !important; 
    margin: 0 auto 2rem !important; 
  }
}
