.marketing-page {
    overflow-x: hidden;
}

.marketing-page .hero-copy > * {
    animation: hero-rise .75s cubic-bezier(.2, .7, .2, 1) both;
}

.marketing-page .hero-copy > :nth-child(2) { animation-delay: .08s; }
.marketing-page .hero-copy > :nth-child(3) { animation-delay: .16s; }
.marketing-page .hero-copy > :nth-child(4) { animation-delay: .24s; }
.marketing-page .hero-copy > :nth-child(5) { animation-delay: .32s; }

.marketing-page .hero-visual::before,
.marketing-page .hero-visual::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.marketing-page .hero-visual::before {
    width: 430px;
    height: 430px;
    border: 1px solid rgba(24, 58, 50, .12);
    animation: orbit-pulse 6s ease-in-out infinite;
}

.marketing-page .hero-visual::after {
    width: 310px;
    height: 310px;
    background: radial-gradient(circle, rgba(224, 179, 82, .22), transparent 68%);
    animation: glow-breathe 5s ease-in-out infinite;
}

.marketing-page .demo-card {
    animation: card-float 5.5s ease-in-out infinite;
}

.marketing-page .note-one {
    animation: note-float 4.5s .5s ease-in-out infinite;
}

.marketing-page .note-two {
    animation: note-float 5s 1.1s ease-in-out infinite reverse;
}

.marketing-page .demo-stamps .done {
    animation: stamp-pop .55s cubic-bezier(.2, .85, .35, 1.3) both;
}

.marketing-page .demo-stamps .done:nth-child(2) { animation-delay: .12s; }
.marketing-page .demo-stamps .done:nth-child(3) { animation-delay: .24s; }
.marketing-page .demo-stamps .done:nth-child(4) { animation-delay: .36s; }
.marketing-page .demo-stamps .done:nth-child(5) { animation-delay: .48s; }
.marketing-page .demo-stamps .done:nth-child(6) { animation-delay: .60s; }
.marketing-page .demo-stamps .done:nth-child(7) { animation-delay: .72s; }

.marketing-page .demo-reward > span,
.marketing-page .closing-cta > span {
    display: inline-block;
    animation: sparkle-breathe 2.8s ease-in-out infinite;
}

.marketing-page .button {
    position: relative;
    overflow: hidden;
}

.marketing-page .button::after {
    content: "";
    position: absolute;
    top: -70%;
    left: -40%;
    width: 28%;
    height: 240%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .32), transparent);
    transform: rotate(18deg);
    animation: button-shine 4.8s 1.2s ease-in-out infinite;
    pointer-events: none;
}

.price-mini {
    padding: 4px 9px;
    border-radius: 12px;
    background: #ead5a8;
    color: var(--ink);
    font-weight: 800;
}

.business-marquee {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.logo-strip .business-track {
    width: max-content;
    display: flex;
    justify-content: flex-start;
    gap: 65px;
    animation: marquee 24s linear infinite;
}

.stories-section {
    padding: 105px max(calc((100vw - 1180px) / 2), 30px);
    background: #fffdf9;
}

.stories-intro {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 42px;
}

.stories-intro h2 {
    margin: 14px 0 0;
    color: var(--ink);
    font-size: 43px;
    line-height: 1.16;
    letter-spacing: -1.8px;
}

.stories-intro h2 em {
    color: #ad7644;
    font-family: Georgia, serif;
    font-weight: 400;
}

.stories-intro > p {
    margin: 0 0 4px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.story-slider {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: var(--ink);
    box-shadow: 0 28px 70px rgba(24, 58, 50, .18);
}

.story-track {
    display: flex;
    transition: transform .8s cubic-bezier(.22, .75, .2, 1);
}

.story-slide {
    position: relative;
    flex: 0 0 100%;
    min-height: 580px;
    overflow: hidden;
}

.story-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 6.5s ease;
}

.story-slide.is-active img {
    transform: scale(1);
}

.story-slide.is-active .story-copy > * {
    animation: story-copy-in .65s cubic-bezier(.2, .75, .2, 1) both;
}

.story-slide.is-active .story-copy > :nth-child(2) { animation-delay: .1s; }
.story-slide.is-active .story-copy > :nth-child(3) { animation-delay: .2s; }

.story-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 39, 32, .88) 0%, rgba(10, 39, 32, .48) 43%, rgba(10, 39, 32, .06) 75%);
}

.story-copy {
    position: absolute;
    z-index: 2;
    left: 6%;
    bottom: 13%;
    width: min(510px, 55%);
    color: #fff;
}

.story-copy > span {
    color: #efc76f;
    font: 800 10px Manrope, sans-serif;
    letter-spacing: 1.8px;
}

.story-copy h3 {
    margin: 14px 0 12px;
    font-size: 38px;
    line-height: 1.15;
    letter-spacing: -1.3px;
}

.story-copy p {
    max-width: 430px;
    margin: 0;
    color: rgba(255, 255, 255, .75);
}

.story-badge {
    position: absolute;
    z-index: 3;
    right: 5%;
    top: 9%;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 12px;
    background: rgba(255, 253, 249, .92);
    color: var(--ink);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .15);
    backdrop-filter: blur(8px);
}

