/* ----------------------------------------------------
   DESIGN SYSTEM & VARIABLES
   ---------------------------------------------------- */
:root {
  --bg-dark: #ffffff;
  --bg-card: #f3f4f7;
  --bg-input: #e8e9ef;

  --text-white: #0a0a14;
  --text-muted: #52525f;
  --text-dimmed: #8a8a98;

  /* Accent colours */
  --color-magenta: #e8006a;
  --color-violet: #6d28d9;
  --color-lime: #16a34a;
  --color-cyan: #0891b2;
  --color-yellow: #d97706;

  --border-glow: rgba(0, 0, 0, 0.09);
  --border-active: rgba(0, 0, 0, 0.22);
  
  --font-sans: 'Outfit', sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: var(--font-sans);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

/* Film Grain Overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.035;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ----------------------------------------------------
   TYPOGRAPHY & UTILITIES
   ---------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.serif-italic {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  font-size: 1.15em;
  line-height: 1;
}

p {
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
  position: relative;
}

@media (min-width: 768px) {
  .section {
    padding: 8rem 0;
  }
}

.section-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 600;
  margin-bottom: 1rem;
  display: inline-block;
  color: var(--color-magenta);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  max-width: 700px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3.5rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--transition-fast);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--text-white);
  color: var(--bg-dark);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--text-white);
  border-color: var(--text-white);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--text-white);
  border-color: var(--border-glow);
}

.btn-secondary:hover {
  background-color: rgba(0, 0, 0, 0.08);
  border-color: var(--border-active);
}

/* Floating Sticker Shapes (Reference Image style) */
.sticker {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.4));
  transform: rotate(-10deg);
  animation: float 6s ease-in-out infinite;
}

.sticker-magenta { color: var(--color-magenta); }
.sticker-violet { color: var(--color-violet); }
.sticker-lime { color: var(--color-lime); }
.sticker-cyan { color: var(--color-cyan); }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-10deg); }
  50% { transform: translateY(-10px) rotate(-5deg); }
}

/* Neon Glow Background Blobs */
.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

/* ----------------------------------------------------
   NAVIGATION HEADER
   ---------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  border-bottom: 1px solid var(--border-glow);
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  transition: var(--transition-fast);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.logo {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-magenta);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-register-btn {
  padding: 0.55rem 1.4rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

@media (max-width: 1023px) {
  /* Hide the header Register button on mobile so the hamburger has room;
     Register is available in the mobile menu instead. */
  .nav-register-btn {
    display: none;
  }
}

.nav-menu {
  display: none;
}

@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
  }
  
  .nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition-fast);
  }
  
  .nav-link:hover {
    color: var(--text-white);
  }
}

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0.5rem;
  z-index: 102;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-white);
  transition: var(--transition-fast);
}

