:root {
  --ink: #1a1f2e;
  --muted: #6b7385;
  --line: rgba(26, 31, 46, 0.08);
  --accent: #7c5cff;
  --accent-2: #b855f0;
  --soft: #f3efff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  color: var(--ink);
  background: #f3f0fa;
  overflow-x: hidden;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 8% 0%, rgba(124, 92, 255, 0.16), transparent 60%),
    radial-gradient(800px 460px at 100% 8%, rgba(184, 85, 240, 0.12), transparent 55%),
    linear-gradient(165deg, #faf8ff 0%, #f0ecf8 50%, #ebe6f7 100%);
  overflow: hidden;
}

.paper {
  position: absolute;
  width: 54px;
  height: 68px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(70, 50, 140, 0.08);
  border: 1px solid rgba(124, 92, 255, 0.08);
}

.paper::before {
  content: "";
  position: absolute;
  inset: 12px 10px auto;
  height: 2px;
  background: rgba(124, 92, 255, 0.18);
  box-shadow: 0 8px 0 rgba(124, 92, 255, 0.12), 0 16px 0 rgba(124, 92, 255, 0.1);
}

.p1 { left: 3%; top: 18%; transform: rotate(-18deg); opacity: 0.7; }
.p2 { left: 8%; bottom: 14%; transform: rotate(12deg); opacity: 0.55; width: 42px; height: 54px; }
.p3 { right: 4%; top: 22%; transform: rotate(16deg); opacity: 0.65; }
.p4 { right: 7%; bottom: 12%; transform: rotate(-10deg); opacity: 0.5; width: 46px; height: 58px; }

.stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(340px, 430px) minmax(0, 1fr);
  gap: 22px;
  width: 100%;
  min-height: 100vh;
  padding: 22px 24px;
  align-items: stretch;
}

.guide {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  padding: 26px 22px 20px;
  box-shadow:
    0 20px 50px rgba(70, 50, 140, 0.1),
    0 2px 0 rgba(255, 255, 255, 0.8) inset;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.guide-sparkles {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 54px;
  height: 40px;
  pointer-events: none;
}

.guide-sparkles span {
  position: absolute;
  color: #c4b5fd;
  background: currentColor;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.guide-sparkles span:nth-child(1) { width: 14px; height: 14px; top: 0; right: 8px; opacity: 0.85; }
.guide-sparkles span:nth-child(2) { width: 9px; height: 9px; top: 16px; right: 28px; opacity: 0.55; }
.guide-sparkles span:nth-child(3) { width: 7px; height: 7px; top: 4px; right: 36px; opacity: 0.4; }

.hero {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
  padding-right: 40px;
}

.logo {
  flex: none;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(124, 92, 255, 0.28);
}

.hero h1 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1.25;
  font-weight: 800;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.lede {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}

.steps {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.steps li {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 4px 14px rgba(70, 50, 140, 0.04);
}

.num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 6px 14px rgba(124, 92, 255, 0.28);
}

.step-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: #7c5cff;
}

.step-ico svg {
  width: 18px;
  height: 18px;
}

.step-ico-img {
  overflow: hidden;
  padding: 0;
}

.step-ico-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step-ico-ai {
  color: #8b5cf6;
  background: linear-gradient(145deg, #f3e8ff, #efe7ff);
}

.step-copy {
  min-width: 0;
}

.step-copy strong {
  display: block;
  margin-bottom: 2px;
  font-size: 13.5px;
  font-weight: 800;
}

.step-copy p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted);
}

.step-copy em {
  font-style: normal;
  color: #6c4dff;
  font-weight: 700;
}

.chev {
  color: #c5cad6;
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  padding-right: 2px;
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 12px;
}

a.btn {
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font: 700 13.5px/1.2 inherit;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
  width: 100%;
  justify-content: center;
}

.btn:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.btn.primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  background: linear-gradient(100deg, #6c5ce7 0%, #8b5cf6 48%, #c45cb8 100%);
  box-shadow: 0 12px 26px rgba(124, 92, 255, 0.32);
}

.btn-play {
  font-size: 10px;
  opacity: 0.95;
}

.btn-arrow {
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  opacity: 0.9;
}

.btn.ghost {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.foot {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

.tip-ico {
  flex: none;
  line-height: 1.2;
}

.media {
  min-width: 0;
  min-height: 0;
}

.media-card {
  height: 100%;
  max-height: calc(100vh - 44px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 18px 14px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 22px 48px rgba(70, 50, 140, 0.12);
  overflow: hidden;
}

.media-head {
  flex: none;
  position: relative;
  z-index: 3;
}

.media-head h2 {
  margin: 0 0 4px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: #2d2458;
}

.media-head em {
  font-style: normal;
  color: var(--accent);
}

.media-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}

/* Video sits on TOP of the illustration (mockup composition). */
.media-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 460px;
  border-radius: 16px;
  overflow: hidden;
  background: #f4f0ff;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 70% 30%, rgba(124, 92, 255, 0.12), transparent 55%),
    #f4f0ff;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.video-wrap {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 4;
  width: min(52%, 480px);
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #0f1220;
  box-shadow: 0 16px 36px rgba(40, 35, 80, 0.28);
}

.video-poster {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  position: relative;
  background: #1a1035;
}

.video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yt-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.4));
  transition: transform 0.15s ease;
}

.video-poster:hover .yt-play,
.video-poster:focus-visible .yt-play {
  transform: translate(-50%, -50%) scale(1.08);
}

.video-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 960px) {
  .stage {
    grid-template-columns: 1fr;
    padding: 14px;
    min-height: auto;
  }

  .media-card {
    max-height: none;
    min-height: auto;
  }

  .media-stage {
    min-height: 420px;
    aspect-ratio: 4 / 3;
  }

  .video-wrap {
    width: min(70%, 420px);
  }

  .paper { display: none; }
}
