:root {
  --bg: #07080d;
  --bg2: #0e1018;
  --text: #eef0f6;
  --muted: #9aa3b8;
  --line: rgba(120, 134, 168, 0.2);
  --accent: #6c8dff;
  --accent2: #8b6dff;
  --card: rgba(22, 26, 38, 0.92);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur: 0.55s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 520px at 85% -5%, rgba(108, 141, 255, 0.12), transparent 55%),
    radial-gradient(700px 480px at 0% 105%, rgba(139, 109, 255, 0.1), transparent 50%),
    var(--bg);
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem clamp(1rem, 4vw, 2rem);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  background: rgba(7, 8, 13, 0.75);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 10px 28px rgba(108, 141, 255, 0.35);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.brand-icon {
  width: 22px;
  height: 22px;
  color: rgba(7, 8, 13, 0.92);
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.25));
}

.brand-icon .bi-knob {
  fill: currentColor;
}

/* Hover "morph": strokes draw + knob slides */
.brand:hover .brand-mark {
  box-shadow: 0 14px 34px rgba(108, 141, 255, 0.42);
}

.brand-icon .bi-base path,
.brand-icon .bi-base circle {
  transition: transform 0.55s var(--ease-out), opacity 0.55s var(--ease-out);
  transform-origin: 32px 32px;
}

.brand-icon .bi-tick,
.brand-icon .bi-line,
.brand-icon .bi-rail {
  stroke-dasharray: 60;
  stroke-dashoffset: 0;
  transition:
    stroke-dashoffset 0.55s var(--ease-out),
    opacity 0.55s var(--ease-out),
    transform 0.55s var(--ease-out);
}

.brand:hover .brand-icon .bi-tick,
.brand:hover .brand-icon .bi-line,
.brand:hover .brand-icon .bi-rail {
  stroke-dashoffset: 60;
  opacity: 0.75;
  transform: translateY(-1px);
}

.brand:hover .brand-icon .bi-knob {
  transform: translateX(8px) translateY(-1px);
}

.brand:hover .brand-icon {
  animation: brandWiggle 0.55s var(--ease-out) both;
}

@keyframes brandWiggle {
  0% { transform: scale(1) rotate(0deg); }
  45% { transform: scale(1.06) rotate(-6deg); }
  100% { transform: scale(1.02) rotate(0deg); }
}

.brand-text {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  align-items: center;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a[aria-current="page"] {
  color: var(--text);
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  animation: navline 0.35s var(--ease-out) both;
}

@keyframes navline {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

/* Page shell + entrance */
.page-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 4vw, 2rem) 3rem;
}

.page-enter {
  animation: pageIn var(--dur) var(--ease-out) both;
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.inner-page .page-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
}

.page-intro {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 62ch;
}

