/* Lagos AI Summit — event site (homepage). Separate from style.css (tickets/confirmation). */
:root {
  --navy: #0A1628;
  --navy-2: #0f1d33;
  --card: rgba(255,255,255,0.035);
  --border: rgba(255,255,255,0.09);
  --accent: #E87D2F;
  --accent-dark: #cf6a20;
  --text: #ffffff;
  --muted: rgba(255,255,255,0.68);
  --dim: rgba(255,255,255,0.5);
  --display: 'Bebas Neue', Impact, sans-serif;
  --body: 'Outfit', Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { background: var(--navy); color: var(--text); font-family: var(--body); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
canvas#particles { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
main, .footer, .nav { position: relative; z-index: 1; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 860px; }
.accent { color: var(--accent); }
.eyebrow { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; font-family: var(--body); font-weight: 600; text-decoration: none; border-radius: 8px; padding: .8rem 1.4rem; font-size: .95rem; border: 1.5px solid transparent; transition: background .2s, color .2s, transform .15s, border-color .2s; cursor: pointer; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-ghost:hover { background: var(--accent); color: #fff; }
.btn-lg { padding: 1rem 1.8rem; font-size: 1.02rem; }
.btn-sm { padding: .55rem 1rem; font-size: .88rem; }
.btn-block { display: flex; width: 100%; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; transition: background .25s, border-color .25s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(10,22,40,0.94); backdrop-filter: blur(10px); border-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-logo img { height: 56px; width: auto; border-radius: 6px; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a { text-decoration: none; font-size: .92rem; color: var(--muted); font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav-links .nav-sponsor { color: var(--accent); }
.nav-links .btn-primary { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.nav-toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; }

/* Hero */
.hero { padding: 56px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.hero-title { font-family: var(--display); font-size: clamp(3.2rem, 7.2vw, 6.6rem); line-height: .92; letter-spacing: .01em; margin-bottom: 1.4rem; }
.hero-sub { font-size: 1.12rem; color: var(--muted); max-width: 560px; margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1rem; }
.eb-note { font-size: .86rem; color: var(--dim); }
.hero-card { background: var(--card); border: 1px solid var(--border); border-top: 3px solid var(--accent); border-radius: 16px; padding: 28px; }
.hc-label { text-align: center; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 16px; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 22px; }
.countdown div { background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 10px; padding: 14px 4px; text-align: center; }
.countdown b { display: block; font-family: var(--display); font-size: 2.6rem; line-height: 1; }
.countdown span { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.hc-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: .92rem; }
.hc-row span { color: var(--dim); }
.hc-row strong { font-weight: 500; text-align: right; }
.hero-card .btn { margin-top: 20px; }

/* Stats */
.stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255,255,255,.02); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stats-grid div { padding: 28px 8px; }
.stats-grid div + div { border-left: 1px solid var(--border); }
.stats-grid b { display: block; font-family: var(--display); font-size: 2.8rem; line-height: 1; color: var(--accent); }
.stats-grid span { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: rgba(255,255,255,.018); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-title { font-family: var(--display); font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: .98; letter-spacing: .01em; margin-bottom: 1rem; }
.section-sub { color: var(--muted); font-size: 1.05rem; }

/* Cards */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 26px 22px; }
.card-icon { color: var(--accent); font-size: 1.1rem; margin-bottom: 14px; }
.card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .94rem; }

/* Tracks */
.tracks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.track { background: var(--card); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 12px; padding: 26px 26px 24px; }
.track-n { font-family: var(--display); font-size: 1.6rem; color: var(--accent); }
.track h3 { font-size: 1.2rem; margin: 4px 0 6px; }
.track p { color: var(--muted); font-size: .95rem; }

/* Speakers */
.speakers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.speaker { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 16px 16px 22px; }
.sp-photo { border-radius: 12px; overflow: hidden; aspect-ratio: 1 / 1; margin-bottom: 16px; background: var(--navy-2); }
.sp-photo img { width: 100%; height: 100%; object-fit: cover; }
.speaker h3 { font-size: 1.12rem; line-height: 1.25; margin-bottom: 6px; }
.sp-role { font-size: .9rem; color: #fff; opacity: .9; }
.sp-org { font-size: .86rem; color: var(--dim); margin-bottom: 12px; }
.sp-tag { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(232,125,47,.5); border-radius: 999px; padding: 5px 10px; }
.speaker-more { display: flex; flex-direction: column; justify-content: center; border-style: dashed; text-align: left; }
.sp-more { font-family: var(--display); font-size: 5rem; line-height: 1; color: var(--accent); margin-bottom: 12px; }
.sp-link { color: var(--accent); font-weight: 600; text-decoration: none; margin-top: 14px; }

/* Convener */
.convener { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.conv-photo { border-radius: 18px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4 / 5; position: relative; }
.conv-photo::after { content: ''; position: absolute; inset: auto 0 0 0; height: 5px; background: var(--accent); }
.conv-photo img { width: 100%; height: 100%; object-fit: cover; }
.conv-role { font-weight: 600; margin-bottom: 14px; }
.conv-sessions { margin-top: 26px; display: grid; gap: 12px; }
.conv-sessions div { background: var(--card); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 10px; padding: 14px 18px; }
.conv-sessions span { display: block; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.conv-sessions strong { display: block; font-size: 1.08rem; }
.conv-sessions em { display: block; font-style: normal; color: var(--muted); font-size: .92rem; margin-top: 2px; }
.timeline li.tl-feature { background: rgba(232,125,47,.07); border: 1px solid rgba(232,125,47,.35); border-radius: 10px; padding: 20px 16px; margin: 6px 0; }

/* Timeline */
.timeline { list-style: none; max-width: 820px; }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.timeline time { font-family: var(--display); font-size: 1.6rem; color: var(--accent); line-height: 1.1; }
.timeline h3 { font-size: 1.1rem; margin-bottom: 2px; }
.timeline p { color: var(--muted); font-size: .95rem; }

/* Tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tier { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 30px 26px; display: flex; flex-direction: column; }
.tier-featured { border-color: var(--accent); background: rgba(232,125,47,.05); }
.tier-badge { position: absolute; top: -12px; left: 26px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.tier h3 { font-family: var(--display); font-size: 1.8rem; letter-spacing: .02em; }
.price { margin: 6px 0 18px; }
.price span { font-family: var(--display); font-size: 2.8rem; color: var(--accent); line-height: 1; }
.price s, .price small { color: var(--dim); font-size: 1rem; margin-left: 6px; }
.tier ul { list-style: none; margin-bottom: 24px; flex: 1; }
.tier li { padding: 8px 0 8px 22px; border-bottom: 1px solid rgba(255,255,255,.05); color: var(--muted); font-size: .94rem; position: relative; }
.tier li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* Venue */
.venue { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.venue .section-sub { margin-bottom: 24px; }
.venue-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 12px 26px; }
.venue-card .hc-row:last-child { border-bottom: 0; }

/* Partners */
.partner-band { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; background: linear-gradient(135deg, rgba(232,125,47,.14), rgba(232,125,47,.03)); border: 1px solid rgba(232,125,47,.35); border-radius: 20px; padding: 48px; }
.partner-band .section-head { margin: 0; }
.partner-ctas { display: flex; flex-direction: column; gap: 12px; }

/* Video */
.video { position: relative; padding-top: 56.25%; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--muted); margin-top: 10px; }
.faq a { color: var(--accent); }

/* Updates */
.updates { text-align: center; }
.updates .section-sub { margin-bottom: 24px; }
.notify-form { display: flex; max-width: 520px; margin: 0 auto; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: rgba(255,255,255,.04); }
.notify-form input[type=email] { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; padding: 14px 16px; font-family: var(--body); font-size: 16px; outline: none; }
.notify-form button { background: var(--accent); color: #fff; border: 0; padding: 0 22px; font-family: var(--body); font-weight: 600; font-size: .95rem; cursor: pointer; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 56px 0 28px; background: rgba(0,0,0,.18); }
.footer-grid { display: grid; grid-template-columns: 2fr 1.4fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-logo { height: 64px; width: auto; border-radius: 6px; margin-bottom: 14px; }
.footer p { color: var(--dim); font-size: .9rem; }
.footer h4 { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.footer a { display: block; color: var(--muted); text-decoration: none; font-size: .92rem; padding: 3px 0; }
.footer a:hover { color: #fff; }
.footer-bottom { color: var(--dim); font-size: .84rem; border-top: 1px solid var(--border); padding-top: 22px; }

/* Toast */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120px); background: var(--accent); color: #fff; padding: 12px 20px; border-radius: 8px; font-weight: 500; z-index: 100; transition: transform .35s; max-width: calc(100% - 32px); text-align: center; }
.toast.show { transform: translateX(-50%) translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav-links { gap: 1.1rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 560px; }
  .cards-4, .speakers { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: 1fr 1fr; }
  .tiers .tier:last-child { grid-column: 1 / -1; max-width: 520px; width: 100%; justify-self: center; }
  .venue, .partner-band, .convener { grid-template-columns: 1fr; }
  .conv-photo { max-width: 420px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(10,22,40,.98); border-bottom: 1px solid var(--border); padding: 8px 24px 20px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .nav-links .btn { margin-top: 14px; border-bottom: 0; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav-logo img { height: 46px; }
  .hero { padding: 28px 0 56px; }
  .hero-sub { font-size: 1rem; }
  .hero-ctas .btn { width: 100%; }
  .countdown b { font-size: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid div:nth-child(3) { border-left: 0; }
  .stats-grid div:nth-child(n+3) { border-top: 1px solid var(--border); }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .cards-4, .tracks, .speakers, .tiers { grid-template-columns: 1fr; }
  .tiers .tier:last-child { max-width: none; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .partner-band { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hc-row { font-size: .88rem; }
}
.toast:empty { display: none; }
