:root {
  --bg: #ffffff;
  --bg-soft: #f3fbfd;
  --panel: rgba(255, 255, 255, 0.96);
  --panel-strong: #eef8fa;
  --text: #12303a;
  --muted: #5f7e88;
  --line: rgba(58, 166, 185, 0.18);
  --accent: #3aa6b9;
  --accent-strong: #2b8ea0;
  --accent-warm: #1f7a89;
  --shadow: 0 20px 45px rgba(39, 114, 127, 0.12);
  --radius: 24px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

main section[id] {
  scroll-margin-top: 60px;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(58, 166, 185, 0.06), transparent 32%),
    radial-gradient(circle at top right, rgba(58, 166, 185, 0.04), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fdfeff 42%, #fbfeff 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background-image:
    linear-gradient(rgba(58, 166, 185, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 166, 185, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.95));
}

body::after {
  background:
    radial-gradient(circle at 20% 20%, rgba(58, 166, 185, 0.08), transparent 18%),
    radial-gradient(circle at 80% 18%, rgba(58, 166, 185, 0.07), transparent 16%),
    radial-gradient(circle at 60% 72%, rgba(58, 166, 185, 0.08), transparent 20%);
}

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

.site-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 18px 0 18px;
}

.brand-logo-panel,
.nav-shell {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.brand-logo-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 10px 16px;
  border-radius: 0;
  box-shadow: var(--shadow);
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  min-width: 0;
  padding: 14px 34px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-strong);
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 0 0 auto;
}

.brand-logo {
  width: 165px;
  height: 56px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-text strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand-text strong i {
  font-style: italic;
  font-weight: 600;
  color: var(--accent-strong);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
}

.nav-more {
  position: relative;
}

.nav-more-toggle {
  border: 0;
  padding: 0;
  background: transparent;
  color: #3f5660;
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
}

.nav-more-toggle:hover {
  color: var(--accent);
}

.nav-more-menu {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  min-width: 220px;
  display: none;
  padding: 14px 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.nav-more-menu a {
  display: block;
  padding: 12px 18px;
  color: var(--text);
}

.nav-more-menu a:hover {
  background: rgba(58, 166, 185, 0.06);
}

.nav-more.open .nav-more-menu {
  display: block;
}

.nav a {
  color: #3f5660;
  font-size: 0.95rem;
}

.nav a:hover,
.nav-cta:hover,
.contact-card a:hover,
.footer a:hover {
  color: var(--accent);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-cta {
  background: var(--panel-strong);
  border: 1px solid var(--line);
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-1px);
}

.hero {
  padding: 36px 0 48px;
}

.hero-copy {
  max-width: 1060px;
  margin: 0 auto;
  text-align: center;
}

.panel,
.card,
.discount-card,
.theme-card,
.timeline-item {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.eyebrow,
.panel-kicker {
  margin: 0 0 14px;
  color: #246877;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.05;
}

.hero-title {
  max-width: 18ch;
  margin: 0 auto;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.hero-theme {
  margin: 18px 0 16px;
  color: #1f2d4f;
  font-size: clamp(1.25rem, 2.4vw, 1.9rem);
  font-weight: 500;
}

.hero-description,
.feature-card p,
.speaker-card p,
.discount-card p,
.contact-card p {
  color: #445c66;
  line-height: 1.7;
  font-size: 1rem;
}

.hero-description {
  max-width: 70ch;
  margin: 0 auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 28px 0 24px;
}

.hero-info {
  padding: 0 0 40px;
}

.hero-info-grid {
  max-width: 920px;
  margin: 0 auto;
}

.button-primary {
  background: #3aa6b9;
  color: #ffffff;
}

.button-secondary {
  background: #ffffff;
  border: 1px solid var(--line);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 12px;
  max-width: 980px;
  margin: 28px auto 24px;
  justify-content: center;
}

.hero-meta div {
  padding: 18px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(31, 45, 79, 0.12);
  box-shadow: 0 12px 30px rgba(16, 37, 63, 0.08);
}

.hero-meta small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.panel {
  border-radius: 28px;
  background: var(--panel);
  backdrop-filter: blur(10px);
  height: fit-content;
}

.countdown-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  text-align: center;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.countdown-inline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.countdown div {
  padding: 18px 16px;
  border-radius: 22px;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(31, 45, 79, 0.12);
  box-shadow: 0 12px 30px rgba(16, 37, 63, 0.08);
}

.countdown strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  color: var(--accent);
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  line-height: 1;
}

.countdown span {
  color: #121212;
  font-size: 0.95rem;
  display: block;
  margin-top: 8px;
}

.section {
  padding: 56px 0;
}

#about,
#themes,
#call-for-papers,
#dates,
#fees,
#speakers,
#contact {
  padding-left: 40px;
  padding-right: 40px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 26px;
}

.section-heading h2 {
  font-size: clamp(1.45rem, 2.7vw, 2.1rem);
}

.theme-intro {
  max-width: 100%;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.8;
  text-align: justify;
}

.theme-highlight {
  color: #1f4e79;
  font-weight: 700;
}

.section#themes .section-heading {
  max-width: 100%;
}

.theme-subheading {
  margin: 0 0 22px;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
}

.about-grid,
.speaker-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.speaker-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.discount-card,
.theme-card,
.timeline-item {
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(10px);
}

.image-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.image-placeholder,
.speaker-photo-placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--accent-strong);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  border: 1px dashed rgba(58, 166, 185, 0.45);
  background:
    linear-gradient(135deg, rgba(58, 166, 185, 0.1), rgba(255, 255, 255, 0.92));
}

