:root {
    --bg: #040404;
    --panel: rgba(10, 10, 10, 0.88);
    --panel-alt: rgba(22, 22, 22, 0.96);
    --panel-soft: rgba(8, 8, 8, 0.92);
    --primary: #f6da86;
    --primary-strong: #ca8f2d;
    --gold-1: #f6da86;
    --gold-2: #ca8f2d;
    --gold-3: #f4c95d;
    --text: #f8f8f8;
    --muted: rgba(255, 255, 255, 0.74);
    --panel-border: rgba(255, 195, 79, 0.45);
    --panel-border-strong: rgba(255, 202, 96, 0.88);
    --shadow: 0 24px 50px rgba(0, 0, 0, 0.44);
    --radius-xl: 24px;
    --radius-lg: 20px;
    --radius-md: 16px;
    --transition: 160ms ease;
    --font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-base: 16px;
    --hero-title-size: clamp(1.9rem, 6vw, 2.35rem);
    --plan-title-size: 0.95rem;
    --plan-price-size: 1.7rem;
    --button-title-size: 2rem;
    --background-overlay-opacity: 0.38;
    --accent-rgb: 246, 218, 134;
    --accent-strong-rgb: 202, 143, 45;
    --scene-glow-1: rgba(255, 191, 58, 0.20);
    --scene-glow-2: rgba(255, 179, 50, 0.16);
    --scene-glow-3: rgba(255, 160, 25, 0.12);
    --scene-aura: rgba(255, 201, 99, 0.08);
    --hero-card-glow: rgba(241, 181, 67, 0.22);
    --floating-glow: rgba(246, 218, 134, 0.12);
    --floating-pulse: rgba(246, 218, 134, 0.18);
    --cosmic-core-rgb: 255, 235, 180;
    --cosmic-mid-rgb: 255, 195, 95;
    --cosmic-tail-rgb: 255, 130, 30;
    --cosmic-dot-rgb: 255, 244, 225;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: var(--font-size-base);
    background:
        radial-gradient(circle at 50% -10%, var(--scene-glow-1), transparent 30%),
        radial-gradient(circle at 78% 16%, var(--scene-glow-2), transparent 26%),
        radial-gradient(circle at 18% 22%, var(--scene-glow-3), transparent 22%),
        linear-gradient(180deg, #060606 0%, #000 100%);
    position: relative;
    overflow-x: hidden;
    transition: background 220ms ease;
}

.cosmic-scene {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    contain: strict;
}

.cosmic-layer,
.cosmic-canvas {
    position: absolute;
    inset: 0;
}

.cosmic-layer--void {
    background:
        radial-gradient(circle at 50% 8%, var(--scene-glow-2), transparent 22%),
        radial-gradient(circle at 15% 20%, var(--scene-aura), transparent 20%),
        radial-gradient(circle at 85% 18%, var(--scene-glow-3), transparent 24%),
        linear-gradient(180deg, #050607 0%, #030303 44%, #010101 100%);
    transform: translateZ(0);
}

.cosmic-layer--nebula {
    opacity: 0.72;
    background:
        radial-gradient(circle at 20% 14%, rgba(var(--accent-rgb), 0.24), transparent 16%),
        radial-gradient(circle at 80% 22%, rgba(var(--accent-strong-rgb), 0.18), transparent 18%),
        radial-gradient(circle at 54% 52%, rgba(var(--accent-rgb), 0.12), transparent 22%),
        radial-gradient(circle at 12% 72%, var(--scene-aura), transparent 20%),
        radial-gradient(circle at 88% 74%, rgba(var(--accent-strong-rgb), 0.10), transparent 18%);
    filter: blur(34px) saturate(118%);
    animation: cosmic-nebula-pulse 18s ease-in-out infinite alternate;
    will-change: transform, opacity;
}

.cosmic-layer--depth {
    opacity: 0.95;
    background:
        radial-gradient(circle at 25% 16%, rgba(var(--accent-rgb), 0.95) 0 1px, transparent 1.9px),
        radial-gradient(circle at 74% 18%, rgba(var(--accent-strong-rgb), 0.92) 0 1.3px, transparent 2px),
        radial-gradient(circle at 61% 31%, rgba(var(--accent-rgb), 0.68) 0 1.1px, transparent 1.8px),
        radial-gradient(circle at 18% 62%, rgba(var(--accent-strong-rgb), 0.88) 0 1.2px, transparent 1.9px),
        radial-gradient(circle at 86% 66%, rgba(var(--accent-strong-rgb), 0.84) 0 1.1px, transparent 1.8px),
        radial-gradient(circle at 44% 84%, rgba(var(--accent-rgb), 0.72) 0 1px, transparent 1.6px);
    filter: blur(0.2px);
    animation: cosmic-depth-drift 28s linear infinite;
    will-change: transform;
}

.cosmic-canvas {
    opacity: 0.92;
    mix-blend-mode: screen;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
}

body::before {
    opacity: 0.9;
    background-image:
        radial-gradient(circle at 8% 20%, rgba(var(--accent-rgb), 0.95) 0 1px, transparent 1.6px),
        radial-gradient(circle at 18% 8%, rgba(var(--accent-strong-rgb), 0.9) 0 1.2px, transparent 1.8px),
        radial-gradient(circle at 32% 16%, rgba(var(--accent-rgb), 0.84) 0 1px, transparent 1.8px),
        radial-gradient(circle at 56% 10%, rgba(var(--accent-strong-rgb), 0.88) 0 1.2px, transparent 2px),
        radial-gradient(circle at 72% 14%, rgba(var(--accent-strong-rgb), 0.85) 0 1px, transparent 1.8px),
        radial-gradient(circle at 85% 26%, rgba(var(--accent-rgb), 0.8) 0 1px, transparent 1.7px),
        radial-gradient(circle at 14% 40%, rgba(var(--accent-strong-rgb), 0.78) 0 1px, transparent 1.8px),
        radial-gradient(circle at 26% 52%, rgba(var(--accent-rgb), 0.9) 0 1.1px, transparent 1.9px),
        radial-gradient(circle at 62% 54%, rgba(var(--accent-strong-rgb), 0.82) 0 1.2px, transparent 1.8px),
        radial-gradient(circle at 74% 42%, rgba(var(--accent-strong-rgb), 0.82) 0 1.1px, transparent 1.8px),
        radial-gradient(circle at 88% 64%, rgba(var(--accent-rgb), 0.7) 0 1px, transparent 1.7px),
        radial-gradient(circle at 12% 78%, rgba(var(--accent-strong-rgb), 0.65) 0 1.2px, transparent 1.8px),
        radial-gradient(circle at 34% 88%, rgba(var(--accent-rgb), 0.7) 0 1px, transparent 1.7px),
        radial-gradient(circle at 68% 82%, rgba(var(--accent-strong-rgb), 0.8) 0 1.1px, transparent 1.8px),
        radial-gradient(circle at 92% 78%, rgba(var(--accent-rgb), 0.68) 0 1px, transparent 1.6px);
    filter: blur(0.15px);
}

body::after {
    opacity: var(--background-overlay-opacity);
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.44)),
                radial-gradient(circle at top, var(--scene-aura), transparent 36%);
    mix-blend-mode: screen;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.shell {
    width: min(100%, 460px);
    margin: 0 auto;
    padding: 22px 10px 34px;
    position: relative;
    z-index: 2;
}

.hero {
    text-align: center;
    margin-bottom: 18px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(var(--accent-strong-rgb), 0.22);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
        linear-gradient(180deg, rgba(var(--accent-rgb), 0.10), rgba(var(--accent-strong-rgb), 0.06));
    color: rgba(255, 244, 215, 0.94);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 12px 24px rgba(0, 0, 0, 0.16);
}

.hero-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.hero-brand-logo {
    max-width: 44px;
    max-height: 44px;
    object-fit: contain;
}

.hero-brand-name {
    font-weight: 800;
    letter-spacing: 0.02em;
}

.hero-card-frame {
    width: min(calc(100vw - 20px), 700px);
    margin: 0 auto 18px;
    padding: 0;
    display: block;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.hero-card {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center center;
    border-radius: 0;
    filter:
        drop-shadow(0 0 18px rgba(var(--accent-rgb), 0.08))
        drop-shadow(0 14px 26px rgba(0, 0, 0, 0.20));
    transition: filter 220ms ease, transform 180ms ease, opacity 180ms ease;
}

.hero-card.is-rotating {
    opacity: 0.96;
    transform: scale(0.994);
}

.hero-title {
    margin: 0;
    font-size: var(--hero-title-size);
    line-height: 1.06;
    letter-spacing: -0.03em;
    font-weight: 800;
    text-shadow:
        0 2px 20px rgba(0, 0, 0, 0.36),
        0 0 22px rgba(var(--accent-rgb), 0.10);
}

.hero-copy {
    width: min(100%, 760px);
    margin: 12px auto 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.98rem;
    line-height: 1.48;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.hero-highlights span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(var(--accent-strong-rgb), 0.22);
    background:
        linear-gradient(180deg, rgba(var(--accent-rgb), 0.12), rgba(255, 255, 255, 0.03)),
        rgba(0, 0, 0, 0.24);
    color: rgba(255, 247, 227, 0.95);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 18px rgba(0, 0, 0, 0.12);
}

.plans-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 24px;
    margin-bottom: 10px;
}

.plans-scrollbar-label {
    flex: 1;
    text-align: center;
    font-size: 0.78rem;
    color: var(--muted);
}

.plans-nav {
    width: 38px;
    height: 38px;
    border: 1px solid var(--panel-border);
    border-radius: 999px;
    background: rgba(var(--accent-rgb), 0.08);
    color: var(--gold-1);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 0 14px rgba(var(--accent-strong-rgb), 0.12);
}

.plans-viewport {
    overflow-x: auto;
    overflow-y: visible;
    padding-top: 48px;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
}

.plans-viewport::-webkit-scrollbar {
    display: none;
}

.plans {
    display: flex;
    gap: 8px;
    min-width: max-content;
}

.plan-card {
    flex: 0 0 132px;
    position: relative;
    overflow: visible;
    background:
        linear-gradient(180deg, var(--panel-alt), var(--panel-soft)),
        radial-gradient(circle at top, rgba(var(--accent-rgb), 0.12), transparent 54%);
    border: 1px solid var(--panel-border);
    border-radius: 14px;
    padding: 18px 10px 12px;
    min-height: 156px;
    box-shadow: inset 0 1px 0 rgba(var(--accent-rgb), 0.12), var(--shadow);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    cursor: pointer;
    scroll-snap-align: start;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.plan-card.is-featured {
    border-color: rgba(var(--accent-strong-rgb), 0.58);
    box-shadow:
        inset 0 1px 0 rgba(var(--accent-rgb), 0.18),
        0 18px 40px rgba(0, 0, 0, 0.44),
        0 0 0 1px rgba(var(--accent-strong-rgb), 0.18),
        0 0 22px rgba(var(--accent-strong-rgb), 0.16);
}

.plan-card:hover,
.plan-card.is-selected {
    transform: translateY(-2px);
    border-color: var(--panel-border-strong);
    box-shadow: inset 0 1px 0 rgba(var(--accent-rgb), 0.18), 0 18px 36px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(var(--accent-strong-rgb), 0.12);
}

.plan-card:active {
    transform: translateY(0) scale(0.985);
}

.plan-selected-pin {
    position: absolute;
    left: 10px;
    right: 10px;
    top: 8px;
    transform: translateY(4px);
    opacity: 0;
    pointer-events: none;
    min-height: 22px;
    max-width: none;
    padding: 0 8px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
    color: #241500;
    font-size: 0.54rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.26), 0 0 14px rgba(var(--accent-strong-rgb), 0.18);
    transition: opacity var(--transition), transform var(--transition);
    z-index: 3;
}

.plan-card.is-selected .plan-selected-pin {
    opacity: 1;
    transform: translateY(0);
}

.plan-card.has-badge.is-selected .plan-selected-pin {
    top: 46px;
    right: 14px;
}

.plan-card.has-badge.is-selected {
    padding-top: 56px;
}

.plan-badge {
    position: absolute;
    top: 10px;
    right: 4px;
    padding: 3px 8px;
    border-radius: 12px 12px 4px 12px;
    background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
    color: #2b1800;
    font-size: 0.54rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    transform: rotate(10deg);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25), 0 0 12px rgba(var(--accent-strong-rgb), 0.16);
    z-index: 4;
}

