/* Christmas Countdown 2026 — shared styles for the site and legal pages. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
  --midnight: #0B1430;
  --night: #14204A;
  --card: #1A2754;
  --gold: #FFC857;
  --candle: #FFE3A3;
  --holly: #C8102E;
  --pine: #0F3D2E;
  --ice: #BFE9FF;
  --snow: #F7FBFF;
  --muted: #AEB8D9;
  --border: rgba(255, 200, 87, 0.22);
  --r: 18px;
  --r-sm: 12px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  background: var(--midnight);
  color: var(--snow);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

.gold-text {
  background: linear-gradient(135deg, #FFE3A3, #FFC857 45%, #FF9F43);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Falling snow (decorative, CSS only) */
.snow {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    radial-gradient(2px 2px at 20px 30px, #fff, transparent),
    radial-gradient(2px 2px at 140px 80px, #ffffffcc, transparent),
    radial-gradient(1.5px 1.5px at 260px 160px, #fff, transparent),
    radial-gradient(2.5px 2.5px at 330px 40px, #ffffffaa, transparent),
    radial-gradient(1.5px 1.5px at 80px 220px, #fff, transparent);
  background-size: 360px 260px;
  animation: snow 18s linear infinite;
  opacity: 0.55;
}
@keyframes snow { to { background-position: 0 260px; } }
@media (prefers-reduced-motion: reduce) { .snow { animation: none; } }

/* Header */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 20, 48, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; line-height: 1.2; }
.links { display: flex; gap: 22px; font-size: 15px; color: var(--muted); }
.links a:hover { color: var(--gold); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 700;
  background: var(--gold); color: var(--midnight);
  box-shadow: 0 0 28px rgba(255, 200, 87, 0.45);
  transition: transform .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.small { padding: 9px 16px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--snow); border: 1px solid var(--border); box-shadow: none; }
@media (max-width: 760px) { .links { display: none; } }

main, footer { position: relative; z-index: 1; }

/* Hero */
.hero { padding: 72px 0 40px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.1; margin-bottom: 18px; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; margin-bottom: 26px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 18px; color: var(--candle); font-size: 14px; }
.phone {
  justify-self: center; width: min(300px, 80vw);
  border-radius: 34px; overflow: hidden;
  border: 6px solid #22305f;
  box-shadow: 0 0 60px rgba(255, 200, 87, 0.35), 0 30px 60px rgba(0, 0, 0, 0.5);
}
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; text-align: center; } .hero .cta, .ticks { justify-content: center; } .hero p.lead { margin-inline: auto; } }

/* Countdown strip */
.countdown { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 10px 0 30px; }
.countdown div {
  min-width: 92px; padding: 14px 10px; text-align: center;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border); border-radius: var(--r-sm);
}
.countdown b { display: block; font-size: 2rem; color: var(--gold); text-shadow: 0 0 18px rgba(255, 200, 87, .6); }
.countdown span { font-size: 12px; letter-spacing: 1.5px; color: var(--muted); }
@media (max-width: 480px) {
  .countdown { gap: 8px; }
  .countdown div { min-width: 72px; padding: 12px 6px; }
  .countdown b { font-size: 1.6rem; }
}

/* Sections */
section { padding: 64px 0; }
.eyebrow { color: var(--gold); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; }
section h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 8px 0 12px; line-height: 1.2; }
section p.sub { color: var(--muted); max-width: 680px; margin-bottom: 34px; }
.center { text-align: center; }
.center p.sub { margin-inline: auto; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.card {
  background: linear-gradient(160deg, rgba(26, 39, 84, .95), rgba(20, 32, 74, .85));
  border: 1px solid var(--border); border-radius: var(--r); padding: 22px;
}
.card .icon { font-size: 30px; margin-bottom: 10px; }
.card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 15px; }
.tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 1px; padding: 2px 8px; border-radius: 6px; margin-bottom: 10px; }
.tag.free { background: rgba(15, 61, 46, .9); color: #9BF0C4; }
.tag.pro { background: var(--gold); color: var(--midnight); }

/* Screenshots */
.shots { display: flex; gap: 16px; overflow-x: auto; padding: 8px 4px 18px; scroll-snap-type: x mandatory; }
.shots img { width: 220px; flex: none; border-radius: 22px; border: 1px solid var(--border); scroll-snap-align: start; }

/* Pricing */
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.plans ul { list-style: none; margin-top: 12px; }
.plans li { padding: 6px 0; border-bottom: 1px dashed rgba(255, 255, 255, .08); color: var(--muted); }
.plans li::before { content: '✓ '; color: var(--gold); font-weight: 800; }
.plans .card.featured { border-color: var(--gold); box-shadow: 0 0 40px rgba(255, 200, 87, .25); }
.fine { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* FAQ */
details { background: rgba(255, 255, 255, .04); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 16px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); margin-top: 10px; }

/* Final CTA */
.final { text-align: center; padding: 70px 22px; border-radius: 26px; border: 1px solid var(--border);
  background: radial-gradient(circle at 50% 0%, rgba(255, 200, 87, .22), transparent 60%), var(--night); }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 34px 0; color: var(--muted); font-size: 14px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot a:hover { color: var(--gold); }

/* Legal pages */
.legal { padding: 50px 0 80px; }
.legal .doc { max-width: 860px; margin-inline: auto; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 8px; }
.legal .intro { color: var(--muted); margin-bottom: 8px; }
.legal .date { display: inline-block; color: var(--candle); font-size: 14px; margin-bottom: 26px; }
.legal h2 { font-size: 1.35rem; margin: 38px 0 12px; display: flex; gap: 12px; align-items: baseline; }
.legal h2 .num { color: var(--midnight); background: var(--gold); border-radius: 8px; padding: 0 9px; font-size: 1rem; }
.legal h3 { font-size: 1.05rem; margin: 20px 0 8px; color: var(--candle); }
.legal p, .legal li { color: #D6DDF5; }
.legal p { margin-bottom: 12px; }
.legal ul { margin: 0 0 14px 22px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.box { background: rgba(255, 200, 87, .08); border: 1px solid var(--border); border-left: 4px solid var(--gold); border-radius: var(--r-sm); padding: 16px 18px; margin: 16px 0; }
.box.red { background: rgba(200, 16, 46, .1); border-left-color: var(--holly); }
.toc { background: rgba(255, 255, 255, .04); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 16px 22px; margin: 10px 0 20px; }
.toc ol { margin-left: 18px; columns: 2; column-gap: 30px; }
.toc a { color: var(--snow); text-decoration: none; }
@media (max-width: 640px) { .toc ol { columns: 1; } }
.table-wrap { overflow-x: auto; margin: 12px 0 18px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); vertical-align: top; }
th { color: var(--gold); font-size: 13px; letter-spacing: .5px; background: rgba(255, 255, 255, .04); }
td { color: #D6DDF5; }
