/* ============================================================
   ICAIS 2026 — Conference Website Stylesheet
   Design system: glassmorphism · gradients · premium typography
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --primary: #0F172A;
  --secondary: #3B82F6;
  --accent: #06B6D4;
  --highlight: #10B981;

  --bg: #F8FAFC;
  --bg-alt: #EEF2F7;
  --surface: rgba(255, 255, 255, 0.65);
  --surface-strong: rgba(255, 255, 255, 0.85);
  --border: rgba(15, 23, 42, 0.08);
  --text: #0F172A;
  --text-muted: #475569;
  --shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.14);

  --grad-brand: linear-gradient(135deg, #3B82F6, #06B6D4);
  --grad-alt: linear-gradient(135deg, #06B6D4, #10B981);
  --grad-hero: radial-gradient(1200px 600px at 70% -10%, rgba(59,130,246,.18), transparent 60%),
               radial-gradient(900px 500px at 10% 110%, rgba(16,185,129,.14), transparent 60%);

  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Sora', 'Inter', system-ui, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 72px;
}

[data-theme="dark"] {
  --bg: #080D1A;
  --bg-alt: #0C1322;
  --surface: rgba(20, 30, 50, 0.55);
  --surface-strong: rgba(22, 32, 54, 0.85);
  --border: rgba(148, 163, 184, 0.14);
  --text: #E6EDF7;
  --text-muted: #94A3B8;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --grad-hero: radial-gradient(1200px 600px at 70% -10%, rgba(59,130,246,.16), transparent 60%),
               radial-gradient(900px 500px at 10% 110%, rgba(6,182,212,.12), transparent 60%);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background .4s var(--ease), color .4s var(--ease);
  overflow-x: hidden;
}
img, svg, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); line-height: 1.2; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--secondary); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1180px, 92%); margin-inline: auto; }
.container-narrow { width: min(820px, 92%); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--secondary); color: #fff; padding: .6rem 1.2rem; border-radius: 8px;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Reusable: glass, buttons, chips ---------- */
.glass-card {
  background: var(--surface);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.glass-chip {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--surface);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .5rem 1.1rem;
  font-size: .88rem; font-weight: 500;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 600; font-size: .95rem;
  padding: .8rem 1.6rem; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--grad-brand); color: #fff;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
}
.btn-primary:hover { box-shadow: 0 12px 32px rgba(59, 130, 246, 0.5); }
.btn-outline { border-color: var(--secondary); color: var(--secondary); background: transparent; }
.btn-outline:hover { background: rgba(59, 130, 246, 0.1); }
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--secondary); color: var(--secondary); }
.btn-sm { padding: .5rem 1.1rem; font-size: .85rem; }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.05rem; }