.crown {
    width: 18px;
    height: 18px;
    color: var(--gold-1);
    display: block;
    margin: 0 auto 10px;
    filter: drop-shadow(0 0 10px rgba(var(--accent-rgb), 0.4));
}

.plan-name {
    margin: 0;
    min-height: 38px;
    font-size: var(--plan-title-size);
    line-height: 1.15;
    text-align: center;
    font-weight: 600;
}

.plan-price {
    margin: 0;
    text-align: center;
    color: var(--gold-1);
    font-size: var(--plan-price-size);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.plan-price-wrap {
    display: grid;
    gap: 3px;
    margin: 8px 0 2px;
    justify-items: center;
}

.plan-price-original {
    display: none;
    font-size: 0.74rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.54);
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(var(--accent-rgb), 0.84);
}

.plan-price-original.is-visible {
    display: block;
}

.plan-card.is-discounted .plan-price {
    color: #fff3cf;
}

.plan-description {
    display: block;
    text-align: center;
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 10px;
    min-height: 20px;
}

.plan-button,
.coupon-button,
.checkout-button {
    background: linear-gradient(180deg, var(--gold-1) 0%, var(--gold-2) 100%);
    color: #1a1200;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 8px 18px rgba(var(--accent-strong-rgb), 0.24);
}

