:root {
  color-scheme: light;
  --bg: #ffffff;
  --text: #1a1a1a;
  --text-light: #4a5568;
  --purple: #7c3aed;
  --purple-dark: #6d28d9;
  --gold: #fbbf24;
  --gold-dark: #f59e0b;
  --border: rgba(124, 58, 237, 0.2);
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  height: auto;
  overflow-x: hidden;
}

.deck {
  min-height: 100vh;
}

.slide {
  position: relative;
  min-height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: visible;
  opacity: 0;
  transform: translateX(32px);
  transition:
    opacity 320ms ease-out,
    transform 320ms ease-out;
}

.slide.is-active {
  opacity: 1;
  transform: translateX(0);
}

/* Illustration - right side */
.illustration {
  position: absolute;
  right: 5vw;
  top: 50%;
  transform: translateY(-50%);
  width: min(40vw, 500px);
  opacity: 0.95;
  animation: fadeSlideLeft 900ms ease-out 200ms both;
  pointer-events: none;
}

.illustration img {
  width: 100%;
  height: auto;
  display: block;
}

/* Top corner badges */
.corner-badge {
  position: absolute;
  top: 32px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  animation: fadeSlideDown 600ms ease-out both;
}

.corner-badge--team {
  left: 32px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--purple);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.corner-badge--course {
  right: 32px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--text);
  box-shadow: 0 4px 20px rgba(251, 191, 36, 0.4);
  font-size: 1.1rem;
  font-weight: 700;
  animation-delay: 120ms;
  max-width: min(50vw, 600px);
  text-align: center;
  line-height: 1.3;
}

/* Main content */
.slide__content {
  max-width: 1400px;
  width: 100%;
  padding: 0 8vw 0 6vw;
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Hero title */
.hero-title {
  margin-top: 15vh;
  animation: fadeSlideUp 700ms ease-out 300ms both;
}

.hero-title h1 {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 0.95;
}

.hero-title__line {
  font-size: clamp(4rem, 10vw, 7.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero-title__line--accent {
  color: var(--purple);
}

.hero-title__line--dark {
  color: var(--text);
}

/* Info row */
.info-row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  animation: fadeSlideUp 700ms ease-out 450ms both;
}

.badge--teacher {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(251, 191, 36, 0.35);
  position: relative;
  overflow: hidden;
}

.badge--teacher::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

.date-text {
  font-size: 1.3rem;
  color: var(--text);
  font-weight: 500;
}

/* Navigation arrow - bottom-right */
.nav-arrow {
  position: absolute;
  bottom: 48px;
  right: 48px;
  width: 72px;
  height: 72px;
  border: none;
  background: transparent;
  color: var(--purple);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
  animation: fadeSlideLeft 700ms ease-out 600ms both;
  z-index: 10;
}

.nav-arrow--prev {
  left: 48px;
  right: auto;
}

.nav-arrow:hover {
  transform: translateX(6px);
  opacity: 0.8;
}

.nav-arrow svg {
  width: 100%;
  height: 100%;
}

/* Footer */
.slide__footer {
  position: absolute;
  bottom: 32px;
  left: 6vw;
  right: auto;
  z-index: 10;
  animation: fadeIn 800ms ease-out 700ms both;
}

.progress {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 280px;
}

.progress__bar {
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.2);
  overflow: hidden;
}

.progress__fill {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--purple), var(--purple-dark));
  transition: width 320ms ease-out;
}

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

.progress__label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

/* Members slide */
.slide--members {
  background: radial-gradient(circle at top left, rgba(124, 58, 237, 0.06), transparent 60%),
    radial-gradient(circle at bottom right, rgba(251, 191, 36, 0.08), transparent 60%),
    var(--bg);
}

.slide--members .slide__content {
  max-width: 1100px;
  padding: 0 8vw;
  align-items: flex-start;
}

.members-header {
  margin-top: 14vh;
  margin-bottom: 32px;
  animation: fadeSlideUp 650ms ease-out both;
}

.members-eyebrow {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-light);
  margin: 0 0 10px;
}

.members-header h2 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  letter-spacing: -0.03em;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  animation: fadeSlideUp 700ms ease-out 120ms both;
}

.member-card {
  padding: 20px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.35);
  position: relative;
  overflow: hidden;
}

.member-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(124, 58, 237, 0.18), transparent 55%);
  opacity: 0;
  transition: opacity 260ms ease-out;
}

.member-card:hover::before {
  opacity: 1;
}

.member-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

.member-name {
  margin: 0 0 8px;
  font-size: 1.4rem;
}

.member-id {
  margin: 0;
  font-size: 1rem;
  color: var(--text-light);
}