@media (min-width: 1024px) {
  .hamburger {
    display: none;
  }
}

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-dark);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.mobile-nav.is-active {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-link {
  font-size: 2rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

.mobile-nav-link:hover {
  color: var(--color-magenta);
}

/* Hamburger Active State */
.hamburger.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ----------------------------------------------------
   HERO SECTION
   ---------------------------------------------------- */
.hero-section {
  padding-top: 9rem;
  padding-bottom: 6rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.hero-headline {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-headline {
    font-size: 5rem;
  }
}

.hero-subheadline {
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .hero-subheadline {
    font-size: 1.25rem;
  }
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
  font-weight: 600;
}

@media (min-width: 480px) {
  .hero-meta {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }
}

.hero-date {
  color: var(--color-magenta);
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Hero Visual Art (Reference: Giant block typography / Stickers) */
.hero-art-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-art-main {
  font-size: 7rem;
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.05em;
  text-align: center;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.04);
  user-select: none;
  position: relative;
}

.hero-art-overlay {
  position: absolute;
  width: 80%;
  height: 80%;
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
}

.hero-badge {
  background-color: var(--bg-card);
  border: 1px solid var(--border-glow);
  padding: 1.5rem;
  border-radius: 1.5rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  transform: rotate(3deg);
  transition: var(--transition-smooth);
}

.hero-badge:hover {
  transform: scale(1.05) rotate(0deg);
  border-color: var(--color-magenta);
}

/* ----------------------------------------------------
   EVENT INTRODUCTION
   ---------------------------------------------------- */
.intro-text-block {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.intro-lead {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .intro-lead {
    font-size: 1.5rem;
  }
}

.intro-sub {
  font-size: 1rem;
  line-height: 1.6;
}

/* ----------------------------------------------------
   WHY ATTEND?
   ---------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.why-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-glow);
  padding: 2.25rem 2rem;
  border-radius: 1.5rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: var(--transition-fast);
}

.why-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-active);
  background-color: rgba(0, 0, 0, 0.03);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.why-card:hover::before {
  opacity: 1;
}

.why-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-glow);
}

.why-card:nth-child(1) .why-card-icon { color: var(--color-magenta); background: rgba(255, 42, 127, 0.1); }
.why-card:nth-child(2) .why-card-icon { color: var(--color-violet); background: rgba(124, 58, 237, 0.1); }
.why-card:nth-child(3) .why-card-icon { color: var(--color-lime); background: rgba(45, 230, 123, 0.1); }
.why-card:nth-child(4) .why-card-icon { color: var(--color-cyan); background: rgba(6, 182, 212, 0.1); }
.why-card:nth-child(5) .why-card-icon { color: var(--color-magenta); background: rgba(255, 42, 127, 0.1); }
.why-card:nth-child(6) .why-card-icon { color: var(--color-violet); background: rgba(124, 58, 237, 0.1); }
.why-card:nth-child(7) .why-card-icon { color: var(--color-lime); background: rgba(45, 230, 123, 0.1); }
.why-card:nth-child(8) .why-card-icon { color: var(--color-cyan); background: rgba(6, 182, 212, 0.1); }

.why-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.why-card-desc {
  font-size: 0.9rem;
}

/* ----------------------------------------------------
   WHO SHOULD ATTEND?
   ---------------------------------------------------- */
.who-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

.who-badge {
  background-color: var(--bg-card);
  border: 1px solid var(--border-glow);
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-size: 1.05rem;
  font-weight: 600;
  transition: var(--transition-fast);
  cursor: default;
}

.who-badge:hover {
  background-color: var(--text-white);
  color: var(--bg-dark);
  transform: scale(1.05) rotate(1deg);
}

/* ----------------------------------------------------
   THE EXPERIENCE (TIMELINE)
   ---------------------------------------------------- */
.experience-timeline {
  position: relative;
  max-width: 900px;
  margin: 4rem auto 0;
  padding-left: 2rem;
}

.experience-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 5px;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-violet), var(--color-magenta), var(--color-lime));
}

@media (min-width: 768px) {
  .experience-timeline {
    padding-left: 0;
  }
  .experience-timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -27px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 4px solid var(--bg-dark);
  z-index: 2;
}

@media (min-width: 768px) {
  .timeline-dot {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-item.color-violet .timeline-dot { background-color: var(--color-violet); box-shadow: 0 0 15px var(--color-violet); }
.timeline-item.color-magenta .timeline-dot { background-color: var(--color-magenta); box-shadow: 0 0 15px var(--color-magenta); }
.timeline-item.color-lime .timeline-dot { background-color: var(--color-lime); box-shadow: 0 0 15px var(--color-lime); }

.timeline-content {
  background-color: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 1.5rem;
  padding: 2rem;
  width: 100%;
  transition: var(--transition-smooth);
}

@media (min-width: 768px) {
  .timeline-content {
    width: 45%;
  }
  
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 55%;
  }
  
  .timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
  }
}

.timeline-content:hover {
  border-color: var(--border-active);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.timeline-day {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.timeline-item.color-violet .timeline-day { color: var(--color-violet); }
.timeline-item.color-magenta .timeline-day { color: var(--color-magenta); }
.timeline-item.color-lime .timeline-day { color: var(--color-lime); }

.timeline-theme {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.timeline-desc {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ----------------------------------------------------
   THEMES
   ---------------------------------------------------- */
.themes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .themes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .themes-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.theme-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-glow);
  padding: 1.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition-fast);
}

.theme-card:hover {
  border-color: var(--border-active);
  transform: translateY(-4px);
}

.theme-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.theme-card:nth-child(3n+1) .theme-bullet { background-color: var(--color-magenta); }
.theme-card:nth-child(3n+2) .theme-bullet { background-color: var(--color-violet); }
.theme-card:nth-child(3n) .theme-bullet { background-color: var(--color-lime); }

.theme-name {
  font-size: 0.95rem;
  font-weight: 600;
}

/* ----------------------------------------------------
   SPEAKERS SECTION
   ---------------------------------------------------- */
.speakers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .speakers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .speakers-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.speaker-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
  transition: var(--transition-smooth);
}

.speaker-card:hover {
  transform: translateY(-10px);
  border-color: var(--border-active);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Image mask background matching reference image */
.speaker-img-wrapper {
  aspect-ratio: 1;
  width: 100%;
  min-height: 200px;
  position: relative;
  overflow: hidden;
  background-color: #dde1ea;
}

.speaker-bg-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  border-radius: 40% 40% 0 0;
  transform: scale(1.1);
  z-index: 1;
  opacity: 0.7;
}

.speaker-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
}

