:root {
  --ink: #101a35;
  --muted: #5f6e85;
  --cream: #ffffff;
  --paper: #ffffff;
  --navy: #101a35;
  --teal: #5b7cfa;
  --cyan: #9db5ff;
  --gold: #f4b84a;
  --rose: #ff5b6e;
  --orange: #f08a58;
  --price-red: #e53935;
  --line: rgba(16, 26, 53, 0.1);
  --shadow: 0 24px 70px rgba(16, 26, 53, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  --cursor-x: 0px;
  --cursor-y: 0px;
  --scroll-progress: 0%;
  --scroll-depth: 0px;
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(16, 26, 53, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 26, 53, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.58) 42%, rgba(255, 255, 255, 0.38) 72%, rgba(255, 255, 255, 0.32) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.52)),
    url("assets/brand/hero-fundo-autismo-principal.png") left bottom / 82rem auto no-repeat,
    url("assets/brand/hero-fundo-autismo-secundario.png") right top / 86rem auto no-repeat,
    #ffffff;
  background-size: 34px 34px, 34px 34px, auto, auto, auto, auto, auto;
  opacity: 1;
  animation: ambientShift 18s ease-in-out infinite alternate;
  transform: translate3d(var(--cursor-x), calc(var(--cursor-y) + var(--scroll-depth)), 0);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 28%, rgba(91, 124, 250, 0.1), transparent 14rem),
    radial-gradient(circle at 76% 62%, rgba(229, 57, 53, 0.08), transparent 15rem),
    linear-gradient(115deg, transparent 0%, transparent 42%, rgba(91, 124, 250, 0.08) 48%, transparent 55%, transparent 100%);
  background-size: auto, auto, 220% 220%;
  mix-blend-mode: multiply;
  opacity: 0.62;
  animation: siteLightSweep 14s ease-in-out infinite;
}

.topbar,
main,
.footer {
  position: relative;
  z-index: 1;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: var(--scroll-progress);
  height: 3px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(90deg, var(--teal), var(--price-red), var(--gold));
  box-shadow: 0 0 18px rgba(91, 124, 250, 0.35);
  transition: width 0.08s linear;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 4.5rem);
  border-bottom: 1px solid rgba(7, 18, 21, 0.1);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #101a35;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  overflow: hidden;
  border-radius: 0.85rem;
  background: #eef2ff;
  box-shadow: 0 10px 24px rgba(16, 26, 53, 0.16);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(2.85);
  filter: hue-rotate(32deg) saturate(0.86) contrast(1.04);
}

.brand strong {
  font-weight: 900;
}

button,
input {
  font: inherit;
}

nav {
  display: flex;
  gap: clamp(0.65rem, 2vw, 1.5rem);
}

nav a {
  position: relative;
  color: #101a35;
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
}

nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.35rem;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--price-red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

nav a:hover::after {
  transform: scaleX(1);
}

main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero,
.value-section,
.tool-upsell,
.offer-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.84fr);
  gap: clamp(1.6rem, 4vw, 4rem);
  align-items: center;
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  padding: clamp(3rem, 6vw, 5.8rem) 0 3rem;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -2;
  width: 100vw;
  transform: translateX(-50%);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.28) 48%, rgba(255, 255, 255, 0.12) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.36));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 50% 0;
  z-index: -1;
  width: 100vw;
  height: 36%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.96));
}

.hero h1 {
  color: #101a35;
  text-shadow: 0 18px 46px rgba(91, 124, 250, 0.08);
}

.hero .lead,
.hero .trust-note {
  color: #34415b;
}

.hero .button.ghost {
  color: #101a35;
  border-color: rgba(16, 26, 53, 0.16);
  background: rgba(255, 255, 255, 0.62);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 1.2rem;
  color: var(--ink);
  font-size: clamp(2.7rem, 5vw, 5.05rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.06;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.12rem;
}

p,
li {
  color: var(--muted);
  line-height: 1.62;
}

.lead {
  max-width: 680px;
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.price-card {
  position: relative;
  overflow: hidden;
  max-width: 680px;
  margin-top: 1.5rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 255, 0.94)),
    rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  animation: cardBreath 6.5s ease-in-out infinite;
  transform: translateY(calc(var(--scroll-depth) * -0.12));
}

