/* CansOut.AI marketing site - holiday skins, the same design as SoftPaware's. seasons.js sets
   <html data-season="..."> while a season is live (src/data/seasons.json) and adds the banner, the
   countdown band, a foil price card and the hero's moving element. With no data-season attribute nothing
   here applies, so the site looks exactly as it does all year.
   The site is dark all year, so a season swaps the lime accent for its own color everywhere and brings
   one moving element; the layout and the AI console never change. */

@property --ss-ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

html[data-season="blackfriday"] {
  --accent: #f5c542; --accent-2: #e0a82e; --accent-ink: #120d02;
  --glow: 0 0 0 1px rgba(245, 197, 66, .3), 0 0 40px -8px rgba(245, 197, 66, .4);
  --ss-ban-bg: linear-gradient(90deg, #8f0f24, #d0213d 50%, #8f0f24); --ss-ban-ink: #fff; --ss-chip: #f5c542; --ss-chip-ink: #120d02;
  --ss-hero-glow: radial-gradient(circle, rgba(216, 33, 61, .32), transparent 60%);
  --ss-glow: radial-gradient(circle, rgba(245, 197, 66, .22), rgba(245, 197, 66, 0) 62%);
  --ss-tag-bg: #0b0b0d; --ss-tag-ink: #f5c542;
  --ss-foil: #f5c542, #d0213d, #fbe3a1, #2a2a30, #f5c542; --ss-save-bg: #fde4e8; --ss-save-ink: #9e1830; --ss-lock: #b3122e;
  --ss-count-bg: linear-gradient(90deg, #c99a22, #f5c542 50%, #c99a22); --ss-count-ink: #120d02; --ss-tile-bg: #0b0b0d; --ss-tile-ink: #f5c542;
  --ss-stamp-bg: radial-gradient(circle at 35% 30%, #f0566d, #d0213d 55%, #8f1529); --ss-stamp-ink: #fff;
}
html[data-season="christmas"] {
  --accent: #6fdc96; --accent-2: #4cc27a; --accent-ink: #04170b;
  --glow: 0 0 0 1px rgba(111, 220, 150, .28), 0 0 40px -8px rgba(111, 220, 150, .35);
  --ss-ban-bg: linear-gradient(90deg, #0d3326, #17543f 50%, #0d3326); --ss-ban-ink: #eef7f1; --ss-chip: #e9c46a; --ss-chip-ink: #241a03;
  --ss-ban-tex: radial-gradient(circle at 10% 30%, #fff 1px, transparent 1.6px) 0 0/42px 26px, radial-gradient(circle at 60% 70%, #fff 1px, transparent 1.6px) 0 0/58px 30px;
  --ss-hero-glow: radial-gradient(circle, rgba(196, 30, 58, .22), transparent 60%);
  --ss-glow: radial-gradient(circle, rgba(233, 196, 106, .2), rgba(233, 196, 106, 0) 62%);
  --ss-tag-bg: #e3f3e9; --ss-tag-ink: #135c3d;
  --ss-foil: #e9c46a, #1f7a52, #f4dc98, #c41e3a, #e9c46a; --ss-save-bg: #e3f3e9; --ss-save-ink: #135c3d; --ss-lock: #1f7a52;
  --ss-count-bg: linear-gradient(90deg, #0d3326, #17543f); --ss-count-ink: #eef7f1; --ss-tile-bg: #fffdf6; --ss-tile-ink: #0d3326;
}
html[data-season="newyear"] {
  --accent: #f2d48a; --accent-2: #d9b86c; --accent-ink: #1b1606;
  --glow: 0 0 0 1px rgba(242, 212, 138, .28), 0 0 40px -8px rgba(242, 212, 138, .38);
  --bg: #080a16; --bg-2: #0c1020; --panel: #11152a; --panel-2: #161b34; --line: #232a48; --line-2: #2e365a;
  --ss-ban-bg: linear-gradient(90deg, #12162b, #262d57 50%, #12162b); --ss-ban-ink: #eef0fa; --ss-chip: #d9b86c; --ss-chip-ink: #23190a;
  --ss-hero-glow: radial-gradient(circle, rgba(92, 84, 200, .3), transparent 60%);
  --ss-glow: radial-gradient(circle, rgba(217, 184, 108, .3), rgba(217, 184, 108, 0) 62%);
  --ss-tag-bg: #12162b; --ss-tag-ink: #f3dfae;
  --ss-foil: #f8e6b4, #a8842f, #fff3cf, #7a5c1c, #f8e6b4; --ss-save-bg: #f6ecd5; --ss-save-ink: #6b4e12; --ss-lock: #9a7424;
  --ss-count-bg: linear-gradient(90deg, #c9a24f, #e8cd8a 50%, #c9a24f); --ss-count-ink: #1b1606; --ss-tile-bg: #12162b; --ss-tile-ink: #f3dfae;
  --ss-stamp-bg: radial-gradient(circle at 35% 30%, #f8e6b4, #d9b86c 55%, #a8842f); --ss-stamp-ink: #23190a;
}
html[data-season] .btn.primary:hover { background: var(--accent-2); border-color: var(--accent-2); }

/* ---------- banner (every page) ---------- */
.ss-banner { position: relative; overflow: hidden; background: var(--ss-ban-bg); color: var(--ss-ban-ink); font: 14.5px/1.4 var(--font-body); z-index: 51; }
.ss-banner::after { content: ""; position: absolute; inset: 0; background: var(--ss-ban-tex, none); opacity: .5; pointer-events: none; }
.ss-banner .wrap { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 16px; padding-block: 11px; text-align: center; }
.ss-banner b { font-weight: 800; }
.ss-banner .ss-chip { font: 700 13px var(--font-mono); font-variant-numeric: tabular-nums; background: var(--ss-chip); color: var(--ss-chip-ink); border-radius: 999px; padding: 3px 11px; white-space: nowrap; }
.co .ss-banner a { color: inherit; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }

/* ---------- home hero ---------- */
html[data-season] .co .hero::after { background: var(--ss-hero-glow); }
.ss-glow { position: absolute; z-index: 0; width: 60vw; max-width: 760px; aspect-ratio: 1; left: -18%; bottom: -55%; border-radius: 50%; background: var(--ss-glow); filter: blur(10px); pointer-events: none; }
.ss-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
html[data-season] .co .hero .eyebrow { display: inline-flex; align-items: center; gap: 10px; }
html[data-season] .co .hero .eyebrow svg { width: 17px; height: 17px; flex: none; }
.ss-checks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: 14.5px; color: var(--text); padding: 0; list-style: none; }
.ss-checks li { display: inline-flex; align-items: center; gap: 8px; }
.ss-checks svg { width: 16px; height: 16px; color: var(--accent); }

/* The price card sits on the AI console's top-left corner, the way SoftPaware's sits on its photo. */
.ss-console { position: relative; }
.ss-console .console { position: relative; z-index: 1; }
.ss-card { position: absolute; z-index: 3; left: -10%; top: -11%; width: min(56%, 270px); border-radius: 20px; padding: 18px 20px 16px; text-align: center;
  border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, conic-gradient(from var(--ss-ang), var(--ss-foil)) border-box;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8), 0 0 0 6px rgba(255, 255, 255, .08); color: #14171b; }
@media (max-width: 980px) { .ss-card { left: 0; top: -9%; width: min(56%, 250px); padding: 14px 14px 12px; } }
.ss-card .ss-tag { display: inline-flex; align-items: center; gap: 6px; font: 700 11.5px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ss-tag-ink); background: var(--ss-tag-bg); border-radius: 999px; padding: 6px 10px; margin-bottom: 10px; white-space: nowrap; }
.ss-card .ss-tag svg { width: 13px; height: 13px; }
.ss-card .ss-from { font: 600 12px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: #5c636c; }
.ss-card .ss-big { font: 700 clamp(2.2rem, 4vw, 3.1rem)/1 var(--font-display); letter-spacing: -0.04em; color: #0b0d10; display: flex; justify-content: center; align-items: baseline; gap: 4px; margin-top: 2px; }
.ss-card .ss-big span { font: 600 14px var(--font-body); color: #5c636c; letter-spacing: 0; }
.ss-card .ss-lock { display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: 10px; font-size: 13.5px; line-height: 1.35; font-weight: 600; color: #14171b; }
.ss-card .ss-lock svg { width: 16px; height: 16px; flex: none; color: var(--ss-lock); }
.ss-card .ss-save { margin-top: 10px; display: inline-block; white-space: nowrap; font: 700 13px var(--font-body); color: var(--ss-save-ink); background: var(--ss-save-bg); border-radius: 8px; padding: 5px 9px; }
.ss-card .ss-std { margin-top: 10px; padding-top: 9px; border-top: 1px dashed #d9dde2; font-size: 12.5px; color: #6b737d; }
.ss-bow { position: absolute; right: -16px; top: -22px; width: 78px; height: 64px; filter: drop-shadow(0 8px 10px rgba(80, 10, 20, .4)); }
.ss-stamp { position: absolute; z-index: 4; right: -3%; bottom: -8%; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  font: 800 11px/1.15 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ss-stamp-ink, #fff); transform: rotate(12deg);
  background: var(--ss-stamp-bg); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .7), inset 0 0 0 3px rgba(255, 255, 255, .4); }
.ss-stamp b { display: block; font: 700 22px/1 var(--font-display); letter-spacing: -0.02em; }

/* ---------- countdown band (home and pricing) ---------- */
.ss-count { background: var(--ss-count-bg); color: var(--ss-count-ink); }
.ss-count .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding-block: 22px; }
.ss-count .ss-lbl { font: 700 clamp(1.1rem, 2vw, 1.45rem)/1.2 var(--font-display); letter-spacing: -0.01em; max-width: 34ch; }
.ss-count .ss-lbl small { display: block; font: 500 14px var(--font-body); opacity: .85; letter-spacing: 0; margin-top: 4px; }
.ss-clock { display: flex; gap: 10px; }
.ss-unit { display: grid; justify-items: center; gap: 6px; }
.ss-digits { min-width: 64px; padding: 10px 10px 8px; border-radius: 12px; text-align: center; font: 700 clamp(1.5rem, 3vw, 2.1rem)/1 var(--font-mono); font-variant-numeric: tabular-nums;
  background: var(--ss-tile-bg); color: var(--ss-tile-ink); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .25), 0 10px 20px -12px rgba(0, 0, 0, .6); position: relative; overflow: hidden; }
.ss-digits::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .25); }
.ss-unit small { font: 700 11px var(--font-body); letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.ss-digits.ss-flip { animation: ss-flip .45s ease; }
.ss-count .btn.primary { background: var(--ss-tile-bg); color: var(--ss-tile-ink); border-color: var(--ss-tile-bg); box-shadow: none; }
@media (max-width: 560px) { .ss-digits { min-width: 52px; } .ss-count .btn { width: 100%; } }

/* ---------- pricing cards ---------- */
html[data-season] .plan.featured { border: 2px solid transparent; background: linear-gradient(var(--panel), var(--panel)) padding-box, conic-gradient(from var(--ss-ang), var(--ss-foil)) border-box; }
.plan .ss-was { font: 500 13px var(--font-mono); color: var(--dim); text-decoration: none; margin-top: -2px; margin-bottom: 4px; }
.plan .ss-extra { display: flex; gap: 6px; align-items: center; font-size: 14px; font-weight: 700; color: var(--accent); margin: -12px 0 18px; }
.plan .ss-extra svg { width: 15px; height: 15px; flex: none; }
.co .ss-note { margin: 22px auto 0; max-width: 680px; text-align: center; font-size: 15px; color: var(--muted); }
/* The pricing section sits flush under its hero (padding-top:0 inline); give the cards room under the countdown band. */
.ss-count + .section { padding-top: clamp(28px, 4vw, 44px) !important; }

/* ---------- the entrance: copy rises, the card lands, then the foil turns ---------- */
@media (prefers-reduced-motion: no-preference) {
  .ss-go .hero-grid > div:first-child > * { animation: ss-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .ss-go .hero-grid > div:first-child > :nth-child(2) { animation-delay: .08s; } .ss-go .hero-grid > div:first-child > :nth-child(3) { animation-delay: .16s; }
  .ss-go .hero-grid > div:first-child > :nth-child(4) { animation-delay: .24s; } .ss-go .hero-grid > div:first-child > :nth-child(5) { animation-delay: .32s; }
  .ss-go .ss-card { animation: ss-land .8s .35s cubic-bezier(.2, 1.3, .4, 1) both, ss-turn 8s 1.2s linear infinite; }
  html[data-season] .plan.featured { animation: ss-turn 8s linear infinite; }
  .ss-go .ss-stamp { animation: ss-stamp .5s .9s cubic-bezier(.3, 1.6, .5, 1) both; }
  .ss-go .ss-bow { animation: ss-bow .6s 1s cubic-bezier(.3, 1.6, .5, 1) both; }
}
@keyframes ss-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes ss-land { from { opacity: 0; transform: translateY(-30px) scale(.9) rotate(-4deg); } to { opacity: 1; transform: none; } }
@keyframes ss-turn { to { --ss-ang: 360deg; } }
@keyframes ss-stamp { from { opacity: 0; transform: rotate(40deg) scale(1.8); } to { opacity: 1; transform: rotate(12deg) scale(1); } }
@keyframes ss-bow { from { opacity: 0; transform: scale(.3) rotate(-30deg); } to { opacity: 1; transform: none; } }
@keyframes ss-flip { 0% { transform: rotateX(0); } 45% { transform: rotateX(-80deg); } 55% { transform: rotateX(80deg); } 100% { transform: rotateX(0); } }

/* The standard price under a holiday price: home plan cards (no terms line) and our row in the comparison tables. */
html[data-season] .ss-was { display: block; font-size: 12.5px; font-weight: 500; line-height: 1.35; color: var(--muted); margin-top: 2px; letter-spacing: 0; }
html[data-season] .plan .ss-was { margin: 0 0 12px; }

/* The season's name, large (Kenneth, 2026-11-23): in the hero above the headline, in the banner and on the price card. */
html[data-season="blackfriday"] { --ss-title: linear-gradient(90deg, #f5c542, #fbe3a1 50%, #f5c542); --ss-when: #f5c542; }
html[data-season="christmas"] { --ss-title: linear-gradient(90deg, #ff5d73, #ffc2ca 50%, #ff5d73); --ss-when: #6fdc96; }
html[data-season="newyear"] { --ss-title: linear-gradient(90deg, #e3c47a, #fff3cf 50%, #d9b86c); --ss-when: #f2d48a; }
html[data-season] .co .hero .eyebrow.ss-title { display: grid; justify-items: start; gap: 8px; letter-spacing: 0; text-transform: none; margin-bottom: 18px; }
html[data-season] .co .hero .eyebrow.ss-title::before { display: none; }
.ss-title .ss-name { font: 700 clamp(2.4rem, 5.2vw, 4rem)/.95 var(--font-display); letter-spacing: -0.02em; text-transform: uppercase;
  background: var(--ss-title); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.ss-title .ss-when { display: inline-flex; align-items: center; gap: 8px; font: 700 13px/1 var(--font-mono, var(--font-body)); letter-spacing: .14em; text-transform: uppercase; color: var(--ss-when); }
.ss-title .ss-when svg { width: 16px; height: 16px; flex: none; }
.ss-banner b { font: 700 1.15em/1 var(--font-display); letter-spacing: .02em; text-transform: uppercase; }
html[data-season="blackfriday"] .ss-banner b, html[data-season="christmas"] .ss-banner b, html[data-season="newyear"] .ss-banner b { color: var(--ss-chip); }
.ss-card .ss-tag { font-size: 13px; padding: 7px 12px; }
@media (max-width: 560px) {
  .ss-title .ss-name { font-size: 2.3rem; }
  .ss-title .ss-when { font-size: 11.5px; letter-spacing: .1em; }
  .ss-card .ss-tag { font-size: 12px; }
}