.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.gradient-text-alt {
  background: var(--grad-alt);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s;
}
.navbar.scrolled {
  background: var(--surface-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1rem; width: min(1360px, 96%); }
.brand { display: flex; align-items: center; gap: .6rem; }
.brand-mark { display: grid; place-items: center; animation: logoSpin 14s linear infinite; }
@keyframes logoSpin { to { transform: rotate(360deg); } }
.brand-text { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; }
.brand-year { color: var(--accent); margin-left: .15rem; }
.nav-links { display: flex; gap: 1.1rem; }
.nav-links a { font-size: .88rem; font-weight: 500; color: var(--text-muted); position: relative; padding: .3rem 0; white-space: nowrap; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--grad-brand); border-radius: 2px; transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--text); font-weight: 600; }
.nav-links a[aria-current="page"]::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: .6rem; }
.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface);
  display: grid; place-items: center; color: var(--text);
  transition: transform .3s var(--ease), border-color .3s;
}
.theme-toggle:hover { transform: rotate(20deg) scale(1.06); border-color: var(--secondary); }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: none; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.hamburger span { width: 24px; height: 2.5px; background: var(--text); border-radius: 2px; transition: .3s var(--ease); }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 3rem) 0 4rem;
  background: var(--grad-hero), var(--bg);
  overflow: hidden;
}
#particleCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-glow {
  position: absolute; width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,.16), transparent 65%);
  top: -180px; right: -160px; filter: blur(20px);
  animation: floatGlow 10s ease-in-out infinite alternate;
}
@keyframes floatGlow { to { transform: translate(-60px, 60px) scale(1.15); } }
.hero-content { position: relative; z-index: 2; text-align: center; }
.hero-badge { margin-bottom: 1.6rem; color: var(--text-muted); }
.pulse-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--highlight);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, .6); animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.hero-title {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.12;
  margin-bottom: 1.2rem;
}
.hero-pre {
  display: inline-block;
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  font-weight: 600; color: var(--text-muted);
  letter-spacing: .02em; margin-bottom: .3rem;
}
.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.25rem); color: var(--text-muted);
  max-width: 640px; margin: 0 auto 1.8rem;
}
.hero-theme {
  max-width: 720px; margin: 0 auto 1.8rem;
  padding: 1.2rem 1.8rem;
  border-left: 4px solid var(--accent);
}
.hero-theme-label {
  display: block; font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .16em; color: var(--accent);
  margin-bottom: .4rem;
}
.hero-theme p {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 600; line-height: 1.45; font-style: italic;
}
.hero-meta { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.meta-item svg { color: var(--secondary); flex-shrink: 0; }

.countdown { max-width: 620px; margin: 0 auto 2.2rem; padding: 1.4rem 2rem; }
.countdown-label { font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: .8rem; }
.countdown-grid { display: flex; justify-content: center; align-items: baseline; gap: .8rem; }
.count-unit { display: flex; flex-direction: column; align-items: center; min-width: 74px; }
.count-num {
  font-family: var(--font-display); font-size: clamp(1.8rem, 4.5vw, 2.8rem); font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.count-word { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); }
.count-sep { font-size: 1.8rem; font-weight: 700; color: var(--text-muted); opacity: .4; }

.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  max-width: 860px; margin: 0 auto;
}
.stat { display: flex; flex-direction: column; align-items: center; padding: 1rem; }
.stat-num {
  font-family: var(--font-display); font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800;
  color: var(--secondary); font-variant-numeric: tabular-nums;
}
.stat-num::after { content: "+"; color: var(--accent); }
.stat-label { font-size: .82rem; color: var(--text-muted); text-align: center; }

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid var(--text-muted); border-radius: 14px;
  opacity: .5;
}
.scroll-hint span {
  position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  background: var(--text-muted); border-radius: 2px; animation: scrollWheel 1.8s infinite;
}
@keyframes scrollWheel { 60% { transform: translateY(14px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 4.5rem) 0 3.5rem;
  background: var(--grad-hero), var(--bg);
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 800; letter-spacing: -0.03em;
  margin-bottom: .8rem;
}
.page-hero p { color: var(--text-muted); max-width: 720px; margin: 0 auto; font-size: 1.05rem; }
.page-hero .eyebrow { margin-bottom: 1rem; }

/* ---------- Sections ---------- */
.section { padding: 6rem 0; }
.section-alt { background: var(--bg-alt); transition: background .4s var(--ease); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.2rem; }
.section-head p { color: var(--text-muted); margin-top: .9rem; font-size: 1.05rem; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; color: var(--accent);
  margin-bottom: .8rem;
}
.sub-heading { margin-bottom: 1.4rem; }
.sub-heading.center { text-align: center; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- About ---------- */
.about-card { padding: 2rem; }
.about-card p + p { margin-top: .9rem; }
.about-card h3 { margin-bottom: .9rem; }
.check-list li {
  position: relative; padding-left: 1.9rem; margin-bottom: .65rem; color: var(--text-muted);
}
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: rgba(16, 185, 129, .14); color: var(--highlight);
  font-size: .78rem; font-weight: 800; display: grid; place-items: center;
}
.theme-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2rem;
}
.theme-card { padding: 1.6rem; }
.theme-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(59,130,246,.35); }
.theme-icon { font-size: 1.9rem; margin-bottom: .7rem; }
.theme-card h4 { margin-bottom: .4rem; }
.theme-card p { font-size: .9rem; color: var(--text-muted); }
.why-attend { margin-top: 2rem; padding: 2.2rem; }
.why-attend h3 { margin-bottom: 1.4rem; text-align: center; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.why-grid strong { display: block; margin-bottom: .35rem; font-family: var(--font-display); }
.why-grid p { font-size: .88rem; color: var(--text-muted); }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 780px; margin: 0 auto; padding-left: 2.4rem; }
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 3px;
  background: linear-gradient(180deg, var(--secondary), var(--accent), var(--highlight));
  border-radius: 3px;
}
.timeline-item { position: relative; margin-bottom: 1.6rem; }
.timeline-dot {
  position: absolute; left: -2.4rem; top: 1.4rem;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--bg); border: 4px solid var(--secondary);
  box-shadow: 0 0 0 5px rgba(59, 130, 246, .15);
}
.timeline-card { padding: 1.4rem 1.8rem; }
.timeline-card:hover { transform: translateX(8px); }
.timeline-date {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .06em;
  color: var(--secondary); text-transform: uppercase; margin-bottom: .3rem;
}
.timeline-card p { color: var(--text-muted); font-size: .92rem; }
.highlight-card { border-color: rgba(16, 185, 129, .4); background: linear-gradient(135deg, rgba(16,185,129,.08), rgba(6,182,212,.08)), var(--surface); }
.highlight-card .timeline-date { color: var(--highlight); }

