/* ============================================================
   landing.css — Event Landing / Home Page
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:      #2563EB;
  --primary-dark: #1D4ED8;
  --success:      #16A34A;
  --bg:           #F1F5F9;
  --surface:      #FFFFFF;
  --border:       #E2E8F0;
  --text:         #1E293B;
  --text-muted:   #64748B;
  --radius:       8px;
  --radius-lg:    14px;
  --font:         -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; }

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem 6rem;
  overflow: hidden;
  background-color: #1E293B; /* fallback if no image */
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero-bg.is-blurred {
  -webkit-filter: blur(10px);
  filter: blur(10px);
  transform: scale(1.06);
  transform-origin: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(15,23,42,.72) 0%, rgba(15,23,42,.55) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 780px;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  padding: .35rem 1rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(6px);
}

/* Hero logo — replaces the badge when a logo is uploaded */
.hero-logo {
  display: block;
  max-height: 400px;
  max-width: 400px;
  width: auto;
  margin: 0 auto 1.25rem;
  object-fit: contain;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: .75rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.88);
  max-width: 560px;
  margin: 0 auto 2rem;
  text-shadow: 0 1px 6px rgba(0,0,0,.3);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem 1.5rem;
  margin-bottom: 2.25rem;
  font-size: .9rem;
  color: rgba(255,255,255,.82);
}
.hero-meta-item {
  display: flex; align-items: center; gap: .4rem;
}
.hero-meta-item svg { width: 16px; height: 16px; flex-shrink: 0; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; }
.btn-hero {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem; font-weight: 700;
  cursor: pointer; border: none;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn-hero:hover { transform: translateY(-2px); }
.btn-hero-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 4px 14px rgba(37,99,235,.4);
}
.btn-hero-primary:hover { background: var(--primary-dark); box-shadow: 0 6px 20px rgba(37,99,235,.5); }
.btn-hero-secondary {
  background: rgba(255,255,255,.15); color: #fff;
  border: 1.5px solid rgba(255,255,255,.35);
  backdrop-filter: blur(6px);
}
.btn-hero-secondary:hover { background: rgba(255,255,255,.25); }

.hero-scroll-hint {
  position: absolute; bottom: 1.75rem; left: 50%; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,.5);
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll-hint svg { width: 20px; height: 20px; }
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ─── Sections ───────────────────────────────────────────────── */
.landing-section {
  padding: 4.5rem 1.5rem;
}
.landing-section.alt { background: var(--surface); }

.section-inner {
  max-width: 820px;
  margin: 0 auto;
}
.section-label {
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--primary); margin-bottom: .5rem;
}
.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800; color: var(--text);
  margin-bottom: 1rem; line-height: 1.25;
}
.section-body {
  color: var(--text-muted); font-size: 1.02rem; line-height: 1.75;
  white-space: pre-line;
}

/* ─── Info cards ─────────────────────────────────────────────── */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem; margin-top: 2rem;
}
.info-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem;
  display: flex; flex-direction: column; align-items: flex-start; gap: .4rem;
}
.info-card-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--primary); display: flex; align-items: center; justify-content: center;
  color: #fff; margin-bottom: .25rem;
}
.info-card-icon svg { width: 18px; height: 18px; }
.info-card-title { font-weight: 700; font-size: .9rem; }
.info-card-text  { font-size: .85rem; color: var(--text-muted); }

/* ─── Reference Documents ───────────────────────────────────── */
.ref-doc-list {
  list-style: none;
  margin-top: .8rem;
  display: grid;
  gap: .6rem;
}
.ref-doc-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .8rem 1rem;
}
.ref-doc-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
.ref-doc-link:hover {
  text-decoration: underline;
}
.ref-doc-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .15rem .5rem;
  border-radius: 999px;
  font-size: .68rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-weight: 700;
  color: #334155;
  background: #E2E8F0;
  border: 1px solid #CBD5E1;
  flex-shrink: 0;
}

/* ─── FAQ ────────────────────────────────────────────────────── */
#faq { background: var(--bg); }
.faq-list { margin-top: 1.75rem; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: .6rem;
  overflow: hidden;
}
.faq-question {
  width: 100%; text-align: left; background: none; border: none;
  padding: 1rem 1.25rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .95rem; font-weight: 600; color: var(--text);
  cursor: pointer; gap: 1rem;
}
.faq-question:hover { background: var(--bg); }
.faq-chevron {
  flex-shrink: 0; width: 18px; height: 18px;
  transition: transform .25s;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  display: none; padding: 0 1.25rem 1rem;
  font-size: .9rem; color: var(--text-muted); line-height: 1.65;
  border-top: 1px solid var(--border);
  padding-top: .75rem;
}
.faq-item.open .faq-answer { display: block; }

/* ─── CTA strip ──────────────────────────────────────────────── */
.cta-strip {
  background: var(--primary);
  padding: 3.5rem 1.5rem;
  text-align: center;
}
.cta-strip h2 { font-size: 1.6rem; font-weight: 800; color: #fff; margin-bottom: .65rem; }
.cta-strip p  { color: rgba(255,255,255,.82); margin-bottom: 1.75rem; font-size: 1rem; }
.btn-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .9rem 2.25rem; border-radius: var(--radius);
  background: #fff; color: var(--primary);
  font-size: 1rem; font-weight: 700;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }

/* ─── Footer ─────────────────────────────────────────────────── */
.landing-footer {
  background: #0F172A; color: rgba(255,255,255,.45);
  text-align: center; padding: 1.5rem 1rem;
  font-size: .8rem;
}
.landing-footer a { color: rgba(255,255,255,.6); text-decoration: none; }
.landing-footer a:hover { color: #fff; }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 600px) {
  .hero { padding: 3rem 1.25rem 5rem; }
  .btn-hero { width: 100%; justify-content: center; }
  .hero-actions { flex-direction: column; }
}