.legal-subhead {
  margin: 1.5rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.legal-subhead:first-of-type {
  margin-top: 0.75rem;
}

.page-cta {
  margin-top: 2.5rem;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  padding-bottom: 2rem;
}

@media (min-width: 880px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

@media (max-width: 560px) {
  /* Make header behave like a stacked mobile bar. */
  .site-header {
    padding: 0.8rem 0.9rem;
    gap: 0.7rem;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 0.25rem 0.75rem;
  }

  .site-nav a {
    font-size: 0.84rem;
    padding: 0.3rem 0;
  }

  /* Tighter overall spacing for small screens. */
  .page-shell {
    padding: 1.25rem 1rem 2.5rem;
  }

  .panel-block {
    padding: 1.1rem;
  }

  .hero {
    gap: 1.5rem;
    padding-bottom: 1.25rem;
  }

  .hero-lede {
    font-size: 1rem;
    margin-bottom: 1.3rem;
  }

  .hero-visual {
    min-height: 220px;
  }

  /* Prevent the mini “demo” overlay from crowding the hero on phones. */
  .hero-demo {
    display: none;
  }

  /* Examples/cards: reduce padding so cards fit without awkward wrapping. */
  .examples {
    margin: 1.6rem 0 1.15rem;
  }

  .example-card {
    padding: 1.1rem;
  }
}

@media (hover: none) {
  /* Touch devices: keep it pretty but avoid hover-triggered morph animation. */
  .brand:hover .brand-icon {
    animation: none !important;
  }
  .brand:hover .brand-icon .bi-tick,
  .brand:hover .brand-icon .bi-line,
  .brand:hover .brand-icon .bi-rail,
  .brand:hover .brand-icon .bi-knob {
    transform: none !important;
  }
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 4.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-lede {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 36ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  position: relative;
  min-height: 260px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04), transparent 40%);
  box-shadow: var(--shadow);
}

.hero-wave {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: auto;
  opacity: 0.9;
  animation: waveDrift 14s ease-in-out infinite alternate;
}

@keyframes waveDrift {
  from {
    transform: translateX(-2%) scale(1.02);
  }
  to {
    transform: translateX(2%) scale(1.05);
  }
}

.hero-glow {
  position: absolute;
  width: 60%;
  height: 60%;
  top: 10%;
  left: 20%;
  background: radial-gradient(circle, rgba(108, 141, 255, 0.35), transparent 65%);
  filter: blur(40px);
  animation: glowPulse 6s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  from {
    opacity: 0.55;
  }
  to {
    opacity: 0.95;
  }
}

.film-strip {
  position: absolute;
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.film-strip span {
  width: 14px;
  height: 36px;
  border-radius: 3px;
  background: linear-gradient(180deg, #2a3144, #151922);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  animation: framePop 2.4s var(--ease-out) infinite;
  animation-delay: calc(var(--n, 0) * 0.12s);
}

.film-strip span:nth-child(1) {
  --n: 0;
}
.film-strip span:nth-child(2) {
  --n: 1;
}
.film-strip span:nth-child(3) {
  --n: 2;
}
.film-strip span:nth-child(4) {
  --n: 3;
}
.film-strip span:nth-child(5) {
  --n: 4;
}

@keyframes framePop {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.85;
  }
  50% {
    transform: translateY(-6px);
    opacity: 1;
  }
}

/* Examples */
.examples {
  margin: 2.25rem 0 1.75rem;
}

.examples-head h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.examples-head p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  max-width: 70ch;
}

.examples-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .examples-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.example-card {
  padding: 1.25rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
}

.example-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.example-card p {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.example-visual {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), transparent 55%);
  min-height: 140px;
}

.example-visual--inbetween .cells {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  padding: 16px;
}

.example-visual--inbetween .cells span {
  height: 90px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(108, 141, 255, 0.25), rgba(139, 109, 255, 0.12));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  opacity: 0.7;
  transform: translateY(0);
  animation: cellPulse 1.9s var(--ease-out) infinite;
  animation-delay: calc(var(--c, 0) * 0.1s);
}

.example-visual--inbetween .cells span:nth-child(1) { --c: 0; }
.example-visual--inbetween .cells span:nth-child(2) { --c: 1; }
.example-visual--inbetween .cells span:nth-child(3) { --c: 2; }
.example-visual--inbetween .cells span:nth-child(4) { --c: 3; }
.example-visual--inbetween .cells span:nth-child(5) { --c: 4; }
.example-visual--inbetween .cells span:nth-child(6) { --c: 5; }
.example-visual--inbetween .cells span:nth-child(7) { --c: 6; }
.example-visual--inbetween .cells span:nth-child(8) { --c: 7; }

@keyframes cellPulse {
  0%, 100% { opacity: 0.55; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-4px); }
}

.example-visual--inbetween .scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(108, 141, 255, 0.22), transparent);
  width: 45%;
  transform: translateX(-110%);
  animation: scan 2.6s var(--ease-out) infinite;
  filter: blur(2px);
}

@keyframes scan {
  0% { transform: translateX(-110%); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateX(250%); opacity: 0; }
}

.example-visual--slowmo {
  display: grid;
  place-items: center;
}

.example-visual--slowmo .track {
  width: min(320px, 86%);
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  position: relative;
}

.example-visual--slowmo .dot {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, rgba(108, 141, 255, 0.9), rgba(139, 109, 255, 0.75));
  box-shadow: 0 14px 26px rgba(108, 141, 255, 0.18);
  opacity: 0.85;
}

.example-visual--slowmo .dot:nth-child(1) { left: 10%; }
.example-visual--slowmo .dot:nth-child(2) { left: 35%; opacity: 0.6; }
.example-visual--slowmo .dot:nth-child(3) { left: 62%; opacity: 0.6; }
.example-visual--slowmo .dot:nth-child(4) { left: 90%; }