.slide--members .members-grid .member-card:nth-child(1) {
  animation: fadeSlideUp 650ms ease-out 160ms both;
}

.slide--members .members-grid .member-card:nth-child(2) {
  animation: fadeSlideUp 650ms ease-out 220ms both;
}

.slide--members .members-grid .member-card:nth-child(3) {
  animation: fadeSlideUp 650ms ease-out 280ms both;
}

.slide--members .members-grid .member-card:nth-child(4) {
  animation: fadeSlideUp 650ms ease-out 340ms both;
}

/* Hook slide */
.slide--hook {
  background: var(--bg);
  align-items: center;
  padding: 80px 4vw 140px;
}

.slide--hook .slide__content {
  max-width: 1400px;
  padding: 0;
  margin: auto;
}

/* Agent intro slide (Phần 4) */
.slide--agent {
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 55%),
    radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.12), transparent 55%), var(--bg);
  align-items: center;
  padding: 80px 6vw 140px;
}

.slide--agent .slide__content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.agent-header {
  text-align: left;
  margin-top: 6vh;
  animation: fadeSlideUp 650ms ease-out both;
}

.agent-eyebrow {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-light);
  margin: 0 0 8px;
}

.agent-header h2 {
  margin: 0 0 12px;
  font-size: clamp(2.4rem, 4.6vw, 3.2rem);
  letter-spacing: -0.03em;
}

.agent-subtitle {
  margin: 0;
  font-size: 1.1rem;
  max-width: 46rem;
  color: var(--text-light);
}

.agent-main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 28px;
  align-items: flex-start;
}

.agent-panel {
  padding: 22px 22px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.agent-panel__title {
  margin: 0 0 10px;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-light);
}

.agent-panel__text {
  margin: 0 0 10px;
  font-size: 1.02rem;
  line-height: 1.7;
}

.agent-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.9rem;
  white-space: nowrap;
  background: rgba(37, 99, 235, 0.06);
  color: #1d4ed8;
}

.agent-chip--highlight {
  font-weight: 600;
}

.agent-panel__note {
  margin: 14px 0 0;
  font-size: 0.98rem;
  color: var(--text-light);
}

/* Pros & cons slide (tối giản) */
.pros-cons-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.pros-cons-col {
  padding: 20px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.pros-cons-col--cons {
  background: linear-gradient(135deg, #fef2f2, #f9fafb);
}

.pros-cons-title {
  margin: 0 0 10px;
  font-size: 2.4rem;
  font-weight: 700;
}

.pros-cons-list {
  margin: 0;
  padding-left: 1.1rem;
  list-style: none;
}

.pros-cons-list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 6px;
  font-size: 2.1rem;
}

.pros-cons-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--purple);
}

.agent-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.agent-list__item {
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.02);
  border: 1px dashed rgba(148, 163, 184, 0.7);
}

.agent-list__label {
  font-size: 0.98rem;
}

.agent-showcase {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.agent-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 16px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.agent-card__icon {
  width: 96px;
  height: 96px;
  border-radius: 16px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.agent-card__icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.agent-card__title {
  margin: 0;
  font-size: 1rem;
}

.agent-card__text {
  margin: 4px 0 0;
  font-size: 0.95rem;
  color: var(--text-light);
}

/* Agent focus slide (zoom vào Cursor) */
.slide--agent-focus {
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 55%),
    radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.12), transparent 55%), var(--bg);
  align-items: center;
  padding: 80px 3vw 140px;
}

.slide--agent-focus .slide__content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.agent-header--focus {
  margin-top: 6vh;
}

.agent-focus-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.agent-card--cursor-main {
  transform-origin: center center;
}

.agent-card--dim {
  opacity: 0.3;
  filter: blur(1px);
}

.slide--agent-focus.is-active .agent-card--dim-left {
  animation: agentDimLeft 420ms ease-out 60ms both;
}

.slide--agent-focus.is-active .agent-card--dim-right {
  animation: agentDimRight 420ms ease-out 60ms both;
}

.slide--agent-focus.is-active .agent-card--cursor-main {
  animation: agentCursorZoom 620ms cubic-bezier(0.22, 0.74, 0.3, 1) 120ms both;
}

.agent-card__icon--cursor-main {
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
}

.agent-focus-note {
  margin: 4px 0 0;
  font-size: 0.98rem;
  color: var(--text-light);
}

/* Cursor feature list (scroll below focus row) */
.cursor-features {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: fadeSlideUp 650ms ease-out 160ms both;
}

