body {
  background-color: #f8f9fa;
  font-family: 'Inter', sans-serif;
  color: #222;
}

/* AI presenter hero */
.ai-presenter-section {
  display: grid;
  grid-template-columns: minmax(320px, 1.6fr) minmax(240px, 1fr);
  gap: 2.5rem;
  margin: 3rem auto 4rem;
  padding: 2.75rem;
  background: linear-gradient(135deg, rgba(229, 216, 255, 0.9) 0%, #ffffff 55%, rgba(231, 238, 255, 0.85) 100%);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(75, 0, 130, 0.16);
  position: relative;
  overflow: hidden;
}

.ai-presenter-section::after {
  content: '';
  position: absolute;
  inset: 18% -40% auto auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.slides-column {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 22px;
  padding: 2rem;
  box-shadow: 0 16px 40px rgba(75, 0, 130, 0.15);
  backdrop-filter: blur(14px);
}

.slides-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(75, 0, 130, 0.12);
  color: #4b0082;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.slides-title {
  font-family: 'EB Garamond', serif;
  font-size: 1.9rem;
  margin: 0.35rem 0 0;
  color: #2d115c;
}

.slides-controls {
  display: inline-flex;
  gap: 0.6rem;
}

.slide-nav {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: #4b0082;
  color: #fff;
  font-size: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(75, 0, 130, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.slide-nav:hover {
  transform: translateY(-2px);
  background: #5c0aa3;
  box-shadow: 0 14px 26px rgba(92, 10, 163, 0.24);
}

.slide-nav:focus-visible {
  outline: 3px solid rgba(197, 163, 255, 0.8);
  outline-offset: 3px;
}

.slides-stage {
  position: relative;
  min-height: 260px;
}

.slide-card {
  display: none;
  flex-direction: column;
  gap: 0.85rem;
  background: #fff;
  border-radius: 20px;
  padding: 1.8rem 1.9rem;
  box-shadow: inset 0 0 0 1px rgba(75, 0, 130, 0.08);
  animation: slideFade 0.45s ease;
}

.slide-card.active {
  display: flex;
}

.slide-card h3 {
  margin: 0;
  color: #4b0082;
  font-size: 1.45rem;
  font-family: 'EB Garamond', serif;
}

.slide-card p {
  margin: 0;
  color: #3a3a3a;
  font-size: 1.02rem;
  line-height: 1.6;
}

.slide-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #4f4f4f;
  font-size: 0.98rem;
  line-height: 1.55;
}

.slide-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8a6bc2;
  font-weight: 600;
}

.slides-dots {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: none;
  background: rgba(75, 0, 130, 0.25);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  position: relative;
}

.dot.active {
  background: #4b0082;
  transform: scale(1.2);
}

.dot:focus-visible {
  outline: 3px solid rgba(197, 163, 255, 0.7);
  outline-offset: 2px;
}

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

.presenter-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
}

.presenter-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 200px;
  height: 280px;
}

