/* H20 Summit 2026 — Landing Page Styles */

:root {
  color-scheme: light;

  --purple-950: #221033;
  --purple-900: #2E1245;
  --purple-700: #4F2170;
  --purple-600: #6931A3;
  --purple-400: #7C4DA8;
  --purple-200: #B79AD1;
  --purple-100: #E4D6F1;
  --lavender-50: #F8F5FC;
  --lavender-100: #F0E7F8;
  --ink: #2E1245;
  --body-text: #5C4E6D;
  --white: #FFFFFF;

  --shadow-float: 0 12px 30px rgba(46, 18, 69, .10);
  --shadow-flat: 0 4px 20px rgba(46, 18, 69, .08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  color: var(--body-text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--purple-600);
  text-decoration: none;
}

a:hover {
  color: var(--purple-700);
}

img,
.placeholder {
  display: block;
  max-width: 100%;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Placeholder striped pattern */
.placeholder {
  background-image: repeating-linear-gradient(
    45deg,
    var(--lavender-100),
    var(--lavender-100) 10px,
    var(--lavender-50) 10px,
    var(--lavender-50) 20px
  );
  border: 1px solid rgba(46, 18, 69, .08);
}

/* ==================== HERO ==================== */

.hero {
  position: relative;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Ccircle cx='4' cy='4' r='1.6' fill='%237C4DA8' fill-opacity='0.22'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #FFFFFF 0%, var(--lavender-50) 100%);
  background-repeat: repeat, no-repeat;
  background-size: 28px 28px, cover;
  padding: 56px 24px 0;
  text-align: center;
  overflow: hidden;
}

.lang-switch {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid rgba(46, 18, 69, .12);
  border-radius: 20px;
  padding: 6px 12px;
  font-weight: 700;
  font-size: 11px;
  box-shadow: var(--shadow-flat);
}

.lang-switch__item {
  color: var(--purple-200);
}

.lang-switch__item.is-active {
  color: var(--purple-900);
}

.lang-switch__sep {
  color: rgba(46, 18, 69, .15);
}

.hero__map {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 1150px;
  max-width: 92vw;
  aspect-ratio: 2754 / 1398;
  pointer-events: none;
  z-index: 0;
}

.hero__worldmap {
  display: block;
  width: 100%;
  height: 100%;
  opacity: .8;
}

.hero__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .75) 0%, rgba(255, 255, 255, .5) 30%, rgba(255, 255, 255, .18) 65%, rgba(255, 255, 255, 0) 99%);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 99%);
  mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 99%);
  pointer-events: none;
  z-index: 0;
}

.hero__map-stats {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 1150px;
  max-width: 92vw;
  aspect-ratio: 2754 / 1398;
  pointer-events: none;
  z-index: 2;
}

.hero__map-stat {
  position: absolute;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, .92);
  color: var(--purple-900);
  font-weight: 500;
  font-size: 11px;
  white-space: nowrap;
  padding: 7px 14px;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(46, 18, 69, .14);
  border: 1px solid rgba(255, 255, 255, .6);
}

.hero__map-stat strong {
  font-weight: 800;
  color: var(--purple-600);
  margin-right: 3px;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  border: 1px solid rgba(46, 18, 69, .12);
  color: var(--purple-700);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero h1 {
  font-weight: 800;
  font-size: 40px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--purple-900);
  max-width: 620px;
  margin: 0 auto 16px;
}

.hero__subhead {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  color: var(--body-text);
  max-width: 520px;
  margin: 0 auto 14px;
  font-style: italic;
}

.hero__meta {
  font-weight: 700;
  color: var(--purple-900);
  font-size: 13px;
  margin-bottom: 28px;
}

.info-bar {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-float);
  max-width: 560px;
  margin: 0 auto 40px;
  padding: 10px 10px 10px 24px;
}

.info-bar__col {
  flex: 1;
  text-align: left;
  padding: 4px 16px;
  border-right: 1px solid rgba(46, 18, 69, .10);
}

.info-bar__col:last-of-type {
  border-right: none;
}

.info-bar__label {
  display: block;
  font-weight: 600;
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--purple-200);
  margin-bottom: 3px;
}

.info-bar__value {
  display: block;
  font-weight: 700;
  font-size: 12px;
  color: var(--purple-900);
}

.info-bar__cta {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--purple-900);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-left: 8px;
}

.hero__media {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 40px;
}

.hero__media-img {
  height: 260px;
  border-radius: 12px;
}

/* ==================== STAT BAND ==================== */