.price-card::after {
  content: "";
  position: absolute;
  inset: -30% auto -30% -35%;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.86), transparent);
  transform: rotate(14deg);
  animation: priceSweep 4.8s ease-in-out infinite;
}

.price-card span {
  display: block;
  color: #637086;
  font-weight: 850;
}

.price-card strong {
  display: block;
  margin: 0.15rem 0 0.45rem;
  color: var(--price-red);
  font-size: 3.3rem;
  line-height: 1;
}

.price-card p {
  margin: 0;
  color: #526078;
  font-size: 0.9rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.9rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.85rem;
  cursor: pointer;
  font-weight: 950;
  text-decoration: none;
}

.button::after {
  content: "";
  position: absolute;
  inset: -45% auto -45% -35%;
  width: 30%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.58), transparent);
  transform: rotate(18deg);
  animation: buttonSheen 4.2s ease-in-out infinite;
}

.button.primary {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), transparent),
    linear-gradient(135deg, var(--rose), var(--orange));
  box-shadow: 0 18px 40px rgba(217, 95, 89, 0.24);
  animation: ctaPulse 2.8s ease-in-out infinite;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.button.ghost {
  color: var(--navy);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.9);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary:hover {
  filter: saturate(1.08);
  box-shadow: 0 24px 54px rgba(240, 100, 90, 0.32);
}

.button.ghost:hover {
  border-color: rgba(91, 124, 250, 0.36);
  background: rgba(91, 124, 250, 0.08);
}

.button.full {
  width: 100%;
}

.trust-note {
  max-width: 650px;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.product-stage {
  position: relative;
  min-width: 0;
  min-height: 42rem;
  isolation: isolate;
  animation: riseIn 0.9s ease both 0.15s;
  transform: translateY(calc(var(--scroll-depth) * -0.16));
}

.stage-glow {
  position: absolute;
  inset: 8% 0 0;
  z-index: -1;
  border-radius: 3rem;
  background:
    radial-gradient(circle at 54% 22%, rgba(91, 124, 250, 0.24), transparent 13rem),
    radial-gradient(circle at 52% 50%, rgba(217, 164, 65, 0.14), transparent 18rem);
  filter: blur(14px);
  animation: glowBreath 5.8s ease-in-out infinite;
}

.stage-orbit {
  position: absolute;
  inset: 5% 7% 9%;
  z-index: -1;
  border: 1px solid rgba(91, 124, 250, 0.22);
  border-radius: 50%;
  opacity: 0.72;
  transform: rotate(-10deg);
  animation: orbitRotate 16s linear infinite;
}

.stage-orbit::before,
.stage-orbit::after {
  content: "";
  position: absolute;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: var(--price-red);
  box-shadow: 0 0 0 0.45rem rgba(229, 57, 53, 0.1);
}

.stage-orbit::before {
  top: 16%;
  left: 10%;
}

.stage-orbit::after {
  right: 12%;
  bottom: 18%;
  background: var(--teal);
  box-shadow: 0 0 0 0.45rem rgba(91, 124, 250, 0.1);
}

.main-cover,
.page-float {
  display: block;
  border-radius: 1.2rem;
  box-shadow: var(--shadow);
}

.main-cover {
  position: relative;
  z-index: 2;
  width: min(78%, 25rem);
  margin: 0 auto;
  border: 0.75rem solid #ffffff;
  background: #ffffff;
  animation: coverFloat 5.5s ease-in-out infinite;
}

.page-float {
  position: absolute;
  width: 10rem;
  border: 0.45rem solid #ffffff;
  opacity: 0.94;
}

.page-float-a {
  right: 0;
  top: 11%;
  transform: rotate(7deg);
  animation: pageFloatA 6.2s ease-in-out infinite;
}

.page-float-b {
  left: 0;
  bottom: 10%;
  transform: rotate(-7deg);
  animation: pageFloatB 6.7s ease-in-out infinite;
}

.conversion-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 4rem;
}