.speaker-card:hover .speaker-photo {
  transform: scale(1.05);
}

.speaker-info {
  padding: 1.5rem;
  position: relative;
  z-index: 3;
  background-color: var(--bg-card);
}

.speaker-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.speaker-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.speaker-org {
  font-size: 0.8rem;
  color: var(--text-dimmed);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-top: 0.25rem;
}

.speakers-footer {
  text-align: center;
  margin-top: 4rem;
}

.speakers-soon-text {
  font-size: 1.2rem;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-muted);
}

/* ----------------------------------------------------
   SESSIONS SECTION
   ---------------------------------------------------- */
.sessions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .sessions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .sessions-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.session-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-glow);
  padding: 2rem;
  border-radius: 1.25rem;
  transition: var(--transition-fast);
}

.session-card:hover {
  border-color: var(--border-active);
  background-color: rgba(0,0,0,0.02);
}

.session-icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.session-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.session-desc {
  font-size: 0.85rem;
}

/* ----------------------------------------------------
   FEATURED INSTITUTIONS (LOGO WALL)
   ---------------------------------------------------- */
.logo-wall-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 2rem 0;
}

.logo-wall-wrapper::before,
.logo-wall-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 15%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logo-wall-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-dark), transparent);
}

.logo-wall-wrapper::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-dark), transparent);
}

.logo-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: scrollLogos 30s linear infinite;
}

@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.logo-item {
  background-color: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-glow);
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.95rem;
  white-space: nowrap;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.logo-item:hover {
  color: var(--text-white);
  border-color: var(--border-active);
}

.logo-item-icon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-lime);
}

/* ----------------------------------------------------
   NETWORKING & INNOVATION SHOWCASE
   ---------------------------------------------------- */
.feature-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .feature-split {
    grid-template-columns: repeat(2, 1fr);
  }
}

.net-grid, .showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .net-grid, .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-glow);
  padding: 1.75rem;
  border-radius: 1.25rem;
  transition: var(--transition-fast);
}

.feature-card:hover {
  border-color: var(--border-active);
  transform: translateY(-3px);
}

.feature-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-white);
}

.feature-card-desc {
  font-size: 0.85rem;
}

/* ----------------------------------------------------
   VENUE SECTION
   ---------------------------------------------------- */
.venue-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .venue-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

.venue-info-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.venue-name {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--color-magenta);
}