/* ---------- CFP ---------- */
.track-list { display: flex; flex-direction: column; gap: .9rem; }
.track-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.track-grid .track:hover { transform: translateY(-4px); }
.cfp-row { margin-top: 4rem; }
.cfp-row.grid-2 { align-items: stretch; }
.cfp-row.grid-2 > div { display: flex; flex-direction: column; }
.cfp-row.grid-2 .guidelines-card { flex: 1; }
.cfp-block-title { text-align: center; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 1.6rem; }
.grid-2 .cfp-block-title { text-align: left; }
@media (max-width: 900px) {
  .track-grid { grid-template-columns: 1fr; }
}
.track { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.2rem 1.4rem; }
.track:hover { transform: translateX(6px); border-color: rgba(6,182,212,.4); }
.track-num {
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.track h4 { font-size: 1rem; margin-bottom: .15rem; }
.track p { font-size: .85rem; color: var(--text-muted); }
.guidelines-card { padding: 1.8rem; }
.cfp-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.4rem; }
.publication-note { margin-top: 1.4rem; padding: 1.6rem 1.8rem; }
.publication-note h4 { margin-bottom: .5rem; }
.publication-note p { font-size: .92rem; color: var(--text-muted); }

/* ---------- Speakers ---------- */
.speaker-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.speaker-card {
  padding: 2rem 1.4rem 1.6rem; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.speaker-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.speaker-name {
  font-size: 1rem; line-height: 1.35; min-height: 2.7em;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .35rem;
}
.speaker-role {
  font-size: .82rem; font-weight: 700; color: var(--secondary);
  text-transform: uppercase; letter-spacing: .05em; line-height: 1.4;
  min-height: 2.3em; display: flex; align-items: center; justify-content: center;
  margin-bottom: .35rem;
}
.speaker-card .speaker-affil { min-height: 3.9em; margin: 0 0 1rem; }
.speaker-card .btn, .speaker-card .speaker-links { margin-top: auto; }
.speaker-photo, .person-photo, .modal-photo {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 1rem;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .22);
  position: relative; overflow: hidden;
}
.speaker-photo img, .person-photo img, .modal-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: 50%;
}
.speaker-photo { width: 112px; height: 112px; border: 3px solid rgba(59, 130, 246, .25); }
.grad-1 { background: linear-gradient(135deg, #3B82F6, #8B5CF6); }
.grad-2 { background: linear-gradient(135deg, #06B6D4, #3B82F6); }
.grad-3 { background: linear-gradient(135deg, #10B981, #06B6D4); }
.grad-4 { background: linear-gradient(135deg, #F59E0B, #EF4444); }
.speaker-affil { font-size: .85rem; color: var(--text-muted); margin: .25rem 0 .55rem; }
.speaker-topic { font-size: .9rem; font-style: italic; color: var(--secondary); margin-bottom: 1rem; min-height: 2.6em; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8, 13, 26, .6); backdrop-filter: blur(6px); }
.modal-card {
  position: relative; width: min(520px, 92%); padding: 2.4rem; text-align: center;
  background: var(--surface-strong); animation: modalIn .35s var(--ease);
  max-height: 86vh; overflow-y: auto;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.modal-close {
  position: absolute; top: 14px; right: 18px; font-size: 1.6rem; line-height: 1;
  background: none; border: none; color: var(--text-muted);
}
.modal-card p { color: var(--text-muted); margin-top: .9rem; font-size: .95rem; text-align: left; }
.modal-tags { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin-top: 1.1rem; }
.modal-tags span {
  font-size: .75rem; font-weight: 600; padding: .3rem .8rem; border-radius: 999px;
  background: rgba(59, 130, 246, .12); color: var(--secondary);
}
.modal-social { display: flex; gap: .7rem; justify-content: center; margin-top: 1.3rem; }
.modal-social a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border); transition: transform .25s var(--ease);
}
.modal-social a:hover { transform: translateY(-3px); border-color: var(--secondary); }

/* ---------- Committee ---------- */
.committee-group { margin-bottom: 2.6rem; }
.committee-grid { display: flex; gap: 1.4rem; justify-content: center; flex-wrap: wrap; }
.person-card { padding: 1.6rem 1.8rem; text-align: center; width: 240px; }
.person-card:hover { transform: translateY(-6px); }
.person-photo { width: 76px; height: 76px; font-size: 1.3rem; }
.person-card h4 { font-size: 1rem; }
.person-card p { font-size: .84rem; color: var(--text-muted); }
.committee-note { text-align: center; color: var(--text-muted); font-size: .95rem; }
.chip-row { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; }
.member-chip { font-weight: 600; color: var(--text); transition: transform .25s var(--ease), border-color .25s; }
.member-chip:hover { transform: translateY(-3px); border-color: var(--secondary); }
.member-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  max-width: 1020px; margin: 0 auto;
}
.member-card {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.3rem;
}
.member-card:hover { transform: translateY(-3px); border-color: rgba(59, 130, 246, .35); }
.member-avatar {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .18);
}
.member-card strong { font-family: var(--font-display); font-size: .98rem; display: block; line-height: 1.3; }
.member-card .member-role { font-size: .78rem; color: var(--text-muted); }
@media (max-width: 1024px) { .member-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .member-grid { grid-template-columns: 1fr; } }
.reviewer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.reviewer { padding: 1.1rem 1.3rem; display: flex; flex-direction: column; gap: .25rem; }
.reviewer:hover { transform: translateY(-4px); }
.reviewer strong { font-family: var(--font-display); font-size: .95rem; }
.reviewer span { font-size: .82rem; color: var(--text-muted); flex: 1; }
.reviewer em { font-style: normal; font-size: .78rem; font-weight: 600; color: var(--accent); }

/* ---------- Program ---------- */
.program-tabs { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.tab {
  padding: .65rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: .9rem;
  background: var(--surface); border: 1.5px solid var(--border); color: var(--text-muted);
  transition: all .3s var(--ease);
}
.tab:hover { border-color: var(--secondary); color: var(--secondary); }
.tab.active { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: 0 6px 18px rgba(59,130,246,.35); }
.program-panel { display: none; flex-direction: column; gap: .8rem; max-width: 820px; margin: 0 auto; }
.program-panel.active { display: flex; animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }
.session { display: flex; align-items: center; gap: 1.4rem; padding: 1.1rem 1.5rem; }
.session:hover { transform: translateX(6px); }
.session-time {
  font-family: var(--font-display); font-weight: 700; color: var(--secondary);
  min-width: 58px; font-variant-numeric: tabular-nums;
}
.session h4 { font-size: .98rem; margin-bottom: .3rem; }
.session-tag {
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  padding: .22rem .7rem; border-radius: 999px;
}
.tag-keynote { background: rgba(59,130,246,.14); color: var(--secondary); }
.tag-session { background: rgba(6,182,212,.14); color: var(--accent); }
.tag-workshop { background: rgba(16,185,129,.14); color: var(--highlight); }
.tag-panel { background: rgba(139,92,246,.14); color: #8B5CF6; }
.tag-social { background: rgba(245,158,11,.16); color: #D97706; }

/* ---------- Workshops ---------- */
.workshop-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.workshop-card { padding: 1.8rem; display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; }
.workshop-card:hover { transform: translateY(-6px); }
.workshop-day {
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--accent);
}
.workshop-card p { color: var(--text-muted); font-size: .92rem; }
.workshop-lead { font-weight: 600; font-size: .85rem !important; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: stretch; max-width: 980px; margin-inline: auto; }
.price-card { padding: 2rem 1.6rem; display: flex; flex-direction: column; gap: .9rem; position: relative; }
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.price-card.featured { border: 2px solid var(--secondary); box-shadow: 0 16px 48px rgba(59,130,246,.22); }
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad-brand); color: #fff;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  padding: .35rem 1rem; border-radius: 999px; white-space: nowrap;
}
.price { display: flex; align-items: baseline; gap: .6rem; }
.price-old { text-decoration: line-through; color: var(--text-muted); font-size: 1rem; }
.price-now { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--secondary); }
.price-note { font-size: .8rem; color: var(--text-muted); margin-top: -0.6rem; }
.price-card .check-list { flex: 1; }
.price-card .check-list li { font-size: .87rem; }
.price-card .btn { width: 100%; }

/* ---------- Publication feature (home) ---------- */
.pub-feature {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 2.8rem;
  padding: 2.8rem; position: relative; overflow: hidden;
  border: 1.5px solid rgba(59, 130, 246, .28);
}
.pub-feature::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--grad-brand);
}
.pub-feature::after {
  content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,.12), transparent 65%);
  bottom: -160px; right: -120px; pointer-events: none;
}
.pub-feature-logo {
  display: inline-block; background: #fff; border-radius: 14px;
  padding: 1rem 1.4rem; margin-bottom: 1.4rem; box-shadow: var(--shadow);
}
.pub-springer {
  display: block; text-align: center;
  font-size: .8rem; font-weight: 600; letter-spacing: .02em;
  color: var(--text-muted); margin-top: .5rem;
}
.pub-feature-logo .pub-springer { color: #475569; }
.pub-series-label {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .16em; color: var(--accent); margin-bottom: .35rem;
}
.pub-series-name {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-style: italic;
  margin-bottom: .9rem;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.pub-series-desc { color: var(--text-muted); font-size: .95rem; margin-bottom: 1.6rem; }
.pub-feature-right { position: relative; z-index: 1; }
.pub-feature-right h4 { margin-bottom: .5rem; }
.pub-feature-right > p { color: var(--text-muted); font-size: .92rem; }
.index-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem .8rem;
  margin-top: 1.1rem; list-style: none; padding: 0;
}
.index-grid li {
  position: relative; display: flex; align-items: center; min-height: 44px;
  padding: .5rem .9rem .5rem 2.5rem;
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
  font-size: .85rem; font-weight: 500; line-height: 1.3;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.index-grid li:hover { border-color: rgba(59, 130, 246, .45); transform: translateY(-2px); }
.index-grid li::before {
  content: "✓"; position: absolute; left: .8rem; top: 50%; transform: translateY(-50%);
  width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: rgba(16, 185, 129, .14); color: var(--highlight);
  font-size: .7rem; font-weight: 800; display: grid; place-items: center;
}
.index-grid li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 480px) {
  .index-grid { grid-template-columns: 1fr; }
  .index-grid li:last-child:nth-child(odd) { grid-column: auto; }
}
.pub-cpci {
  margin-top: 1.4rem; padding: 1.1rem 1.3rem; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(59, 130, 246, .12), rgba(6, 182, 212, .1));
  border: 1.5px solid rgba(59, 130, 246, .35);
  border-left: 4px solid var(--secondary);
  font-size: .95rem !important; font-weight: 500;
  color: var(--text) !important; line-height: 1.6;
  box-shadow: 0 6px 20px rgba(59, 130, 246, .12);
}
.cpci-badge {
  display: inline-block; margin-right: .5rem; vertical-align: middle;
  background: var(--grad-brand); color: #fff;
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  padding: .3rem .75rem; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, .35);
}
@media (max-width: 900px) {
  .pub-feature { grid-template-columns: 1fr; gap: 2rem; padding: 2rem; }
}