.conversion-strip article,
.preview-reader,
.value-grid article,
.tool-preview,
.checkout-card,
.safe-copy {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(247, 249, 255, 0.96)),
    #ffffff;
  box-shadow: var(--shadow);
}

.conversion-strip article::before,
.value-grid article::before,
.checkout-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--card-x, 50%) var(--card-y, 0%), rgba(91, 124, 250, 0.13), transparent 12rem);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.conversion-strip article:hover::before,
.value-grid article:hover::before,
.checkout-card:hover::before {
  opacity: 1;
}

.conversion-strip article {
  padding: 1rem;
  animation: cardLive 7s ease-in-out infinite;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.conversion-strip article:nth-child(2) {
  animation-delay: -1.8s;
}

.conversion-strip article:nth-child(3) {
  animation-delay: -3.4s;
}

.conversion-strip article:hover {
  transform: scale(1.035);
  border-color: rgba(91, 124, 250, 0.34);
  background:
    linear-gradient(180deg, rgba(91, 124, 250, 0.1), rgba(255, 255, 255, 0.98)),
    #ffffff;
  box-shadow: 0 28px 76px rgba(16, 26, 53, 0.16);
}

.conversion-strip strong,
.conversion-strip span {
  display: block;
}

.conversion-strip strong {
  margin-bottom: 0.25rem;
  color: var(--cyan);
  font-size: 1.2rem;
}

.conversion-strip span {
  color: var(--muted);
}

.section,
.material-section,
.value-section,
.tool-upsell,
.offer-section {
  padding: 4rem 0;
}

.material-section {
  position: relative;
  isolation: isolate;
}

.material-section::before {
  content: "";
  position: absolute;
  inset: 1rem 50% auto;
  z-index: -1;
  width: 100vw;
  height: 30rem;
  transform: translateX(-50%);
  pointer-events: none;
  background:
    radial-gradient(circle at 32% 42%, rgba(91, 124, 250, 0.12), transparent 14rem),
    radial-gradient(circle at 76% 30%, rgba(229, 57, 53, 0.08), transparent 13rem),
    linear-gradient(110deg, transparent 0%, rgba(91, 124, 250, 0.08) 48%, transparent 58%);
  background-size: auto, auto, 220% 100%;
  filter: blur(0.2px);
  opacity: 0.8;
  animation: previewAreaSweep 11s ease-in-out infinite;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 1.5rem;
}

.material-section .section-heading {
  animation: sectionFloat 6s ease-in-out infinite;
}

.preview-experience {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 14rem;
  gap: 1.2rem;
  align-items: start;
  perspective: 1200px;
}

.preview-reader {
  min-height: 34rem;
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(91, 124, 250, 0.08), transparent 40%),
    #ffffff;
  overflow: hidden;
  transform-style: preserve-3d;
  animation: readerLift 4.8s ease-in-out infinite;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.preview-live-line {
  position: absolute;
  top: 0;
  left: -35%;
  z-index: 9;
  width: 35%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--teal), var(--price-red), transparent);
  box-shadow: 0 0 22px rgba(91, 124, 250, 0.55);
  animation: liveLine 2.8s linear infinite;
}

.preview-reader:hover {
  transform: translateY(-6px) rotateX(1.5deg) rotateY(-1.5deg);
  box-shadow: 0 34px 92px rgba(16, 26, 53, 0.18);
}

.preview-stack {
  position: relative;
  min-height: 32rem;
  overflow: hidden;
  border-radius: 0.95rem;
  background:
    radial-gradient(circle at 50% 24%, rgba(91, 124, 250, 0.1), transparent 18rem),
    #f7f9ff;
  transform-style: preserve-3d;
}

.preview-stack::before {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -24%;
  z-index: 6;
  width: 12rem;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(91, 124, 250, 0.18), rgba(255, 255, 255, 0.9), rgba(229, 57, 53, 0.12), transparent);
  filter: blur(0.5px);
  transform: rotate(12deg);
  animation: previewScanner 3.4s ease-in-out infinite;
}