.venue-city {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.venue-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.venue-detail-item {
  display: flex;
  gap: 1rem;
}

.venue-detail-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.venue-detail-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.venue-detail-desc {
  font-size: 0.9rem;
}

/* Interactive SVG Map Placeholder */
.map-container {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border-glow);
  position: relative;
  background-color: var(--bg-card);
}

.map-svg {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #e8eaf2 0%, #f0f2f7 100%);
}

.map-grid-lines {
  stroke: rgba(0,0,0,0.04);
  stroke-width: 1;
}

.map-marker {
  fill: var(--color-magenta);
  animation: pulseMarker 2s infinite;
}

@keyframes pulseMarker {
  0% { r: 6; opacity: 1; }
  50% { r: 16; opacity: 0.3; }
  100% { r: 6; opacity: 0; }
}

.map-overlay-card {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-glow);
  padding: 1rem;
  border-radius: 0.75rem;
  max-width: 250px;
}

.map-coords {
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--color-lime);
}

/* ----------------------------------------------------
   SCHEDULE (INTERACTIVE AGENDA)
   ---------------------------------------------------- */
.schedule-container {
  margin-top: 3rem;
}

.schedule-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  background-color: rgba(0,0,0,0.03);
  border: 1px solid var(--border-glow);
  padding: 0.375rem;
  border-radius: 9999px;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}

.schedule-tab {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
}

.schedule-tab:hover {
  color: var(--text-white);
}

.schedule-tab.is-active {
  background-color: var(--text-white);
  color: var(--bg-dark);
}

.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.schedule-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 1.25rem;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  transition: var(--transition-fast);
}

@media (min-width: 768px) {
  .schedule-item {
    grid-template-columns: 180px 1fr 180px;
    align-items: center;
    padding: 2rem;
  }
}

.schedule-item:hover {
  border-color: var(--border-active);
  background-color: rgba(0,0,0,0.02);
}

.schedule-time {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--color-lime);
}

.schedule-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.schedule-type {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
}
.schedule-type-content    { color: var(--color-magenta); background: rgba(232, 0, 106, 0.08); }
.schedule-type-tracks     { color: var(--color-magenta); background: rgba(232, 0, 106, 0.08); }
.schedule-type-network    { color: var(--color-violet);  background: rgba(109, 40, 217, 0.08); }
.schedule-type-meal       { color: var(--color-cyan);    background: rgba(8, 145, 178, 0.08); }
.schedule-type-experience { color: var(--color-lime);    background: rgba(22, 163, 74, 0.08); }
.schedule-type-logistics  { color: var(--text-dimmed);   background: rgba(0, 0, 0, 0.05); }
.schedule-type-open       { color: var(--text-dimmed);   background: rgba(0, 0, 0, 0.05); }

.schedule-session-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.schedule-speaker {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.schedule-location {
  font-size: 0.85rem;
  color: var(--text-dimmed);
  background-color: rgba(0, 0, 0, 0.04);
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  display: inline-block;
  align-self: flex-start;
}

@media (min-width: 768px) {
  .schedule-location {
    align-self: center;
    text-align: right;
  }
}

/* ----------------------------------------------------
   REGISTRATION TICKETS
   ---------------------------------------------------- */
.reg-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .reg-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reg-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.reg-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
}

.reg-card.is-popular {
  border-color: var(--color-magenta);
}

.reg-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-magenta);
  color: var(--text-white);
  padding: 0.25rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.reg-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.reg-name {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.reg-price {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-white);
  margin-bottom: 0.25rem;
}

.reg-subtext {
  font-size: 0.8rem;
  color: var(--text-dimmed);
  margin-bottom: 2rem;
}

