@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+Thai:wght@400;500;600;700&display=swap');

:root {
  /* Fonts */
  --font-primary: 'Inter', 'Noto Sans Thai', 'Canva Sans', 'Noto Sans Variable', 'Noto Sans', -apple-system, system-ui, sans-serif;
  --font-size-base: 14px;
  --font-weight-base: 600;
  --font-line-height-base: 22px;

  /* Typography Scale */
  --font-size-xs: 10px;
  --font-size-sm: 11px;
  --font-size-md: 12px;
  --font-size-lg: 13.33px;
  --font-size-xl: 14px;
  --font-size-2xl: 24px;
  --font-size-3xl: 32px;
  --font-size-4xl: 40px;
  --font-size-5xl: 56px;

  /* Colors (Dark Theme Canva Style) */
  --color-text-primary: #ffffff;
  --color-text-secondary: #a3a4ab;
  --color-text-tertiary: #101219;
  --color-text-inverse: #ffffff;
  --color-link: #00509d;
  
  --color-surface-base: #000000;
  --color-surface-muted: #ffffff;
  --color-surface-card: rgba(255, 255, 255, 0.03);
  --color-surface-strong: #8b3dff; /* Canva Purple */
  --color-surface-secondary: #00509d; /* YDML/Poster Blue */
  --color-surface-accent: #e85d04; /* Poster Orange/Red */
  --color-surface-gold: #ffb703; /* Poster Gold */
  --color-surface-bg-dark: #07080a;

  /* Spacing */
  --space-1: 1px;
  --space-2: 2px;
  --space-3: 4px;
  --space-4: 7.78px;
  --space-5: 8px;
  --space-6: 16px;
  --space-7: 48px;

  /* Radii */
  --radius-xs: 10px;
  --radius-sm: 12px;
  --radius-lg: 20px;
  --radius-md: 9999px;

  /* Shadows */
  --shadow-1: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px inset;
  --shadow-2: rgba(255, 255, 255, 0.05) 0px 24px 24px -18px inset, rgba(255, 255, 255, 0.1) 0px 1px 0.5px 0px inset, rgba(21, 30, 130, 0.05) 0px -1px 0.5px 0px inset, rgba(0, 0, 0, 0.5) 0px 8px 16px 0px;
  --shadow-3: rgba(255, 255, 255, 0.08) 0px 24px 24px -18px inset, rgba(255, 255, 255, 0.15) 0px 1px 0.5px 0px inset, rgba(21, 30, 130, 0.08) 0px -1px 0.5px 0px inset, rgba(0, 0, 0, 0.6) 0px 12px 24px 0px;
  --shadow-4: rgb(231, 219, 255) 0px 0px 0px 1px inset;

  /* Motion */
  --motion-duration-instant: 100ms;
  --motion-duration-fast: 150ms;
  --motion-duration-normal: 300ms;
}

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

html {
  font-size: var(--font-size-base);
  font-family: var(--font-primary);
  font-weight: var(--font-weight-base);
  line-height: var(--font-line-height-base);
  color: var(--color-text-primary);
  background-color: var(--color-surface-bg-dark);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  background: radial-gradient(circle at 10% 15%, rgba(0, 80, 157, 0.18) 0%, transparent 40%),
              radial-gradient(circle at 90% 85%, rgba(139, 61, 255, 0.15) 0%, transparent 45%),
              var(--color-surface-bg-dark);
  min-height: 100vh;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-surface-strong);
  color: white;
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-sm);
  z-index: 10000;
  transition: top var(--motion-duration-fast) ease;
  font-size: var(--font-size-xl);
  text-decoration: none;
  border: 2px solid white;
}
.skip-link:focus {
  top: var(--space-6);
  outline: none;
  box-shadow: 0 0 0 4px var(--color-surface-gold);
}

/* Focus styling */
:focus-visible {
  outline: 3px solid var(--color-surface-strong);
  outline-offset: 3px;
}

/* Typography Utility Classes */
.text-xs { font-size: var(--font-size-xs); font-weight: 500; }
.text-sm { font-size: var(--font-size-sm); font-weight: 500; }
.text-md { font-size: var(--font-size-md); }
.text-lg { font-size: var(--font-size-lg); }
.text-xl { font-size: var(--font-size-xl); }
.text-2xl { font-size: var(--font-size-2xl); font-weight: 700; line-height: 1.3; }
.text-3xl { font-size: var(--font-size-3xl); font-weight: 700; line-height: 1.25; }
.text-4xl { font-size: var(--font-size-4xl); font-weight: 700; line-height: 1.2; }
.text-5xl { font-size: var(--font-size-5xl); font-weight: 800; line-height: 1.15; }

