/* Seasonal sale logo (witch hat + broom flight) (resources/views/v2/include_section/new_menu_section/sale-logo.blade.php).
   The wrapper keeps the plain logo's footprint (205x32 desktop, 150px wide below 992px) so the
   header height does not change; the hat, moon, witch and sparkles overflow above and to the left. */
.sale-logo { --slg-w: 205px; position: relative; display: block; width: var(--slg-w); height: calc(var(--slg-w) * 32 / 205); }
.sale-logo-svg { position: absolute; left: calc(var(--slg-w) * -14 / 205); top: calc(var(--slg-w) * -36 / 205); width: calc(var(--slg-w) * 232 / 205); height: auto; overflow: visible; display: block; pointer-events: none; }
@media (max-width: 991.98px) { .sale-logo { --slg-w: 150px; } }

.sale-logo .moon-pulse { animation: slgMoon 5s ease-in-out infinite; }
@keyframes slgMoon { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.12); opacity: 1; } }

.sale-logo .spark { transform: scale(0); animation: slgTwinkle 2.8s ease-in-out infinite; }
.sale-logo .s2 { animation-delay: .9s; }
.sale-logo .s3 { animation-delay: 1.7s; }
.sale-logo .s4 { animation-delay: 2.2s; }
@keyframes slgTwinkle { 0%, 100% { transform: scale(0) rotate(0); } 45% { transform: scale(1) rotate(45deg); } 70% { transform: scale(.4) rotate(90deg); } }