.plan-button {
    width: 100%;
    border: 0;
    border-radius: 10px;
    padding: 10px 8px;
    font-size: 0.85rem;
    font-weight: 800;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.plans-scrollbar {
    position: relative;
    width: 100%;
    height: 7px;
    margin: 10px auto 0;
    border-radius: 999px;
    background: rgba(var(--accent-rgb), 0.16);
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.38);
}

.plans-scrollbar-thumb {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 56px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
    box-shadow: 0 0 16px rgba(var(--accent-strong-rgb), 0.24);
    transition: transform var(--transition), width var(--transition);
}

.checkout {
    margin-top: 20px;
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(13, 13, 13, 0.96), rgba(6, 6, 6, 0.94));
    border: 1px solid rgba(var(--accent-strong-rgb), 0.22);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.summary-label,
.summary-value {
    font-size: 1rem;
}

.summary-label {
    font-weight: 600;
}

.summary-value {
    font-weight: 900;
    letter-spacing: -0.03em;
}

.summary-price-stack {
    display: grid;
    justify-items: end;
    gap: 4px;
}

.summary-value--old {
    display: none;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.84rem;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(var(--accent-rgb), 0.84);
}

.summary-value--old.is-visible {
    display: inline-block;
}

.summary-value--new {
    color: var(--gold-1);
}