.example-visual--slowmo .dot:nth-child(1),
.example-visual--slowmo .dot:nth-child(4) {
  animation: slowmoBeat 1.9s var(--ease-out) infinite;
}
.example-visual--slowmo .dot:nth-child(2),
.example-visual--slowmo .dot:nth-child(3) {
  animation: slowmoBeat 1.9s var(--ease-out) infinite 0.22s;
}

@keyframes slowmoBeat {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.75; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

/* Hero mini demo cards */
.hero-demo {
  position: absolute;
  inset: 14% 10% auto 10%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  z-index: 2;
}

.demo-card {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  padding: 10px 10px 12px;
}

.demo-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(238, 240, 246, 0.75);
  margin-bottom: 8px;
  font-weight: 700;
}

.demo-strip {
  display: flex;
  gap: 6px;
}

.demo-strip span {
  flex: 1 1 0;
  height: 54px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(42, 49, 68, 0.95), rgba(21, 25, 34, 0.85));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.demo-strip--orig span {
  opacity: 0.55;
}

.demo-strip--orig span:nth-child(1),
.demo-strip--orig span:nth-child(3),
.demo-strip--orig span:nth-child(5) {
  opacity: 0.95;
  background: linear-gradient(180deg, rgba(108, 141, 255, 0.35), rgba(21, 25, 34, 0.85));
}

.demo-strip--smooth span {
  opacity: 0.85;
  background: linear-gradient(180deg, rgba(108, 141, 255, 0.22), rgba(139, 109, 255, 0.12));
  animation: smoothFlow 2.2s var(--ease-out) infinite;
  animation-delay: calc(var(--s, 0) * 0.08s);
}

.demo-strip--smooth span:nth-child(1) { --s: 0; }
.demo-strip--smooth span:nth-child(2) { --s: 1; }
.demo-strip--smooth span:nth-child(3) { --s: 2; }
.demo-strip--smooth span:nth-child(4) { --s: 3; }
.demo-strip--smooth span:nth-child(5) { --s: 4; }
.demo-strip--smooth span:nth-child(6) { --s: 5; }
.demo-strip--smooth span:nth-child(7) { --s: 6; }
.demo-strip--smooth span:nth-child(8) { --s: 7; }

@keyframes smoothFlow {
  0%, 100% { transform: translateY(0); opacity: 0.78; }
  50% { transform: translateY(-5px); opacity: 1; }
}

/* Cards home */
.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.lift-card {
  display: block;
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.lift-card:hover {
  transform: translateY(-4px);
  border-color: rgba(108, 141, 255, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.lift-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.lift-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.2rem;
  border-radius: 11px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.2s var(--ease-out), filter 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
}

.btn-primary {
  border: none;
  color: #fff;
  background: linear-gradient(135deg, #4c80ff, #7e5cff);
  box-shadow: 0 10px 28px rgba(76, 128, 255, 0.35);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  background: transparent;
}

.btn-large {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

.dl-soon {
  opacity: 0.5;
  pointer-events: none;
}

.download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

/* Inner panels */
.panel-block {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}

.panel-block h2 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.plain-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.plain-list li {
  margin-bottom: 0.4rem;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  animation: cardRise 0.6s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 0.08s);
}

@keyframes cardRise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(108, 141, 255, 0.35), rgba(126, 92, 255, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  display: grid;
  place-items: center;
}

.feature-icon::after {
  content: "";
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, rgba(238, 240, 246, 0.95), rgba(238, 240, 246, 0.65));
  opacity: 0.92;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

.feature-icon[data-icon="frames"]::after {
  mask-image: url("./assets/icon-frames.svg");
  -webkit-mask-image: url("./assets/icon-frames.svg");
}
.feature-icon[data-icon="audio"]::after {
  mask-image: url("./assets/icon-audio.svg");
  -webkit-mask-image: url("./assets/icon-audio.svg");
}
.feature-icon[data-icon="spark"]::after {
  mask-image: url("./assets/icon-spark.svg");
  -webkit-mask-image: url("./assets/icon-spark.svg");
}
.feature-icon[data-icon="clarity"]::after {
  mask-image: url("./assets/icon-clarity.svg");
  -webkit-mask-image: url("./assets/icon-clarity.svg");
}

.feature-item h2 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.pricing-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.price-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
}

.price-card-featured {
  border-color: rgba(108, 141, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(108, 141, 255, 0.15), var(--shadow);
}

.price-card-featured.price-card-pro {
  animation: featuredCardGlow 3.8s ease-in-out infinite;
}

@keyframes featuredCardGlow {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(108, 141, 255, 0.18),
      0 0 28px rgba(108, 141, 255, 0.12),
      var(--shadow);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(139, 109, 255, 0.45),
      0 0 48px rgba(108, 141, 255, 0.28),
      0 12px 40px rgba(255, 140, 90, 0.08),
      var(--shadow);
  }
}

.price-card-pro {
  position: relative;
  overflow: visible;
}

.price-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 200, 120, 0.95), rgba(255, 120, 90, 0.9));
  color: #1a1020;
  box-shadow: 0 6px 20px rgba(255, 140, 90, 0.35);
}