.stat-band {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Ccircle cx='4' cy='4' r='1.6' fill='%237C4DA8' fill-opacity='0.22'/%3E%3C/svg%3E"),
    linear-gradient(180deg, var(--lavender-50) 0%, #F1E8F9 50%, var(--lavender-50) 100%);
  background-repeat: repeat, no-repeat;
  background-size: 28px 28px, cover;
  border-top: 1px solid rgba(46, 18, 69, .08);
  padding: 40px 24px;
}

.stat-band__card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-flat);
  padding: 28px 8px;
}

.stat-band__row {
  display: flex;
  justify-content: center;
  text-align: center;
}

.stat-band__item {
  flex: 1;
  max-width: 220px;
  padding: 0 16px;
  border-right: 1px solid rgba(46, 18, 69, .10);
}

.stat-band__item:last-child {
  border-right: none;
}

.stat-band__number {
  display: block;
  font-weight: 800;
  font-size: 26px;
  color: var(--purple-900);
  margin-bottom: 4px;
}

.stat-band__label {
  display: block;
  font-weight: 500;
  font-size: 11px;
  color: var(--purple-400);
}

/* ==================== CTA ACTIONS ==================== */

.cta-actions {
  max-width: 900px;
  margin: 0 auto 36px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-actions__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.cta-actions__note {
  font-weight: 500;
  font-size: 10.5px;
  color: var(--purple-400);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---- shared button ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 28px;
  min-width: 240px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-flat);
  white-space: nowrap;
}

.btn__icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

/* ---- primary (solid purple) ---- */
.btn--primary {
  background: linear-gradient(135deg, var(--purple-700), var(--purple-600));
  color: var(--white);
  border-color: var(--purple-600);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--purple-900), var(--purple-700));
  box-shadow: 0 8px 28px rgba(79, 33, 112, .28);
  transform: translateY(-2px);
  color: var(--white);
}

.btn--primary:active {
  transform: translateY(0);
}

/* ---- outline (white + purple border) ---- */
.btn--outline {
  background: var(--white);
  color: var(--purple-700);
  border-color: var(--purple-200);
}

.btn--outline:hover {
  background: var(--purple-700);
  color: var(--white);
  border-color: var(--purple-700);
  box-shadow: 0 8px 28px rgba(79, 33, 112, .20);
  transform: translateY(-2px);
}

.btn--outline:hover .btn__icon {
  filter: brightness(0) invert(1);
}

.btn--outline:active {
  transform: translateY(0);
}

/* ---- coming soon (disabled/muted style) ---- */
.btn--coming-soon {
  background: var(--lavender-100);
  color: var(--purple-400);
  border-color: var(--purple-200);
  pointer-events: none;
  cursor: default;
  box-shadow: none;
}

/* ---- medium breakpoint (3 buttons may wrap) ---- */
@media (max-width: 860px) {
  .btn {
    font-size: 13px;
    padding: 12px 22px;
    min-width: auto;
  }
}

/* ---- mobile ---- */
@media (max-width: 640px) {
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
    padding: 0 8px;
  }

  .cta-actions__item {
    width: 100%;
  }

  .btn {
    justify-content: center;
    min-width: auto;
  }
}

/* ==================== RUNDOWN ==================== */

.rundown {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Ccircle cx='4' cy='4' r='1.6' fill='%237C4DA8' fill-opacity='0.22'/%3E%3C/svg%3E"),
    linear-gradient(180deg, var(--lavender-50) 0%, #F1E8F9 50%, var(--lavender-50) 100%);
  background-repeat: repeat, no-repeat;
  background-size: 28px 28px, cover;
  padding: 56px 24px;
}

.rundown__header {
  text-align: center;
  margin-bottom: 44px;
}

.rundown__kicker {
  display: inline-block;
  background: var(--white);
  border: 1px solid rgba(46, 18, 69, .12);
  color: var(--purple-600);
  font-weight: 700;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.rundown__title {
  font-weight: 800;
  font-size: 30px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--purple-900);
}

.rundown__title-id {
  display: block;
  font-weight: 500;
  font-size: 15px;
  font-style: italic;
  color: var(--purple-400);
  margin-top: 4px;
}

.rundown__divider {
  display: block;
  width: 56px;
  height: 3px;
  margin: 20px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--purple-600), var(--purple-200));
}

.rundown__inner {
  max-width: 900px;
  margin: 0 auto;
}

.rundown__day {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-flat);
  padding: 32px 32px 12px;
}