.cursor-features__title {
  margin: 0 0 4px;
  font-size: clamp(1.7rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.cursor-feature {
  padding: 18px 20px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
  border: 1px solid rgba(148, 163, 184, 0.45);
}

.cursor-feature--split {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.cursor-feature__body {
  flex: 1.4;
}

.cursor-feature__visual {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
}

.cursor-feature__image {
  width: 250px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.cursor-feature__video {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.cursor-feature__video-wrapper {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.cursor-feature__caption {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-light);
  text-align: right;
}

.cursor-feature__title {
  margin: 0 0 10px;
  font-size: 1.9rem;
}

.cursor-feature__lead {
  margin: 0 0 8px;
  font-size: 1.55rem;
  line-height: 1.7;
}

.cursor-feature__text {
  margin: 4px 0 6px;
  font-size: 1.45rem;
  line-height: 1.7;
}

.cursor-feature__list {
  margin: 0 0 4px 1.3rem;
  padding: 0;
  font-size: 1.45rem;
  line-height: 1.6;
}

.cursor-feature__cards {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cursor-feature__card {
  background: #e0f2ff;
  border-radius: 14px;
  padding: 16px 10px 18px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.16);
  border: none;
}

.cursor-feature__card-title {
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 1.4rem;
}

.cursor-feature__card-text {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-light);
}

.cursor-feature__keyword {
  color: #1d4ed8;
  font-weight: 800;
}

.cursor-feature--split-inline {
  display: block;
}

.cursor-inline-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.cursor-inline-column .cursor-feature__cards {
  margin-top: 8px;
  grid-template-columns: 1fr;
}

.cursor-inline-column {
  background: #e0f2ff;
  border-radius: 18px;
  padding: 14px 16px 16px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
}

.cursor-inline-label {
  margin-bottom: 6px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.cursor-inline-label--highlight {
  font-weight: 700;
}

.cursor-feature__list li+li {
  margin-top: 2px;
}

@keyframes agentDimLeft {
  from {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }

  to {
    opacity: 0.25;
    transform: translateX(-26px);
    filter: blur(1px);
  }
}

@keyframes agentDimRight {
  from {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }

  to {
    opacity: 0.25;
    transform: translateX(26px);
    filter: blur(1px);
  }
}

@keyframes agentCursorZoom {
  from {
    transform: scale(1);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
  }

  to {
    transform: scale(1.35);
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.42);
  }
}

.hook-header {
  margin-bottom: 40px;
  text-align: center;
  animation: fadeSlideUp 650ms ease-out both;
}

.hook-eyebrow {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--purple);
  font-weight: 700;
  margin: 0 0 12px;
}

.hook-header h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
  font-weight: 700;
}

.hook-story {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 40px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.story-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: center;
  padding: 24px 20px;
  border-right: 2px solid rgba(124, 58, 237, 0.15);
}

.story-card:last-child {
  border-right: none;
}

.story-card--problem {
  background: #1d4ed8;
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
}

.story-card--problem::before {
  content: none;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

.story-card h3,
.story-card h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.story-section {
  margin: 14px 0;
  text-align: left;
}

.story-label {
  display: block;
  font-size: 0.94rem;
  margin-bottom: 8px;
  color: #111827;
  font-weight: 700;
}

.story-card--problem .story-label {
  color: #e5f0ff;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.tag-list--center {
  justify-content: center;
}

.tag-list--problem {
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  background: rgba(15, 23, 42, 0.6);
  color: #e5f0ff;
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.tag--problem,
.tag--action,
.tag--db,
.tag--auto {
  /* giữ để phân loại, không thêm icon/chấm tròn nữa */
}

.user-icon {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.user-icon__head {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  margin: 0 auto 4px;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  position: relative;
}

.user-icon__head::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b9cf7 0%, #9b6dc5 100%);
}

.user-icon__body {
  width: 64px;
  height: 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.story-badge {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 16px;
  padding: 0;
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.story-card--weak .story-badge {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.story-card--problem .story-badge {
  background: transparent;
  color: #eff6ff;
  font-weight: 900;
  padding: 12px 28px;
  border-radius: 12px;
  position: relative;
  display: inline-block;
}

.story-card--problem .story-badge::before {
  content: none;
}

.story-badge--highlight {
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  padding: 14px 32px;
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 50%, #0ea5e9 100%);
  border-radius: 12px;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45);
  animation: gradientShift 3s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.story-text {
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 12px;
  text-align: left;
  color: #e5f0ff;
}

.story-task {
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 12px 0;
  text-align: left;
  color: #e5f0ff;
}

.story-command {
  font-size: 1rem;
  font-style: italic;
  line-height: 1.8;
  margin: 12px 0;
  color: #374151;
  text-align: left;
  padding: 12px 14px;
  background: #f9fafb;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

.story-command::before {
  content: "";
}

.story-command strong {
  color: #111827;
}

.story-result {
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 600;
  color: #059669;
  margin-top: 16px;
  text-align: left;
  padding: 12px 14px;
  background: #f0fdf4;
  border-radius: 10px;
  border: none;
}

.story-result::before {
  content: "";
}

.story-footer {
  font-size: 0.95rem;
  color: #dc2626;
  font-weight: 600;
  line-height: 1.6;
  margin-top: 16px;
  text-align: left;
  padding: 12px 14px;
  background: #fef2f2;
  border-radius: 10px;
  border: none;
}

.story-footer::before {
  content: "";
}

.slide--hook .story-card:nth-child(1) {
  animation: fadeSlideUp 650ms ease-out 140ms both;
}

.slide--hook .story-card:nth-child(2) {
  animation: fadeSlideUp 650ms ease-out 220ms both;
}

.slide--hook .story-card:nth-child(3) {
  animation: fadeSlideUp 650ms ease-out 300ms both;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideLeft {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .illustration {
    width: min(35vw, 400px);
    opacity: 0.8;
  }

  .hero-title {
    margin-top: 18vh;
  }
}

@media (max-width: 768px) {
  .corner-badge {
    top: 20px;
    font-size: 0.85rem;
    padding: 10px 16px;
  }

  .corner-badge--team {
    left: 20px;
  }

  .corner-badge--course {
    right: 20px;
    font-size: 0.75rem;
    padding: 10px 14px;
    max-width: 55vw;
  }

  .slide__content {
    padding: 0 6vw;
  }

  .hero-title {
    margin-top: 20vh;
  }

  .hero-title__line {
    font-size: clamp(3rem, 12vw, 5rem);
  }

  .info-row {
    gap: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .badge--teacher {
    font-size: 0.95rem;
    padding: 12px 20px;
  }

  .date-text {
    font-size: 1.1rem;
  }

  .illustration {
    width: min(45vw, 300px);
    right: 2vw;
  }

  .nav-arrow {
    width: 56px;
    height: 56px;
    bottom: 32px;
    right: 32px;
  }

  .slide__footer {
    left: 6vw;
    bottom: 24px;
  }

  .progress {
    width: 200px;
  }

  .hook-story {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 24px;
  }

  .story-card {
    border-right: none;
    border-bottom: 2px solid rgba(124, 58, 237, 0.2);
    padding: 20px 16px;
  }

  .story-card:last-child {
    border-bottom: none;
  }

  .agent-main {
    grid-template-columns: 1fr;
  }

  .agent-showcase {
    grid-template-columns: 1fr;
  }

  .agent-focus-row {
    grid-template-columns: 1fr;
  }

  .cursor-feature {
    padding: 14px 14px 16px;
  }

  .cursor-feature--split {
    flex-direction: column;
  }

  .cursor-feature__figure {
    max-width: 100%;
  }

  .cursor-feature__cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .corner-badge {
    font-size: 0.75rem;
    padding: 8px 12px;
    top: 16px;
  }

  .corner-badge--team {
    left: 16px;
  }

  .corner-badge--course {
    right: 16px;
    font-size: 0.65rem;
    padding: 8px 10px;
    max-width: 60vw;
  }

  .hero-title {
    margin-top: 22vh;
  }

  .hero-title__line {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  .badge--teacher {
    font-size: 0.85rem;
    padding: 10px 16px;
    gap: 8px;
  }

  .date-text {
    font-size: 0.95rem;
  }

  .illustration {
    opacity: 0.6;
    width: 50vw;
  }

  .nav-arrow {
    width: 48px;
    height: 48px;
    bottom: 24px;
    right: 24px;
  }

  .slide__footer {
    left: 4vw;
    bottom: 20px;
  }

  .progress {
    width: 160px;
  }

  .progress__label {
    font-size: 0.85rem;
  }

  .hook-story {
    padding: 16px;
  }

  .story-badge {
    font-size: 1.1rem;
  }

  .user-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
  }

  .user-icon__head {
    width: 24px;
    height: 24px;
  }

  .user-icon__body {
    width: 48px;
    height: 30px;
  }

  .tag {
    font-size: 0.82rem;
    padding: 6px 10px;
  }

  .story-command,
  .story-result,
  .story-footer {
    font-size: 0.9rem;
    padding: 10px 12px;
  }

}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* --- Hook content simplification overrides --- */
.story-command,
.story-result,
.story-footer {
  border-left: none !important;
}

.story-command {
  color: #374151;
  background: #f9fafb;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

.story-command strong {
  color: #111827;
}

.story-result {
  background: #f0fdf4;
  border-radius: 10px;
  border: none;
}

.story-footer {
  background: #fef2f2;
  border-radius: 10px;
  border: none;
}