/* =========
   MUN Landing — Plain CSS
   Defaults to dark theme, responsive, accessible.
   Put images in /assets. Adjust brand colors in :root.
   ========= */

:root{
  --bg: #0b0e14;
  --bg-elev: #111626;
  --text: #e8eaf2;
  --muted: #aab1c6;
  --brand: #8b5cf6;   /* violet */
  --brand-2: #22d3ee; /* cyan */
  --card: #141a2e;
  --border: #242a41;
  --maxw: 1120px;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body{
  margin: 0;
  font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 10% -10%, rgba(139,92,246,.2), transparent 60%),
              radial-gradient(1200px 600px at 90% -10%, rgba(34,211,238,.16), transparent 60%),
              var(--bg);
}

/* Utilities */
.muted{ color: var(--muted); }
.w-100{ width: 100%; }

.lp-container{
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
.lp-section{
  padding: 72px 0;
}
.lp-section.alt{
  background:
    radial-gradient(900px 500px at 90% -20%, rgba(139,92,246,.10), transparent 60%),
    radial-gradient(900px 500px at 10% -20%, rgba(34,211,238,.08), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-title{
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.2;
  margin: 0 0 12px;
}
.lead{
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 60ch;
}

/* Header */
.lp-header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(10px);
  background: linear-gradient(180deg, rgba(11,14,20,.85), rgba(11,14,20,.55));
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.lp-header.scrolled{
  border-color: var(--border);
  background: rgba(11,14,20,.9);
}
.header-inner{
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}
.lp-logo{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}
.logo-badge{
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(45deg, var(--brand), var(--brand-2));
  color: #0a0d13;
  font-weight: 900;
}
.logo-text{ opacity: .95; }

.lp-nav{
  margin-left: auto;
  display: flex;
  gap: 16px;
}
.lp-nav a{
  color: var(--muted);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
}
.lp-nav a:hover{ color: var(--text); background: rgba(255,255,255,.04); }

.lp-actions{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 8px;
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .05s ease, background .2s ease, border-color .2s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }

.btn.primary{
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: #0a0d13;
}
.btn.ghost{
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn.lg{
  height: 48px;
  padding: 0 22px;
  border-radius: 14px;
}

/* Mobile nav */
.nav-toggle{
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: transparent;
}
.nav-toggle .bar{
  display: block;
  width: 20px; height: 2px;
  margin: 4px auto;
  background: var(--text);
}
.lp-nav-mobile{
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px 20px 16px;
  border-top: 1px solid var(--border);
  background: rgba(10,13,19,.95);
}
.lp-nav-mobile a{
  text-decoration: none;
  color: var(--text);
  padding: 10px 6px;
  border-radius: 8px;
}
.lp-nav-mobile a:hover{ background: rgba(255,255,255,.04); }
.mobile-cta{ display: grid; gap: 8px; margin-top: 8px; }

/* Hero */
.lp-hero{
  position: relative;
  overflow: clip;
}
.hero-bg{
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.7) contrast(1.1);
}
.hero-overlay{
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 15% -10%, rgba(139,92,246,.35), transparent 60%),
    radial-gradient(800px 400px at 85% -10%, rgba(34,211,238,.3), transparent 60%),
    linear-gradient(180deg, rgba(8,10,16,.8), rgba(8,10,16,.5) 40%, rgba(8,10,16,.95));
}
.hero-content{
  position: relative;
  padding: clamp(72px, 10vw, 140px) 0 64px;
  text-align: center;
}
.eyebrow{
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 14px;
}
.hero-title{
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.05;
  margin: 10px 0 12px;
}
.hero-subtitle{
  max-width: 70ch;
  margin: 0 auto 22px;
  color: var(--muted);
}
.hero-cta{ display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

.countdown{
  margin: 24px auto 10px;
  display: grid;
  grid-template-columns: repeat(4, minmax(80px, 120px));
  gap: 10px; justify-content: center;
}
.cd-item{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 14px 6px;
}
.cd-item span{
  font-size: clamp(24px, 4.4vw, 40px);
  font-weight: 800;
  line-height: 1;
  display: block;
}
.cd-item small{
  color: var(--muted); text-transform: uppercase; letter-spacing: .06em;
}

.hero-stats{
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-top: 18px;
}
.stat{
  display: grid; place-items: center;
  min-width: 90px; padding: 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
}
.stat b{ font-size: 22px; }
.stat span{ color: var(--muted); }

.shape-sep{
  position: absolute; bottom: -1px; left: 0; right: 0;
  height: 56px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.02));
  border-top: 1px solid var(--border);
}

/* Grids & Cards */
.grid{
  display: grid;
  gap: 18px;
}
.cards{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.card h3{ margin: 10px 0 6px; }
.card p{ margin: 0; color: var(--muted); }
.card-icon{
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: #0b0e14; font-size: 20px; font-weight: 800;
}

.tracks{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.track{
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.track h3{ margin: 8px 0; }
.track p{ margin: 0 0 10px; color: var(--muted); }
.track ul{ margin: 0; padding-left: 18px; color: var(--muted); }

.speakers{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.speaker{
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.speaker img{
  width: 120px; height: 120px; object-fit: cover;
  border-radius: 999px; border: 2px solid rgba(255,255,255,.15);
  display: block; margin: 0 auto 10px;
}
.speaker h3{ margin: 6px 0 2px; }
.speaker .muted{ font-size: 14px; }

/* Timeline */
.timeline{
  list-style: none; margin: 0; padding: 0;
  border-left: 2px dashed rgba(255,255,255,.15);
}
.timeline li{
  display: grid; grid-template-columns: 140px 1fr;
  gap: 18px; padding: 12px 0 12px 18px;
}
.timeline .time{ color: var(--muted); }
.timeline .event{ background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 12px; }

/* Logo wall */
.logo-wall{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px; align-items: center;
  filter: grayscale(100%); opacity: .9;
}
.logo-wall img{ max-width: 100%; height: 42px; object-fit: contain; }

/* Venue */
.venue-grid{
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start;
}
.venue-media img{
  width: 100%; height: auto; border-radius: var(--radius);
  border: 1px solid var(--border);
}
.bullets{ margin: 16px 0; padding-left: 18px; color: var(--muted); }

/* FAQ */
.faq details{
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--card); padding: 12px 14px; margin-bottom: 10px;
}
.faq summary{ cursor: pointer; font-weight: 600; }
.faq p{ margin: 10px 0 0; color: var(--muted); }

/* Footer */
.lp-footer{
  border-top: 1px solid var(--border);
  padding: 28px 0;
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
}
.footer-inner{
  display: grid; gap: 18px;
  grid-template-columns: 1.2fr .8fr;
  align-items: start;
}
.footer-links{
  display: grid; grid-template-columns: repeat(2, auto); gap: 8px 18px;
}
.footer-links a{ color: var(--muted); text-decoration: none; }
.footer-links a:hover{ color: var(--text); }
.footer-legal{ grid-column: 1 / -1; }

/* Reveal on scroll */
.reveal > *{ opacity: 0; transform: translateY(14px); transition: .5s ease; }
.reveal.in-view > *{ opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px){
  .cards{ grid-template-columns: repeat(2, 1fr); }
  .tracks{ grid-template-columns: repeat(2, 1fr); }
  .speakers{ grid-template-columns: repeat(2, 1fr); }
  .venue-grid{ grid-template-columns: 1fr; }
  .footer-inner{ grid-template-columns: 1fr; }
}

@media (max-width: 760px){
  .lp-nav{ display: none; }
  .nav-toggle{ display: inline-block; }
  .countdown{ grid-template-columns: repeat(4, 1fr); }
  .cards, .tracks, .speakers{ grid-template-columns: 1fr; }
  .timeline{ border-left: none; }
  .timeline li{ grid-template-columns: 1fr; padding-left: 0; }
  .logo-wall{ grid-template-columns: repeat(2, 1fr); }
}