.image-placeholder {
  min-height: 220px;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.image-placeholder img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.speaker-photo-placeholder {
  min-height: 220px;
  margin-bottom: 18px;
  border-radius: 20px;
}

.speaker-photo {
  display: block;
  width: 100%;
  height: 320px;
  margin-bottom: 18px;
  border-radius: 20px;
  object-fit: contain;
  object-position: center top;
  background: linear-gradient(180deg, rgba(58, 166, 185, 0.08), rgba(58, 166, 185, 0.03));
  border: 1px solid rgba(58, 166, 185, 0.16);
}

.feature-card,
.speaker-card,
.contact-card,
.discount-card {
  padding: 28px;
}

.committee-layout {
  display: grid;
  gap: 26px;
}

.committee-group {
  text-align: center;
}

.committee-group h3 {
  margin-bottom: 16px;
  font-size: 1.15rem;
}

.committee-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.committee-grid-single {
  grid-template-columns: minmax(240px, 360px);
  justify-content: center;
}

.committee-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.committee-grid-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.committee-card {
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 22px rgba(39, 114, 127, 0.08);
}

.committee-card strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.45;
}

.committee-card span {
  display: block;
  margin-top: 6px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
}

.feature-card h3,
.speaker-card h3,
.theme-card h3,
.timeline-item h3,
.discount-card h3,
.contact-card h3 {
  margin-bottom: 14px;
  font-size: 1.35rem;
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(58, 166, 185, 0.12), rgba(58, 166, 185, 0.4), rgba(58, 166, 185, 0.12));
}

