:root {
  --bg: #f6f8fb;
  --panel: #ffffff;
  --text: #111827;
  --muted: #5b6472;
  --line: #e5e8ef;
  --primary: #2f5fd0;
  --primary-dark: #1d3f97;
  --accent: #f1b84b;
  --soft-blue: #eaf1ff;
  --soft-yellow: #fff7e3;
  --shadow: 0 24px 60px rgba(18, 31, 56, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 42%, #ffffff 100%);
}

a { color: inherit; text-decoration: none; }
p { line-height: 1.75; color: var(--muted); font-size: 1.04rem; }

.hero {
  min-height: 720px;
  background:
    radial-gradient(circle at 12% 18%, rgba(47, 95, 208, 0.16), transparent 28%),
    radial-gradient(circle at 82% 8%, rgba(241, 184, 75, 0.20), transparent 24%),
    linear-gradient(135deg, #f7faff 0%, #ffffff 58%, #fff8e6 100%);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.35rem;
  color: var(--primary-dark);
}
.nav-links { display: flex; gap: 22px; font-weight: 600; color: #324055; font-size: 0.95rem; }
.nav-links a { opacity: 0.82; }
.nav-links a:hover { opacity: 1; color: var(--primary); }

.hero-inner {
  width: min(1060px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0 84px;
  text-align: center;
}
.venue {
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
h1 {
  font-size: clamp(2.6rem, 6vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.075em;
  margin: 0 auto 22px;
  max-width: 1050px;
}
.subtitle {
  max-width: 860px;
  margin: 0 auto 34px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: #4c586a;
}
.authors {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--primary-dark);
  font-size: 1.05rem;
  font-weight: 600;
}
.authors a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.affiliations {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 12px;
  color: var(--muted);
}
.button-row {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(47, 95, 208, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(47, 95, 208, 0.28); }
.button.secondary { background: #1f2937; box-shadow: 0 12px 24px rgba(31, 41, 55, 0.16); }

main { padding-bottom: 36px; }
.section-narrow, .section-wide {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 0;
}
.section-wide { width: min(1180px, calc(100% - 40px)); }
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.055em;
  margin: 0 0 20px;
}
h3 { margin: 0 0 10px; font-size: 1.24rem; letter-spacing: -0.025em; }

.image-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 18px;
  box-shadow: var(--shadow);
  margin: 28px 0 14px;
}
.image-card.large { padding: 20px; }
.image-card img { width: 100%; display: block; border-radius: 18px; }
.caption {
  font-size: 0.95rem;
  color: #5f6b7d;
  text-align: center;
  margin-top: 14px;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.highlight-card, .task-card {
  background: rgba(255,255,255,0.86);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 14px 40px rgba(18, 31, 56, 0.08);
}
.highlight-card .number {
  display: inline-flex;
  margin-bottom: 24px;
  font-weight: 800;
  color: var(--primary);
  background: var(--soft-blue);
  padding: 7px 11px;
  border-radius: 999px;
}
.highlight-card p, .task-card p, .task-card li { font-size: 0.95rem; line-height: 1.58; }

.section-heading { text-align: center; max-width: 820px; margin: 0 auto 28px; }
.task-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.task-card { background: linear-gradient(180deg, #ffffff, #fbfcff); }
.task-card ul { padding-left: 20px; margin-bottom: 0; color: var(--muted); }

.results-table-wrap {
  overflow-x: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 8px;
  margin: 30px 0;
}
.results-table { width: 100%; border-collapse: collapse; min-width: 650px; }
.results-table th, .results-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.results-table th { color: #2f3b4f; background: var(--soft-blue); font-size: 0.92rem; }
.results-table tr:last-child td { border-bottom: 0; }
.results-table td:last-child { color: var(--primary-dark); font-weight: 800; }

.bibtex {
  background: #111827;
  color: #edf2ff;
  padding: 22px;
  border-radius: 20px;
  overflow-x: auto;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.92rem;
  line-height: 1.65;
}
footer {
  width: min(1180px, calc(100% - 40px));
  margin: 60px auto 20px;
  padding: 30px 0 10px;
  border-top: 1px solid var(--line);
  text-align: center;
}
footer p { font-size: 0.92rem; }

@media (max-width: 900px) {
  .nav { align-items: flex-start; gap: 18px; }
  .nav-links { display: none; }
  .highlights, .task-grid { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 58px; }
}