/* ---------- Organized-by banner (home) ---------- */
.section-sm { padding: 4.5rem 0; }
.org-banner {
  display: flex; align-items: center; gap: 2.8rem;
  padding: 3rem 3.2rem;
  position: relative; overflow: hidden;
  border: 1.5px solid rgba(59, 130, 246, .28);
}
.org-banner::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--grad-brand);
}
.org-banner::after {
  content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, .1), transparent 65%);
  top: -140px; left: -100px; pointer-events: none;
}
.org-banner-logo {
  width: 148px; height: 148px; object-fit: contain; flex-shrink: 0;
  background: #fff; border-radius: 18px; padding: .7rem;
  box-shadow: var(--shadow-lg);
  position: relative; z-index: 1;
}
.org-banner-text { flex: 1; min-width: 0; position: relative; z-index: 1; }
.org-banner-text .eyebrow { margin-bottom: .35rem; }
.org-banner-title {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  white-space: nowrap; margin-bottom: .6rem;
}
.org-banner-text p { color: var(--text-muted); font-size: .97rem; max-width: 560px; }
.org-banner-ctas {
  display: flex; flex-direction: column; gap: .8rem; flex-shrink: 0;
  position: relative; z-index: 1;
}
.org-banner-ctas .btn { min-width: 200px; }
@media (max-width: 900px) {
  .org-banner { flex-direction: column; text-align: center; padding: 2.4rem 1.6rem; gap: 1.6rem; }
  .org-banner-title { white-space: normal; }
  .org-banner-text p { margin-inline: auto; }
  .org-banner-ctas { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .org-banner-ctas .btn { min-width: 0; }
}

/* ---------- Registration form / org logos ---------- */
.reg-form-wrap { max-width: 760px; margin: 2.6rem auto 0; scroll-margin-top: calc(var(--nav-h) + 20px); }
.portal-note { margin-top: 1rem; font-size: .9rem; color: var(--text-muted); }
.portal-note a { color: var(--secondary); font-weight: 600; }
.org-logo { display: flex; justify-content: center; margin-bottom: 2.2rem; }
.org-logo img {
  width: 200px; border-radius: var(--radius);
  background: #fff; padding: .6rem;
  box-shadow: var(--shadow);
}
.sponsor-logo img { max-width: 240px; height: auto; background: #fff; padding: .7rem 1.1rem; border-radius: 12px; }

/* ---------- Venue ---------- */
.venue-map { overflow: hidden; padding: 0; min-height: 420px; }
.venue-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }
.venue-info { display: flex; flex-direction: column; gap: 1rem; }
.venue-card { padding: 1.4rem 1.7rem; }
.venue-card h4 { margin-bottom: .4rem; }
.venue-card p { font-size: .92rem; color: var(--text-muted); }
.venue-card a { color: var(--secondary); }

/* ---------- Sponsors ---------- */
.sponsor-tier { margin-bottom: 2.2rem; text-align: center; }
.tier-label {
  font-size: .85rem; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 1.1rem;
}
.tier-platinum { color: var(--secondary); }
.tier-gold { color: #D97706; }
.tier-silver { color: var(--text-muted); }
.sponsor-row { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; }
.sponsor-logo {
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; color: var(--text-muted);
  padding: 1.6rem 2.4rem; font-size: 1.15rem; filter: grayscale(.4); opacity: .85;
}
.sponsor-logo:hover { filter: none; opacity: 1; transform: translateY(-4px); color: var(--text); }
.sponsor-logo.lg { padding: 2.2rem 3.4rem; font-size: 1.4rem; }
.sponsor-logo.sm { padding: 1.1rem 1.8rem; font-size: .95rem; }

/* ---------- Publications / Awards / News ---------- */
.pub-grid, .award-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.pub-card, .award-card { padding: 1.7rem; text-align: center; }
.pub-card h4, .award-card h4 { margin-bottom: .5rem; }
.pub-card p, .award-card p { font-size: .88rem; color: var(--text-muted); }
.award-card:hover, .pub-card:hover { transform: translateY(-6px); }
.award-icon { font-size: 2.2rem; margin-bottom: .7rem; }

.edition-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-bottom: 2rem; }
.edition-stats .stat { padding: 1.6rem 1rem; }
.edition-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.edition { padding: 1.2rem; text-align: center; }
.edition:hover { transform: translateY(-4px); }
.edition-year {
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.edition p { font-size: .82rem; color: var(--text-muted); }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.news-card { padding: 1.8rem; }
.news-card:hover { transform: translateY(-6px); }
.news-date { font-size: .78rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
.news-card h4 { margin: .5rem 0 .5rem; }
.news-card p { font-size: .9rem; color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: .9rem; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.25rem 1.6rem;
  font-weight: 600; font-family: var(--font-display); font-size: 1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--secondary);
  transition: transform .3s var(--ease); flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 1.6rem 1.4rem; color: var(--text-muted); font-size: .94rem; }

/* ---------- Contact ---------- */
.contact-form { padding: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.form-field label { font-size: .85rem; font-weight: 600; }
.form-field input, .form-field select, .form-field textarea {
  font-family: inherit; font-size: .95rem; color: var(--text);
  background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: .75rem 1rem; transition: border-color .25s, box-shadow .25s;
  width: 100%; min-width: 0;
}
.form-field { min-width: 0; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--secondary); box-shadow: 0 0 0 4px rgba(59,130,246,.14);
}
.form-status { margin-top: .8rem; font-size: .9rem; font-weight: 600; color: var(--highlight); }
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.social-row { display: flex; gap: .7rem; margin-top: .6rem; }
.social-btn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--border); font-weight: 700;
  transition: all .25s var(--ease);
}
.social-btn:hover { transform: translateY(-3px); border-color: var(--secondary); color: var(--secondary); }