.reg-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.reg-feature-item {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.reg-feature-item::before {
  content: "✓";
  color: var(--color-lime);
  font-weight: bold;
}

.reg-btn {
  width: 100%;
}

.reg-card.is-popular .reg-btn {
  background-color: var(--color-magenta);
  color: var(--text-white);
}

.reg-card.is-popular .reg-btn:hover {
  background-color: transparent;
  color: var(--color-magenta);
  border-color: var(--color-magenta);
}

/* ----------------------------------------------------
   PARTNERS & SPONSORS
   ---------------------------------------------------- */
.partners-container {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.partner-tier-block {
  text-align: center;
}

.partner-tier-name {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-weight: 800;
  color: var(--text-dimmed);
  margin-bottom: 1.5rem;
}

.partner-logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.partner-logo {
  background-color: rgba(0,0,0,0.02);
  border: 1px solid var(--border-glow);
  padding: 1.25rem 2.5rem;
  border-radius: 1rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
}

.partner-logo:hover {
  border-color: var(--border-active);
  color: var(--text-white);
  box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

/* ----------------------------------------------------
   TESTIMONIALS (CAROUSEL)
   ---------------------------------------------------- */
.testimonials-carousel-wrapper {
  position: relative;
  max-width: 900px;
  margin: 3rem auto 0;
}

.testimonials-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 1.5rem;
  scrollbar-width: none; /* Hide scrollbar Firefox */
}

.testimonials-track::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome/Safari */
}

.testimonial-card {
  scroll-snap-align: start;
  background-color: var(--bg-card);
  border: 1px solid var(--border-glow);
  padding: 3rem 2rem;
  border-radius: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .testimonial-card {
    padding: 4rem;
  }
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  font-size: 8rem;
  line-height: 1;
  font-family: var(--font-serif);
  font-style: italic;
  opacity: 0.08;
  color: var(--text-white);
}

.testimonial-quote {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-white);
  margin-bottom: 2rem;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .testimonial-quote {
    font-size: 1.4rem;
  }
}

.testimonial-author-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-card.color-magenta .testimonial-author-avatar { background-color: rgba(255, 42, 127, 0.2); color: var(--color-magenta); }
.testimonial-card.color-violet .testimonial-author-avatar { background-color: rgba(124, 58, 237, 0.2); color: var(--color-violet); }
.testimonial-card.color-lime .testimonial-author-avatar { background-color: rgba(45, 230, 123, 0.2); color: var(--color-lime); }
.testimonial-card.color-cyan .testimonial-author-avatar { background-color: rgba(6, 182, 212, 0.2); color: var(--color-cyan); }

.testimonial-author-details {
  display: flex;
  flex-direction: column;
}

.testimonial-author-name {
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-author-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--text-dimmed);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 0;
}

.carousel-dot.is-active {
  background-color: var(--text-white);
  width: 24px;
  border-radius: 9999px;
}

.carousel-arrow {
  background-color: rgba(0,0,0,0.04);
  border: 1px solid var(--border-glow);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--text-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transition-fast);
}

.carousel-arrow:hover {
  background-color: var(--text-white);
  color: var(--bg-dark);
}

/* ----------------------------------------------------
   FREQUENTLY ASKED QUESTIONS
   ---------------------------------------------------- */
.faqs-container {
  max-width: 800px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 1.25rem;
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-white);
  text-align: left;
  padding: 1.5rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon-cross {
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
  display: inline-block;
}

.faq-item.is-active {
  border-color: var(--border-active);
}

.faq-item.is-active .faq-icon-cross {
  transform: rotate(45deg);
  color: var(--text-white);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-out;
}

.faq-item.is-active .faq-panel {
  grid-template-rows: 1fr;
}

.faq-content {
  overflow: hidden;
}

.faq-answer {
  padding: 0 2rem 1.5rem 2rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ----------------------------------------------------
   PARTNERS
   ---------------------------------------------------- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.5rem;
  max-width: 1040px;
  margin: 0 auto;
}

.partner-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: center;
  transition: var(--transition-fast);
}

.partner-card:hover {
  border-color: var(--border-active);
  transform: translateY(-3px);
}

.partner-logo-wrap {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo-wrap img {
  max-height: 68px;
  max-width: 100%;
  object-fit: contain;
}

.partner-logo-fallback {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text-white);
}

.partner-role {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-magenta);
}