.story-badge > span {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #efd080;
    font-weight: 800;
    animation: badge-pulse 2.6s ease-in-out infinite;
}

.story-badge b,
.story-badge small {
    display: block;
}

.story-badge b { font-size: 12px; }
.story-badge small { color: var(--muted); font-size: 10px; }

.story-controls {
    position: absolute;
    z-index: 4;
    right: 4%;
    bottom: 7%;
    display: flex;
    align-items: center;
    gap: 18px;
}

.story-dots {
    display: flex;
    gap: 7px;
}

.story-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, .5);
    cursor: pointer;
    transition: width .25s, background .25s;
}

.story-dots button.is-active {
    width: 25px;
    background: #efc76f;
}

.story-arrows {
    display: flex;
    gap: 7px;
}

.story-arrows button {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    background: rgba(14, 48, 40, .55);
    color: #fff;
    font-size: 17px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background .2s, transform .2s;
}

.story-arrows button:hover {
    background: var(--gold);
    color: var(--ink);
    transform: translateY(-2px);
}

.story-progress {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255, 255, 255, .18);
}

.story-progress i {
    display: block;
    width: 0;
    height: 100%;
    background: #efc76f;
}

.story-slider.is-timing .story-progress i {
    animation: story-timer 6.5s linear forwards;
}

.story-slider:hover .story-progress i,
.story-slider:focus-within .story-progress i {
    animation-play-state: paused;
}

.steps-grid article {
    transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
}

.steps-grid article:hover {
    z-index: 2;
    border-color: transparent;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 20px 45px rgba(24, 58, 50, .1);
    transform: translateY(-8px);
}

.steps-grid article:hover .step-icon {
    animation: icon-wiggle .45s ease;
}

.feature-band li {
    transition: padding-left .3s ease, background .3s ease;
}

.feature-band li:hover {
    padding-left: 12px;
    background: linear-gradient(90deg, rgba(255, 255, 255, .05), transparent);
}

.feature-band li > span {
    transition: transform .35s ease, background .35s ease;
}

.feature-band li:hover > span {
    background: rgba(233, 200, 121, .18);
    transform: rotate(-8deg) scale(1.08);
}

.pricing-section {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 100px;
    align-items: center;
    padding: 105px max(calc((100vw - 1080px) / 2), 30px);
    overflow: hidden;
    background: #f6f1e8;
}

.pricing-section::before {
    content: "";
    position: absolute;
    top: -190px;
    left: -150px;
    width: 460px;
    height: 460px;
    border: 1px solid rgba(24, 58, 50, .11);
    border-radius: 50%;
    box-shadow: 0 0 0 55px rgba(24, 58, 50, .025), 0 0 0 110px rgba(24, 58, 50, .018);
    animation: price-orbit 8s ease-in-out infinite;
}

.pricing-heading {
    position: relative;
    z-index: 1;
}

.pricing-heading h2 {
    margin: 16px 0 18px;
    color: var(--ink);
    font-size: 47px;
    line-height: 1.13;
    letter-spacing: -2px;
}

.pricing-heading h2 em {
    color: #ad7644;
    font-family: Georgia, serif;
    font-weight: 400;
}

.pricing-heading > p {
    max-width: 510px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.pricing-card {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 32px;
    border-radius: 18px;
    background: var(--ink);
    color: #fff;
    box-shadow: 0 30px 70px rgba(24, 58, 50, .22);
    transition: transform .35s ease, box-shadow .35s ease;
}

.pricing-card:hover {
    box-shadow: 0 38px 85px rgba(24, 58, 50, .29);
    transform: translateY(-8px) rotate(.4deg);
}

.pricing-glow {
    position: absolute;
    top: -120px;
    right: -90px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 180, 79, .26), transparent 70%);
    animation: glow-breathe 4s ease-in-out infinite;
}

.pricing-top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #e9c879;
    font: 800 10px Manrope, sans-serif;
    letter-spacing: 1.8px;
}

.pricing-tag {
    padding: 5px 8px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 12px;
    color: rgba(255, 255, 255, .75);
    font-size: 8px;
}

.price {
    position: relative;
    display: flex;
    align-items: center;
    margin: 24px 0 2px;
}

.price sup {
    align-self: flex-start;
    margin-top: 13px;
    color: #e9c879;
    font: 700 24px Manrope, sans-serif;
}

.price > strong {
    font: 800 76px/1 Manrope, sans-serif;
    letter-spacing: -5px;
}

.price > div {
    display: flex;
    flex-direction: column;
    margin: 12px 0 0 15px;
}