.timeline-item {
  position: relative;
  width: calc(50% - 56px);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.timeline-item:nth-child(odd) {
  align-self: flex-start;
}

.timeline-item:nth-child(even) {
  align-self: flex-end;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 4px solid #eef8fa;
  box-shadow: 0 0 0 6px rgba(58, 166, 185, 0.12);
  transform: translateY(-50%);
}

.timeline-item:nth-child(odd)::before {
  right: -52px;
}

.timeline-item:nth-child(even)::before {
  left: -52px;
}

.timeline-content {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: var(--shadow);
  min-height: 108px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.timeline-date,
.speaker-role {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(58, 166, 185, 0.12);
  color: #246877;
  font-size: 0.74rem;
  font-weight: 700;
}

.speaker-card {
  min-height: 100%;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.theme-card {
  position: relative;
  min-height: 180px;
  padding: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.theme-card::after {
  content: "";
  position: absolute;
  inset: auto -20px -30px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 166, 185, 0.16), transparent 68%);
}

.theme-icon {
  position: absolute;
  bottom: 22px;
  right: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(58, 166, 185, 0.08));
  border: 1px solid rgba(58, 166, 185, 0.14);
  box-shadow: 0 14px 28px rgba(58, 166, 185, 0.12);
  color: transparent;
  font-size: 0;
  line-height: 0;
}

.theme-icon::before {
  content: "";
  display: block;
  width: 144px;
  height: 144px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.theme-card h3 {
  max-width: calc(100% - 130px);
}

.theme-card:nth-child(1) .theme-icon::before {
  background-image: url("src/assets/img/icon-01.png");
}

.theme-card:nth-child(2) .theme-icon::before {
  background-image: url("src/assets/img/icon-02.png");
}

.theme-card:nth-child(3) .theme-icon::before {
  background-image: url("src/assets/img/icon-03.png");
}

.theme-card:nth-child(4) .theme-icon::before {
  background-image: url("src/assets/img/icon-04.png");
}

.theme-card:nth-child(5) .theme-icon::before {
  background-image: url("src/assets/img/icon-05.png");
}

.theme-card:nth-child(6) .theme-icon::before {
  background-image: url("src/assets/img/icon-06.png");
}

.sponsor-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sponsor-card {
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 240px;
}

.sponsor-card h3 {
  max-width: 100%;
  margin-bottom: 18px;
}

.sponsor-card .theme-icon {
  position: static;
  width: 100%;
  height: auto;
  margin: 0 auto;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.sponsor-card .theme-icon::before {
  width: 140px;
  height: 140px;
}

.split-section {
  display: block;
}

.fees-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: stretch;
}

.fee-table {
  overflow: hidden;
  height: 100%;
}

.discount-card {
  height: 100%;
}

.fee-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.fee-row:last-child {
  border-bottom: 0;
}

.fee-row span {
  color: var(--muted);
}

.contact-section {
  padding-bottom: 90px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 1100px) {
  .topbar {
    flex-wrap: wrap;
  }

  .nav-shell {
    width: 100%;
    flex-wrap: wrap;
    gap: 18px;
  }

  .brand {
    width: auto;
  }

  .nav-panel {
    width: 100%;
    justify-content: space-between;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero,
  .about-grid,
  .image-strip,
  .theme-grid,
  .contact-grid,
  .fees-grid {
    grid-template-columns: 1fr;
  }

  .speaker-grid {
    grid-template-columns: 1fr;
  }

  .committee-grid,
  .committee-grid-three,
  .committee-grid-five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline {
    gap: 12px;
    padding-left: 28px;
  }

  .timeline::before {
    left: 8px;
    transform: none;
  }

  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    width: 100%;
    align-self: stretch;
  }

  .timeline-item::before,
  .timeline-item:nth-child(odd)::before,
  .timeline-item:nth-child(even)::before {
    left: -29px;
    right: auto;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .topbar {
    position: static;
    margin-top: 10px;
    gap: 12px;
  }

  .brand-logo-panel {
    width: 100%;
    border-radius: 22px;
  }

  .nav-shell {
    width: 100%;
    padding: 14px 16px;
    gap: 12px;
    border-radius: 24px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-panel {
    display: none;
    width: 100%;
    padding-top: 6px;
  }

  .topbar.menu-open .nav-panel {
    display: grid;
    gap: 14px;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav-more {
    width: 100%;
  }

  .nav-more-toggle {
    width: 100%;
    text-align: left;
  }

  .nav-more-menu {
    position: static;
    min-width: 100%;
    margin-top: 10px;
  }

  .nav-cta {
    width: 100%;
  }

  .brand {
    flex: 1;
    width: auto;
    align-items: center;
    flex-direction: row;
    gap: 10px;
  }

  .brand-logo {
    width: min(165px, 100%);
    height: auto;
    max-height: 52px;
  }

  .brand-text strong {
    font-size: 1.5rem;
  }

  .hero {
    min-height: auto;
    padding: 24px 0 28px;
  }

  .hero-info {
    padding-bottom: 24px;
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(2rem, 4vw, 3.3rem);
  }

  .hero-theme {
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-copy,
  .panel-countdown,
  .panel-callout,
  .feature-card,
  .speaker-card,
  .theme-card,
  .timeline-item,
  .contact-card,
  .discount-card {
    padding: 22px;
  }

  .hero-meta,
  .countdown {
    grid-template-columns: 1fr;
  }

  .countdown-inline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .committee-grid,
  .committee-grid-three,
  .committee-grid-five,
  .committee-grid-single {
    grid-template-columns: 1fr;
  }

  .fee-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  main section[id] {
    scroll-margin-top: 24px;
  }
}
