/* Postuta — marketing site */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.link {
  color: var(--brand);
  font-weight: 600;
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.nav.is-scrolled {
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
}

.nav-links a:hover {
  color: var(--brand);
}

.nav-mobile-cta {
  display: none;
}

.nav-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-login {
  font-weight: 600;
  font-size: 15px;
}

.nav-login:hover {
  color: var(--brand);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, top 0.2s ease;
}

.nav-toggle span:first-child {
  top: 15px;
}

.nav-toggle span:last-child {
  top: 22px;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  top: 18px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  top: 18px;
  transform: rotate(-45deg);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 72px 0 40px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -200px -10% auto;
  height: 720px;
  background:
    radial-gradient(40% 50% at 30% 40%, rgba(91, 75, 255, 0.16), transparent 70%),
    radial-gradient(35% 45% at 72% 30%, rgba(255, 107, 74, 0.13), transparent 70%),
    radial-gradient(30% 40% at 50% 70%, rgba(18, 184, 148, 0.08), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.announce {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: border-color 0.15s ease;
}

.announce:hover {
  border-color: var(--line-2);
}

.announce-tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.hero-title {
  margin-top: 26px;
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

/* Platform names that take turns in the headline. All sit in one grid cell, so the
   line keeps the width of the longest name and nothing around it jumps. */
.rotator {
  display: inline-grid;
  vertical-align: bottom;
  overflow: hidden;
  padding-bottom: 0.08em; /* room for descenders like g and y */
  font-size: min(0.82em, 7.4vw); /* a bit smaller than the headline; the longest name still fits on a phone */
}

.rot-word {
  grid-area: 1 / 1;
  color: var(--c);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(70%);
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease;
}

.rot-word.is-on {
  opacity: 1;
  transform: none;
}

.rot-word.is-out {
  opacity: 0;
  transform: translateY(-70%);
}

@media (prefers-reduced-motion: reduce) {
  .rot-word {
    transition: none;
  }
}

.hero-sub {
  margin-top: 22px;
  max-width: 620px;
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--muted);
}

.hero-cta {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- FILM (story player) ---------- */
.film {
  position: relative;
  margin: 56px auto 0;
  max-width: 1040px;
  border-radius: var(--radius-xl);
  background: #14121f;
  padding: 10px;
  box-shadow: var(--shadow-lg);
}

.film::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(154, 91, 255, 0.6), rgba(255, 255, 255, 0.04) 40%, rgba(255, 107, 74, 0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.film-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 10px 12px;
  color: #a6a3ba;
  font-size: 12px;
}

.film-dots {
  display: flex;
  gap: 6px;
}

.film-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #34314a;
}

.film-url {
  flex: 1;
  text-align: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.film-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #7ee8c9;
}

.film-live .dot {
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.3;
  }
}

.film-stage {
  position: relative;
  aspect-ratio: 16 / 8.6;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(160deg, #f8f7ff 0%, #f3f1ff 55%, #fff4f0 100%);
}

.scene {
  position: absolute;
  inset: 0;
  padding: clamp(16px, 4vw, 44px);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.985) translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.scene.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition: opacity 0.45s ease 0.18s, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.18s;
}

/* Scene 1 */
.scene-capture {
  width: 100%;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(14px, 3vw, 32px);
  align-items: center;
}

.cap-video {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  background: linear-gradient(160deg, #2a2445, #17142a);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cap-face {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 46%;
}

.cap-head {
  width: 44%;
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(160deg, #ffb59e, #f08a6c);
}

.cap-body {
  margin-top: 6%;
  width: 100%;
  aspect-ratio: 2 / 1;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(160deg, #7a6cff, #5b4bff);
}

.cap-rec {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cap-rec .dot {
  color: #ff5a5a;
  animation: pulse 1.2s infinite;
}

.cap-wave {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.4);
}

.cap-wave i {
  width: 3px;
  height: 30%;
  border-radius: 2px;
  background: #fff;
  animation: wave 1s ease-in-out infinite;
}

.cap-wave i:nth-child(3n) { animation-delay: -0.3s; }
.cap-wave i:nth-child(3n + 1) { animation-delay: -0.6s; }
.cap-wave i:nth-child(4n) { animation-delay: -0.15s; }

@keyframes wave {
  50% {
    height: 100%;
  }
}

.cap-side {
  background: #fff;
  border-radius: 18px;
  padding: clamp(14px, 2vw, 22px);
  box-shadow: var(--shadow);
  text-align: left;
}

.cap-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
}

.cap-text {
  margin-top: 8px;
  font-size: clamp(12px, 1.5vw, 15px);
  color: var(--ink-2);
  min-height: 5.5em;
}

.cap-text::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -2px;
  background: var(--brand);
  animation: pulse 0.9s infinite;
}

.cap-tags {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--ink-2);
  border: 1px solid var(--line);
}

/* Scene 2 */
.scene-adapt {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 2vw, 20px);
}

.adapt-card {
  background: #fff;
  border-radius: 18px;
  padding: clamp(12px, 1.8vw, 20px);
  box-shadow: var(--shadow);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: clamp(11px, 1.3vw, 14px);
  opacity: 0;
  transform: translateY(14px);
}

.scene.is-active .adapt-card {
  animation: rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.scene.is-active .adapt-card:nth-child(2) { animation-delay: 0.25s; }
.scene.is-active .adapt-card:nth-child(3) { animation-delay: 0.5s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

.adapt-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.adapt-head b {
  font-size: 0.95em;
}

.adapt-head .count {
  margin-left: auto;
  font-size: 0.8em;
  color: var(--muted);
  white-space: nowrap;
}

.adapt-card p {
  color: var(--ink-2);
  flex: 1;
}

.adapt-foot {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.82em;
  color: var(--muted);
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.score {
  color: var(--mint);
  font-weight: 700;
}

/* Scene 3 */
.scene-cal {
  width: 100%;
  position: relative;
}

.mini-cal {
  background: #fff;
  border-radius: 18px;
  padding: clamp(12px, 2vw, 22px);
  box-shadow: var(--shadow);
}

.mc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: clamp(12px, 1.4vw, 15px);
  margin-bottom: 12px;
}

.mc-legend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.85em;
}

.mc-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.mc-day {
  min-height: clamp(110px, 20vw, 220px);
  border-radius: 12px;
  background: var(--bg-soft);
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mc-day > span {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
}

.mc-post {
  font-style: normal;
  font-size: clamp(9px, 1.1vw, 12px);
  font-weight: 600;
  padding: 6px 7px;
  border-radius: 8px;
  border-left: 3px solid var(--pc);
  background: color-mix(in srgb, var(--pc) 12%, #fff);
  color: var(--ink);
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
}

.p-li { --pc: #2f6fd6; }
.p-x { --pc: #17151f; }
.p-ig { --pc: #e0457b; }
.p-yt { --pc: #e5443a; }
.p-fb { --pc: #1877f2; }
.p-th { --pc: #4b4860; }

.scene.is-active .drop {
  animation: drop 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}

.scene.is-active .d1 { animation-delay: 0.2s; }
.scene.is-active .d2 { animation-delay: 0.45s; }
.scene.is-active .d3 { animation-delay: 0.7s; }

@keyframes drop {
  from {
    opacity: 0;
    transform: translateY(-24px) scale(0.9);
  }
}

.toast {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-size: clamp(11px, 1.3vw, 14px);
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
}

.scene.is-active .toast {
  animation: rise 0.5s 1.1s forwards;
}

.toast-ico {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--mint);
  display: grid;
  place-items: center;
  font-size: 12px;
}

/* Scene 4 */
.scene-learn {
  width: 100%;
  display: grid;
  gap: clamp(10px, 2vw, 18px);
}

.kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 2vw, 16px);
}

.kpi {
  background: #fff;
  border-radius: 16px;
  padding: clamp(10px, 1.8vw, 18px);
  box-shadow: var(--shadow);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.kpi span {
  font-size: clamp(10px, 1.2vw, 13px);
  color: var(--muted);
}

.kpi b {
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 32px);
  letter-spacing: -0.03em;
}

.kpi em {
  font-style: normal;
  font-size: clamp(10px, 1.1vw, 12px);
  color: var(--muted);
  font-weight: 600;
}

.kpi em.up {
  color: var(--mint);
}

.bars {
  height: clamp(70px, 14vw, 150px);
  display: flex;
  align-items: flex-end;
  gap: clamp(6px, 1.4vw, 14px);
  padding: 14px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.bars i {
  flex: 1;
  height: 0;
  border-radius: 8px 8px 4px 4px;
  background: var(--brand-50);
  transition: height 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bars i.hi {
  background: var(--grad);
}

.scene.is-active .bars i {
  height: var(--h);
}

.insight {
  text-align: left;
  font-size: clamp(11px, 1.3vw, 14px);
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--brand-50);
  color: var(--ink-2);
}

.insight b {
  color: var(--brand);
}

/* Play overlay */
.film-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(20, 18, 31, 0.28);
  backdrop-filter: blur(2px);
  transition: opacity 0.3s ease;
  z-index: 2;
}

.film-play.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.film-play-btn {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.25), var(--shadow-lg);
  transition: transform 0.2s ease;
}

.film-play:hover .film-play-btn {
  transform: scale(1.06);
}

.film-play-btn svg {
  width: 34px;
  height: 34px;
  margin-left: 4px;
}

/* Timeline */
.film-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 10px 6px;
}

.film-toggle {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: grid;
  place-items: center;
}

.film-toggle svg {
  width: 16px;
  height: 16px;
}

.film-toggle .i-play,
.film.is-paused .film-toggle .i-pause {
  display: none;
}

.film.is-paused .film-toggle .i-play {
  display: block;
}

.chapters {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.chapter {
  text-align: left;
  color: #8f8ca6;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: color 0.2s ease;
}

.chapter:hover,
.chapter.is-active {
  color: #fff;
}

.chapter-track {
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.chapter-track i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #9a5bff, #ff8a6b);
  border-radius: inherit;
}

.chapter.is-done .chapter-track i {
  width: 100%;
}

/* Proof */
.proof {
  margin-top: 48px;
  text-align: center;
}

.proof > p {
  font-size: 15px;
  color: var(--muted);
}

.proof b {
  color: var(--ink);
}

.marquee {
  margin-top: 20px;
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.stat {
  padding: 12px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}

.stat b {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink);
  margin-right: 6px;
}

/* ---------- SECTIONS ---------- */
.section {
  padding: 112px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-dark {
  background: #110f1e;
  color: #fff;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(30px, 4.4vw, 50px);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.section-head p {
  margin-top: 16px;
  font-size: 18px;
  color: var(--muted);
}

.section-head-light p {
  color: #a6a3ba;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
}

.section-head-light .eyebrow {
  color: #b3a9ff;
}

.checks {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
  font-size: 15px;
  color: var(--ink-2);
}

.checks li {
  position: relative;
  padding-left: 28px;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b4bff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* Who */
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.who {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.who:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.who-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 12%, #fff);
  margin-bottom: 20px;
}

.who-ico svg {
  width: 24px;
  height: 24px;
}

.who h3 {
  font-size: 22px;
}

.who p {
  margin-top: 10px;
  color: var(--muted);
}

/* Story rows */
.story {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
  padding: 40px 0;
}

.story-rev .story-copy {
  order: 2;
}

.story-copy h3 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
}

.story-copy > p {
  margin-top: 16px;
  font-size: 17px;
  color: var(--muted);
}

.step-num {
  display: inline-block;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
}

.story-visual {
  position: relative;
  padding: 36px;
  border-radius: var(--radius-xl);
  background: linear-gradient(150deg, #ece9ff, #fdf0ec);
}

.sv-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 22px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* capture visual */
.svc-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.svc-opt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}

.svc-opt svg {
  width: 16px;
  height: 16px;
}

.svc-opt.is-on {
  border-color: var(--brand);
  background: var(--brand-50);
  color: var(--brand);
}

.svc-drop {
  margin-top: 16px;
  padding: 16px;
  border-radius: 16px;
  border: 1.5px dashed var(--line-2);
}

.svc-file {
  display: flex;
  gap: 12px;
  align-items: center;
}

.svc-file b {
  display: block;
  font-size: 14px;
}

.svc-file span {
  font-size: 12px;
  color: var(--muted);
}

.svc-thumb {
  width: 64px;
  height: 44px;
  flex: none;
  border-radius: 10px;
  background: linear-gradient(140deg, #2a2445, #5b4bff);
  position: relative;
}

.svc-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-left: 10px solid #fff;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  transform: translateX(2px);
}

.svc-moments {
  position: relative;
  margin-top: 16px;
  height: 30px;
  border-radius: 8px;
  background: repeating-linear-gradient(90deg, var(--bg-soft) 0 3px, #fff 3px 6px);
  border: 1px solid var(--line);
}

.svc-moments span {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: var(--l);
  width: var(--w);
  border-radius: 6px;
  background: var(--grad);
  opacity: 0.85;
}

/* adapt visual */
.sva-source {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bg-soft);
}

.sva-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.sva-source p {
  margin-top: 4px;
  font-size: 14px;
  color: var(--ink-2);
}

.sva-arrow {
  display: flex;
  justify-content: center;
  margin: 12px 0;
  position: relative;
}

.sva-arrow::before {
  content: "";
  position: absolute;
  top: -12px;
  bottom: -12px;
  left: 50%;
  width: 2px;
  background: linear-gradient(var(--line-2), var(--brand));
}

.sva-arrow span {
  position: relative;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.sva-outs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sva-out {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.sva-out b {
  display: block;
  font-size: 13px;
}

.sva-out span:not(.ch) {
  font-size: 12px;
  color: var(--muted);
}

/* calendar visual */
.svcal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.svcal-views {
  display: inline-flex;
  padding: 3px;
  border-radius: 10px;
  background: var(--bg-soft);
}

.svcal-views i {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
  color: var(--muted);
}

.svcal-views i.on {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.svcal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.svcal-grid > div {
  min-height: 150px;
  padding: 6px 4px;
  border-radius: 10px;
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.svcal-grid span {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
}

.svcal-grid i {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  padding: 5px;
  border-radius: 7px;
  border-left: 3px solid var(--pc);
  background: color-mix(in srgb, var(--pc) 12%, #fff);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.svcal-grid i.ghost {
  border: 1.5px dashed var(--brand);
  background: var(--brand-50);
  color: var(--brand);
  white-space: normal;
}

/* rules visual */
.sv-rules {
  display: grid;
  gap: 10px;
}

.rule {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 64px 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
}

.rule-if {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
}

.rule-then {
  color: var(--brand);
  font-weight: 700;
}

.switch {
  position: absolute;
  right: 14px;
  top: 50%;
  margin-top: -10px;
  width: 36px;
  height: 20px;
  border-radius: 999px;
  background: var(--line-2);
}

.switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.switch.on {
  background: var(--mint);
}

.switch.on::after {
  transform: translateX(16px);
}

.rule-stat {
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #e8faf5;
  color: #0b7a62;
  font-size: 14px;
}

/* Features */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feat {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  transition: background 0.2s ease, transform 0.2s ease;
}

.feat:hover {
  background: #fff;
  transform: translateY(-3px);
}

.feat-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c);
}

.feat-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--c);
}

.feat h3 {
  margin-top: 14px;
  font-size: 20px;
}

.feat p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

.feat-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  align-items: center;
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.feat-wide:hover {
  background: var(--ink);
}

.feat-wide .feat-eyebrow {
  --c: #b3a9ff !important;
  grid-column: 1;
}

.feat-wide h3,
.feat-wide p {
  grid-column: 1;
}

.feat-wide p {
  color: #a6a3ba;
}

.code {
  grid-column: 2;
  grid-row: 1 / span 3;
  margin: 0;
  padding: 20px;
  border-radius: 16px;
  background: #1d1a2e;
  border: 1px solid #2c2942;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13.5px;
  line-height: 1.7;
  color: #e7e5f4;
  overflow-x: auto;
}

.c-mute { color: #6f6b8a; }
.c-str { color: #ffb59e; }

/* Channels */
.ch-wall {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.ch-wall > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ch-wall > span:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.ch-wall .ch {
  font-style: normal;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.ch-wall .more {
  padding: 8px 16px;
  color: #b3a9ff;
}

/* Use cases */
.uc-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.uc-tab {
  height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
  transition: all 0.2s ease;
}

.uc-tab:hover {
  color: var(--ink);
}

.uc-tab.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.uc-panel {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px;
  border-radius: var(--radius-xl);
  background: linear-gradient(150deg, #f1effe, #fdf3ef);
  transition: opacity 0.25s ease;
}

.uc-panel.is-fading {
  opacity: 0;
}

.uc-copy h3 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
}

.uc-copy p {
  margin: 14px 0 24px;
  font-size: 17px;
  color: var(--ink-2);
}

.uc-stats {
  display: grid;
  gap: 12px;
}

.uc-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.uc-stat b {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: -0.03em;
  min-width: 96px;
}

.uc-stat span {
  color: var(--muted);
  font-size: 15px;
}

/* Testimonials */
.love {
  columns: 3 300px;
  column-gap: 20px;
}

.quote {
  break-inside: avoid;
  margin: 0 0 20px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
}

.quote blockquote {
  margin: 0;
  font-size: 16px;
  color: var(--ink-2);
}

.quote figcaption {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote figcaption b {
  display: block;
  font-size: 14px;
}

.quote figcaption span:not(.avatar) {
  font-size: 13px;
  color: var(--muted);
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 14%, #fff);
  flex: none;
}

/* Pricing */
.billing {
  display: flex;
  width: max-content;
  margin: -24px auto 40px;
  padding: 5px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.billing-opt {
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.billing-opt.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.save {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e8faf5;
  color: #0b7a62;
}

.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
}

.plan h3 {
  font-size: 20px;
}

.plan-for {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.price {
  margin: 22px 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price b {
  font-family: var(--font-display);
  font-size: 46px;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-size: 14px;
}

.plan .checks {
  margin-top: 24px;
  font-size: 14px;
}

.plan-pop {
  border: 2px solid var(--brand);
  box-shadow: 0 30px 60px -30px rgba(91, 75, 255, 0.45);
  background: linear-gradient(180deg, #faf9ff, #fff 40%);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.price-note {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.compare {
  margin-top: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
}

.compare summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 24px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.compare summary::-webkit-details-marker {
  display: none;
}

.compare summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 500;
  color: var(--brand);
  transition: transform 0.2s ease;
}

.compare[open] summary::after {
  transform: rotate(45deg);
}

.table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--line);
}

.compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 600px;
}

.compare th,
.compare td {
  padding: 14px 24px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.compare th {
  background: var(--bg-soft);
  font-weight: 700;
}

.compare th:nth-child(4),
.compare td:nth-child(4) {
  background: #faf9ff;
}

.compare tr:last-child td {
  border-bottom: 0;
}

/* FAQ */
.faq-wrap {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.faq-head {
  text-align: left;
  margin: 0;
  position: sticky;
  top: 100px;
}

.faq details {
  border-bottom: 1px solid var(--line-2);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 40px 22px 0;
  font-weight: 600;
  font-size: 17px;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq details p {
  padding: 0 40px 22px 0;
  color: var(--muted);
}

/* CTA band */
.cta-band {
  padding: 24px;
}

.cta-inner {
  max-width: 1180px;
  padding: 88px 24px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(50% 80% at 20% 0%, rgba(154, 91, 255, 0.55), transparent 70%),
    radial-gradient(45% 80% at 85% 100%, rgba(255, 107, 74, 0.45), transparent 70%),
    #14121f;
  color: #fff;
  text-align: center;
}

.cta-inner h2 {
  font-size: clamp(30px, 4.6vw, 54px);
  font-weight: 800;
  max-width: 760px;
  margin: 0 auto;
}

.cta-inner p {
  margin-top: 16px;
  font-size: 18px;
  color: #c9c6dc;
}

.cta-light {
  background: #fff;
  color: var(--ink);
}

.cta-light:hover {
  background: #f0eeff;
}

.cta-outline {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Footer */
.footer {
  padding: 72px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
}

.footer-brand p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  max-width: 280px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer-cols h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 14px;
}

.footer-cols a {
  display: block;
  font-size: 14px;
  padding: 5px 0;
  color: var(--ink-2);
}

.footer-cols a:hover {
  color: var(--brand);
}

.footer-base {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .plans {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 28px;
  }

  .story {
    gap: 40px;
  }
}

@media (max-width: 880px) {
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
  }

  .nav-links.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav-links > a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .nav-mobile-cta {
    display: flex;
    gap: 10px;
    margin-top: 18px;
  }

  .nav-mobile-cta .btn {
    flex: 1;
  }

  .nav-toggle {
    display: block;
  }

  .nav-login {
    display: none;
  }

  .who-grid,
  .feat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .who-grid > :last-child {
    grid-column: 1 / -1;
  }

  .story,
  .uc-panel,
  .faq-wrap,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .story-rev .story-copy {
    order: 0;
  }

  .faq-head {
    position: static;
    text-align: center;
  }

  .feat-wide {
    grid-template-columns: 1fr;
  }

  .code {
    grid-column: 1;
    grid-row: auto;
    margin-top: 20px;
  }

  .uc-panel {
    padding: 32px;
    gap: 28px;
  }

  .scene-capture {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .section-head p {
    font-size: 16px;
  }

  .hero {
    padding-top: 44px;
  }

  .announce {
    font-size: 13px;
  }

  .hero-cta {
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 360px;
  }

  .film {
    margin-top: 36px;
    padding: 6px;
    border-radius: 20px;
  }

  .film-top {
    padding: 4px 6px 8px;
  }

  .film-url {
    display: none;
  }

  .film-live {
    margin-left: auto;
  }

  .film-stage {
    aspect-ratio: 4 / 5;
    border-radius: 16px;
  }

  .scene-capture {
    grid-template-columns: 1fr;
  }

  .cap-video {
    aspect-ratio: 16 / 10;
  }

  .scene-adapt {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .adapt-card {
    gap: 6px;
  }

  .adapt-card:nth-child(3) {
    display: none;
  }

  .mc-grid {
    gap: 3px;
  }

  .mc-day {
    min-height: 260px;
    padding: 6px 3px;
  }

  .mc-post {
    font-size: 9px;
    padding: 4px;
    word-break: break-word;
  }

  .toast {
    left: 12px;
    right: 12px;
    bottom: 12px;
    justify-content: center;
  }

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

  .kpis .kpi:last-child {
    grid-column: 1 / -1;
  }

  .film-play-btn {
    width: 64px;
    height: 64px;
  }

  .film-bar {
    gap: 10px;
    padding: 10px 6px 4px;
  }

  .chapters {
    gap: 4px;
  }

  .chapter-name {
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .who-grid,
  .feat-grid,
  .plans {
    grid-template-columns: 1fr;
  }

  .story {
    padding: 24px 0;
  }

  .story-visual {
    padding: 16px;
    border-radius: 24px;
  }

  .sv-card {
    padding: 16px;
  }

  .sva-outs {
    grid-template-columns: 1fr;
  }

  .svcal-grid > div {
    min-height: 120px;
  }

  .svcal-grid i {
    font-size: 9px;
    padding: 3px;
  }

  .uc-panel {
    padding: 24px;
  }

  .uc-stat b {
    font-size: 24px;
    min-width: 76px;
  }

  .billing {
    margin-top: -12px;
  }

  .faq summary {
    font-size: 16px;
  }

  .cta-band {
    padding: 16px;
  }

  .cta-inner {
    padding: 56px 20px;
    border-radius: 24px;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}

/* SSLCommerz payment channels banner */
.pay-banner {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 22px auto 0;
  border-radius: 14px;
  background: #fff;
}
.footer-pay {
  padding-top: 8px;
}
.pay-banner-sm {
  max-width: 640px;
  opacity: 0.95;
}
