/* Black Friday countdown: neon digits on black, same palette as the promotion. */
.bf-countdown {
  --bf-cyan: #00f0ff; --bf-blue: #3b82f6; --bf-violet: #8b5cf6; --bf-magenta: #ff2bd6;
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: #fff;
}
.bf-countdown-label { font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--bf-magenta); text-shadow: 0 0 10px rgba(255,43,214,.75); }
.bf-countdown-units { display: inline-flex; align-items: flex-start; gap: 6px; }
.bf-countdown-unit { display: grid; justify-items: center; gap: 3px; min-width: 52px; padding: 8px 6px 6px; border-radius: 14px; background: linear-gradient(#000, #000) padding-box, linear-gradient(140deg, var(--bf-cyan), var(--bf-violet) 55%, var(--bf-magenta)) border-box; border: 1.5px solid transparent; box-shadow: 0 0 14px rgba(0,240,255,.28), inset 0 0 14px rgba(139,92,246,.22); }
.bf-countdown-unit b { display: block; font-size: 26px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; color: #fff; text-shadow: 0 0 6px #fff, 0 0 16px var(--bf-cyan), 0 0 32px var(--bf-blue); }
.bf-countdown-unit b.is-tick { animation: bfCountTick 520ms cubic-bezier(.16,1,.3,1); }
.bf-countdown-unit small { font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.bf-countdown-sep { align-self: center; margin-top: -14px; font-style: normal; font-size: 22px; font-weight: 900; color: var(--bf-magenta); text-shadow: 0 0 10px var(--bf-magenta); animation: bfCountBlink 1s steps(2, start) infinite; }
.bf-countdown.is-done .bf-countdown-units { opacity: .45; }
@keyframes bfCountTick { 0% { transform: translateY(-40%) scale(.8); opacity: 0; filter: blur(3px); } 60% { opacity: 1; filter: blur(0); } 100% { transform: none; } }
@keyframes bfCountBlink { to { opacity: .35; } }
@media (max-width: 560px) {
  .bf-countdown-unit { min-width: 44px; padding: 6px 4px 5px; border-radius: 12px; }
  .bf-countdown-unit b { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .bf-countdown-unit b.is-tick, .bf-countdown-sep { animation: none; }
}

/* Chat button: the label alternates with the time left. */
.ai-pricing-link.is-black-friday .bf-link-face { display: inline-flex; align-items: center; gap: 6px; transition: opacity 360ms ease, transform 460ms cubic-bezier(.16,1,.3,1), filter 360ms ease; }
.ai-pricing-link.is-black-friday .bf-link-faces { position: relative; display: inline-grid; }
.ai-pricing-link.is-black-friday .bf-link-faces > * { grid-area: 1 / 1; }
.ai-pricing-link.is-black-friday .bf-link-face.is-clock { font-variant-numeric: tabular-nums; }
.ai-pricing-link.is-black-friday .bf-link-face.is-clock b { color: #00f0ff; text-shadow: 0 0 8px #00f0ff; }
.ai-pricing-link.is-black-friday .bf-link-face[aria-hidden="true"] { opacity: 0; transform: translateY(70%); filter: blur(3px); pointer-events: none; }
.ai-pricing-link.is-black-friday .bf-link-face.is-leaving { transform: translateY(-70%); }
@media (prefers-reduced-motion: reduce) {
  .ai-pricing-link.is-black-friday .bf-link-face { transition: opacity 200ms linear; transform: none !important; filter: none !important; }
}

/* Trial accounts: one offer after signing up, during Black Friday only. */
.bf-offer { position: fixed; inset: 0; z-index: 1300; display: grid; place-items: center; padding: 16px; background: rgba(2,6,23,.62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: bfOfferFade 320ms ease both; }
.bf-offer[hidden] { display: none; }
.bf-offer__card { --bf-angle: 0deg; position: relative; isolation: isolate; width: min(520px, 100%); max-height: calc(100dvh - 32px); overflow: auto; padding: 30px 28px 24px; border-radius: 28px; color: #fff; text-align: center; background: linear-gradient(#000, #000) padding-box, conic-gradient(from var(--bf-angle), #00f0ff, #3b82f6, #8b5cf6, #ff2bd6, #00f0ff) border-box; border: 2px solid transparent; box-shadow: 0 0 26px rgba(0,240,255,.45), 0 0 70px rgba(255,43,214,.28); animation: bfOfferIn 620ms cubic-bezier(.16,1,.3,1) both, bfSpin 6s linear infinite; }
.bf-offer__close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; color: #fff; background: rgba(255,255,255,.08); cursor: pointer; transition: background 200ms, transform 200ms; }
.bf-offer__close:hover { background: rgba(255,255,255,.18); transform: rotate(90deg); }
.bf-offer__eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 5px 13px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #000; background: linear-gradient(100deg, #00f0ff, #3b82f6 40%, #8b5cf6 65%, #ff2bd6); box-shadow: 0 0 16px rgba(0,240,255,.55); }
.bf-offer__discount { margin: 0; font-size: 76px; font-weight: 900; line-height: 1; letter-spacing: -.05em; text-shadow: 0 0 6px #fff, 0 0 18px #00f0ff, 0 0 40px #3b82f6, 0 0 80px #ff2bd6; }
.bf-offer__card h2 { margin: 10px 0 8px; font-size: 22px; line-height: 1.25; color: #fff; }
.bf-offer__card p { margin: 0 0 16px; color: rgba(255,255,255,.78); line-height: 1.55; }
.bf-offer__card .bf-countdown { justify-content: center; margin: 4px 0 20px; }
.bf-offer__actions { display: grid; gap: 10px; }
.bf-offer__cta { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 850; color: #000 !important; text-decoration: none; background: linear-gradient(100deg, #00f0ff, #3b82f6 40%, #8b5cf6 65%, #ff2bd6); box-shadow: 0 0 18px rgba(0,240,255,.7), 0 0 40px rgba(255,43,214,.45); transition: transform 260ms cubic-bezier(.16,1,.3,1), box-shadow 260ms; }
.bf-offer__cta:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 0 26px rgba(0,240,255,.95), 0 0 56px rgba(255,43,214,.6); }
.bf-offer__later { min-height: 44px; border: 0; border-radius: 999px; font: inherit; font-weight: 700; color: rgba(255,255,255,.75); background: transparent; cursor: pointer; }
.bf-offer__later:hover { color: #fff; background: rgba(255,255,255,.08); }
@keyframes bfOfferFade { from { opacity: 0; } }
@keyframes bfOfferIn { from { opacity: 0; transform: translateY(24px) scale(.96); } }
@property --bf-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes bfSpin { to { --bf-angle: 360deg; } }
@media (prefers-reduced-motion: reduce) {
  .bf-offer, .bf-offer__card { animation: none; }
}
