/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #111827;
  background: #fff;
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

/* ===== LAYOUT HELPERS ===== */
.container {
  max-width: 80rem; /* 1280px */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  z-index: 50;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #111827;
  font-size: 1.25rem;
  font-weight: 600;
}

.nav__logo svg {
  color: #2563eb;
  flex-shrink: 0;
}

.nav__menu {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav__menu { display: flex; }
}

.nav__menu button {
  color: #374151;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav__menu button:hover {
  color: #2563eb;
}

.nav__register {
  display: none;
}

@media (min-width: 768px) {
  .nav__register { display: block; }
}

.nav__hamburger {
  display: flex;
  align-items: center;
  color: #374151;
}

@media (min-width: 768px) {
  .nav__hamburger { display: none; }
}

/* Mobile menu */
.mobile-menu {
  display: none;
  border-top: 1px solid #e5e7eb;
  background: #fff;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu__inner {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0;
  color: #374151;
  transition: color 0.2s;
}

.mobile-menu button:hover {
  color: #2563eb;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: background-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  font-size: 1rem;
}

.btn--primary {
  background: #2563eb;
  color: #fff;
}

.btn--primary:hover {
  background: #1d4ed8;
}

.btn--primary-lg {
  background: #2563eb;
  color: #fff;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  box-shadow: 0 4px 14px rgba(37,99,235,0.4);
}

.btn--primary-lg:hover {
  background: #1d4ed8;
  box-shadow: 0 6px 20px rgba(37,99,235,0.5);
}

.btn--white {
  background: #fff;
  color: #2563eb;
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.btn--white:hover {
  background: #f3f4f6;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ===== HERO SECTION ===== */
.hero {
  padding-top: 7rem;
  padding-bottom: 4rem;
  background: linear-gradient(135deg, #eff6ff 0%, #eef2ff 100%);
}

.hero__content {
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}

.hero__badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  margin-bottom: 1.5rem;
  background: #dbeafe;
  color: #1d4ed8;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .hero h1 { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .hero h1 { font-size: 3.75rem; }
}

.hero__subtitle {
  font-size: 1.125rem;
  color: #374151;
  margin-bottom: 3rem;
  line-height: 1.7;
}

@media (min-width: 640px) {
  .hero__subtitle { font-size: 1.25rem; }
}

.hero__features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

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

.hero__feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.hero__feature svg {
  width: 3rem;
  height: 3rem;
  color: #2563eb;
  margin-bottom: 0.75rem;
}

.hero__feature p {
  color: #111827;
  font-weight: 500;
}

/* ===== SECTION COMMONS ===== */
.section {
  padding: 5rem 0;
}

.section--gray {
  background: #f9fafb;
}

.section--gradient {
  background: linear-gradient(135deg, #eff6ff 0%, #eef2ff 100%);
}

.section--gradient-rev {
  background: linear-gradient(135deg, #eef2ff 0%, #eff6ff 100%);
}

.section--blue {
  background: #2563eb;
}

.section--dark {
  background: #111827;
  color: #fff;
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
  line-height: 1.3;
}

@media (min-width: 640px) {
  .section__header h2 { font-size: 2.25rem; }
}

.section__header p {
  font-size: 1.125rem;
  color: #4b5563;
}

/* ===== ABOUT SECTION ===== */
.about__content {
  max-width: 48rem;
  margin: 0 auto;
}

.about__content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

@media (min-width: 640px) {
  .about__content h2 { font-size: 2.25rem; }
}

.about__content > p {
  font-size: 1.125rem;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about__list li {
  display: flex;
  align-items: flex-start;
  font-size: 1.125rem;
  color: #374151;
  line-height: 1.6;
}

.about__list li::before {
  content: '•';
  color: #2563eb;
  font-weight: 700;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

/* ===== AGENDA / TIMELINE ===== */
.agenda {
  max-width: 52rem;
  margin: 0 auto;
  position: relative;
}

.agenda-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding-bottom: 2rem;
}

.agenda-item:last-child {
  padding-bottom: 0;
}

/* Time label */
.agenda-item__time {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 700;
  color: #1d4ed8;
  font-size: 1.0625rem;
  white-space: nowrap;
}

.agenda-item__dot {
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 0 4px #dbeafe;
  flex-shrink: 0;
}

/* Card */
.agenda-item__card {
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  padding: 1.5rem;
  border-left: 4px solid #2563eb;
  transition: box-shadow 0.25s, transform 0.25s;
}

.agenda-item__card:hover {
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.agenda-item__tag {
  display: inline-block;
  margin-bottom: 0.625rem;
  padding: 0.25rem 0.75rem;
  background: #eff6ff;
  color: #1d4ed8;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.agenda-item__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1rem;
  line-height: 1.35;
}

.agenda-item__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.agenda-item__list li {
  position: relative;
  padding-left: 1.5rem;
  color: #374151;
  line-height: 1.6;
}

.agenda-item__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #93c5fd;
}

/* Break row */
.agenda-item__card--break {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-left-color: #cbd5e1;
  background: #f1f5f9;
  color: #475569;
  font-weight: 600;
  padding: 1rem 1.5rem;
}

.agenda-item__card--break svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #64748b;
  flex-shrink: 0;
}

/* Desktop two-column timeline with connector line */
@media (min-width: 768px) {
  .agenda {
    padding-left: 0;
  }
  .agenda-item {
    grid-template-columns: 9.5rem 1fr;
    gap: 1.5rem;
    align-items: start;
  }
  .agenda-item__time {
    padding-top: 1.5rem;
    justify-content: flex-start;
  }
  /* vertical connector line */
  .agenda-item::before {
    content: '';
    position: absolute;
    left: 0.4375rem;        /* center of the dot */
    top: 1.95rem;
    bottom: -0.5rem;
    width: 2px;
    background: #dbeafe;
  }
  .agenda-item:last-child::before {
    display: none;
  }
}

/* ===== KEY TOPICS SECTION ===== */
.topics__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.topic-card {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 0.875rem;
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.topic-card:hover {
  box-shadow: 0 16px 32px rgba(37,99,235,0.12);
  transform: translateY(-4px);
  border-color: #dbeafe;
}

.topic-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  background: #dbeafe;
  border-radius: 0.875rem;
  margin-bottom: 1.25rem;
}

.topic-card__icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: #2563eb;
}

.topic-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.topic-card p {
  color: #4b5563;
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ===== PARTICIPATING COUNTRIES ===== */
.countries__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

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

.country-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 0.875rem;
  padding: 1.5rem 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.country-card:hover {
  box-shadow: 0 16px 32px rgba(37,99,235,0.12);
  transform: translateY(-4px);
  border-color: #dbeafe;
}

.country-card__flag {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 0.375rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.country-card__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #111827;
  text-align: center;
}

/* ===== ORGANIZERS SECTION ===== */
.organizers__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

@media (min-width: 768px) {
  .organizers__grid {
    flex-direction: row;
    justify-content: center;
    gap: 5rem;
  }
}

.organizer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.organizer__logo-wrap {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  transition: box-shadow 0.2s;
}

.organizer__logo-wrap:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
}

.organizer__logo-wrap img {
  height: 6rem;
  width: auto;
  object-fit: contain;
}

.organizer p {
  margin-top: 1rem;
  color: #374151;
  text-align: center;
  font-size: 0.95rem;
}

/* ===== CTA SECTION ===== */
.cta {
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}

.cta h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .cta h2 { font-size: 2.25rem; }
}

.cta p {
  font-size: 1.25rem;
  color: #bfdbfe;
  margin-bottom: 2rem;
}

/* ===== CONTACT SECTION ===== */
.contact__card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  padding: 2rem;
  max-width: 56rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .contact__card { padding: 3rem; }
}

.contact__person {
  text-align: center;
  margin-bottom: 2rem;
}

.contact__person h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.25rem;
}