.coupon-note,
.coupon-comparison {
    padding: 12px 16px 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.35;
}

.coupon-comparison {
    padding-top: 0;
    padding-bottom: 10px;
    color: rgba(255, 238, 205, 0.92);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.discount-banner {
    margin: 0 16px 14px;
    padding: 16px 16px 14px;
    border-radius: 18px;
    border: 1px solid rgba(var(--accent-strong-rgb), 0.34);
    background:
        radial-gradient(circle at 20% 20%, rgba(var(--accent-rgb), 0.16), transparent 36%),
        radial-gradient(circle at 80% 0%, rgba(var(--accent-strong-rgb), 0.14), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        linear-gradient(180deg, rgba(16, 14, 10, 0.96), rgba(8, 8, 8, 0.94));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 16px 30px rgba(0, 0, 0, 0.24),
        0 0 24px rgba(var(--accent-strong-rgb), 0.12);
}

.discount-banner__eyebrow {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(var(--accent-rgb), 0.10);
    color: rgba(255, 242, 214, 0.94);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.discount-banner__title {
    display: block;
    font-size: 0.98rem;
    line-height: 1.2;
    color: #fff5db;
    letter-spacing: -0.02em;
}

.discount-banner__meta {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.78rem;
    line-height: 1.35;
}

.discount-banner__timer {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    margin-top: 14px;
    min-width: 138px;
    min-height: 58px;
    padding: 10px 18px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.14), transparent 42%),
        linear-gradient(180deg, rgba(var(--accent-rgb), 0.18), rgba(var(--accent-strong-rgb), 0.10)),
        rgba(12, 12, 14, 0.92);
    border: 1px solid rgba(var(--accent-strong-rgb), 0.30);
    color: #fff8df;
    font-size: clamp(1.35rem, 4vw, 2rem);
    font-weight: 900;
    letter-spacing: 0.12em;
    font-variant-numeric: tabular-nums;
    text-transform: uppercase;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 8px 20px rgba(0, 0, 0, 0.22),
        0 0 24px rgba(var(--accent-rgb), 0.16);
    animation: discount-timer-pulse 1.35s ease-in-out infinite;
    transform-origin: center;
}

.discount-banner.is-active {
    border-color: rgba(var(--accent-rgb), 0.46);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 18px 34px rgba(0, 0, 0, 0.28),
        0 0 34px rgba(var(--accent-rgb), 0.12);
}

.discount-banner.is-active .discount-banner__title {
    animation: discount-banner-pop 320ms ease-out;
}

.discount-banner.is-active .discount-banner__title {
    color: #fff0c2;
}

.discount-banner.is-active .discount-banner__eyebrow {
    background: rgba(var(--accent-strong-rgb), 0.12);
}

.discount-banner.is-active .discount-banner__timer {
    background:
        radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.18), transparent 42%),
        linear-gradient(180deg, rgba(var(--accent-rgb), 0.24), rgba(var(--accent-strong-rgb), 0.14)),
        rgba(12, 12, 14, 0.95);
    color: #fffbed;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        0 0 22px rgba(var(--accent-rgb), 0.24),
        0 0 42px rgba(var(--accent-strong-rgb), 0.22);
    animation: discount-timer-pulse-active 1s ease-in-out infinite;
}