.price-save {
  margin: -0.35rem 0 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(160, 220, 180, 0.95);
}

.price-tag__unit {
  font-size: 0.55em;
  font-weight: 600;
  color: var(--muted);
  margin-left: 0.15em;
}

.pricing-grid--hero {
  grid-template-columns: 1fr;
  max-width: 420px;
  margin: 0 auto 2.5rem;
}

.pricing-pro-launch {
  position: relative;
  margin-top: 0.5rem;
  padding: 2rem 0 0.5rem;
}

.pricing-pro-launch::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: min(900px, 100%);
  height: 160px;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 40%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 55% 22%, rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(1px 1px at 78% 55%, rgba(200, 210, 255, 0.3), transparent),
    radial-gradient(1.5px 1.5px at 30% 70%, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(1px 1px at 88% 38%, rgba(255, 255, 255, 0.22), transparent);
  background-size: 100% 100%;
  animation: starsDrift 28s linear infinite;
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
}

@keyframes starsDrift {
  from {
    transform: translateX(-50%) translateY(0);
  }
  to {
    transform: translateX(-50%) translateY(-24px);
  }
}

.pricing-pro-launch__head {
  text-align: center;
  max-width: 52ch;
  margin: 0 auto 1.75rem;
}

.pricing-pro-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  letter-spacing: -0.02em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
}

.pricing-pro-title__text {
  display: inline-block;
}