.preview-stack::after {
  content: "";
  position: absolute;
  inset: 1rem;
  z-index: 5;
  pointer-events: none;
  border-radius: 0.9rem;
  border: 1px solid rgba(91, 124, 250, 0.14);
  animation: readerFocus 4.8s ease-in-out infinite;
}

.preview-page {
  position: absolute;
  display: block;
  object-fit: cover;
  object-position: top center;
  border-radius: 0.8rem;
  background: #fff;
  box-shadow: 0 22px 60px rgba(16, 26, 53, 0.16);
}

.preview-page-cover {
  inset: 1rem auto 1rem 50%;
  z-index: 3;
  width: min(54%, 27rem);
  height: calc(100% - 2rem);
  transform: translateX(-50%);
  animation: previewCoverFloat 3.8s ease-in-out infinite, coverFocusPulse 3.2s ease-in-out infinite;
}

.preview-page-blur {
  z-index: 1;
  width: min(32%, 16rem);
  height: 72%;
  filter: blur(5px);
  opacity: 0.42;
  animation: blurredPageDrift 6s ease-in-out infinite;
}

.preview-page-a {
  top: 12%;
  left: 8%;
  transform: rotate(-7deg);
  animation-name: blurredPageDrift, protectedSlideA;
  animation-duration: 6s, 8s;
  animation-timing-function: ease-in-out, ease-in-out;
  animation-iteration-count: infinite, infinite;
}

.preview-page-b {
  right: 8%;
  bottom: 10%;
  transform: rotate(7deg);
  animation-name: blurredPageDrift, protectedSlideB;
  animation-duration: 6s, 8.5s;
  animation-timing-function: ease-in-out, ease-in-out;
  animation-iteration-count: infinite, infinite;
  animation-delay: -2.2s, -1.6s;
}

.preview-controls {
  display: grid;
  gap: 0.75rem;
}

.thumb {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 0.7rem;
  align-items: center;
  padding: 0.55rem;
  border: 2px solid transparent;
  border-radius: 0.95rem;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.96);
  font-weight: 900;
  text-align: left;
  box-shadow: 0 10px 24px rgba(20, 34, 45, 0.08);
  animation: thumbBreathe 3.8s ease-in-out infinite;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.thumb.is-previewing {
  transform: translateX(10px) scale(1.035);
  border-color: rgba(91, 124, 250, 0.42);
  background: rgba(91, 124, 250, 0.11);
  box-shadow: 0 18px 44px rgba(91, 124, 250, 0.22);
}

.thumb:nth-child(2) {
  animation-delay: -1.2s;
}

.thumb:nth-child(3) {
  animation-delay: -2.4s;
}

.thumb.active {
  animation: softBeacon 3.2s ease-in-out infinite;
}

.thumb.active {
  border-color: var(--teal);
  box-shadow: 0 12px 28px rgba(91, 124, 250, 0.16);
  background: rgba(91, 124, 250, 0.1);
}

.thumb:hover {
  transform: translateX(7px) scale(1.025);
  border-color: rgba(91, 124, 250, 0.28);
}

.thumb img {
  width: 4rem;
  height: 5.4rem;
  object-fit: cover;
  border-radius: 0.45rem;
}

.thumb.is-locked img {
  filter: blur(1.4px);
  opacity: 0.72;
}

.preview-note {
  padding: 1rem;
  border: 1px solid rgba(229, 57, 53, 0.18);
  border-radius: 1rem;
  background: rgba(255, 245, 245, 0.92);
  animation: notePulse 3.6s ease-in-out infinite;
}

.preview-note strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--price-red);
}

.preview-note p {
  margin: 0;
  font-size: 0.92rem;
}