@keyframes discount-banner-pop {
    0% {
        transform: translateY(2px) scale(0.98);
        opacity: 0.86;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes discount-timer-pulse {
    0%,
    100% {
        transform: scale(0.98);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.08),
            0 8px 20px rgba(0, 0, 0, 0.22),
            0 0 24px rgba(var(--accent-rgb), 0.16);
    }
    50% {
        transform: scale(1.02);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.10),
            0 10px 24px rgba(0, 0, 0, 0.26),
            0 0 34px rgba(var(--accent-rgb), 0.24);
    }
}

@keyframes discount-timer-pulse-active {
    0%,
    100% {
        transform: scale(0.98);
        filter: saturate(1.02);
    }
    50% {
        transform: scale(1.05);
        filter: saturate(1.08) brightness(1.02);
    }
}

.coupon-block {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at 20% 0%, rgba(var(--accent-rgb), 0.08), transparent 34%),
        radial-gradient(circle at 80% 10%, rgba(var(--accent-strong-rgb), 0.08), transparent 30%);
}

.coupon-head {
    display: block;
    margin-bottom: 12px;
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.92);
}

.coupon-form {
    display: flex;
    gap: 10px;
}

.coupon-input {
    min-width: 0;
    flex: 1;
    height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid rgba(var(--accent-strong-rgb), 0.5);
    background: rgba(8, 8, 8, 0.96);
    color: var(--text);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.coupon-input:focus {
    border-color: rgba(var(--accent-rgb), 0.9);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.14);
}

.coupon-button {
    min-width: 92px;
    border: 0;
    border-radius: 10px;
    padding: 0 14px;
    font-weight: 800;
}

.coupon-message {
    min-height: 18px;
    margin-top: 10px;
    font-size: 0.8rem;
    color: rgba(var(--accent-rgb), 0.94);
}

.coupon-note {
    color: rgba(255, 255, 255, 0.62);
}

.coupon-message {
    font-weight: 700;
}

.checkout .summary-row:last-of-type {
    padding-top: 16px;
}

.checkout-cta {
    padding: 16px;
    perspective: 1200px;
}

