/* =============================================
   PedAItrics 2026 — Workshop Website Styles
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy:       #0c2340;
  --navy-mid:   #163254;
  --blue:       #1d6fa4;
  --sky:        #0ea5e9;
  --sky-light:  #e0f2fe;
  --teal:       #0891b2;
  --teal-light: #cffafe;
  --amber:      #f59e0b;
  --white:      #ffffff;
  --off-white:  #f8fafc;
  --light:      #f1f5f9;
  --border:     #e2e8f0;
  --text:       #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --radius:     10px;
  --radius-lg:  16px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:     0 4px 12px rgba(0,0,0,.08);
  --shadow-lg:  0 12px 32px rgba(0,0,0,.12);
  --transition: 220ms ease;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Merriweather', Georgia, serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--sky); }

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

/* --- Utility --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}
.section-white  { background: var(--white); }
.section-light  { background: var(--off-white); }
.section-dark   { background: var(--navy); }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header-light { color: var(--white); }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  padding: .25rem .75rem;
  border-radius: 99px;
  margin-bottom: .75rem;
}
.section-label-light {
  color: var(--navy);
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .75rem;
  letter-spacing: -.02em;
}
.section-header-light h2 { color: var(--white); }

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}
.section-desc-light { color: rgba(255,255,255,.75); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.6rem;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--sky);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(14,165,233,.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: var(--sky);
  border-color: var(--sky);
}
.btn-outline-light:hover {
  background: var(--sky);
  color: var(--navy);
}

.btn-disabled {
  opacity: .55;
  cursor: not-allowed;
  pointer-events: none;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(12,35,64,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(12,35,64,.98);
  box-shadow: var(--shadow);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -.01em;
}
.nav-logo:hover { color: var(--sky); }

.logo-icon {
  color: var(--sky);
  font-size: .75rem;
  transform: rotate(45deg);
  display: inline-block;
}

.logo-year {
  font-weight: 400;
  opacity: .7;
  font-size: .9rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,.8);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 500;
  padding: .4rem .75rem;
  border-radius: 6px;
  transition: all var(--transition);
}
.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,.1);
}

.nav-cta {
  background: var(--sky) !important;
  color: var(--white) !important;
  margin-left: .5rem;
}
.nav-cta:hover {
  background: var(--teal) !important;
  transform: translateY(-1px);
}

.nav-links a.active {
  color: var(--sky);
  background: rgba(14,165,233,.1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 2rem 6rem;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14,165,233,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,.07) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(8,145,178,.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 780px;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sky);
  background: rgba(14,165,233,.12);
  border: 1px solid rgba(14,165,233,.3);
  padding: .35rem 1rem;
  border-radius: 99px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 1rem;
  color: var(--white);
}

.hero-acronym {
  background: linear-gradient(135deg, #fff 30%, var(--sky) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: rgba(255,255,255,.75);
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto 1.25rem;
  line-height: 1.5;
}

.hero-location {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .9rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  color: rgba(255,255,255,.3);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* =============================================
   ABOUT
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: start;
}

.about-text p {
  margin-bottom: 1.1rem;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.8;
}
.about-text p:last-child { margin-bottom: 0; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
}

.stat-card-wide {
  grid-column: 1 / -1;
  text-align: left;
  padding: 1.25rem 1.25rem;
}

.stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: .3rem;
}

.stat-label {
  font-size: .8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.stat-label-top {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: .6rem;
}

.stat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.tag {
  font-size: .75rem;
  font-weight: 500;
  padding: .2rem .6rem;
  border-radius: 99px;
  background: var(--sky-light);
  color: var(--teal);
  border: 1px solid rgba(8,145,178,.2);
}

/* =============================================
   TOPICS
   ============================================= */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.topic-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.topic-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.topic-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: rgba(14,165,233,.3);
}

.topic-card:hover::before {
  transform: scaleX(1);
}

.topic-icon {
  width: 44px;
  height: 44px;
  background: var(--sky-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.topic-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--teal);
}

.topic-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
  line-height: 1.3;
}

.topic-card p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =============================================
   DATES / TIMELINE
   ============================================= */
.dates-timeline {
  max-width: 560px;
  margin: 0 auto 1.5rem;
  position: relative;
}

.dates-timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: var(--border);
  z-index: 0;
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding-bottom: 2rem;
  position: relative;
}
.timeline-item-last { padding-bottom: 0; }

.timeline-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--sky);
  flex-shrink: 0;
  margin-top: 2px;
  z-index: 1;
  position: relative;
}

.timeline-dot-final {
  background: var(--sky);
}

.timeline-content {
  flex: 1;
}

.timeline-label {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .2rem;
}

.timeline-date {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}