.value-section {
  align-items: start;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.value-grid article {
  padding: 1.15rem;
  animation: cardLive 7.4s ease-in-out infinite;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.value-grid article:nth-child(2) {
  animation-delay: -1.5s;
}

.value-grid article:nth-child(3) {
  animation-delay: -3s;
}

.value-grid article:nth-child(4) {
  animation-delay: -4.5s;
}

.value-grid article:hover {
  transform: scale(1.035);
  border-color: rgba(91, 124, 250, 0.34);
  background:
    linear-gradient(180deg, rgba(91, 124, 250, 0.1), rgba(255, 255, 255, 0.98)),
    #ffffff;
  box-shadow: 0 28px 76px rgba(16, 26, 53, 0.16);
}

.value-grid span {
  display: block;
  width: 3rem;
  height: 0.22rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--navy), var(--teal), var(--gold));
}

.tool-upsell {
  align-items: stretch;
  padding: clamp(1rem, 4vw, 2rem);
  border-radius: 1.6rem;
  background:
    radial-gradient(circle at 80% 12%, rgba(91, 124, 250, 0.1), transparent 17rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 255, 0.96));
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.tool-upsell::before {
  content: "";
  position: absolute;
  inset: -50% -20%;
  pointer-events: none;
  background: conic-gradient(from 0deg, transparent, rgba(91, 124, 250, 0.12), transparent, rgba(229, 57, 53, 0.08), transparent);
  opacity: 0.7;
  animation: upsellSweep 13s linear infinite;
}

.safe-copy {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
  padding: 1rem;
}

.safe-copy strong {
  color: var(--cyan);
}

.tool-preview {
  overflow: hidden;
}

.tool-preview img {
  display: block;
  width: 100%;
  height: 24rem;
  object-fit: cover;
  object-position: right center;
  animation: toolFloat 5.8s ease-in-out infinite;
}

.tool-preview div {
  padding: 1rem;
}

.tool-preview span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tool-preview strong {
  display: block;
  color: var(--price-red);
  font-size: 2.8rem;
}

.offer-section {
  align-items: start;
}

.offer-copy ul {
  padding-left: 1.2rem;
}

.checkout-card {
  position: sticky;
  top: 5.6rem;
  padding: 1.15rem;
  animation: checkoutAttention 6.5s ease-in-out infinite;
}

.checkout-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(130deg, rgba(91, 124, 250, 0), rgba(91, 124, 250, 0.45), rgba(229, 57, 53, 0.38), rgba(91, 124, 250, 0));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: borderTrace 4.8s linear infinite;
}

.checkout-head {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  color: var(--navy);
  background:
    radial-gradient(circle at 90% 0%, rgba(91, 124, 250, 0.16), transparent 8rem),
    linear-gradient(135deg, #ffffff, #eef2ff);
  border: 1px solid var(--line);
}

.checkout-head span {
  opacity: 0.84;
  font-weight: 850;
}

.checkout-head strong {
  color: var(--price-red);
  font-size: 3rem;
  line-height: 1;
}

.order-bump {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  margin: 1rem 0;
  padding: 0.95rem;
  border: 2px solid rgba(91, 124, 250, 0.28);
  border-radius: 1rem;
  background: rgba(91, 124, 250, 0.06);
  cursor: pointer;
  animation: bumpGlow 4.4s ease-in-out infinite;
}

.order-bump input {
  width: 1.3rem;
  height: 1.3rem;
  accent-color: var(--teal);
}

.order-bump strong,
.order-bump em {
  display: block;
}

.order-bump em {
  margin-top: 0.28rem;
  color: var(--muted);
  font-style: normal;
  line-height: 1.45;
}

.checkout-note {
  margin: 0.8rem 0 0;
  font-size: 0.86rem;
  text-align: center;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 4.5rem);
  border-top: 1px solid var(--line);
  background: #ffffff;
  color: var(--muted);
}

.floating-cta {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: 1.2rem;
  z-index: 30;
  display: grid;
  gap: 0.1rem;
  min-width: 13rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 1rem;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent),
    linear-gradient(135deg, var(--rose), var(--orange));
  box-shadow: 0 18px 54px rgba(229, 57, 53, 0.28);
  text-decoration: none;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease, box-shadow 0.28s ease;
}

.floating-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  animation: floatingNudge 3.8s ease-in-out infinite;
}

.floating-cta:hover {
  box-shadow: 0 24px 70px rgba(229, 57, 53, 0.36);
  transform: translateY(-3px);
}

