/* MotionKit PRO page — on top of /motionkit/styles.css */

:root {
  --pro-grad: linear-gradient(100deg, #b6a9ff, #9d8cff 45%, #ff9f6e 85%, #ffb547);
}

.pro-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 7px;
  border-radius: 6px;
  background: var(--pro-grad);
  color: #140f1f;
  font: 800 11px/1 var(--body);
  letter-spacing: 0.1em;
  vertical-align: 2px;
}
.brand .pro-tag { margin-left: 6px; }

.pill-pro {
  background: linear-gradient(100deg, rgba(157, 140, 255, 0.14), rgba(255, 181, 71, 0.12));
  border-color: rgba(255, 181, 71, 0.4);
  color: #ffd9a3;
}

.is-pro h1 .accent {
  background: var(--pro-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (min-width: 981px) { .is-pro h1 { font-size: clamp(48px, 5vw, 70px); } }

.btn-price {
  margin-left: 4px;
  padding-left: 12px;
  border-left: 1px solid rgba(14, 11, 36, 0.25);
  font-weight: 700;
}
.btn-price s { margin-right: 6px; opacity: 0.55; font-weight: 500; }

.module .where {
  margin: 18px 0 0;
  color: var(--text-dim);
  font: 500 12.5px/1.4 var(--mono);
  letter-spacing: 0.02em;
}
.module .where a { color: var(--accent-text); text-decoration: none; }
.module .where a:hover { text-decoration: underline; }
.module-free { background: linear-gradient(180deg, #17151f, #131218); border-color: #26213b; }
.module-free .module-icon { background: linear-gradient(145deg, #3a3550, #25222f); box-shadow: none; }
.module-free .module-icon svg { stroke: var(--accent-hi); }

/* --- Free vs PRO -------------------------------------------------------- */
.cmp {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), #141416);
  overflow: hidden;
}
.cmp-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px 110px;
  align-items: center;
  gap: 12px;
  padding: 13px 22px;
  border-top: 1px solid var(--line-soft);
  color: var(--text-mid);
  font-size: 15.5px;
}
.cmp-row:first-child { border-top: 0; }
.cmp-row > :nth-child(n+2) { text-align: center; justify-self: center; }
.cmp-row > :last-child { position: relative; }
.cmp-head { background: #141417; color: var(--text); font: 600 14px/1.2 var(--body); }
.cmp-head > :last-child { color: #ffd9a3; }
.cmp i {
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0;
  font-style: normal;
}
.cmp i.y { background: rgba(157, 140, 255, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23b6a9ff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.cmp i.n { background: transparent; }
.cmp i.n::before { content: ""; display: block; width: 10px; height: 2px; margin: 10px auto 0; background: var(--line); border-radius: 2px; }
.cmp-price { background: #141417; color: var(--text); }
.cmp-price b { font: 700 17px/1 var(--display); }
.cmp-price b:last-child { color: #ffd9a3; }
.cmp-price s { margin-right: 6px; color: var(--text-dim); font-weight: 500; }

/* --- Licence / buy ------------------------------------------------------ */
.buy {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.buy h2 { margin: 8px 0 22px; font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.03em; line-height: 1.05; }
.buy-list { margin: 0; padding: 0; list-style: none; }
.buy-list li {
  position: relative;
  padding: 8px 0 8px 30px;
  color: var(--text-mid);
  border-top: 1px solid var(--line-soft);
}
.buy-list li:first-child { border-top: 0; }
.buy-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 17px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.buy-card {
  position: relative;
  padding: 38px 34px 30px;
  text-align: center;
  background: radial-gradient(420px 260px at 50% 0%, rgba(157, 140, 255, 0.16), transparent 70%), linear-gradient(180deg, #19181f, #131217);
  border: 1px solid #2b2640;
  border-radius: 20px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), 0 0 80px -30px rgba(157, 140, 255, 0.45);
}
.buy-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(160deg, rgba(182, 169, 255, 0.6), transparent 40%, transparent 70%, rgba(255, 181, 71, 0.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.buy-name { font: 700 24px/1 var(--display); letter-spacing: -0.02em; }
.buy-name em { font-style: normal; font-weight: 500; color: var(--text-mid); }
.buy-price { margin: 22px 0 6px; font: 800 64px/1 var(--display); letter-spacing: -0.04em; }
.buy-price s { margin-right: 12px; color: var(--text-dim); font-size: 34px; font-weight: 600; vertical-align: 14px; }
.buy-sub { margin: 0 0 24px; color: var(--text-mid); font-size: 15px; }
.buy-sub .deal { display: flex; flex-direction: column; gap: 5px; margin-top: 14px; padding: 12px 16px; border-radius: 14px; text-align: left;
  background: linear-gradient(100deg, rgba(255, 159, 110, 0.18), rgba(255, 181, 71, 0.10)); border: 1px solid rgba(255, 181, 71, 0.5); box-shadow: 0 10px 34px -12px rgba(255, 159, 110, 0.55); }
.buy-sub .deal b { display: flex; align-items: center; gap: 9px; color: #ffd9a3; font: 700 16px/1.2 var(--body); }
.buy-sub .deal b i { width: 8px; height: 8px; border-radius: 50%; background: #ffb547; animation: dealPulse 2s ease-out infinite; }
.buy-sub .deal em { font-style: normal; font-size: 13.5px; line-height: 1.4; color: var(--text-mid); }
@keyframes dealPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 181, 71, 0.7); } 70%, 100% { box-shadow: 0 0 0 9px rgba(255, 181, 71, 0); } }
@media (prefers-reduced-motion: reduce) { .buy-sub .deal b i { animation: none; } }
.buy-sub code { padding: 2px 7px; border-radius: 6px; border: 1px dashed rgba(255, 181, 71, 0.6); background: rgba(255, 181, 71, 0.18); color: #ffd9a3; font: 500 13px var(--mono); }
.buy-card .btn { width: 100%; justify-content: center; }
.buy-fine { margin: 16px 0 0; color: var(--text-dim); font-size: 13px; line-height: 1.5; }

.final .hero-meta a, .faq-a a { color: var(--accent-text); }

@media (max-width: 860px) {
  .buy { grid-template-columns: 1fr; gap: 36px; }
  .cmp-row { grid-template-columns: minmax(0, 1fr) 64px 64px; padding: 12px 14px; font-size: 14px; gap: 8px; }
  .btn-price { display: none; }
}

/* the film button carries the poster in the MotionKit styles: use the PRO one */
.film-play {
  background:
    linear-gradient(180deg, rgba(11, 11, 14, 0) 45%, rgba(11, 11, 14, 0.85)),
    url("/motionkit-pro/video/poster.jpg") center / cover no-repeat;
}
@media (max-width: 760px) {
  .film-play { background: linear-gradient(180deg, rgba(11, 11, 14, 0.15), rgba(11, 11, 14, 0.55)), url("/motionkit-pro/video/poster.jpg") center / cover no-repeat; }
}