.timeline-date.tbd {
  color: var(--text-muted);
  font-style: italic;
  font-weight: 400;
}

.dates-note {
  text-align: center;
  font-size: .875rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
}

/* =============================================
   PROGRAM
   ============================================= */
.program-table {
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.program-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.program-row:last-child { border-bottom: none; }

.program-row-header {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.prog-time {
  padding: 1rem 1.25rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-muted);
  border-right: 1px solid var(--border);
  line-height: 1.4;
}
.program-row-header .prog-time {
  color: rgba(255,255,255,.7);
  border-right-color: rgba(255,255,255,.15);
}

.prog-event {
  padding: 1rem 1.5rem;
  font-size: .95rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}
.program-row-header .prog-event { color: rgba(255,255,255,.7); }

.prog-tag {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .2rem .6rem;
  border-radius: 99px;
  flex-shrink: 0;
}

.prog-tag-open     { background: #dcfce7; color: #166534; }
.prog-tag-oral     { background: #dbeafe; color: #1e40af; }
.prog-tag-break    { background: #fef9c3; color: #854d0e; }
.prog-tag-keynote  { background: #fce7f3; color: #9d174d; }
.prog-tag-showcase { background: #ede9fe; color: #5b21b6; }
.prog-tag-panel    { background: var(--sky-light); color: var(--teal); }
.prog-tag-close    { background: #f1f5f9; color: #475569; }

/* =============================================
   KEYNOTE SPEAKERS
   ============================================= */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.speaker-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
}

.speaker-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: rgba(14,165,233,.3);
}

.speaker-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  letter-spacing: .03em;
}

.speaker-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .3rem;
}

.speaker-affil {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.speakers-placeholder {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2rem;
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  background: var(--off-white);
}

.speakers-placeholder-icon {
  width: 36px;
  height: 36px;
  background: var(--sky-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.speakers-placeholder-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--teal);
}

.speakers-placeholder h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .6rem;
}

.speakers-placeholder p {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =============================================
   SUBMISSION
   ============================================= */
.submission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.submission-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .75rem;
}

.submission-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.submission-list li {
  font-size: .95rem;
  color: rgba(255,255,255,.75);
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.6;
}

.submission-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky);
}

.submission-list strong {
  color: var(--white);
}

.submission-list a,
.submission-list a strong {
  color: var(--sky);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.submission-list a:hover,
.submission-list a:hover strong {
  color: #7dd3fc;
}

.cta-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.25rem;
  text-align: center;
}
.cta-card:last-child { margin-bottom: 0; }

.cta-icon {
  width: 56px;
  height: 56px;
  background: rgba(14,165,233,.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.cta-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--sky);
}

.cta-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .5rem;
}

.cta-card p {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.cta-note {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  margin-top: .75rem;
  margin-bottom: 0;
}

.cta-card-secondary {
  background: rgba(255,255,255,.04);
}

/* =============================================
   ORGANIZERS
   ============================================= */
.organizers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}

.organizer-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all var(--transition);
}

.organizer-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(14,165,233,.3);
}

.organizer-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-mid), var(--blue));
  color: var(--white);
  font-size: .8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: .03em;
}

.organizer-info h4 {
  font-size: .875rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: .15rem;
}

.organizer-info p {
  font-size: .775rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* =============================================
   COORDINATORS
   ============================================= */
.coordinators-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 760px;
  margin: 0 auto;
}

.coordinator-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all var(--transition);
}

.coordinator-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(14,165,233,.3);
}

@media (max-width: 700px) {
  .coordinators-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--navy);
  padding: 3rem 0 2rem;
  color: rgba(255,255,255,.6);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand .footer-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: .4rem;
  letter-spacing: -.01em;
}

.footer-brand p {
  font-size: .875rem;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--sky); }

.footer-copy {
  font-size: .8rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .stat-card-wide {
    grid-column: 1 / -1;
  }
  .submission-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 700px) {
  .section { padding: 3.5rem 0; }

  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--navy);
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
    gap: .25rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { border-radius: 6px; }
  .nav-cta { margin-left: 0 !important; }

  .hero { padding: 7rem 1.5rem 5rem; }
  .hero-actions { flex-direction: column; align-items: center; }

  .about-stats { grid-template-columns: 1fr 1fr; }

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

  .program-row { grid-template-columns: 90px 1fr; }
  .prog-time { padding: .75rem 1rem; font-size: .8rem; }
  .prog-event { padding: .75rem 1rem; font-size: .875rem; }

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

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

  .footer-inner { gap: 1.25rem; }
}

@media (max-width: 480px) {
  .speakers-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .container { padding: 0 1.25rem; }
  .hero-title { font-size: 3rem; }
}