.checkout-button {
    display: block;
    width: 100%;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 18px 20px 14px;
    text-align: center;
    font-size: 0.96rem;
    line-height: 1.15;
    font-weight: 800;
    transform: translateZ(0) rotateX(0deg);
    transform-style: preserve-3d;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03)),
        linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 48%, var(--gold-1) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        inset 0 -10px 18px rgba(127, 70, 0, 0.18),
        0 10px 22px rgba(var(--accent-strong-rgb), 0.24),
        0 18px 42px rgba(var(--accent-rgb), 0.20),
        0 0 26px rgba(var(--accent-strong-rgb), 0.22);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease,
        filter 180ms ease;
    animation: checkout-neon-breathe 2.8s ease-in-out infinite;
}

.checkout-button::before,
.checkout-button::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
}

.checkout-button::before {
    inset: -18%;
    background:
        radial-gradient(circle at 18% 50%, rgba(255, 255, 255, 0.34), transparent 22%),
        linear-gradient(115deg, transparent 22%, rgba(255, 255, 255, 0.34) 48%, transparent 68%);
    opacity: 0.78;
    transform: translate3d(-36%, 0, 0) skewX(-18deg);
    animation: checkout-sheen-pass 3.8s ease-in-out infinite;
}

.checkout-button::after {
    inset: -2px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow:
        0 0 0 1px rgba(var(--accent-rgb), 0.16),
        0 0 18px rgba(var(--accent-rgb), 0.34),
        0 0 34px rgba(var(--accent-strong-rgb), 0.28);
    opacity: 0.92;
    animation: checkout-neon-ring 2.4s ease-in-out infinite;
}

.checkout-button:hover,
.checkout-button:focus-visible {
    transform: translate3d(0, -3px, 0) rotateX(8deg) scale(1.01);
    border-color: rgba(255, 255, 255, 0.32);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        inset 0 -12px 20px rgba(127, 70, 0, 0.20),
        0 14px 28px rgba(var(--accent-strong-rgb), 0.30),
        0 26px 56px rgba(var(--accent-rgb), 0.26),
        0 0 42px rgba(var(--accent-strong-rgb), 0.34);
    filter: saturate(1.06) brightness(1.02);
}

.checkout-button:active {
    transform: translate3d(0, -1px, 0) scale(0.992);
}

.checkout-button strong,
.checkout-button small {
    position: relative;
    z-index: 1;
}

.checkout-button strong {
    display: block;
    font-size: var(--button-title-size);
    letter-spacing: -0.05em;
    margin-bottom: 2px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.14), 0 3px 14px rgba(140, 82, 0, 0.18);
}

.checkout-button small {
    display: block;
    font-size: 0.78rem;
    color: rgba(43, 23, 0, 0.76);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.12);
}

@keyframes checkout-neon-breathe {
    0%,
    100% {
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.35),
            inset 0 -10px 18px rgba(127, 70, 0, 0.18),
            0 10px 22px rgba(var(--accent-strong-rgb), 0.24),
            0 18px 42px rgba(var(--accent-rgb), 0.20),
            0 0 26px rgba(var(--accent-strong-rgb), 0.22);
    }
    50% {
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.42),
            inset 0 -10px 18px rgba(127, 70, 0, 0.22),
            0 12px 24px rgba(var(--accent-strong-rgb), 0.30),
            0 22px 52px rgba(var(--accent-rgb), 0.28),
            0 0 40px rgba(var(--accent-strong-rgb), 0.34);
    }
}

@keyframes checkout-neon-ring {
    0%,
    100% {
        opacity: 0.78;
        transform: scale(0.995);
    }
    50% {
        opacity: 1;
        transform: scale(1.008);
    }
}

@keyframes checkout-sheen-pass {
    0% {
        transform: translate3d(-42%, 0, 0) skewX(-18deg);
        opacity: 0;
    }
    14% {
        opacity: 0.7;
    }
    42% {
        opacity: 0.82;
    }
    64% {
        opacity: 0;
    }
    100% {
        transform: translate3d(44%, 0, 0) skewX(-18deg);
        opacity: 0;
    }
}

.footer {
    margin-top: 14px;
    padding: 16px 14px 14px;
    border: 1px solid rgba(var(--accent-strong-rgb), 0.18);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
        linear-gradient(180deg, rgba(8, 10, 18, 0.88), rgba(4, 4, 8, 0.96));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 16px 34px rgba(0, 0, 0, 0.24),
        0 0 24px rgba(var(--accent-rgb), 0.08);
    text-align: center;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    content-visibility: auto;
    contain-intrinsic-size: 180px;
}

