/* Financial Literacy Summit 2026 — Design System v2 */
html { scroll-behavior: smooth; }

::selection { background: rgba(237,28,36,.4); }

details.faq-item summary::-webkit-details-marker { display: none; }

/* ---------- Card system: glass + lift + glow ---------- */
.pain-card, .testimonial-card, .speaker-card, .pricing-card, .stat-card, .tier-card {
  transition: transform .3s cubic-bezier(.22,.68,0,1.1), border-color .3s ease, box-shadow .3s ease;
}
.pain-card:hover, .testimonial-card:hover, .stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(237,28,36,.55);
  box-shadow: 0 16px 40px -12px rgba(237,28,36,.25), 0 8px 24px -8px rgba(0,0,0,.6);
}
.speaker-card:hover, .pricing-card:hover, .tier-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 48px -12px rgba(237,28,36,.3);
}

/* Glassmorphism utility */
.glass {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(237, 28, 36, 0.15);
}

/* Gradient headline text */
.grad-text {
  background: linear-gradient(92deg, #ED1C24 0%, #FF4D55 55%, #F59E0B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Top-edge accent line for premium sections */
.edge-glow { position: relative; }
.edge-glow::before {
  content: '';
  position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(237,28,36,.8), rgba(245,158,11,.8), transparent);
  border-radius: 2px;
}

/* ---------- Hero photo treatment ---------- */
.hero-photo {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 30%;
}
.hero-photo::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(2,6,23,.72) 0%, rgba(2,6,23,.82) 55%, rgba(2,6,23,.98) 100%),
    radial-gradient(ellipse at 50% 0%, rgba(237,28,36,.16), transparent 60%);
}

/* Section image cards */
.img-card {
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,.18);
  box-shadow: 0 24px 64px -16px rgba(0,0,0,.7), 0 0 0 1px rgba(237,28,36,.08);
  position: relative;
}
.img-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.img-card:hover img { transform: scale(1.04); }
.img-card .img-caption {
  position: absolute; inset: auto 0 0 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(0deg, rgba(2,6,23,.92), transparent);
  font-weight: 600; font-size: .9rem;
}