/* Interactive Container styling */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background-color: rgba(7, 8, 10, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-5);
  padding-bottom: var(--space-5);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  text-decoration: none;
  color: white;
}

.logo-icon {
  background: linear-gradient(135deg, var(--color-surface-secondary), var(--color-surface-strong));
  width: 32px;
  height: 32px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: var(--font-size-2xl);
  color: white;
  box-shadow: var(--shadow-2);
}

.logo-text {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 60%, var(--color-surface-strong));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-nav-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.nav-menu {
  display: flex;
  gap: var(--space-3);
  list-style: none;
}

@media (max-width: 991px) {
  .nav-menu, .sub-nav-menu {
    display: none;
  }
}

.nav-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  transition: all var(--motion-duration-fast) ease;
}

.nav-link:hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.08);
}

/* Sub navigation menu in header */
.sub-nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.sub-nav-link {
  color: var(--color-surface-gold);
  text-decoration: underline;
  font-weight: 700;
  transition: color var(--motion-duration-fast) ease;
}

.sub-nav-link:hover {
  color: white;
}

.sub-nav-separator {
  color: rgba(255,255,255,0.2);
}

.btn-cta {
  background: linear-gradient(135deg, var(--color-surface-strong), var(--color-surface-secondary));
  color: white;
  border: none;
  border-radius: var(--radius-md);
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all var(--motion-duration-fast) ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(139, 61, 255, 0.4);
}

/* Page Banner Card Layout (สไตล์ YDML บนพื้นหลังสไตล์เดิม) */
.page-banner-card {
  max-width: 1200px;
  margin: 32px auto 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #0b2240;
  display: flex;
  justify-content: center;
}

.page-banner {
  width: 100%;
  height: auto;
  display: block;
}

/* Floating Back to Home Button (Centered to avoid mascot overlap) */
.back-to-home-btn {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  background: var(--color-surface-strong);
  color: white;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: var(--font-size-xl);
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(139, 61, 255, 0.4);
  z-index: 999;
  transition: all var(--motion-duration-fast) ease, opacity var(--motion-duration-fast) ease;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  opacity: 0;
  pointer-events: none;
}

.back-to-home-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-home-btn:hover {
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 8px 24px rgba(139, 61, 255, 0.6);
  background: #9b5cff;
}

/* Mascot Decorators (Cute wind-swept floating animation) */
.mascot-decorator {
  position: fixed;
  bottom: 40px;
  width: 140px;
  height: auto;
  z-index: 100;
  pointer-events: none;
  transition: transform var(--motion-duration-normal) ease;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.5));
}

.mascot-left-decor {
  left: 24px;
  animation: float-left 6s ease-in-out infinite;
}

.mascot-right-decor {
  right: 24px;
  animation: float-right 6.5s ease-in-out infinite;
}

.mascot-decorator img {
  width: 100%;
  height: auto;
}

@keyframes float-left {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-20px) rotate(3deg); }
}

@keyframes float-right {
  0%, 100% { transform: translateY(0) rotate(3deg); }
  50% { transform: translateY(-22px) rotate(-3deg); }
}

@media (max-width: 1300px) {
  .mascot-decorator {
    width: 90px;
    bottom: 20px;
  }
  .mascot-left-decor { left: 8px; }
  .mascot-right-decor { right: 8px; }
}

@media (max-width: 991px) {
  .mascot-decorator {
    display: none;
  }
}

/* Section Common */
.section {
  padding: 80px 0;
}

.section-dark {
  background-color: rgba(10, 11, 14, 0.4);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

/* Headings */
.highlight-title {
  color: white;
  font-weight: 800;
  margin-bottom: var(--space-6);
  text-transform: uppercase;
  letter-spacing: -0.5px;
  display: inline-block;
  background: linear-gradient(135deg, #ffffff 60%, var(--color-surface-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  padding-bottom: var(--space-4);
}

.highlight-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-surface-strong), var(--color-surface-gold));
  border-radius: var(--radius-md);
}

.section-header .highlight-title::after {
  left: 50%;
  transform: translateX(-50%);
}

#poster-apply .highlight-title::after,
#background .highlight-title::after,
#speakers .highlight-title::after,
#venue .highlight-title::after,
#summary .highlight-title::after {
  left: 0;
  transform: none;
}

.section-desc {
  color: var(--color-text-secondary);
  font-size: 15px;
  margin-top: 10px;
}

/* Poster Section - Equal Height Layout via Flexbox in Dark Theme */
.section-poster {
  padding-top: 60px;
}

.poster-container {
  display: flex;
  gap: var(--space-7);
  align-items: stretch; /* Stretch both cards to exact equal height */
}