/* ----------------------------------------------------
   CALL TO ACTION BANNER (Section 18)
   ---------------------------------------------------- */
.cta-banner {
  background-color: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 2rem;
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cta-banner {
    padding: 6rem 4rem;
  }
}

.cta-banner-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .cta-banner-title {
    font-size: 4rem;
  }
}

.cta-banner-sub {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.cta-banner-dates {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-magenta);
  margin-bottom: 2.5rem;
}

.cta-banner-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ----------------------------------------------------
   FOOTER (Section 19)
   ---------------------------------------------------- */
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-glow);
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-about {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  font-weight: 800;
  font-size: 1.5rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-contact-title {
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.footer-contact-item {
  color: var(--text-muted);
}

.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-newsletter-title {
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-newsletter-desc {
  font-size: 0.9rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 480px) {
  .newsletter-form {
    flex-direction: row;
  }
}

.newsletter-input {
  background-color: var(--bg-input);
  border: 1px solid var(--border-glow);
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  color: var(--text-white);
  flex-grow: 1;
  font-family: inherit;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--color-magenta);
}

.newsletter-submit {
  border-radius: 9999px;
}

.footer-bottom {
  display: flex;
  flex-direction: column-reverse;
  gap: 1.5rem;
  padding: 2rem 0;
  font-size: 0.85rem;
  color: var(--text-dimmed);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
}

.footer-bottom-link:hover {
  color: var(--text-white);
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(0,0,0,0.03);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-social-link:hover {
  color: var(--text-white);
  border-color: var(--border-active);
  background-color: rgba(255,255,255,0.05);
}

/* ----------------------------------------------------
   NATIVE DIALOG MODAL (REGISTRATION FORM)
   ---------------------------------------------------- */
dialog {
  border: 1px solid var(--border-glow);
  background-color: var(--bg-card);
  color: var(--text-white);
  padding: 2.5rem;
  border-radius: 2rem;
  max-width: 500px;
  width: 90%;
  margin: auto;
  box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}

dialog::backdrop {
  background-color: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-close-btn:hover {
  color: var(--text-white);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.form-input, .form-select {
  background-color: var(--bg-input);
  border: 1px solid var(--border-glow);
  padding: 0.875rem 1.25rem;
  border-radius: 0.75rem;
  color: var(--text-white);
  font-family: inherit;
  font-size: 0.95rem;
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--color-magenta);
}

.modal-submit-btn {
  margin-top: 1rem;
  background-color: var(--color-magenta);
  color: var(--text-white);
}

.modal-submit-btn:hover {
  background-color: transparent;
  color: var(--color-magenta);
  border-color: var(--color-magenta);
}

/* ----------------------------------------------------
   CMS EDITOR PANEL (SLIDE DRAWER)
   ---------------------------------------------------- */
.cms-panel-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--text-white);
  color: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(255,255,255,0.25);
  border: none;
  z-index: 1000;
  transition: var(--transition-fast);
}

.cms-panel-btn:hover {
  transform: rotate(45deg) scale(1.05);
}

.cms-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 450px;
  max-width: 100vw;
  height: 100vh;
  background-color: #f8f8fb;
  border-left: 1px solid var(--border-glow);
  z-index: 999;
  box-shadow: -20px 0 40px rgba(0,0,0,0.6);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.cms-drawer.is-open {
  right: 0;
}

.cms-drawer-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-glow);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cms-drawer-title {
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cms-drawer-title-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-lime);
}

.cms-drawer-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
}

.cms-drawer-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cms-section-group {
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-glow);
  background: none;
  padding: 0;
  border-radius: 0;
}

.cms-section-group summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-cyan);
  padding: 1rem 0.5rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: var(--transition-fast);
}

.cms-section-group summary:hover {
  color: var(--text-white);
  background-color: rgba(0,0,0,0.03);
}

.cms-section-group summary::-webkit-details-marker {
  display: none;
}