.price b { color: #e9c879; font-size: 12px; }
.price small { color: rgba(255, 255, 255, .58); font-size: 11px; }
.price-caption { color: rgba(255, 255, 255, .65); font-size: 12px; }

.pricing-card ul {
    margin: 24px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    list-style: none;
}

.pricing-card li {
    display: flex;
    gap: 11px;
    padding: 7px 0;
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
}

.pricing-card li span { color: #e9c879; font-weight: 800; }
.pricing-note { display: block; margin-top: 12px; color: rgba(255, 255, 255, .45); text-align: center; font-size: 9px; }

.proof-ribbon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 55px;
    padding: 38px max(calc((100vw - 1080px) / 2), 30px);
    background: #e8d19f;
    color: var(--ink);
}

.proof-ribbon > div {
    display: flex;
    align-items: center;
    gap: 14px;
}

.proof-ribbon strong {
    color: rgba(24, 58, 50, .32);
    font: 800 26px Manrope, sans-serif;
}

.proof-ribbon > div:hover strong {
    animation: number-bounce .5s ease;
}

.proof-ribbon span {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.proof-ribbon i {
    width: 1px;
    height: 35px;
    background: rgba(24, 58, 50, .2);
}

@supports (animation-timeline: view()) {
    .reveal {
        animation: section-reveal both;
        animation-timeline: view();
        animation-range: entry 5% cover 25%;
    }
}

@keyframes hero-rise {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes card-float {
    0%, 100% { transform: rotate(-2deg) translateY(0); }
    50% { transform: rotate(-1deg) translateY(-10px); }
}

@keyframes note-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes orbit-pulse {
    0%, 100% { opacity: .45; transform: scale(.92) rotate(0); }
    50% { opacity: 1; transform: scale(1.05) rotate(8deg); }
}

@keyframes glow-breathe {
    0%, 100% { opacity: .55; transform: scale(.92); }
    50% { opacity: 1; transform: scale(1.12); }
}

@keyframes stamp-pop {
    from { opacity: 0; transform: scale(.35) rotate(-15deg); }
    to { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes sparkle-breathe {
    0%, 100% { filter: drop-shadow(0 0 0 rgba(232, 180, 79, 0)); transform: rotate(0) scale(1); }
    50% { filter: drop-shadow(0 0 9px rgba(232, 180, 79, .55)); transform: rotate(12deg) scale(1.16); }
}

@keyframes button-shine {
    0%, 65% { left: -40%; }
    88%, 100% { left: 125%; }
}

@keyframes story-copy-in {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(217, 167, 70, .2); transform: scale(1); }
    50% { box-shadow: 0 0 0 7px rgba(217, 167, 70, 0); transform: scale(1.06); }
}

@keyframes icon-wiggle {
    0%, 100% { transform: rotate(0); }
    35% { transform: rotate(-8deg) scale(1.08); }
    70% { transform: rotate(6deg) scale(1.08); }
}

@keyframes number-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

@keyframes price-orbit {
    0%, 100% { transform: translate(0, 0) rotate(0); }
    50% { transform: translate(25px, 18px) rotate(8deg); }
}

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

@keyframes story-timer {
    to { width: 100%; }
}

@keyframes section-reveal {
    from { opacity: 0; transform: translateY(35px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 850px) {
    .stories-section { padding: 75px 25px; }
    .stories-intro { grid-template-columns: 1fr; gap: 18px; }
    .stories-intro h2 { font-size: 35px; }
    .story-slide { min-height: 520px; }
    .story-copy { width: 70%; }
    .story-copy h3 { font-size: 31px; }
    .proof-ribbon { gap: 25px; }
    .pricing-section { grid-template-columns: 1fr 390px; gap: 45px; }
    .pricing-heading h2 { font-size: 38px; }
}

@media (max-width: 560px) {
    .marketing-page .main-nav > .button { display: inline-flex; padding: 8px 10px; font-size: 11px; }
    .logo-strip .business-track { gap: 34px; animation-duration: 18s; }
    .stories-section { padding: 65px 12px; }
    .stories-intro { padding: 0 10px; }
    .stories-intro h2 { font-size: 30px; letter-spacing: -1px; }
    .stories-intro h2 br { display: none; }
    .story-slider { border-radius: 16px; }
    .story-slide { min-height: 560px; }
    .story-slide img { object-position: 60% center; }
    .story-shade { background: linear-gradient(0deg, rgba(10, 39, 32, .94) 0%, rgba(10, 39, 32, .22) 70%); }
    .story-copy { left: 22px; bottom: 95px; width: calc(100% - 44px); }
    .story-copy h3 { font-size: 27px; }
    .story-copy p { font-size: 13px; }
    .story-badge { top: 18px; right: 18px; transform: scale(.88); transform-origin: top right; }
    .story-controls { right: 20px; bottom: 28px; left: 22px; justify-content: space-between; }
    .marketing-page .floating-note { animation: none; }
    .marketing-page .hero-visual::before { width: 330px; height: 330px; }
    .marketing-page .hero-visual::after { width: 230px; height: 230px; }
    .proof-ribbon { align-items: stretch; flex-direction: column; gap: 15px; padding: 30px 25px; }
    .proof-ribbon i { width: 100%; height: 1px; }
    .pricing-section { grid-template-columns: 1fr; gap: 30px; padding: 70px 20px; }
    .pricing-heading h2 { font-size: 32px; letter-spacing: -1px; }
    .pricing-heading h2 br { display: none; }
    .pricing-card { width: 100%; padding: 26px 22px; }
    .price > strong { font-size: 66px; }
}

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