@media (max-width: 991px) {
  .poster-container {
    flex-direction: column;
    align-items: stretch;
  }
}

.poster-card {
  flex: 1.1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.poster-card img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Fit poster image completely without cropping */
  background-color: transparent;
  display: block;
}

/* ข้อมูลเป็นการ์ดให้สวยงามไล่สี (Gradient Cards) */
.gradient-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1.5px solid rgba(139, 61, 255, 0.25); /* ขอบสีม่วงโปร่งแสงเข้ากับเว็บ */
  box-shadow: 0 8px 32px 0 rgba(0, 80, 157, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--motion-duration-normal) ease;
  border-radius: var(--radius-sm);
}

.gradient-card:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, rgba(139, 61, 255, 0.08) 0%, rgba(0, 80, 157, 0.08) 100%);
  border-color: var(--color-surface-gold); /* ขอบเรืองแสงสีทองเมื่อวางเมาส์ */
  box-shadow: 0 12px 32px 0 rgba(139, 61, 255, 0.45), 0 0 15px rgba(255, 183, 3, 0.25);
}

/* CTA Box */
.cta-box {
  flex: 0.9;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* align content vertically */
}

.apply-methods {
  font-size: 16px;
  line-height: 1.8;
  color: #f1f2f6;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.apply-methods strong {
  color: var(--color-surface-gold);
}

.btn-main-apply {
  display: block;
  width: 100%;
  padding: 18px 24px;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-surface-strong), var(--color-surface-accent));
  box-shadow: 0 10px 25px rgba(232, 93, 4, 0.3);
  margin-top: 20px;
  transition: all var(--motion-duration-fast) ease;
}

.btn-main-apply:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(232, 93, 4, 0.5);
  background: linear-gradient(135deg, #9b5cff, var(--color-surface-accent));
}

/* QR Code Box */
.qr-code-box {
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
}

.qr-label {
  color: var(--color-surface-gold);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 16px;
}

.qr-img-wrapper {
  display: inline-block;
  background-color: white;
  padding: 12px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-2);
}

.line-qr-img {
  width: 140px;
  height: 140px;
  display: block;
}