.cms-section-group summary::after {
  content: "＋";
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.cms-section-group[open] summary::after {
  content: "－";
  color: var(--color-magenta);
}

.cms-group-content {
  padding: 1rem 0.5rem 1.5rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cms-drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-glow);
  display: flex;
  gap: 1rem;
}

.cms-btn {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  border-radius: 0.5rem;
  font-weight: 700;
}

.cms-btn-copy {
  background-color: var(--color-lime);
  color: var(--bg-dark);
}

.cms-btn-copy:hover {
  background-color: transparent;
  color: var(--color-lime);
  border-color: var(--color-lime);
}

.cms-btn-reset {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--text-white);
  border-color: var(--border-glow);
}

.cms-btn-reset:hover {
  background-color: rgba(0, 0, 0, 0.08);
  border-color: var(--border-active);
}

/* Toast Notification styling */
.toast-msg {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: var(--bg-card);
  border: 1px solid var(--color-lime);
  color: var(--text-white);
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  z-index: 1100;
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
  transition: var(--transition-smooth);
}

.toast-msg.is-visible {
  transform: translateX(-50%) translateY(0);
}

/* Shake animation for input validation */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.shake {
  animation: shake 0.4s ease-in-out;
}

/* ====================================================
   MOBILE-FIRST OVERRIDES  (max-width: 767px)
   ==================================================== */
@media (max-width: 767px) {

  /* ── GLOBAL ─────────────────────────────────── */
  html, body { overflow-x: hidden; }

  .container { padding-left: 1rem; padding-right: 1rem; }

  /* Section breathing room: 5rem (80px) is too much on a phone */
  .section { padding: 3rem 0; }

  /* Decorative stickers overlap text on narrow screens — hide them */
  .sticker { display: none; }

  /* ── HEADER ─────────────────────────────────── */
  .logo { font-size: 1rem; }

  /* ── HERO ───────────────────────────────────── */
  .hero-section {
    padding-top: 5rem;
    padding-bottom: 2.5rem;
    min-height: auto;
  }

  .hero-headline {
    font-size: clamp(1.9rem, 7.5vw, 2.75rem);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
  }

  /* Art container is purely decorative; causes overflow on mobile */
  .hero-art-container { display: none; }

  .hero-subheadline {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-ctas { flex-direction: column; gap: 0.75rem; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  /* ── SECTION TITLES ─────────────────────────── */
  .section-title { font-size: 1.75rem; max-width: 100%; }

  /* ── WHO ATTENDS ────────────────────────────── */
  .who-badge { padding: 0.625rem 1.1rem; font-size: 0.85rem; }

  /* ── THEMES ─────────────────────────────────── */
  /* 2-col default produces ~150px cards — too cramped for text */
  .themes-grid { grid-template-columns: 1fr; }

  /* ── SPEAKERS / ADVISORS ────────────────────── */
  /* 2-col gallery is better than huge full-width portrait photos */
  .speakers-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .speaker-img-wrapper { aspect-ratio: 3 / 4; min-height: 0; }
  .speaker-name { font-size: 0.9rem; }
  .speaker-info { padding: 0.75rem; }
  .speaker-title, .speaker-org { font-size: 0.72rem; }

  /* ── SCHEDULE ───────────────────────────────── */
  .schedule-tabs { max-width: 100%; }
  .schedule-tab { padding: 0.6rem 0.75rem; font-size: 0.85rem; }

  /* ── VENUE ──────────────────────────────────── */
  .venue-name { font-size: 1.6rem; }

  /* ── CTA BANNER ─────────────────────────────── */
  .cta-banner-title { font-size: 2rem; }
  .cta-banner-buttons { flex-direction: column; gap: 0.75rem; }
  .cta-banner-buttons .btn { width: 100%; justify-content: center; }

  /* ── FAQ ────────────────────────────────────── */
  .faq-trigger { padding: 1rem 1.25rem; font-size: 0.95rem; }

  /* ── CMS DRAWER ─────────────────────────────── */
  .cms-drawer { width: 100vw; right: -100vw; }
}