.presenter-head {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: linear-gradient(145deg, #d2c2ff 0%, #4b0082 100%);
  box-shadow: 0 18px 32px rgba(75, 0, 130, 0.35);
}

.presenter-body {
  margin-top: -10px;
  width: 135px;
  height: 160px;
  border-radius: 45% 45% 30% 30%;
  background: linear-gradient(180deg, #5c0aa3 0%, #2c0c59 100%);
  position: relative;
  box-shadow: 0 20px 36px rgba(44, 12, 89, 0.35);
}

.presenter-arm {
  position: absolute;
  width: 16px;
  height: 104px;
  background: linear-gradient(180deg, #6d22d2 0%, #38106e 100%);
  border-radius: 999px;
  top: 32%;
  transform-origin: top center;
  box-shadow: 0 10px 20px rgba(56, 16, 110, 0.32);
}

.presenter-arm--left {
  left: -10px;
  transform: rotate(-28deg);
}

.presenter-arm--right {
  right: -14px;
  transform: rotate(26deg);
}

.presenter-arm--right::after {
  content: '';
  position: absolute;
  top: 74%;
  right: -128px;
  width: 128px;
  height: 6px;
  background: linear-gradient(90deg, #ffcd5c 0%, #ff8a00 100%);
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(255, 138, 0, 0.4);
}

.presenter-arm--right::before {
  content: '';
  position: absolute;
  top: 68%;
  right: -139px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffb13b;
  box-shadow: 0 0 0 4px rgba(255, 177, 59, 0.35);
}

.presenter-stand {
  position: absolute;
  bottom: 0;
  height: 26px;
  width: 160px;
  border-radius: 40px;
  background: rgba(75, 0, 130, 0.18);
  filter: blur(1px);
  transform: translateY(18px);
}

.presenter-bubble {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.6rem 1.8rem;
  box-shadow: 0 18px 40px rgba(75, 0, 130, 0.18);
  max-width: 320px;
  position: relative;
  font-size: 0.98rem;
  line-height: 1.6;
}

.presenter-bubble::before {
  content: '';
  position: absolute;
  left: 18%;
  top: -18px;
  width: 28px;
  height: 28px;
  background: #ffffff;
  transform: rotate(45deg);
  box-shadow: 0 18px 40px rgba(75, 0, 130, 0.08);
}

.presenter-bubble h3 {
  margin: 0 0 0.6rem;
  font-family: 'EB Garamond', serif;
  font-size: 1.4rem;
  color: #4b0082;
}

.bubble-actions {
  margin-top: 1rem;
}

.bubble-btn {
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff8a00 0%, #ff5f6d 100%);
  color: #fff;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(255, 95, 109, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.bubble-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 16px 32px rgba(255, 95, 109, 0.42);
}

.bubble-btn:focus-visible {
  outline: 3px solid rgba(255, 193, 94, 0.65);
  outline-offset: 3px;
}

/* Titles */
.dashboard-title {
  font-family: 'EB Garamond', serif;
  text-align: center;
  font-size: 2.6rem;
  margin-top: 1.5rem;
  color: #2b2b2b;
  font-weight: 600;
}

.dashboard-subtitle {
  font-family: 'Inter', sans-serif;
  text-align: center;
  font-size: 1.2rem;
  margin: 0.5rem auto 2.5rem;
  color: #555;
  max-width: 800px;
}

/* Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  padding: 1rem 1rem 3rem;
}

/* Card */
.dashboard-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 2.2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  transition: all 0.35s ease;
  opacity: 0;
  transform: translateY(40px);
}
.dashboard-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

/* Icon */
.icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: #4B0082;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 0.9rem;
}

/* Typography */
.dashboard-card h2 {
  font-family: 'EB Garamond', serif;
  color: #4B0082;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.dashboard-card p {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  color: #333;
  line-height: 1.65;
  margin-bottom: 0.9rem;
}

.dashboard-card ul {
  margin: 0.8rem 0 1.5rem 1.2rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

/* Buttons */
.btn {
  background-color: #4B0082;
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.25s ease;
  font-family: 'Inter', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(75, 0, 130, 0.15);
  margin: 0;
}
.btn:hover {
  background-color: #5c0aa3;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(75, 0, 130, 0.2);
}
.btn:focus-visible {
  outline: 3px solid #c5a3ff;
  outline-offset: 2px;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.5rem;
}

.card-actions .btn {
  flex: 1 1 220px;
}

@media (max-width: 768px) {
  .ai-presenter-section {
    grid-template-columns: 1fr;
    padding: 2.1rem;
    gap: 2rem;
  }

  .slides-column {
    padding: 1.6rem;
  }

  .slides-title {
    font-size: 1.6rem;
  }

  .presenter-column {
    flex-direction: column-reverse;
  }

  .presenter-bubble {
    max-width: 100%;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    padding: 1rem 1.2rem 2.5rem;
  }

  .dashboard-card {
    padding: 1.8rem 1.6rem;
  }

  .dashboard-card h2 {
    font-size: 1.6rem;
  }

  .dashboard-card p {
    font-size: 1rem;
  }

  .card-actions {
    flex-direction: column;
    gap: 10px;
  }

  .card-actions .btn {
    width: 100%;
    font-size: 0.95rem;
    padding: 12px 16px;
    flex: 1 1 auto;
  }
}

@media (max-width: 480px) {
  .ai-presenter-section {
    padding: 1.65rem;
  }

  .slides-controls {
    gap: 0.4rem;
  }

  .slide-card {
    padding: 1.4rem 1.5rem;
  }

  .presenter-head {
    width: 80px;
    height: 80px;
  }

  .presenter-body {
    width: 116px;
    height: 140px;
  }

  .presenter-arm--right::after {
    width: 108px;
    right: -108px;
  }

  .presenter-arm--right::before {
    right: -118px;
  }
}

/* Fade-in animation */
.fade-in {
  animation: fadeUp 0.8s ease-out forwards;
}
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