.floating-cta span {
  font-size: 0.8rem;
  font-weight: 800;
  opacity: 0.86;
}

.floating-cta strong {
  font-size: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transition:
    opacity 0.72s ease var(--reveal-delay, 0s),
    transform 0.72s ease var(--reveal-delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

@keyframes coverFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(-0.8deg);
  }
}

@keyframes pageFloatA {
  0%,
  100% {
    transform: translateY(0) rotate(7deg);
  }

  50% {
    transform: translateY(12px) rotate(4deg);
  }
}

@keyframes pageFloatB {
  0%,
  100% {
    transform: translateY(0) rotate(-7deg);
  }

  50% {
    transform: translateY(-12px) rotate(-4deg);
  }
}

@keyframes glowBreath {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes ambientShift {
  from {
    background-position: 0 0, 0 0, center, center, left bottom, right top, center;
  }

  to {
    background-position: 34px 20px, 20px 34px, center, center, -2rem bottom, calc(100% + 2rem) top, center;
  }
}

@keyframes siteLightSweep {
  0%,
  100% {
    background-position: center, center, 0% 50%;
  }

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

@keyframes headlineSettle {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

@keyframes headlineBreath {
  0%,
  100% {
    text-shadow: 0 0 0 rgba(91, 124, 250, 0);
  }

  50% {
    text-shadow: 0 18px 46px rgba(91, 124, 250, 0.1);
  }
}

@keyframes cardBreath {
  0%,
  100% {
    border-color: var(--line);
    box-shadow: var(--shadow);
  }

  50% {
    border-color: rgba(91, 124, 250, 0.3);
    box-shadow: 0 30px 90px rgba(16, 26, 53, 0.14), 0 0 30px rgba(91, 124, 250, 0.08);
  }
}

@keyframes ctaPulse {
  0%,
  100% {
    box-shadow: 0 18px 40px rgba(217, 95, 89, 0.24);
  }

  50% {
    box-shadow: 0 22px 58px rgba(229, 57, 53, 0.36);
  }
}

@keyframes buttonSheen {
  0%,
  42% {
    left: -35%;
    opacity: 0;
  }

  52% {
    opacity: 1;
  }

  100% {
    left: 120%;
    opacity: 0;
  }
}

@keyframes priceSweep {
  0%,
  45% {
    left: -35%;
    opacity: 0;
  }

  55% {
    opacity: 1;
  }

  100% {
    left: 112%;
    opacity: 0;
  }
}

@keyframes previewCoverFloat {
  0%,
  100% {
    transform: translateX(-50%) translateY(0) rotate(0deg);
  }

  50% {
    transform: translateX(-50%) translateY(-9px) rotate(-0.6deg);
  }
}

@keyframes blurredPageDrift {
  0%,
  100% {
    margin-top: 0;
  }

  50% {
    margin-top: 12px;
  }
}

@keyframes softBeacon {
  0%,
  100% {
    box-shadow: 0 12px 28px rgba(91, 124, 250, 0.16);
  }

  50% {
    box-shadow: 0 16px 40px rgba(91, 124, 250, 0.24);
  }
}

@keyframes orbitRotate {
  from {
    transform: rotate(-10deg);
  }

  to {
    transform: rotate(350deg);
  }
}

@keyframes cardLive {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -3px;
  }
}

@keyframes previewScanner {
  0%,
  38% {
    left: -24%;
    opacity: 0;
  }

  50% {
    opacity: 0.95;
  }

  82%,
  100% {
    left: 112%;
    opacity: 0;
  }
}

@keyframes previewAreaSweep {
  0%,
  100% {
    background-position: center, center, 0% 50%;
    opacity: 0.72;
  }

  50% {
    background-position: center, center, 100% 50%;
    opacity: 1;
  }
}

@keyframes sectionFloat {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -4px;
  }
}

@keyframes readerLift {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -5px;
  }
}

@keyframes liveLine {
  from {
    left: -35%;
  }

  to {
    left: 100%;
  }
}