.footer span {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 10px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(var(--accent-strong-rgb), 0.16);
    background:
        linear-gradient(180deg, rgba(var(--accent-rgb), 0.08), rgba(255, 255, 255, 0.03)),
        rgba(0, 0, 0, 0.22);
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.84);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.payment-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 104px;
    min-height: 28px;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--primary), var(--primary-strong));
    color: #0f0f12;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow: 0 10px 20px rgba(var(--accent-strong-rgb), 0.25);
}

.payment-brand-link {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: min(100%, 332px);
    padding: 14px 18px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 18% 18%, rgba(var(--accent-rgb), 0.12), transparent 34%),
        radial-gradient(circle at 82% 10%, rgba(var(--accent-strong-rgb), 0.10), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        linear-gradient(180deg, rgba(7, 11, 20, 0.94), rgba(2, 4, 10, 0.96));
    border: 1px solid rgba(var(--accent-strong-rgb), 0.20);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 16px 34px rgba(0, 0, 0, 0.28),
        0 0 24px rgba(var(--accent-rgb), 0.12);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    position: relative;
    overflow: hidden;
}

.payment-brand-link:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--accent-strong-rgb), 0.30);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 18px 40px rgba(0, 0, 0, 0.34),
        0 0 30px rgba(var(--accent-rgb), 0.18);
}

.payment-brand-link::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.12) 44%, transparent 66%);
    opacity: 0.58;
    transform: translateX(-32%) skewX(-16deg);
    pointer-events: none;
}

.payment-brand-link--single {
    padding-block: 10px;
}

.payment-brand-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    flex: 0 0 auto;
}

.payment-brand-item--logo {
    min-width: 0;
    transform: none;
}

.payment-brand-item--card {
    min-width: 0;
}

.payment-brand-logo,
.payment-brand-card,
.payment-logo {
    display: block;
    width: auto;
    object-fit: contain;
}

.payment-brand-logo {
    height: 32px;
    opacity: 0.96;
    filter: drop-shadow(0 6px 14px rgba(var(--accent-strong-rgb), 0.18));
}

.payment-brand-card {
    height: 40px;
    border-radius: 12px;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.14));
}

.payment-logo {
    height: 30px;
}

.chat-float {
    position: fixed;
    right: max(18px, calc(env(safe-area-inset-right) + 14px));
    bottom: max(18px, calc(env(safe-area-inset-bottom) + 14px));
    z-index: 30;
    width: 78px;
    height: 78px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28), 0 0 26px var(--floating-glow);
    transform: translateZ(0);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    will-change: transform;
    color: var(--gold-1);
    animation: chat-float-bob 3.4s ease-in-out infinite;
}

.chat-float:hover {
    transform: translateY(-3px) scale(1.02);
}

.chat-float-icon {
    position: relative;
    z-index: 2;
    width: 68px;
    height: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.14));
}

.chat-float-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.chat-float-icon-detail {
    fill: rgba(var(--cosmic-dot-rgb), 0.94);
    transition: fill 220ms ease;
}

.chat-float-pulse {
    position: absolute;
    inset: 10px;
    border-radius: 999px;
    background: var(--floating-pulse);
    animation: chat-float-pulse 2.3s ease-out infinite;
}

@keyframes cosmic-depth-drift {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    100% {
        transform: translate3d(-1.5%, 1.2%, 0) scale(1.03);
    }
}

@keyframes cosmic-nebula-pulse {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.62;
    }
    100% {
        transform: translate3d(1.6%, -1.4%, 0) scale(1.08);
        opacity: 0.84;
    }
}

@keyframes chat-float-pulse {
    0% {
        transform: scale(0.94);
        opacity: 0.55;
    }
    70% {
        transform: scale(1.18);
        opacity: 0;
    }
    100% {
        transform: scale(1.18);
        opacity: 0;
    }
}

@keyframes chat-float-bob {
    0% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -5px, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cosmic-layer--nebula,
    .cosmic-layer--depth,
    .checkout-button,
    .checkout-button::before,
    .checkout-button::after,
    .chat-float,
    .chat-float-pulse {
        animation: none;
    }
}