.pricing-pro-title__rockets {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.mini-rocket {
  display: inline-block;
  width: 12px;
  height: 20px;
  background: linear-gradient(180deg, #f0f2ff, #6c8dff 55%, #8b6dff);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  filter: drop-shadow(0 0 8px rgba(108, 141, 255, 0.65));
  animation: miniRocket 2.4s ease-in-out infinite;
}

.mini-rocket--b {
  animation-delay: -1.1s;
  width: 11px;
  height: 18px;
  opacity: 0.92;
}

@keyframes miniRocket {
  0%,
  100% {
    transform: translateY(0) rotate(-8deg);
  }
  50% {
    transform: translateY(-6px) rotate(8deg);
  }
}

.pricing-pro-sub {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
}

.pricing-grid--pro {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
  position: relative;
  z-index: 1;
}

@media (min-width: 960px) {
  .pricing-grid--pro {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.card-rocket {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 76px;
  margin: -0.25rem 0 0.35rem;
}

.card-rocket__svg {
  width: 56px;
  height: auto;
  overflow: visible;
  transform-origin: 50% 78%;
  animation: rocketHover 3.4s ease-in-out infinite;
}

.card-rocket--lag-1 .card-rocket__svg {
  animation-delay: -1.1s;
}

.card-rocket--yearly {
  height: 94px;
}

.card-rocket--yearly .card-rocket__svg--yearly {
  width: 60px;
}

.card-rocket--yearly .card-rocket__flame--mega {
  transform-origin: 50% 100%;
  animation: flameMega 0.55s ease-in-out infinite alternate;
}

.card-rocket--yearly .card-rocket__flame--wing-l {
  transform-origin: 18px 92px;
  animation: flameWingL 0.4s ease-in-out infinite alternate;
}

.card-rocket--yearly .card-rocket__flame--wing-r {
  transform-origin: 46px 92px;
  animation: flameWingR 0.42s ease-in-out infinite alternate;
}

.card-rocket--yearly .card-rocket__flame--strap {
  transform-origin: 50% 100%;
  animation: flameStrap 0.28s ease-in-out infinite alternate;
}

.card-rocket--yearly .card-rocket__flame--booster-l {
  transform-origin: 14px 76px;
  animation: flameBooster 0.32s ease-in-out infinite alternate;
}

.card-rocket--yearly .card-rocket__flame--booster-r {
  transform-origin: 50px 76px;
  animation: flameBooster 0.32s ease-in-out infinite alternate;
  animation-delay: 0.12s;
}

.card-rocket--yearly .card-rocket__flame--spark-1 {
  transform-origin: 7px 71px;
  animation: flameSpark 0.45s ease-in-out infinite alternate;
}

.card-rocket--yearly .card-rocket__flame--spark-2 {
  transform-origin: 58px 69px;
  animation: flameSpark 0.38s ease-in-out infinite alternate;
  animation-delay: 0.1s;
}

.card-rocket--yearly .card-rocket__flame--spark-3 {
  transform-origin: 32px 97px;
  animation: flameSpark 0.5s ease-in-out infinite alternate;
  animation-delay: 0.2s;
}

@keyframes flameMega {
  from {
    transform: scale(0.92);
    opacity: 0.4;
  }
  to {
    transform: scale(1.08);
    opacity: 0.65;
  }
}

@keyframes flameWingL {
  from {
    transform: rotate(-4deg) scaleY(0.88);
    opacity: 0.75;
  }
  to {
    transform: rotate(6deg) scaleY(1.12);
    opacity: 1;
  }
}

@keyframes flameWingR {
  from {
    transform: rotate(4deg) scaleY(0.88);
    opacity: 0.75;
  }
  to {
    transform: rotate(-6deg) scaleY(1.12);
    opacity: 1;
  }
}

@keyframes flameStrap {
  from {
    transform: scaleY(0.7);
    opacity: 0.85;
  }
  to {
    transform: scaleY(1.2);
    opacity: 1;
  }
}

@keyframes flameBooster {
  from {
    transform: scale(0.75);
    opacity: 0.65;
  }
  to {
    transform: scale(1.15);
    opacity: 1;
  }
}

@keyframes flameSpark {
  from {
    transform: scale(0.6);
    opacity: 0.35;
  }
  to {
    transform: scale(1.05);
    opacity: 1;
  }
}

.card-rocket--planet {
  height: 104px;
  align-items: center;
}

.card-rocket__scene--tropical {
  width: min(168px, 100%);
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
}

.trop-ocean-g {
  transform-origin: 70px 76px;
  animation: tropOceanSway 5.5s ease-in-out infinite alternate;
}

@keyframes tropOceanSway {
  from {
    transform: translateX(-2px);
  }
  to {
    transform: translateX(3px);
  }
}

.trop-sun {
  transform-origin: 118px 20px;
  animation: tropSunPulse 6s ease-in-out infinite;
}

@keyframes tropSunPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.95;
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}

.trop-palm-sway--a {
  transform-origin: 14px 40px;
  animation: tropPalmSwayA 3.8s ease-in-out infinite alternate;
}

.trop-palm-sway--b {
  transform-origin: 11px 36px;
  animation: tropPalmSwayB 4.2s ease-in-out infinite alternate;
}

@keyframes tropPalmSwayA {
  from {
    transform: rotate(-2.5deg);
  }
  to {
    transform: rotate(3.5deg);
  }
}

@keyframes tropPalmSwayB {
  from {
    transform: rotate(3deg);
  }
  to {
    transform: rotate(-4deg);
  }
}

.trop-rocket-ship {
  transform-origin: 18px 48px;
  animation: tropRocketLanded 3.6s ease-in-out infinite;
}

@keyframes tropRocketLanded {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1.5px);
  }
}

.trop-smoke--1 {
  transform-origin: 18px 56px;
  animation: tropSmoke 2.8s ease-in-out infinite;
}

.trop-smoke--2 {
  transform-origin: 24px 58px;
  animation: tropSmoke 2.8s ease-in-out infinite;
  animation-delay: -1.2s;
}

@keyframes tropSmoke {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(1);
  }
  50% {
    opacity: 0.65;
    transform: scale(1.12);
  }
}

@keyframes rocketHover {
  0%,
  100% {
    transform: translateY(0) rotate(-4deg);
  }
  50% {
    transform: translateY(-12px) rotate(5deg);
  }
}

.card-rocket__flame--outer {
  transform-origin: 50% 100%;
  animation: flameOuter 0.42s ease-in-out infinite alternate;
}

.card-rocket__flame--inner {
  transform-origin: 50% 100%;
  animation: flameInner 0.36s ease-in-out infinite alternate;
  animation-delay: 0.08s;
}