@keyframes coverFocusPulse {
  0%,
  100% {
    box-shadow: 0 22px 60px rgba(16, 26, 53, 0.16);
  }

  50% {
    box-shadow: 0 30px 82px rgba(16, 26, 53, 0.22), 0 0 34px rgba(91, 124, 250, 0.16);
  }
}

@keyframes protectedSlideA {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 14px -2px;
  }
}

@keyframes protectedSlideB {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: -14px 3px;
  }
}

@keyframes thumbBreathe {
  0%,
  100% {
    box-shadow: 0 10px 24px rgba(20, 34, 45, 0.08);
  }

  50% {
    box-shadow: 0 16px 34px rgba(91, 124, 250, 0.14);
  }
}

@keyframes notePulse {
  0%,
  100% {
    border-color: rgba(229, 57, 53, 0.18);
    box-shadow: 0 0 0 rgba(229, 57, 53, 0);
  }

  50% {
    border-color: rgba(229, 57, 53, 0.34);
    box-shadow: 0 14px 34px rgba(229, 57, 53, 0.08);
  }
}

@keyframes readerFocus {
  0%,
  100% {
    box-shadow: inset 0 0 0 rgba(91, 124, 250, 0);
  }

  50% {
    box-shadow: inset 0 0 34px rgba(91, 124, 250, 0.12);
  }
}

@keyframes upsellSweep {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes borderTrace {
  0% {
    filter: hue-rotate(0deg);
    opacity: 0.45;
  }

  50% {
    opacity: 0.9;
  }

  100% {
    filter: hue-rotate(45deg);
    opacity: 0.45;
  }
}

@keyframes bumpGlow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(91, 124, 250, 0);
  }

  50% {
    box-shadow: 0 16px 40px rgba(91, 124, 250, 0.12);
  }
}

@keyframes floatingNudge {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -4px;
  }
}

@keyframes toolFloat {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.025);
  }
}

@keyframes checkoutAttention {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

.preview-reader img.is-changing {
  opacity: 0;
  transform: scale(0.985);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .floating-cta {
    transition: none;
  }
}

@media (max-width: 900px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  * {
    max-width: 100%;
  }

  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .brand {
    width: auto;
    max-width: 100%;
    min-width: 0;
    height: auto;
  }

  nav {
    flex-wrap: wrap;
  }

  main {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

  .hero,
  .value-section,
  .tool-upsell,
  .offer-section,
  .preview-experience {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-right: 1rem;
    padding-left: 1rem;
    padding-top: 2.5rem;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.46) 0%, rgba(255, 255, 255, 0.42) 50%, rgba(255, 255, 255, 0.56) 100%);
  }

  h1 {
    max-width: 100%;
    font-size: 1.42rem;
    line-height: 1.15;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-copy,
  .hero-copy p,
  .lead,
  .eyebrow,
  .price-card,
  .trust-note {
    width: 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-copy,
  .price-card,
  .hero-actions,
  .trust-note {
    max-width: 21rem;
  }

  .floating-cta {
    right: 1rem;
    bottom: 0.85rem;
    left: 1rem;
    min-width: 0;
    text-align: center;
  }

  .lead {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .conversion-strip,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .product-stage {
    display: grid;
    place-items: center;
    min-height: auto;
    width: 100%;
    max-width: 100%;
  }

  .main-cover {
    width: min(78vw, 20.75rem);
    max-width: 100%;
  }

  .page-float {
    display: none;
  }

  .preview-reader {
    min-height: auto;
  }

  .preview-stack {
    min-height: 27rem;
  }

  .preview-page-cover {
    width: min(76%, 17rem);
    height: calc(100% - 2rem);
  }

  .preview-page-blur {
    width: 8rem;
    height: 60%;
    filter: blur(4px);
    opacity: 0.32;
  }

  .preview-page-a {
    left: -1.5rem;
  }

  .preview-page-b {
    right: -1.5rem;
  }

  .preview-controls {
    grid-template-columns: 1fr;
  }

  .tool-preview img {
    height: auto;
    max-height: 24rem;
  }

  .checkout-card {
    position: static;
  }
}