.rundown__day + .rundown__day {
  margin-top: 28px;
}

.day-header {
  display: inline-block;
  background: var(--lavender-100);
  color: var(--purple-700);
  font-weight: 700;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 16px;
  margin-bottom: 20px;
}

.agenda-row {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(46, 18, 69, .08);
}

.agenda-row:last-child {
  border-bottom: none;
}

.agenda-row__time {
  flex: 0 0 104px;
  width: 104px;
  height: fit-content;
  background: var(--lavender-100);
  color: var(--purple-600);
  font-weight: 700;
  font-size: 12px;
  text-align: center;
  padding: 7px 8px;
  border-radius: 16px;
}

.agenda-row__content {
  flex: 1;
  min-width: 0;
}

.agenda-row__title {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  color: var(--purple-900);
  margin-bottom: 6px;
}

.agenda-row__sub {
  font-weight: 600;
  font-size: 13px;
  color: var(--purple-600);
  margin-bottom: 8px;
}

.agenda-row__desc {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.7;
  color: var(--body-text);
  margin-bottom: 8px;
}

.agenda-row__speaker {
  font-weight: 700;
  font-size: 13px;
  color: var(--purple-900);
}

.agenda-row__bullets {
  column-count: 1;
  column-gap: 28px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--body-text);
  padding-left: 18px;
  margin-top: 6px;
}

.agenda-row__bullets li {
  break-inside: avoid;
  margin-bottom: 6px;
}

.roundtables {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.roundtable-card {
  background: var(--lavender-100);
  border-radius: 8px;
  padding: 16px 18px;
}

.roundtable-card__title {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  color: var(--purple-900);
  margin-bottom: 6px;
}

.roundtable-card__desc {
  font-weight: 400;
  font-size: 13px;
  line-height: 1.65;
  color: var(--body-text);
}

/* ==================== FOOTER ==================== */

.footer {
  background: linear-gradient(150deg, #2A1440 0%, var(--purple-950) 60%, #1C0D2A 100%);
  border-top: 3px solid var(--purple-600);
  padding: 24px;
}

.footer__row {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__brand {
  font-weight: 700;
  font-size: 13px;
  color: var(--white);
}

.footer__meta {
  font-weight: 400;
  font-size: 11px;
  color: var(--purple-200);
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 640px) {
  .rundown__title {
    font-size: 22px;
  }

  .hero {
    padding: 40px 16px 0;
  }

  .lang-switch {
    top: 12px;
    right: 12px;
    padding: 5px 10px;
    font-size: 10px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .info-bar {
    flex-wrap: wrap;
    padding: 16px;
  }

  .info-bar__col {
    flex: 0 0 100%;
    text-align: center;
    border-right: none;
    border-bottom: 1px solid rgba(46, 18, 69, .10);
    padding: 10px 0;
  }

  .info-bar__cta {
    margin: 12px auto 0;
  }

  .hero__map {
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    max-width: 560px;
  }

  .hero__worldmap {
    opacity: .55;
  }

  .hero__fade {
    background: linear-gradient(180deg, rgba(255, 255, 255, .7) 0%, rgba(255, 255, 255, .4) 16%, rgba(255, 255, 255, .1) 32%, rgba(255, 255, 255, 0) 96%);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 30%, transparent 96%);
    mask-image: linear-gradient(180deg, #000 0%, #000 30%, transparent 96%);
  }

  .hero__map-stat {
    display: none;
  }

  .hero__media {
    padding-bottom: 24px;
  }

  .hero__media-img {
    height: 160px;
  }

  .stat-band {
    padding: 28px 16px;
  }

  .stat-band__card {
    padding: 20px 8px;
  }

  .stat-band__row {
    flex-wrap: wrap;
  }

  .stat-band__item {
    flex: 0 0 50%;
    max-width: none;
    border-right: none;
    padding-bottom: 16px;
    margin-bottom: 16px;
  }

  .stat-band__item:nth-child(odd) {
    border-right: 1px solid rgba(46, 18, 69, .10);
  }

  .stat-band__item:nth-last-child(-n+2) {
    margin-bottom: 0;
  }

  .rundown {
    padding: 32px 16px;
  }

  .rundown__day {
    padding: 20px 16px 4px;
    border-radius: 12px;
  }

  .agenda-row {
    flex-direction: column;
    gap: 8px;
  }

  .agenda-row__time {
    flex: 0 0 auto;
    width: fit-content;
  }

  .agenda-row__bullets {
    column-count: 1;
  }

  .footer__row {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