@media (max-width: 390px) {
    .hero-kicker {
        font-size: 0.66rem;
        padding-inline: 12px;
    }

    .hero-card-frame {
        width: 100%;
        left: auto;
        transform: none;
    }

    .hero-card {
        transform: none;
    }

    .hero-card.is-rotating {
        transform: scale(0.994);
    }

    .footer {
        padding-inline: 12px;
    }

    .payment-brand-link {
        gap: 10px;
        width: min(100%, 252px);
        padding: 10px 12px;
    }

    .payment-brand-logo {
        height: 28px;
    }

    .payment-brand-card {
        height: 34px;
    }

    .chat-float {
        right: max(14px, calc(env(safe-area-inset-right) + 10px));
        bottom: max(14px, calc(env(safe-area-inset-bottom) + 10px));
        width: 70px;
        height: 70px;
    }

    .chat-float-icon {
        width: 62px;
        height: 62px;
    }

    .shell {
        padding-inline: 8px;
    }

    .plan-card {
        flex-basis: 126px;
        padding-inline: 8px;
    }

    .discount-banner {
        margin-inline: 12px;
        padding: 13px 12px 11px;
    }

    .discount-banner__title {
        font-size: 0.96rem;
    }

    .discount-banner__meta {
        font-size: 0.74rem;
    }

    .discount-banner__timer {
        margin-top: 8px;
        min-width: 118px;
        min-height: 50px;
        font-size: clamp(1.2rem, 7vw, 1.5rem);
        padding: 8px 14px;
    }
}

@media (min-width: 768px) {
    .shell {
        width: min(100%, 1080px);
        max-width: 1080px;
        padding-top: 42px;
    }

    /* 1. Força o container do topo a alinhar tudo estritamente no centro */
    .hero {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* 2. Garante que o frame invisível tenha o tamanho exato da imagem */
    .hero-card-frame {
        width: 480px;
        margin: 0 auto;
    }

    /* 3. A imagem preenche o frame perfeitamente */
    .hero-card {
        width: 100%;
    }

    .hero-kicker {
        font-size: 0.78rem;
        padding-inline: 16px;
    }
    
    /* ... o resto dos seus estilos (.hero-title, .hero-copy, etc.) continua igual ... */
}

    .hero-title {
        font-size: clamp(2.6rem, 4.2vw, 3.4rem);
    }

    .hero-copy {
        font-size: 1.03rem;
    }

    .hero-highlights {
        gap: 10px;
    }

    .hero-highlights span {
        padding-inline: 14px;
        font-size: 0.78rem;
    }

    .plans {
        gap: 14px;
    }

    .plan-card {
        flex-basis: 196px;
        border-radius: 18px;
        min-height: 228px;
        padding: 20px 18px 18px;
    }

    .crown {
        width: 24px;
        height: 24px;
        margin-bottom: 14px;
    }

    .plan-name {
        min-height: 48px;
        font-size: 1.12rem;
    }

    .plan-price {
        font-size: 2.1rem;
    }

    .plan-description {
        font-size: 0.92rem;
        margin-bottom: 14px;
    }

    .plan-button {
        font-size: 0.96rem;
        padding-block: 12px;
    }

    .progress-track {
        width: 124px;
        margin-top: 18px;
    }

    .checkout {
        margin-top: 28px;
        border-radius: 22px;
    }

    .summary-row,
    .coupon-block,
    .checkout-cta {
        padding-left: 22px;
        padding-right: 22px;
    }

    .summary-label,
    .summary-value {
        font-size: 1.18rem;
    }

    .coupon-input {
        height: 48px;
    }

    .coupon-button {
        min-width: 112px;
    }

    .discount-banner {
        margin: 0 22px 14px;
        padding: 16px 18px 14px;
    }

    .discount-banner__title {
        font-size: 1.04rem;
    }

    .discount-banner__meta {
        font-size: 0.82rem;
    }

    .discount-banner__timer {
        min-width: 154px;
        min-height: 62px;
        font-size: clamp(1.5rem, 2.1vw, 2.15rem);
        padding: 12px 20px;
    }
}