/* ---------- Footer ---------- */
.footer { background: var(--primary); color: #CBD5E1; padding: 4rem 0 2rem; }
[data-theme="dark"] .footer { background: #060A14; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 2.4rem; margin-bottom: 2.6rem;
}
.footer .brand-text { color: #fff; }
.footer-brand p { font-size: .9rem; margin-top: .8rem; color: #94A3B8; }
.footer h5 { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.footer ul li { margin-bottom: .55rem; }
.footer ul a { font-size: .9rem; color: #94A3B8; transition: color .25s; }
.footer ul a:hover { color: var(--accent); }
.footer-news p { font-size: .88rem; color: #94A3B8; margin-bottom: .9rem; }
.newsletter { display: flex; gap: .6rem; }
.newsletter input {
  flex: 1; min-width: 0; padding: .65rem 1rem; border-radius: 999px;
  border: 1px solid rgba(148,163,184,.25); background: rgba(255,255,255,.06); color: #fff;
  font-family: inherit; font-size: .9rem;
}
.newsletter input::placeholder { color: #64748B; }
.newsletter input:focus { outline: none; border-color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(148,163,184,.15); padding-top: 1.6rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-size: .85rem; color: #64748B;
}
.footer-links { display: flex; gap: 1.4rem; }
.footer-links a { color: #94A3B8; }
.footer-links a:hover { color: var(--accent); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; bottom: 26px; right: 26px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; border: none;
  background: var(--grad-brand); color: #fff; font-size: 1.2rem;
  box-shadow: 0 10px 26px rgba(59,130,246,.4);
  opacity: 0; pointer-events: none; transform: translateY(14px);
  transition: all .35s var(--ease);
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.back-to-top:hover { transform: translateY(-4px); }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--surface-strong); backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
    padding: .6rem 0; z-index: 99;
  }
  .nav-links.open a { display: block; padding: .9rem 2rem; font-size: 1rem; white-space: normal; }
  .nav-links.open a::after { display: none; }
}
@media (max-width: 1024px) {
  .speaker-grid, .pricing-grid, .pub-grid, .award-grid { grid-template-columns: repeat(2, 1fr); }
  .reviewer-grid { grid-template-columns: repeat(2, 1fr); }
  .edition-strip { grid-template-columns: repeat(3, 1fr); }
  .theme-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 4rem 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .workshop-grid, .news-grid { grid-template-columns: 1fr; }
  .edition-stats { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .count-unit { min-width: 56px; }
  .countdown { padding: 1.2rem 1rem; }
  .nav-actions .btn-ghost { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bottom { justify-content: center; text-align: center; }
}
@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .speaker-grid, .pub-grid, .award-grid, .theme-grid, .why-grid, .reviewer-grid { grid-template-columns: 1fr; }
  .edition-strip { grid-template-columns: repeat(2, 1fr); }
  .nav-actions .btn-primary { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