/* ---------- Buttons ---------- */
.btn-primary {
  background: linear-gradient(135deg, #ED1C24, #B01018);
  box-shadow: 0 8px 24px -6px rgba(237,28,36,.55), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #FF3B44, #ED1C24);
  box-shadow: 0 12px 32px -6px rgba(237,28,36,.7), inset 0 1px 0 rgba(255,255,255,.3);
}
.btn-gold {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  box-shadow: 0 8px 24px -6px rgba(245,158,11,.5), inset 0 1px 0 rgba(255,255,255,.3);
}
.btn-gold:hover { box-shadow: 0 12px 32px -6px rgba(245,158,11,.65); }

/* ---------- Number badges / step circles ---------- */
.num-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 9999px;
  background: linear-gradient(135deg, rgba(237,28,36,.25), rgba(245,158,11,.15));
  border: 1px solid rgba(237,28,36,.45);
  color: #FF4D55; font-weight: 800;
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.68,0,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Capacity bar shimmer ---------- */
#capacity-bar {
  background: linear-gradient(90deg, #ED1C24, #F59E0B, #ED1C24);
  background-size: 200% 100%;
  animation: shimmerBar 3s linear infinite;
}
@keyframes shimmerBar { to { background-position: -200% 0; } }

/* ---------- Ticket / QR card ---------- */
.ticket-card {
  background:
    radial-gradient(circle at 0% 0%, rgba(237,28,36,.14), transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(245,158,11,.1), transparent 45%),
    linear-gradient(160deg, #1A1A1A, #0A0A0A);
  border: 1px solid rgba(245,158,11,.3);
  box-shadow: 0 24px 64px -16px rgba(0,0,0,.8), 0 0 48px -16px rgba(237,28,36,.3);
}

/* leave space for sticky mobile CTA */
@media (max-width: 767px) {
  #site-footer { padding-bottom: 90px; }
}

/* ---------- HLP brand kit additions ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.animate-float { animation: float 3s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .animate-float { animation: none; } }

/* Hero spotlight gradient (brand kit) */
.hero-spotlight {
  background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 50%, rgba(237,28,36,.35) 100%);
}

/* Video promo card */
.video-card {
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(237,28,36,.25);
  box-shadow: 0 24px 64px -16px rgba(0,0,0,.8), 0 0 48px -16px rgba(237,28,36,.25);
  background: #0A0A0A;
}
.video-card video { display: block; width: 100%; }

/* Host portrait ring */
.host-ring {
  border: 3px solid transparent;
  background: linear-gradient(#0A0A0A,#0A0A0A) padding-box, linear-gradient(135deg,#ED1C24,#B01018) border-box;
}

/* ============================================================
   DESIGN V3 — Premium event-brand layer
   ============================================================ */

/* ---------- Custom scrollbar (brand) ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0A0A0A; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #ED1C24, #B01018); border-radius: 8px; border: 2px solid #0A0A0A; }

/* ---------- Film grain overlay (subtle texture on hero) ---------- */
.grain::before {
  content: '';
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}

/* ---------- Aurora sweep behind hero content ---------- */
@keyframes auroraShift {
  0%, 100% { transform: translateX(-12%) rotate(-2deg) scale(1); opacity: .55; }
  50% { transform: translateX(12%) rotate(2deg) scale(1.08); opacity: .8; }
}
.aurora {
  position: absolute; z-index: 1; pointer-events: none;
  inset: -20% -10% auto -10%; height: 80%;
  background:
    radial-gradient(ellipse 45% 60% at 30% 40%, rgba(237,28,36,.28), transparent 70%),
    radial-gradient(ellipse 40% 55% at 70% 30%, rgba(245,158,11,.16), transparent 70%),
    radial-gradient(ellipse 35% 50% at 50% 60%, rgba(176,16,24,.22), transparent 70%);
  filter: blur(40px);
  animation: auroraShift 14s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { .aurora { animation: none; } }

/* ---------- Hero entrance stagger ---------- */
@keyframes heroUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
.hero-stagger > * { animation: heroUp .8s cubic-bezier(.22,.68,0,1) both; }
.hero-stagger > *:nth-child(1) { animation-delay: .05s; }
.hero-stagger > *:nth-child(2) { animation-delay: .15s; }
.hero-stagger > *:nth-child(3) { animation-delay: .28s; }
.hero-stagger > *:nth-child(4) { animation-delay: .40s; }
.hero-stagger > *:nth-child(5) { animation-delay: .52s; }
.hero-stagger > *:nth-child(6) { animation-delay: .64s; }
.hero-stagger > *:nth-child(7) { animation-delay: .76s; }
@media (prefers-reduced-motion: reduce) { .hero-stagger > * { animation: none; } }

/* ---------- Headline brush underline ---------- */
.hl-underline { position: relative; }
@media (min-width: 768px) { .hl-underline { white-space: nowrap; } }
@media (max-width: 767px) { .hl-underline svg { display: none; } }
.hl-underline svg {
  position: absolute; left: 0; right: 0; bottom: -.18em;
  width: 100%; height: .32em; overflow: visible;
}
.hl-underline svg path {
  fill: none; stroke: url(#hlGrad); stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 320; stroke-dashoffset: 320;
  animation: drawLine 1.1s .7s cubic-bezier(.3,.7,.2,1) forwards;
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .hl-underline svg path { animation: none; stroke-dashoffset: 0; } }

/* ---------- Scroll cue ---------- */
@keyframes cueDrop { 0%, 100% { transform: translateY(0); opacity: .9; } 50% { transform: translateY(8px); opacity: .4; } }
.scroll-cue { animation: cueDrop 1.8s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .scroll-cue { animation: none; } }

/* ---------- Topic marquee ticker ---------- */
.marquee {
  overflow: hidden; position: relative;
  border-top: 1px solid rgba(237,28,36,.25);
  border-bottom: 1px solid rgba(237,28,36,.25);
  background:
    linear-gradient(90deg, rgba(237,28,36,.10), transparent 20%, transparent 80%, rgba(237,28,36,.10)),
    #0D0D0D;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; gap: 0; width: max-content;
  animation: marqueeMove 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeMove { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
.marquee-item {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .8rem 1.6rem;
  font-family: Outfit, sans-serif; font-weight: 700; font-size: .85rem;
  letter-spacing: .08em; text-transform: uppercase; color: #cbd5e1;
  white-space: nowrap;
}
.marquee-item .dot { color: #ED1C24; font-size: .7rem; }

/* ---------- Section kicker (eyebrow) ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: Outfit, sans-serif; font-size: .75rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: #FF4D55;
}
.kicker::before, .kicker::after {
  content: ''; height: 1px; width: 2rem;
  background: linear-gradient(90deg, transparent, rgba(237,28,36,.7));
}
.kicker::after { background: linear-gradient(90deg, rgba(237,28,36,.7), transparent); }

/* ---------- Gradient-border card (v3) ---------- */
.card-v3 {
  position: relative;
  background: linear-gradient(#111 0 0) padding-box,
              linear-gradient(150deg, rgba(237,28,36,.55), rgba(148,163,184,.12) 40%, rgba(245,158,11,.35)) border-box;
  border: 1px solid transparent;
  border-radius: 1rem;
  transition: transform .35s cubic-bezier(.22,.68,0,1), box-shadow .35s ease;
}
.card-v3:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -16px rgba(0,0,0,.7), 0 0 40px -12px rgba(237,28,36,.35);
}

/* ---------- Segmented countdown boxes ---------- */
.cd-seg {
  display: flex; flex-direction: column; align-items: center;
  min-width: 4.6rem; padding: .9rem .5rem .7rem;
  border-radius: .9rem;
  background: linear-gradient(180deg, #1A1A1A, #0D0D0D);
  border: 1px solid rgba(237,28,36,.35);
  box-shadow: 0 12px 32px -12px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06);
}
.cd-seg b {
  font-family: Outfit, monospace; font-size: 2rem; line-height: 1;
  font-weight: 800; color: #fff;
  font-variant-numeric: tabular-nums;
}
.cd-seg span {
  margin-top: .35rem; font-size: .62rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: #FF4D55;
}

/* ---------- Section divider: scarlet beam ---------- */
.beam-divider {
  height: 1px; border: 0;
  background: linear-gradient(90deg, transparent, rgba(237,28,36,.6) 30%, rgba(245,158,11,.5) 70%, transparent);
}

/* ---------- Stat counter styling ---------- */
.stat-num {
  font-family: Outfit, sans-serif; font-weight: 800;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(92deg, #fff 30%, #FF9BA0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