.sale-logo .hat-sway { animation: slgHatSway 4.6s ease-in-out infinite; }
@keyframes slgHatSway { 0%, 100% { transform: rotate(-1.6deg); } 50% { transform: rotate(2.2deg); } }
.sale-logo .hat-tilt { transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.navbar-brand:hover .sale-logo .hat-tilt { transform: translate(1px, -2.5px) rotate(7deg); }

.sale-logo .twk { animation: slgTwinkle 3.4s ease-in-out infinite; }

.sale-logo .witch { animation: slgFly 13s linear infinite; }
@keyframes slgFly { 0% { transform: translate(-44px, -14px); } 28% { transform: translate(48px, -22px); } 50% { transform: translate(122px, -14px); } 66% { transform: translate(186px, -8px); } 84% { transform: translate(268px, -18px); } 100% { transform: translate(268px, -18px); } }

@media (prefers-reduced-motion: reduce) {
    .sale-logo * { animation: none !important; transition: none !important; }
    .sale-logo .spark { transform: scale(.8); }
    .sale-logo .witch { transform: translate(122px, -14px); }
}

/* Sale pricing pill (resources/views/v2/include_section/new_menu_section/pricing-btn.blade.php), replaces the
   "Pricing $X/year" button while the sale is on. Countdown: public/v2/js/sale-2026.js */
.sale-pp { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; gap: 9px; padding: 5px 8px 5px 10px; border-radius: 12px; text-decoration: none; color: #fff; white-space: nowrap; font-family: Inter, sans-serif; line-height: 1;
    background: radial-gradient(120% 160% at 0% 0%, rgba(124, 58, 237, .5), transparent 55%), linear-gradient(135deg, #1d0b33, #0d0518);
    border: 1px solid rgba(255, 170, 70, .5); box-shadow: 0 6px 18px -8px rgba(255, 122, 24, .6); transition: transform .2s, box-shadow .2s; }
.sale-pp:hover, .sale-pp:focus { color: #fff; text-decoration: none; transform: translateY(-1px); box-shadow: 0 10px 22px -8px rgba(255, 122, 24, .8); }
.sale-pp:focus-visible { outline: 3px solid #FF7A1A; outline-offset: 2px; }
.sale-pp > * { position: relative; z-index: 1; }
.sale-pp .sale-pp-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit; }
.sale-pp .sale-pp-bg .web { position: absolute; left: 0; top: 0; width: 58px; height: 58px; opacity: .32; }
.sale-pp .sale-pp-bg .stars { position: absolute; inset: 0; opacity: .9; background: radial-gradient(1.2px 1.2px at 30% 25%, #fff, transparent 60%), radial-gradient(1px 1px at 52% 78%, #ffe9c2, transparent 60%), radial-gradient(1.3px 1.3px at 68% 22%, #fff, transparent 60%), radial-gradient(1px 1px at 86% 70%, #ffd8a8, transparent 60%), radial-gradient(1px 1px at 94% 30%, #fff, transparent 60%); animation: sppTwinkle 3.2s ease-in-out infinite alternate; }
.sale-pp .sale-pp-bg .glow { position: absolute; left: 4px; top: 50%; width: 50px; height: 50px; margin-top: -25px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 150, 40, .55), rgba(255, 122, 24, .18) 50%, transparent 70%); animation: sppGlow 2.4s ease-in-out infinite; }
.sale-pp .pk { width: 33px; height: 33px; flex: none; animation: sppFlicker 2.4s ease-in-out infinite; transition: transform .25s cubic-bezier(.3, 1.8, .5, 1); }
.sale-pp:hover .pk { transform: scale(1.14) rotate(-8deg); }
@keyframes sppFlicker { 0%, 100% { filter: drop-shadow(0 0 7px rgba(255, 150, 40, .85)); } 45% { filter: drop-shadow(0 0 3px rgba(255, 150, 40, .45)); } 60% { filter: drop-shadow(0 0 11px rgba(255, 190, 70, 1)); } }
@keyframes sppGlow { 0%, 100% { opacity: .9; transform: scale(1); } 45% { opacity: .55; transform: scale(.9); } 60% { opacity: 1; transform: scale(1.08); } }
@keyframes sppTwinkle { from { opacity: .35; } to { opacity: 1; } }
.sale-pp .price { display: flex; align-items: baseline; gap: 5px; line-height: 1; }
.sale-pp s { font-size: 13px; color: rgba(255, 255, 255, .55); text-decoration-color: #ff5d3a; text-decoration-thickness: 2px; }
.sale-pp b { font-size: 20px; font-weight: 900; color: #FFD08A; }
.sale-pp small { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .75); margin-left: -3px; }
.sale-pp .tm { display: flex; gap: 3px; padding-left: 9px; border-left: 1px solid rgba(255, 255, 255, .15); }
.sale-pp .tm > span { min-width: 32px; text-align: center; padding: 3px 3px 2px; border-radius: 7px; background: rgba(255, 255, 255, .08); line-height: 1; box-shadow: 0 0 10px rgba(255, 138, 31, .18); }
.sale-pp .tm em { display: block; font-style: normal; font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; color: #fff; text-shadow: 0 0 8px rgba(255, 179, 71, .6); }
.sale-pp .tm i { display: block; font-style: normal; font-size: 8.5px; font-weight: 700; letter-spacing: .08em; color: #FFB347; margin-top: 2px; text-transform: uppercase; }
.sale-pp--block { display: flex; justify-content: center; margin: 12px; }
@media (max-width: 1360px) { .sale-pp:not(.sale-pp--block) .tm > span:last-child { display: none; } }
@media (max-width: 1120px) { .sale-pp:not(.sale-pp--block) small { display: none; } .sale-pp:not(.sale-pp--block) b { font-size: 19px; } }
@media (prefers-reduced-motion: reduce) {
    .sale-pp, .sale-pp * { animation: none !important; transition: none !important; }
}

/* Sale exit popup (resources/views/v2/include_section/new_menu_section/cpe_exit_popup/halloween-sale-exit-popup.blade.php),
   wide card from the reference: artwork column (graduate pumpkin + ghost with certificate) and offer column.
   A Bootstrap 5 modal opened by the header's exit-intent script. Countdown + "Boo!": public/v2/js/sale-2026.js */
.hw-exit-popup { --hw-pump: #FF7A1A; --hw-pump-2: #FFB347; --hw-lilac: #C9BFE0; }
.hw-exit-popup.modal { background: rgba(26, 8, 51, .3); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
/* card is 600px like the reference; the dialog adds the 16px phone gutter on each side */
.hw-exit-popup .hw-exit-popup__dialog { max-width: 632px; padding: 0 16px; margin-left: auto; margin-right: auto; }
.hw-exit-popup .hw-exit-popup__card { position: relative; display: grid; grid-template-columns: 230px 1fr; border-radius: 18px; overflow: hidden; color: #fff; font-family: Inter, sans-serif; line-height: normal; /* reference spacing, not the site 1.5 */
    background: linear-gradient(165deg, #24104A, #150A2E 55%, #0B0518); border: 1px solid rgba(255, 170, 80, .28); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
.hw-exit-popup .hw-exit-popup__close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: #fff; display: grid; place-items: center; padding: 0; cursor: pointer; }
.hw-exit-popup .hw-exit-popup__close:hover { background: rgba(255, 138, 31, .25); }

/* artwork column */
.hw-exit-popup .hw-exit-popup__art { position: relative; overflow: hidden; display: grid; place-items: end center; min-height: 250px; padding-bottom: 34px; border-right: 1px solid rgba(255, 170, 80, .18);
    background: radial-gradient(120% 90% at 30% 20%, rgba(124, 58, 237, .55), transparent 65%), radial-gradient(90% 70% at 70% 100%, rgba(255, 122, 24, .35), transparent 65%), #120626; }
.hw-exit-popup .hw-exit-popup__web { position: absolute; left: 0; top: 0; width: 90px; height: 90px; opacity: .3; }
.hw-exit-popup .hw-exit-popup__moon { position: absolute; right: 14px; top: 16px; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 32%, #FFF6D8, #FFE2A0 55%, #F4C26B); box-shadow: 0 0 22px 6px rgba(255, 214, 140, .25); opacity: .85; }
.hw-exit-popup .hw-exit-popup__glow { position: absolute; left: 18px; bottom: 46px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 150, 40, .55), rgba(255, 122, 24, .15) 50%, transparent 70%); animation: sppGlow 2.4s ease-in-out infinite; }
.hw-exit-popup .hw-exit-popup__figure { position: relative; width: 206px; cursor: pointer; line-height: 0; -webkit-tap-highlight-color: transparent; }
.hw-exit-popup .hw-exit-popup__svg { width: 100%; height: auto; display: block; overflow: visible; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .45)); }
.hw-exit-popup .hw-exit-popup__ghost { transform-box: fill-box; transform-origin: 50% 100%; animation: hwExitGhostFloat 4.2s ease-in-out infinite; }
.hw-exit-popup .hw-exit-popup__face { animation: hwExitFaceFlicker 3.4s infinite; }
.hw-exit-popup .hw-exit-popup__pumpkin { transform-box: fill-box; transform-origin: 50% 100%; animation: hwExitPumpkinSquish 3.6s ease-in-out infinite; }
.hw-exit-popup .hw-exit-popup__cap { transform-box: fill-box; transform-origin: 50% 100%; animation: hwExitCapTip 3.6s ease-in-out infinite; }
.hw-exit-popup .hw-exit-popup__spark { transform-box: fill-box; transform-origin: center; animation: hwExitSpark 2.6s ease-in-out infinite; }
.hw-exit-popup .hw-exit-popup__spark--late { animation-delay: 1.2s; }
.hw-exit-popup .hw-exit-popup__bats { animation: hwExitBatBob 2.8s ease-in-out infinite; }
.hw-exit-popup .hw-exit-popup__figure:hover .hw-exit-popup__ghost { animation-duration: 1.6s; }
.hw-exit-popup .hw-exit-popup__figure.is-jumping .hw-exit-popup__ghost { animation: hwExitGhostJump .6s ease; }
.hw-exit-popup .hw-exit-popup__figure.is-jumping .hw-exit-popup__pumpkin { animation: hwExitPumpkinHop .6s ease; }
.hw-exit-popup .hw-exit-popup__boo { position: absolute; right: 4px; top: 36px; padding: 4px 10px; border-radius: 12px 12px 12px 2px; background: #fff; color: #1A0B35; font-weight: 800; font-size: 14px; line-height: 1.2; pointer-events: none; animation: hwExitBooPop 1.1s ease forwards; }
@keyframes hwExitGhostFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes hwExitGhostJump { 0% { transform: translateY(0) rotate(0); } 40% { transform: translateY(-26px) rotate(-8deg); } 70% { transform: translateY(-4px) rotate(5deg); } 100% { transform: translateY(0) rotate(0); } }
@keyframes hwExitFaceFlicker { 0%, 100% { opacity: 1; } 8% { opacity: .8; } 12% { opacity: 1; } 46% { opacity: .9; } 50% { opacity: 1; } 72% { opacity: .75; } 76% { opacity: 1; } }
@keyframes hwExitPumpkinSquish { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.03, .97); } }
@keyframes hwExitPumpkinHop { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-10px) scale(1.04, .96); } }
@keyframes hwExitCapTip { 0%, 70%, 100% { transform: rotate(0); } 80% { transform: rotate(-6deg) translateY(-2px); } 90% { transform: rotate(3deg); } }
@keyframes hwExitSpark { 0%, 100% { transform: scale(.5) rotate(0); opacity: .4; } 50% { transform: scale(1.15) rotate(45deg); opacity: 1; } }
@keyframes hwExitBatBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes hwExitBooPop { 0% { opacity: 0; transform: translateY(8px) scale(.6); } 20% { opacity: 1; transform: translateY(0) scale(1.08); } 80% { opacity: 1; transform: translateY(-6px); } 100% { opacity: 0; transform: translateY(-14px); } }

/* offer column */
.hw-exit-popup .hw-exit-popup__body { padding: 22px 22px 18px; min-width: 0; }
.hw-exit-popup .hw-exit-popup__eyebrow { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--hw-pump-2); }
.hw-exit-popup .hw-exit-popup__title { margin: 0 0 10px; padding-right: 30px; font-family: inherit; font-size: 20px; font-weight: 800; letter-spacing: -.01em; line-height: normal; color: #fff; }
.hw-exit-popup .hw-exit-popup__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.hw-exit-popup .hw-exit-popup__price b { font-size: 34px; font-weight: 900; color: #FFD08A; line-height: 1; text-shadow: 0 0 22px rgba(255, 138, 31, .5); }
.hw-exit-popup .hw-exit-popup__price s { font-size: 16px; color: rgba(255, 255, 255, .5); text-decoration-color: #ff5d3a; text-decoration-thickness: 2px; }
.hw-exit-popup .hw-exit-popup__price small { font-size: 13px; color: var(--hw-lilac); }
.hw-exit-popup .hw-exit-popup__countdown { display: flex; gap: 6px; margin-bottom: 14px; }
.hw-exit-popup .hw-exit-popup__countdown div { flex: 1; min-width: 0; padding: 5px 3px; text-align: center; border-radius: 9px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.hw-exit-popup .hw-exit-popup__countdown b { display: block; font-size: 17px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hw-exit-popup .hw-exit-popup__countdown small { display: block; font-size: 9px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--hw-pump-2); }
.hw-exit-popup .hw-exit-popup__cta { position: relative; overflow: hidden; display: flex; width: 100%; justify-content: center; align-items: center; padding: 13px 22px; border-radius: 8px; font-weight: 700; font-size: 15px; color: #1A0B33; text-decoration: none; white-space: nowrap; background: linear-gradient(135deg, #FFD08A, var(--hw-pump)); box-shadow: 0 8px 24px -6px rgba(255, 122, 26, .55); transition: transform .2s; }
.hw-exit-popup .hw-exit-popup__cta:hover { transform: translateY(-2px); color: #1A0B33; }
.hw-exit-popup .hw-exit-popup__cta::after { content: ""; position: absolute; inset: 0 auto 0 -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); animation: hwExitShine 3.4s ease-in-out infinite; }
@keyframes hwExitShine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.hw-exit-popup :focus-visible { outline: 3px solid var(--hw-pump); outline-offset: 2px; }

@media (max-width: 600px) {
    .hw-exit-popup .hw-exit-popup__card { grid-template-columns: 1fr; }
    .hw-exit-popup .hw-exit-popup__art { min-height: 0; padding: 16px 0 30px; border-right: 0; border-bottom: 1px solid rgba(255, 170, 80, .18); }
    .hw-exit-popup .hw-exit-popup__figure { width: 170px; }
    .hw-exit-popup .hw-exit-popup__glow { left: calc(50% - 85px); bottom: 30px; width: 80px; height: 80px; }
}
@media (prefers-reduced-motion: reduce) {
    .hw-exit-popup *, .hw-exit-popup *::after { animation: none !important; transition: none !important; }
}

/* Mobile sale strip (resources/views/v2/include_section/new_menu_section/halloween-sale-mobile-strip.blade.php),
   shown by mobile-view-cta under the header in place of the "Pricing $X/year - Subscribe Now" box.
   Countdown: public/v2/js/sale-2026.js */
.hw-mobile-sale-strip { position: relative; display: block; width: 100%; overflow: hidden; color: #fff; text-decoration: none; text-align: left; font-family: Inter, sans-serif; line-height: normal;
    border-bottom: 1px solid rgba(255, 170, 70, .35);
    background: radial-gradient(120% 160% at 0% 0%, rgba(124, 58, 237, .55), transparent 55%), radial-gradient(90% 140% at 100% 100%, rgba(255, 122, 24, .38), transparent 60%), linear-gradient(135deg, #1d0b33, #0d0518); }
.hw-mobile-sale-strip:hover, .hw-mobile-sale-strip:focus { color: #fff; text-decoration: none; }
.hw-mobile-sale-strip:focus-visible { outline: 3px solid #ffb347; outline-offset: -3px; }
.hw-mobile-sale-strip__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hw-mobile-sale-strip__stars { position: absolute; inset: 0; opacity: .9; animation: hwStripTwinkle 3.2s ease-in-out infinite alternate;
    background: radial-gradient(1.2px 1.2px at 22% 28%, #fff, transparent 60%), radial-gradient(1px 1px at 48% 18%, #ffe9c2, transparent 60%), radial-gradient(1.4px 1.4px at 66% 72%, #fff, transparent 60%), radial-gradient(1px 1px at 84% 30%, #ffd8a8, transparent 60%), radial-gradient(1.2px 1.2px at 38% 80%, #fff, transparent 60%), radial-gradient(1px 1px at 92% 78%, #fff, transparent 60%); }
.hw-mobile-sale-strip__web { position: absolute; left: 0; top: 0; width: 60px; height: 60px; opacity: .28; }
.hw-mobile-sale-strip__moon { position: absolute; right: -22px; top: -26px; width: 84px; height: 84px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff6d6, #ffd98a 60%, transparent 72%); opacity: .05; }
.hw-mobile-sale-strip__row { position: relative; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 16px; }
.hw-mobile-sale-strip__pumpkin { flex: 0 0 auto; width: 38px; height: 38px; animation: hwStripFlicker 2.4s ease-in-out infinite; }
.hw-mobile-sale-strip__copy { display: block; min-width: 0; line-height: 1; }
.hw-mobile-sale-strip__label { display: block; margin-bottom: 4px; font-size: 9.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #ffb347; white-space: nowrap; }
.hw-mobile-sale-strip__price { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.hw-mobile-sale-strip__now { font-size: 22px; font-weight: 900; letter-spacing: -.02em; background: linear-gradient(180deg, #fff 10%, #ffd08a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 0 18px rgba(255, 122, 24, .35); }
.hw-mobile-sale-strip__price s { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .55); text-decoration-color: #ff5d3a; text-decoration-thickness: 2px; }
.hw-mobile-sale-strip__price small { font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, .7); }
.hw-mobile-sale-strip__timer { display: flex; gap: 4px; margin-left: auto; }
.hw-mobile-sale-strip__cell { display: block; min-width: 36px; padding: 5px 3px 4px; text-align: center; border-radius: 8px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.hw-mobile-sale-strip__cell b { display: block; font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.hw-mobile-sale-strip__cell i { display: block; margin-top: 2px; font-style: normal; font-size: 7.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ffb347; }
.hw-mobile-sale-strip__cell.is-tick b { animation: hwStripTick .35s ease; }
.hw-mobile-sale-strip__go { flex: 0 0 auto; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #1d0b33; background: linear-gradient(135deg, #ff7a18, #ffb347); box-shadow: 0 4px 12px rgba(255, 122, 24, .45); transition: transform .2s ease; }
.hw-mobile-sale-strip__go svg { width: 14px; height: 14px; }
.hw-mobile-sale-strip:hover .hw-mobile-sale-strip__go, .hw-mobile-sale-strip:active .hw-mobile-sale-strip__go { transform: translateX(2px); }
@keyframes hwStripFlicker { 0%, 100% { filter: drop-shadow(0 0 7px rgba(255, 150, 40, .85)); } 45% { filter: drop-shadow(0 0 3px rgba(255, 150, 40, .45)); } 60% { filter: drop-shadow(0 0 11px rgba(255, 190, 70, 1)); } }
@keyframes hwStripTwinkle { from { opacity: .35; } to { opacity: 1; } }
@keyframes hwStripTick { 0% { transform: translateY(-4px); opacity: .3; } 100% { transform: none; opacity: 1; } }
@media (max-width: 359px) {
    .hw-mobile-sale-strip__row { gap: 7px; }
    .hw-mobile-sale-strip__pumpkin { width: 30px; height: 30px; }
    .hw-mobile-sale-strip__now { font-size: 19px; }
    .hw-mobile-sale-strip__price s { font-size: 12px; }
    .hw-mobile-sale-strip__timer { gap: 3px; }
    .hw-mobile-sale-strip__cell { min-width: 30px; }
    .hw-mobile-sale-strip__cell b { font-size: 13px; }
    .hw-mobile-sale-strip__cell i { font-size: 7px; }
    .hw-mobile-sale-strip__go { width: 22px; height: 22px; }
    .hw-mobile-sale-strip__go svg { width: 12px; height: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .hw-mobile-sale-strip *, .hw-mobile-sale-strip__cell.is-tick b { animation: none !important; transition: none !important; }
}