/* Notice Box Highlight */
.notice-box-highlight {
  padding: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.notice-row-primary {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.notice-badge-item {
  background-color: rgba(139, 61, 255, 0.12);
  color: #c094ff;
  font-weight: 800;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-size: 16px;
  border: 1px solid rgba(139, 61, 255, 0.2);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.notice-dates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  background-color: rgba(15, 16, 21, 0.4);
  padding: 24px;
  border-radius: var(--radius-xs);
  margin-bottom: 24px;
  font-size: 15px;
  border: 1px solid rgba(255,255,255,0.05);
}

.notice-dates-grid p {
  color: #f1f2f6;
  line-height: 1.5;
}

.notice-dates-grid strong {
  color: var(--color-surface-gold);
}

.notice-warning-box {
  background-color: rgba(232, 93, 4, 0.08);
  border-left: 4px solid var(--color-surface-accent);
  padding: 20px;
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
}

.notice-channels {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 20px;
}

.notice-channels strong {
  display: block;
  margin-bottom: 8px;
  color: white;
}

.notice-channels ol {
  padding-left: 20px;
}

.notice-channels a {
  color: var(--color-surface-gold);
  text-decoration: underline;
  word-break: break-all;
}

.notice-channels a:hover {
  color: white;
}

.notice-note {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* Schedule Table */
.schedule-table-container {
  width: 100%;
  overflow-x: auto;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.schedule-table th, 
.schedule-table td {
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: top;
  font-size: 14.5px;
  color: #f1f2f6;
}

.schedule-table th {
  background-color: rgba(255, 255, 255, 0.02);
  color: var(--color-surface-gold);
  font-weight: 700;
  border-bottom: 2px solid rgba(255, 255, 255, 0.08);
}

.time-col {
  width: 140px;
  color: var(--color-surface-gold);
  font-weight: 700;
  white-space: nowrap;
}

.session-divider {
  background: linear-gradient(90deg, rgba(139, 61, 255, 0.25) 0%, rgba(0, 80, 157, 0.25) 100%); /* ไล่เฉดสีม่วง-น้ำเงิน */
  font-weight: 800;
  color: var(--color-surface-gold); /* เปลี่ยนเป็นสีทองให้โดดเด่น */
  border-left: 4px solid var(--color-surface-gold); /* เพิ่มขีดเน้นสีทองด้านซ้าย */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.session-divider td {
  padding: 12px 24px;
}

.break-row {
  background-color: rgba(255, 255, 255, 0.005);
  color: var(--color-text-secondary);
}

.sub-practice {
  display: inline-block;
  margin-top: 6px;
  background: rgba(255, 183, 3, 0.12);
  color: var(--color-surface-gold);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  font-size: 11px;
  font-weight: 700;
}

/* General Text Blocks */
.text-block {
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.text-block.card {
  padding: 32px;
}

/* Grid list */
.grid-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  max-width: 900px;
  margin: 0 auto;
}

.grid-list-item {
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
  padding: 20px;
}

.number-tag {
  background: linear-gradient(135deg, var(--color-surface-strong), var(--color-surface-secondary));
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
  font-size: 14px;
  box-shadow: var(--shadow-2);
}

.grid-list-item p {
  font-size: 15px;
  line-height: 1.6;
  color: #f1f2f6;
}

/* Audience Grid list */
.bullet-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.bullet-item {
  border-left: 4px solid var(--color-surface-strong);
  padding: 16px 20px;
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: #f1f2f6;
}

.notice-box {
  padding: 24px;
  line-height: 1.6;
  font-size: 14.5px;
}

.notice-box strong {
  color: var(--color-surface-gold);
}

/* Curriculum Grid */
.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.curriculum-card-header {
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.time-tag {
  background: rgba(139, 61, 255, 0.15);
  color: #c094ff;
  border-radius: var(--radius-md);
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 700;
}

.curriculum-card-body {
  padding: 24px;
  flex: 1;
}

.curriculum-card-body h4 {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: var(--space-5);
}

.curriculum-card-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.curriculum-card-body li {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-secondary);
  position: relative;
  padding-left: 16px;
}

.curriculum-card-body li::before {
  content: '•';
  color: var(--color-surface-gold);
  font-weight: 800;
  position: absolute;
  left: 0;
  top: 0;
}

/* Speakers Section Layout (รูปภาพพอดีกรอบอย่างสวยงามระดับมืออาชีพ) */
.speakers-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 576px) {
  .speakers-layout {
    grid-template-columns: 1fr;
  }
}

.speaker-card-item {
  display: flex;
  flex-direction: column;
}

.speaker-img-container {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.02);
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.speaker-img-container img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* ปรับรูปภาพวิทยากรและที่ปรึกษาให้เต็มพอดีกรอบตามเงื่อนไข */
  background-color: transparent;
  display: block;
}

.speaker-info-container {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}

.speaker-role-label {
  color: var(--color-surface-gold);
  font-size: var(--font-size-xl);
  font-weight: 700;
  text-transform: uppercase;
}

.speaker-name-title {
  color: white;
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 2px;
}

.role-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

/* Tools layout */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.tool-item {
  padding: 20px 24px;
}

.tool-name {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.tool-role {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

/* Expected Outcomes Layout */
.outcomes-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.outcome-card {
  padding: 20px 24px;
  line-height: 1.6;
  font-size: 14px;
  color: #f1f2f6;
}

/* KPIs / Success Indicators */
.indicators-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.indicator-group {
  padding: 24px;
}

.indicator-group h3 {
  color: white;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--color-surface-strong);
  padding-bottom: 8px;
}

.indicator-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.indicator-group li {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-secondary);
  position: relative;
  padding-left: 16px;
}

.indicator-group li::before {
  content: '✓';
  color: var(--color-surface-gold);
  font-weight: 800;
  position: absolute;
  left: 0;
  top: 0;
}

/* Details Tables */
.table-container {
  width: 100%;
  overflow-x: auto;
  max-width: 800px;
  margin: 0 auto;
}

.details-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: transparent;
}

.details-table th, 
.details-table td {
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14.5px;
  color: #f1f2f6;
}

.details-table th {
  width: 240px;
  background-color: rgba(255, 255, 255, 0.02);
  color: white;
  font-weight: 700;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.map-link {
  color: var(--color-surface-gold);
  text-decoration: underline;
  font-weight: 700;
  display: inline-block;
  margin-top: var(--space-1);
}

.map-link:hover {
  color: white;
}

@media (max-width: 576px) {
  .details-table th {
    width: auto;
    display: block;
    border-right: none;
    background-color: rgba(255, 255, 255, 0.04);
  }
  .details-table td {
    display: block;
  }
}

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

/* Footer */
footer {
  padding: 40px 0;
  background-color: #040507;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--color-text-secondary);
  font-size: 12px;
}

/* Scroll Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@supports ((animation-timeline: view()) and (animation-range: entry)) {
  @media (prefers-reduced-motion: no-preference) {
    @keyframes reveal-up {
      from { opacity: 0; transform: translateY(40px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    .scroll-animate {
      animation: reveal-up auto linear forwards;
      animation-timeline: view();
      animation-range: entry 10% cover 30%;
    }
  }
}