.contact__person p {
  color: #4b5563;
}

.contact__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 28rem;
  margin: 0 auto;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 0.5rem;
}

.contact__item svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #2563eb;
  flex-shrink: 0;
}

.contact__item__label {
  font-size: 0.875rem;
  color: #4b5563;
  margin-bottom: 0.25rem;
}

.contact__item a {
  font-size: 1.125rem;
  color: #111827;
  transition: color 0.2s;
  word-break: break-all;
}

.contact__item a:hover {
  color: #2563eb;
}

/* ===== LIVE BROADCAST ===== */
.broadcast__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.375rem 1rem;
  background: #fee2e2;
  color: #b91c1c;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.broadcast__badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #dc2626;
  animation: broadcast-pulse 1.5s ease-in-out infinite;
}

@keyframes broadcast-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

.broadcast__player {
  position: relative;
  width: 100%;
  max-width: 60rem;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 0.875rem;
  overflow: hidden;
  background: #000;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}

.broadcast__player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.broadcast__note {
  margin-top: 1.5rem;
  text-align: center;
  color: #4b5563;
  font-size: 0.9375rem;
}

.broadcast__note a {
  color: #2563eb;
  font-weight: 600;
  transition: color 0.2s;
}

.broadcast__note a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* ===== FOOTER ===== */
.footer {
  background: #111827;
  color: #fff;
  padding: 3rem 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.footer__desc {
  color: #9ca3af;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer__col h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer__logos {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer__logos img {
  height: 3rem;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.footer__logos img:hover {
  opacity: 1;
}

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

.footer__legal a {
  color: #9ca3af;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer__legal a:hover {
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid #1f2937;
  padding-top: 2rem;
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
}