@keyframes flameOuter {
  from {
    transform: scaleY(0.82);
    opacity: 0.75;
  }
  to {
    transform: scaleY(1.12);
    opacity: 1;
  }
}

@keyframes flameInner {
  from {
    transform: scaleY(0.75) translateY(2px);
    opacity: 0.88;
  }
  to {
    transform: scaleY(1.18) translateY(0);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card-rocket__svg,
  .card-rocket__flame--outer,
  .card-rocket__flame--inner,
  .card-rocket--yearly .card-rocket__flame,
  .trop-ocean-g,
  .trop-sun,
  .trop-palm-sway--a,
  .trop-palm-sway--b,
  .trop-rocket-ship,
  .trop-smoke--1,
  .trop-smoke--2,
  .mini-rocket,
  .mini-rocket--b,
  .price-card-featured.price-card-pro,
  .pricing-pro-launch::before {
    animation: none !important;
  }

  .pricing-pro-launch::before {
    opacity: 0.35;
  }
}

.price-tag {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0.5rem 0 1rem;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.85rem;
}

.faq dt {
  font-weight: 600;
  margin-top: 1rem;
}
.faq dt:first-child {
  margin-top: 0;
}
.faq dd {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.compare-grid {
  margin-top: 1.1rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
}

.compare-row {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr 0.8fr;
  gap: 0;
  align-items: stretch;
}

.compare-cell {
  padding: 0.95rem 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.compare-cell--feature {
  justify-items: start;
  text-align: left;
  color: rgba(238, 240, 246, 0.92);
}

.compare-row .compare-cell:last-child {
  border-right: none;
}

.compare-head .compare-cell {
  border-top: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, rgba(108, 141, 255, 0.16), rgba(139, 109, 255, 0.1));
}

.compare-cell--mf {
  color: rgba(238, 240, 246, 0.98);
}

.compare-row--price .compare-cell {
  background: rgba(255, 255, 255, 0.02);
}

.compare-cheeky {
  margin: 0.6rem 0 0;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: inline-block;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(108, 141, 255, 0.12), rgba(139, 109, 255, 0.08));
}

@media (max-width: 720px) {
  .compare-grid {
    /* Keep column content readable; enable horizontal scroll instead of squeezing. */
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .compare-row {
    grid-template-columns: minmax(240px, 1fr) 132px 132px 132px;
    min-width: 720px;
  }
  .compare-cell {
    padding: 0.78rem 0.6rem;
    font-size: 0.95rem;
  }

  .compare-cell--feature {
    font-size: 0.93rem;
  }

  .price-chip {
    white-space: normal;
  }
}

.check {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(153, 255, 186, 0.98), rgba(41, 209, 120, 0.92));
  box-shadow:
    0 0 0 1px rgba(41, 209, 120, 0.22),
    0 0 18px rgba(41, 209, 120, 0.35),
    0 0 42px rgba(41, 209, 120, 0.22);
  position: relative;
}

.check::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 6px;
  border-left: 2.5px solid rgba(7, 8, 13, 0.9);
  border-bottom: 2.5px solid rgba(7, 8, 13, 0.9);
  transform: rotate(-45deg);
  left: 6px;
  top: 7px;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.22));
}

.price-chip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: rgba(238, 240, 246, 0.92);
}

.price-chip--mf {
  border-color: rgba(41, 209, 120, 0.35);
  box-shadow: 0 0 0 1px rgba(41, 209, 120, 0.12), 0 0 22px rgba(41, 209, 120, 0.15);
}

.price-chip--green {
  border-color: rgba(41, 209, 120, 0.35);
  box-shadow: 0 0 0 1px rgba(41, 209, 120, 0.12), 0 0 22px rgba(41, 209, 120, 0.15);
}

.price-chip--red {
  border-color: rgba(255, 92, 123, 0.35);
  box-shadow: 0 0 0 1px rgba(255, 92, 123, 0.1), 0 0 22px rgba(255, 92, 123, 0.14);
}

.inline-link {
  color: var(--accent);
  text-decoration: none;
}
.inline-link:hover {
  text-decoration: underline;
}

.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .page-enter,
  .feature-item,
  .site-nav a[aria-current="page"]::after {
    animation: none !important;
  }

  .hero-wave,
  .hero-glow,
  .film-strip span {
    animation: none !important;
  }

  .lift-card,
  .btn {
    transition: none !important;
  }

  .lift-card:hover,
  .btn:hover {
    transform: none;
  }
}
