:root {
  --purple: #6d28d9;
  --purple-dark: #4c1d95;
  --magenta: #db2777;
  --pink: #ec4899;
  --pink-soft: #fce7f3;
  --ink: #1e1133;
  --muted: #6b6480;
  --bg: #ffffff;
  --bg-soft: #faf7ff;
  --line: #ece6f5;
  --grad: linear-gradient(135deg, #7c3aed 0%, #db2777 100%);
  --shadow: 0 18px 50px -18px rgba(76, 29, 149, 0.35);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.15; font-weight: 700; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: min(1160px, 92%); margin: 0 auto; }

/* Eyebrow */
.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 1rem;
}
.eyebrow--light { color: #f5c6e3; }

/* Buttons */
.btn {
  display: inline-block;
  padding: .85rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(219,39,119,.6); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(219,39,119,.7); }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.18); }

/* Top bar */
.topbar {
  background: var(--purple-dark);
  color: #e9d8ff;
  font-size: .82rem;
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; padding: .55rem 0; }
.topbar__social { display: flex; align-items: center; gap: .7rem; }
.topbar__social a { display: inline-flex; opacity: .85; transition: opacity .2s; }
.topbar__social a:hover { opacity: 1; }
.topbar__contact { display: flex; align-items: center; gap: .6rem; }
.topbar__contact a:hover { color: #fff; }
.topbar__dot { opacity: .5; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 8px 30px -16px rgba(76,29,149,.25); }
.header__inner { display: flex; align-items: center; justify-content: space-between; padding: .5rem 0; }

.logo { display: flex; align-items: center; gap: .65rem; }
.logo__img { height: 70px; width: auto; display: block; }
.logo--footer .logo__img { height: 70px; background: #fff; border-radius: 12px; padding: 6px 10px; }
.logo__badge {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff; font-weight: 800; font-size: .95rem;
  letter-spacing: .02em;
}
.logo__text { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.05rem; line-height: 1; color: var(--ink); }
.logo__text strong { display: block; font-family: 'Inter', sans-serif; font-weight: 700; font-size: .62rem; letter-spacing: .25em; color: var(--magenta); margin-top: 3px; }

.nav { display: flex; gap: 2rem; }
.nav a { font-size: .95rem; font-weight: 500; color: var(--ink); position: relative; padding: .2rem 0; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--grad); transition: width .25s; }
.nav a:hover { color: var(--magenta); }
.nav a:hover::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* Hero */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(76,29,149,.92) 0%, rgba(124,58,237,.78) 40%, rgba(219,39,119,.6) 100%); }
.hero__content { position: relative; max-width: 720px; padding: 6rem 0; }
.hero__title { font-size: clamp(2.8rem, 7vw, 5rem); font-weight: 800; margin-bottom: 1.4rem; }
.hero__title em { font-style: italic; font-weight: 600; color: #ffd9ef; }
.hero__lead { font-size: 1.15rem; max-width: 560px; color: rgba(255,255,255,.92); margin-bottom: 2.2rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; }
.hero__scroll span { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: #fff; border-radius: 2px; animation: scroll 1.6s infinite; }
@keyframes scroll { 0% { opacity: 0; top: 8px; } 50% { opacity: 1; } 100% { opacity: 0; top: 22px; } }

/* Sections */
.section { padding: 6rem 0; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section__head h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .8rem; }
.section__head p { color: var(--muted); }

/* About */
.about { background: var(--bg-soft); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about__text h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.3rem; }
.about__text p { color: var(--muted); font-size: 1.05rem; margin-bottom: 2.4rem; }
.stats { display: flex; gap: 2.5rem; }
.stat { display: flex; flex-direction: column; }
.stat__num { font-family: 'Playfair Display', serif; font-size: 2.6rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat__label { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.about__media { position: relative; }
.about__media img { border-radius: 24px; box-shadow: var(--shadow); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3.4; }
.about__tag { position: absolute; bottom: 22px; left: -16px; background: #fff; color: var(--magenta); font-weight: 700; font-size: .85rem; padding: .6rem 1.1rem; border-radius: 999px; box-shadow: var(--shadow); }

/* Vision */
.vision { background: var(--purple-dark); color: #fff; text-align: center; position: relative; overflow: hidden; }
.vision::before, .vision::after { content: ''; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.vision::before { width: 360px; height: 360px; background: var(--magenta); top: -120px; left: -80px; }
.vision::after { width: 320px; height: 320px; background: var(--purple); bottom: -120px; right: -60px; }
.vision__inner { position: relative; max-width: 880px; margin: 0 auto; }
.vision__heading { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; margin-bottom: 1.4rem; }
.vision__sub { font-size: 1.15rem; color: rgba(255,255,255,.85); max-width: 620px; margin: 0 auto; }

/* Speakers */
.speakers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.speaker { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 2.2rem 1.4rem; text-align: center; transition: transform .25s, box-shadow .25s, border-color .25s; }
.speaker:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.speaker__avatar { width: 78px; height: 78px; margin: 0 auto 1.3rem; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; }
.speaker__role { display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--magenta); font-weight: 700; margin-bottom: .5rem; }
.speaker h3 { font-size: 1.12rem; }

/* Gallery */
.gallery { background: var(--bg-soft); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.gallery__item {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 2;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 30px -18px rgba(76,29,149,.4);
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery__item figcaption {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding: 1.1rem;
  background: linear-gradient(to top, rgba(30,17,51,.78) 0%, rgba(30,17,51,0) 55%);
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity .3s ease;
}
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item:hover figcaption { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: none;
  align-items: center; justify-content: center;
  padding: 4vh 4vw;
  background: rgba(20,10,38,.92);
  backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; }
.lightbox__img {
  max-width: 100%; max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
}
.lightbox__close {
  position: absolute; top: 22px; right: 30px;
  background: none; border: none;
  color: #fff; font-size: 2.6rem; line-height: 1;
  cursor: pointer; opacity: .8;
}
.lightbox__close:hover { opacity: 1; }

/* Event */
.event { background: var(--grad); color: #fff; text-align: center; }
.event__inner { max-width: 880px; margin: 0 auto; }
.event__title { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.event__sub { font-size: 1.1rem; color: rgba(255,255,255,.9); margin-bottom: 3rem; }
.event__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.event__card { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 18px; padding: 2rem 1.2rem; backdrop-filter: blur(6px); }
.event__label { display: block; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: #ffd9ef; font-weight: 700; margin-bottom: .8rem; }
.event__value { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 600; }

/* Footer */
.footer { background: var(--ink); color: #cbbfe0; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding: 4rem 0 3rem; }
.footer__brand p { margin-top: 1.2rem; max-width: 320px; color: #9c8fbd; }
.logo--footer .logo__text { color: #fff; }
.logo--footer .logo__text strong { color: var(--pink); }
.footer__col h4 { font-family: 'Inter', sans-serif; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: #fff; margin-bottom: 1.2rem; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.footer__col a:hover { color: var(--pink); }
.footer__social { display: flex; gap: .8rem; margin-bottom: 1.2rem; }
.footer__social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); transition: background .2s; }
.footer__social a:hover { background: var(--grad); color: #fff; }
.footer__hash { font-weight: 700; color: var(--pink); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.4rem 0; }
.footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: #9c8fbd; }
.footer__tag { font-family: 'Playfair Display', serif; font-style: italic; color: var(--pink); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .speakers { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .event__cards { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .header__cta { display: none; }
  .nav { position: fixed; inset: 0 0 0 auto; width: 75%; max-width: 320px; flex-direction: column; gap: 1.4rem; background: #fff; padding: 6rem 2rem; transform: translateX(100%); transition: transform .3s; box-shadow: -10px 0 40px -10px rgba(0,0,0,.2); height: 400px;}
  .nav.open { transform: none; }
  .nav-toggle { display: flex; z-index: 60; }
  .topbar__contact { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom-inner { flex-direction: column; gap: .5rem; text-align: center; }
  .stats { gap: 1.5rem; }
  .gallery__grid { grid-template-columns: 1fr 1fr; gap: .8rem; }
}
