:root {
  --stanford-red: #DE4F38;
  --stanford-teal: #017C92;
  --stanford-purple: #611C59;
  --stanford-coral: #E67B6A;
  --stanford-light-blue: #80BEC9;
  --stanford-dark-gray: #2E2D29;
  --stanford-medium-gray: #54565A;
  --text-dark: #2E2D29;
  --text-muted: #6c757d;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* AI Flash Lab Wordmark */
.wordmark {
  display: inline;
  font-weight: 700;
  text-decoration: none;
  color: #e85a33; /* your accent orange */
  font-size: 1.25rem; /* adjust as needed */
  transition: color 0.2s ease;
}

.wordmark:hover {
  color: #c94a28;
}

.wordmark .flash {
  position: relative;
}

/* Four-pointed AI star */
.wordmark .flash::after {
  content: '';
  position: absolute;
  top: -0.1em;
  right: -0.2em;
  width: 0.5em;
  height: 0.5em;
  background: currentColor;
  clip-path: polygon(
    50% 0%,
    62% 38%,
    100% 50%,
    62% 62%,
    50% 100%,
    38% 62%,
    0% 50%,
    38% 38%
  );
  opacity: 0.9;
}

/* Hero variant */
.hero .wordmark,
h1 .wordmark {
  font-size: inherit;
  color: #ffffff;
}

.hero .wordmark:hover,
h1 .wordmark:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* Decorative Rings Background */
.rings-background {
  position: fixed;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.08;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--stanford-red);
}

.ring:nth-child(1) {
  width: 150px;
  height: 150px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-color: var(--stanford-red);
}

.ring:nth-child(2) {
  width: 250px;
  height: 250px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-color: var(--stanford-teal);
}

.ring:nth-child(3) {
  width: 350px;
  height: 350px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-color: var(--stanford-purple);
}

.ring:nth-child(4) {
  width: 450px;
  height: 450px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-color: var(--stanford-coral);
}

.rings-background-bottom {
  position: fixed;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.06;
}

.rings-background-bottom .ring {
  border-width: 3px;
}

/* Top Border */
.top-border {
  height: 5px;
  background: #820000;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
}

/* Sticky Navigation Bar */
.sticky-nav {
  position: fixed;
  top: 5px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 0.75rem 0;
}

.sticky-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
}

.nav-brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--stanford-red);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
  z-index: 1001;
}

.nav-brand:hover {
  color: var(--stanford-teal);
}

.nav-brand i {
  font-size: 1.25rem;
}

/* Hamburger Menu Button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--stanford-red);
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  transition: color 0.3s ease;
}

.nav-toggle:hover {
  color: var(--stanford-teal);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-links a:hover {
  color: var(--stanford-red);
}

.nav-links a i {
  font-size: 1rem;
}

/* Adjust main content to account for sticky nav */
body.has-nav main {
  padding-top: 65px;
}

/* Main Content */
main {
  position: relative;
  z-index: 1;
  padding-top: 20px;
}

.container {
  max-width: 1200px;
}

/* Header */
.header {
  text-align: center;
  padding: 2rem 1rem;
}

.header h1 {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--stanford-red) 0%, var(--stanford-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.header h1 .flash {
  position: relative;
  background: linear-gradient(135deg, var(--stanford-red) 0%, var(--stanford-teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.header h1 .flash::after {
  content: '';
  position: absolute;
  top: -0.1em;
  right: -0.2em;
  width: 0.5em;
  height: 0.5em;
  background: var(--stanford-teal);
  clip-path: polygon(
    50% 0%,
    62% 38%,
    100% 50%,
    62% 62%,
    50% 100%,
    38% 62%,
    0% 50%,
    38% 38%
  );
}

.header .subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  font-weight: 400;
  max-width: 700px;
  margin: 0 auto;
}

.header .logo-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1rem;
  font-weight: 500;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, rgba(222, 79, 56, 0.05) 0%, rgba(1, 124, 146, 0.05) 100%);
  border-radius: 20px;
  padding: 3rem 2rem;
  margin-bottom: 3rem;
  border: 1px solid rgba(222, 79, 56, 0.1);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(222, 79, 56, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-section .content {
  position: relative;
  z-index: 1;
}

.hero-section h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--stanford-red);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-section p {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0;
  line-height: 1.8;
}

/* Responsive iframe container */
.responsive-iframe-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 3rem;
  padding-bottom: 25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.responsive-iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Resource Cards */
.resource-cards {
  margin-bottom: 4rem;
}

.resource-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.resource-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--card-color) 0%, var(--card-color-light) 100%);
}

.resource-card.principles {
  --card-color: var(--stanford-red);
  --card-color-light: var(--stanford-coral);
}

.resource-card.facilitation {
  --card-color: var(--stanford-teal);
  --card-color-light: var(--stanford-light-blue);
}

.resource-card.community {
  --card-color: var(--stanford-purple);
  --card-color-light: #885583;
}

.resource-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.resource-card .icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: block;
  color: var(--card-color);
}

.resource-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.resource-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem 1rem 3rem;
  color: var(--text-muted);
}

.footer .help-text {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.footer .help-text a {
  color: var(--stanford-teal);
  text-decoration: none;
  font-weight: 500;
}

.footer .help-text a:hover {
  text-decoration: underline;
}

.footer .copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer .sal-link {
  color: var(--stanford-red);
  text-decoration: none;
  font-weight: 500;
}

.footer .sal-link:hover {
  text-decoration: underline;
}

/* 404 Page Specific Styles */
.error-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 1rem;
}

.error-card {
  background: white;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.error-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--stanford-red) 0%, var(--stanford-coral) 50%, var(--stanford-teal) 100%);
}

.error-number {
  font-size: 6rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--stanford-red) 0%, var(--stanford-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.error-card h1 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.error-card p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.error-card .btn-home {
  display: inline-block;
  background: linear-gradient(135deg, var(--stanford-red) 0%, var(--stanford-coral) 100%);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(222, 79, 56, 0.3);
}

.error-card .btn-home:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(222, 79, 56, 0.4);
}

.error-icon {
  font-size: 4rem;
  color: var(--stanford-coral);
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Show hamburger menu */
  .nav-toggle {
    display: block;
  }

  /* Hide nav links by default on mobile */
  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  }

  /* Show nav links when active */
  .nav-links.active {
    max-height: 400px;
    opacity: 1;
    padding: 1rem 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-links a:hover {
    background: rgba(222, 79, 56, 0.05);
  }

  .nav-brand {
    font-size: 0.95rem;
  }

  body.has-nav main {
    padding-top: 55px;
  }

  .header h1 {
    font-size: 2rem;
  }

  .header .subtitle {
    font-size: 1rem;
  }

  .hero-section {
    padding: 2rem 1.5rem;
  }

  .hero-section h2 {
    font-size: 1.5rem;
  }

  .hero-section p {
    font-size: 1rem;
  }

  .responsive-iframe-container {
    padding-bottom: 100%;
    border-radius: 12px;
  }

  .resource-card {
    padding: 2rem 1.5rem;
    margin-bottom: 1.5rem;
  }

  .resource-card .icon {
    font-size: 3rem;
  }

  .rings-background,
  .rings-background-bottom {
    display: none;
  }

  .error-number {
    font-size: 4rem;
  }

  .error-card h1 {
    font-size: 1.5rem;
  }

  .error-card p {
    font-size: 1rem;
  }

  .error-card {
    padding: 2rem 1.5rem;
  }
}

/* Toolkit File Tree Styles */
.toolkit-files {
  margin-bottom: 4rem;
}

.toolkit-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.toolkit-header h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--stanford-red);
  margin-bottom: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.toolkit-header h2 i {
  font-size: 1.75rem;
}

.toolkit-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0;
}

.file-tree-code {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.file-tree-code pre {
  margin: 0;
  padding: 2rem;
  background: #f8f9fa;
  border-left: 4px solid var(--stanford-teal);
}

.file-tree-code code {
  font-family: 'Monaco', 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-dark);
  display: block;
}

/* Toolkit Navigation Guide */
.toolkit-navigation {
  margin-bottom: 4rem;
}

.toolkit-navigation h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--stanford-red);
  margin-bottom: 0.5rem;
  text-align: center;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  justify-content: center;
}

.toolkit-navigation h2 i {
  font-size: 1.75rem;
}

.navigation-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 2rem;
  font-style: italic;
}

.navigation-table-container {
  max-width: 1000px;
  margin: 0 auto;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.navigation-table {
  margin: 0;
  width: 100%;
}

.navigation-table thead {
  background: linear-gradient(135deg, var(--stanford-red) 0%, var(--stanford-coral) 100%);
  color: white;
}

.navigation-table thead th {
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  border: none;
  text-align: left;
}

.navigation-table tbody tr {
  border-bottom: 1px solid #e9ecef;
  transition: background-color 0.2s ease;
}

.navigation-table tbody tr:last-child {
  border-bottom: none;
}

.navigation-table tbody tr:hover {
  background-color: rgba(1, 124, 146, 0.05);
}

.navigation-table tbody td {
  padding: 1rem 1.5rem;
  vertical-align: middle;
  border: none;
}

.navigation-table tbody td:first-child {
  color: var(--text-dark);
  font-size: 1rem;
}

.navigation-table tbody td:last-child {
  color: var(--stanford-teal);
}

.navigation-table tbody td strong {
  font-weight: 600;
}

/* Index Page Specific Styles */

/* Hero Banner */
.hero-banner {
  background: linear-gradient(135deg, rgba(1, 124, 146, 0.9) 0%, rgba(128, 190, 201, 0.75) 100%);
  padding: 4rem 2rem;
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.hero-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  color: white;
  text-align: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.hero-content .lead {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 2rem;
  opacity: 0.95;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.9;
  max-width: 800px;
  margin: 0 auto 2rem;
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.cta-btn {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-btn-primary {
  background: white;
  color: var(--stanford-red);
}

.cta-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
  color: var(--stanford-red);
}

.cta-btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
}

.cta-btn-secondary:hover {
  background: white;
  color: var(--stanford-red);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

/* Format Section */
.format-section {
  background: linear-gradient(135deg, rgba(222, 79, 56, 0.03) 0%, rgba(1, 124, 146, 0.03) 100%);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  margin-bottom: 4rem;
  border: 1px solid rgba(222, 79, 56, 0.1);
}

.format-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--stanford-red);
  margin-bottom: 2rem;
  text-align: center;
}

.format-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.format-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  border-left: 4px solid var(--stanford-teal);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.format-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.format-card.active {
  border-left-width: 6px;
  background: linear-gradient(135deg, rgba(222, 79, 56, 0.05) 0%, rgba(1, 124, 146, 0.05) 100%);
  box-shadow: 0 6px 20px rgba(1, 124, 146, 0.2);
}

.format-card.active::after {
  content: '\F26A';
  font-family: 'bootstrap-icons';
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  color: var(--stanford-teal);
}

.format-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--stanford-teal);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.format-card h3 i {
  font-size: 1.75rem;
}

/* Help Choose Button */
.help-choose-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem auto 0;
  padding: 0.875rem 1.75rem;
  background: white;
  color: var(--stanford-teal);
  border: 2px solid var(--stanford-teal);
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(1, 124, 146, 0.2);
}

.help-choose-btn:hover {
  background: var(--stanford-teal);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(1, 124, 146, 0.3);
}

.help-choose-container {
  text-align: center;
}

/* Modal Styles */
.modal-header {
  background: linear-gradient(135deg, var(--stanford-red) 0%, var(--stanford-coral) 50%, var(--stanford-teal) 100%);
  color: white;
  border-bottom: none;
  padding: 2rem;
}

.modal-header .btn-close {
  filter: brightness(0) invert(1);
}

.modal-title {
  font-size: 1.75rem;
  font-weight: 700;
}

.modal-body {
  padding: 2rem;
}

.version-comparison {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.version-section h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid;
}

.version-section.two-hour h4 {
  color: var(--stanford-red);
  border-bottom-color: var(--stanford-red);
}

.version-section.three-hour h4 {
  color: var(--stanford-teal);
  border-bottom-color: var(--stanford-teal);
}

.version-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.version-section li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.version-section li i {
  color: #28a745;
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.modal-footer-note {
  background: linear-gradient(135deg, rgba(222, 79, 56, 0.05) 0%, rgba(1, 124, 146, 0.05) 100%);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* FAQ Section */
.faq-section {
  margin-bottom: 4rem;
  margin-top: 4rem;
}

.faq-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.faq-accordion .accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.faq-accordion .accordion-button {
  background: white;
  color: var(--text-dark);
  font-size: 1.15rem;
  font-weight: 600;
  padding: 1.5rem;
  border: none;
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, rgba(222, 79, 56, 0.05) 0%, rgba(1, 124, 146, 0.05) 100%);
  color: var(--stanford-red);
}

.faq-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.faq-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23DE4F38'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-accordion .accordion-body {
  padding: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.faq-accordion .accordion-body strong {
  color: var(--stanford-teal);
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.faq-accordion .accordion-body ul {
  margin-left: 1.5rem;
  margin-top: 0.75rem;
}

.faq-accordion .accordion-body ul li {
  margin-bottom: 0.5rem;
}

.faq-question-icon {
  color: var(--stanford-red);
  margin-right: 0.75rem;
  font-size: 1.25rem;
}

/* Workshop at a Glance */
.workshop-glance {
  margin-bottom: 4rem;
  margin-top: 4rem;
}

.workshop-glance h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Timeline Display */
.timeline-display {
  max-width: 900px;
  margin: 0 auto 3rem;
}

.timeline-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  border-top: 5px solid;
}

.timeline-card.two-hour {
  border-top-color: var(--stanford-red);
}

.timeline-card.three-hour {
  border-top-color: var(--stanford-teal);
}

.timeline-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: -50px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  opacity: 0.05;
}

.timeline-card.two-hour::before {
  background: var(--stanford-red);
}

.timeline-card.three-hour::before {
  background: var(--stanford-teal);
}

.timeline-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.timeline-icon {
  font-size: 3rem;
}

.timeline-card.two-hour .timeline-icon i {
  color: var(--stanford-red);
}

.timeline-card.three-hour .timeline-icon i {
  color: var(--stanford-teal);
}

.timeline-title h3 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}

.timeline-card.two-hour .timeline-title h3 {
  color: var(--stanford-red);
}

.timeline-card.three-hour .timeline-title h3 {
  color: var(--stanford-teal);
}

.timeline-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.timeline-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #f0f0f0;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.meta-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.meta-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
}

.timeline-schedule {
  margin-top: 1.5rem;
}

.timeline-schedule h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.schedule-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1rem;
  background: #f8f9fa;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  transition: all 0.2s ease;
}

.schedule-item:hover {
  background: #e9ecef;
  transform: translateX(5px);
}

.schedule-time {
  font-family: 'Monaco', 'Courier New', monospace;
  font-weight: 700;
  font-size: 0.95rem;
  min-width: 100px;
}

.timeline-card.two-hour .schedule-time {
  color: var(--stanford-red);
}

.timeline-card.three-hour .schedule-time {
  color: var(--stanford-teal);
}

.schedule-arrow {
  color: var(--text-muted);
  font-weight: 700;
}

.schedule-activity {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 500;
}

/* Principles Section */
.principles-section {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 3rem;
}

.principles-section h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--stanford-teal);
  margin-bottom: 2rem;
  text-align: center;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.principle-emoji {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  color: var(--stanford-teal);
}

.principle-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.principle-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Key Difference */
.key-difference {
  background: linear-gradient(135deg, var(--stanford-red) 0%, var(--stanford-coral) 50%, var(--stanford-teal) 100%);
  padding: 2rem;
  border-radius: 16px;
  color: white;
  text-align: center;
  margin-bottom: 3rem;
}

.key-difference h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.difference-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.difference-item {
  background: rgba(255, 255, 255, 0.15);
  padding: 1.5rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.difference-version {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.difference-version i {
  font-size: 1.5rem;
}

.difference-desc {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.95;
}

/* Outcomes Section */
.outcomes-section {
  margin-bottom: 4rem;
}

.outcomes-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--stanford-red);
  margin-bottom: 2rem;
  text-align: center;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.outcome-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.outcome-item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.outcome-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--stanford-red) 0%, var(--stanford-coral) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.outcome-text {
  font-size: 1.05rem;
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.6;
}

/* Hats Section */
.hats-section {
  margin-bottom: 4rem;
}

.hats-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3rem;
  text-align: center;
}

.hats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.hat-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transition: all 0.4s ease;
  background: white;
}

.hat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.hat-image-container {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.hat-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hat-card:hover .hat-image-container img {
  transform: scale(1.05);
}

.hat-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
}

.hat-title {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 2;
}

.hat-title h3 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hat-content {
  padding: 2rem;
}

.hat-description {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-weight: 500;
}

.hat-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: linear-gradient(135deg, var(--stanford-red) 0%, var(--stanford-coral) 100%);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(222, 79, 56, 0.3);
}

.hat-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(222, 79, 56, 0.4);
  color: white;
}

.hat-card.designer .hat-cta {
  background: linear-gradient(135deg, var(--stanford-red) 0%, var(--stanford-coral) 100%);
}

.hat-card.builder .hat-cta {
  background: linear-gradient(135deg, var(--stanford-teal) 0%, var(--stanford-light-blue) 100%);
}

.hat-card.advocate .hat-cta {
  background: linear-gradient(135deg, var(--stanford-purple) 0%, #885583 100%);
}

/* Index Page Responsive Styles */
@media (max-width: 992px) {
  .principles-grid,
  .difference-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .version-comparison {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content .lead {
    font-size: 1.25rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-btn {
    justify-content: center;
  }

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

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

  .hats-section h2 {
    font-size: 2rem;
  }
}

/* Accessibility */
.visually-hidden-focusable:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.visually-hidden-focusable:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1050;
  width: auto;
  height: auto;
  padding: 15px 20px;
  background-color: white;
  color: var(--stanford-red);
  font-weight: 600;
  border: 2px solid var(--stanford-red);
  border-radius: 8px;
  outline: none;
  clip: auto;
  white-space: normal;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Hat Card Buttons */
.hat-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.hat-details-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: white;
  color: var(--stanford-teal);
  border: 2px solid var(--stanford-teal);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.hat-details-btn:hover {
  background: var(--stanford-teal);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(1, 124, 146, 0.2);
}

.hat-details-btn i {
  font-size: 1.1rem;
}

/* Hat Detail Modals */
.modal-header {
  background: linear-gradient(135deg, var(--stanford-red) 0%, var(--stanford-coral) 100%);
  color: white;
  border-bottom: none;
  padding: 1.5rem 2rem;
  border-radius: 12px 12px 0 0;
}

.modal-title {
  font-size: 1.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.modal-title i {
  font-size: 2rem;
}

.modal-body {
  padding: 2rem;
  color: var(--text-dark);
}

.modal-mission {
  font-size: 1.15rem;
  color: var(--stanford-red);
  margin-bottom: 2rem;
  padding: 1rem;
  background: rgba(222, 79, 56, 0.05);
  border-left: 4px solid var(--stanford-red);
  border-radius: 4px;
}

.modal-section {
  margin-bottom: 2.5rem;
}

.modal-section h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--stanford-teal);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-section h3 i {
  font-size: 1.4rem;
}

.modal-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--stanford-purple);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.modal-section ul {
  list-style: none;
  padding-left: 0;
}

.modal-section ul li {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  line-height: 1.7;
}

.modal-section ul li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--stanford-coral);
  font-weight: 700;
}

.modal-section ol {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.modal-section ol li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.boost-intro {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--stanford-purple);
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  background: rgba(97, 28, 89, 0.05);
  border-radius: 6px;
}

.example-box {
  background: linear-gradient(135deg, rgba(1, 124, 146, 0.05) 0%, rgba(128, 190, 201, 0.05) 100%);
  border-left: 4px solid var(--stanford-teal);
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.example-box p {
  margin-bottom: 1rem;
}

.example-box p:last-child {
  margin-bottom: 0;
}

.example-box strong {
  color: var(--stanford-teal);
  font-weight: 700;
}

.example-box em {
  color: var(--stanford-purple);
  font-style: italic;
}

.example-box ol,
.example-box ul {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.example-box ol li,
.example-box ul li:before {
  color: var(--text-dark);
}

/* Modal Specific Overrides */
#builderModal .modal-header {
  background: linear-gradient(135deg, var(--stanford-purple) 0%, var(--stanford-teal) 100%);
}

#advocateModal .modal-header {
  background: linear-gradient(135deg, var(--stanford-teal) 0%, var(--stanford-light-blue) 100%);
}

/* Modal Dialog Sizing */
.modal-dialog-scrollable {
  max-height: calc(100vh - 3.5rem);
}

.modal-dialog-scrollable .modal-body {
  overflow-y: auto;
  max-height: calc(100vh - 250px);
}

/* Close Button */
.btn-close-white {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.btn-close-white:hover {
  opacity: 1;
}

/* Responsive Modal Adjustments */
@media (max-width: 768px) {
  .modal-dialog {
    margin: 1rem;
  }

  .modal-body {
    padding: 1.5rem;
  }

  .modal-title {
    font-size: 1.4rem;
  }

  .modal-title i {
    font-size: 1.5rem;
  }

  .modal-section h3 {
    font-size: 1.15rem;
  }

  .hat-buttons {
    gap: 0.5rem;
  }

  .hat-details-btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
  }
}

/* Hero Subtitle */
.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--stanford-teal);
  font-style: italic;
  margin-bottom: 1.5rem;
  margin-top: -0.5rem;
}

/* Example Applications Section */
.applications-section {
  margin: 4rem 0;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(1, 124, 146, 0.03) 0%, rgba(222, 79, 56, 0.03) 100%);
  border-radius: 16px;
}

.applications-section h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--stanford-red);
  font-size: 2rem;
}

.applications-intro {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.applications-categories {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.application-category {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.category-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--stanford-teal);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.category-title i {
  font-size: 1.75rem;
}

.application-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

.application-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: default;
  position: relative;
}

.application-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--stanford-teal);
}

.application-card.featured {
  border: 2px solid var(--stanford-red);
  background: linear-gradient(135deg, rgba(222, 79, 56, 0.05) 0%, rgba(230, 123, 106, 0.05) 100%);
}

.application-card.featured:hover {
  border-color: var(--stanford-red);
  box-shadow: 0 6px 20px rgba(222, 79, 56, 0.2);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--stanford-teal);
  margin-bottom: 0.75rem;
}

.application-card.featured .card-icon {
  color: var(--stanford-red);
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
}

.featured-badge {
  display: inline-block;
  background: var(--stanford-red);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  margin-top: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.applications-footer {
  text-align: center;
  margin-top: 3rem;
}

.examples-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: var(--stanford-teal);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
}

.examples-link:hover {
  background: var(--stanford-purple);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(1, 124, 146, 0.3);
}

.examples-link i {
  font-size: 1.2rem;
}

/* Responsive Applications Section */
@media (max-width: 768px) {
  .applications-section {
    padding: 2rem 1rem;
    margin: 2rem 0;
  }

  .applications-section h2 {
    font-size: 1.5rem;
  }

  .applications-intro {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .applications-categories {
    gap: 2rem;
  }

  .application-category {
    padding: 1.5rem;
  }

  .category-title {
    font-size: 1.25rem;
  }

  .application-cards {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .application-card {
    padding: 1.25rem 1rem;
  }

  .card-icon {
    font-size: 2rem;
  }

  .card-title {
    font-size: 0.95rem;
  }
}

/* Examples Page Styles */
.examples-grid-section {
  margin: 3rem 0;
}

.example-card {
  background: white;
  border-radius: 12px;
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
}

.example-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.example-card.featured-example {
  border: 2px solid var(--stanford-red);
  background: linear-gradient(135deg, rgba(222, 79, 56, 0.02) 0%, rgba(230, 123, 106, 0.02) 100%);
}

.example-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.example-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.example-badge.featured {
  background: var(--stanford-red);
  color: white;
}

.example-category {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.example-category.student-focused {
  background: rgba(1, 124, 146, 0.1);
  color: var(--stanford-teal);
}

.example-category.educator-focused {
  background: rgba(97, 28, 89, 0.1);
  color: var(--stanford-purple);
}

.example-category.infrastructure {
  background: rgba(222, 79, 56, 0.1);
  color: var(--stanford-red);
}

.example-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.example-title i {
  font-size: 2rem;
  color: var(--stanford-teal);
}

.example-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.example-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.detail-section h4 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--stanford-purple);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.detail-section h4 i {
  font-size: 1.25rem;
  color: var(--stanford-coral);
}

.problem-example {
  font-style: italic;
  background: rgba(1, 124, 146, 0.05);
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--stanford-teal);
  border-radius: 4px;
  line-height: 1.7;
}

.detail-section ul {
  list-style: none;
  padding-left: 0;
}

.detail-section ul li {
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  position: relative;
  line-height: 1.6;
}

.detail-section ul li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--stanford-coral);
  font-weight: 700;
}

.detail-section p {
  line-height: 1.7;
  color: var(--text-dark);
}

.detail-section.featured-cta {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(222, 79, 56, 0.2);
}

.example-resource-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--stanford-red) 0%, var(--stanford-coral) 100%);
  color: white;
  padding: 0.875rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(222, 79, 56, 0.25);
}

.example-resource-link:hover {
  color: white;
  box-shadow: 0 4px 16px rgba(222, 79, 56, 0.4);
  transform: translateY(-2px);
}

.example-resource-link i:first-child {
  font-size: 1.1rem;
}

.example-resource-link i:last-child {
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.example-resource-link:hover i:last-child {
  transform: translateX(4px);
}

/* Adaptation Guide Section */
.adaptation-guide-section {
  margin: 4rem 0;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(97, 28, 89, 0.03) 0%, rgba(1, 124, 146, 0.03) 100%);
  border-radius: 16px;
}

.adaptation-guide-section h2 {
  text-align: center;
  color: var(--stanford-red);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.guide-intro {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.adaptation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.adaptation-column {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.adaptation-column.keep {
  border-top: 4px solid var(--stanford-teal);
}

.adaptation-column.customize {
  border-top: 4px solid var(--stanford-purple);
}

.adaptation-column h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.adaptation-column.keep h3 {
  color: var(--stanford-teal);
}

.adaptation-column.customize h3 {
  color: var(--stanford-purple);
}

.adaptation-column ul {
  list-style: none;
  padding-left: 0;
}

.adaptation-column ul li {
  padding-left: 1.75rem;
  margin-bottom: 1rem;
  position: relative;
  line-height: 1.7;
}

.adaptation-column.keep ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--stanford-teal);
  font-weight: 700;
  font-size: 1.2rem;
}

.adaptation-column.customize ul li:before {
  content: "✎";
  position: absolute;
  left: 0;
  color: var(--stanford-purple);
  font-weight: 700;
  font-size: 1.2rem;
}

.adaptation-column ul li strong {
  color: var(--text-dark);
  font-weight: 600;
}

.adaptation-checklist {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border-top: 4px solid var(--stanford-coral);
}

.adaptation-checklist h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--stanford-coral);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.adaptation-checklist ol {
  counter-reset: item;
  list-style-type: none;
  padding-left: 0;
}

.adaptation-checklist ol li {
  counter-increment: item;
  margin-bottom: 2rem;
  padding-left: 3rem;
  position: relative;
}

.adaptation-checklist ol li:before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0;
  background: var(--stanford-coral);
  color: white;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.adaptation-checklist ol li strong {
  display: block;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.adaptation-checklist ol li p {
  margin: 0;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Resources Section */
.resources-section {
  margin: 4rem 0 3rem;
}

.resources-section h2 {
  text-align: center;
  color: var(--stanford-red);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.resources-intro {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 1024px) {
  .resources-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.resource-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
}

.resource-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--stanford-teal);
  transform: translateY(-4px);
}

.resource-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.resource-card h4 i {
  color: var(--stanford-teal);
  font-size: 1.4rem;
}

.resource-card p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--stanford-purple);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.resource-link:hover {
  color: var(--stanford-red);
  gap: 0.75rem;
}

.resource-link i {
  font-size: 0.9rem;
}

/* Featured Resource Card */
.resource-card.featured-resource {
  background: linear-gradient(135deg, var(--stanford-red) 0%, var(--stanford-coral) 100%);
  border: none;
  color: white;
  position: relative;
  overflow: hidden;
}

.resource-card.featured-resource::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.resource-card.featured-resource:hover {
  border-color: transparent;
  box-shadow: 0 8px 30px rgba(222, 79, 56, 0.4);
  transform: translateY(-6px);
}

.resource-card.featured-resource h4 {
  color: white;
}

.resource-card.featured-resource h4 i {
  color: white;
}

.resource-card.featured-resource p {
  color: rgba(255, 255, 255, 0.9);
}

.resource-link.featured-link {
  background: white;
  color: var(--stanford-red);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.resource-link.featured-link:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--stanford-red);
  gap: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Examples CTA Section */
.examples-cta-section {
  margin: 3rem 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--stanford-teal) 0%, var(--stanford-purple) 100%);
  color: white;
  padding: 3rem 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 6px 24px rgba(1, 124, 146, 0.3);
}

.cta-box h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.cta-box p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-box .cta-btn {
  background: white;
  color: var(--stanford-teal);
  border: none;
}

.cta-box .cta-btn:hover {
  background: var(--stanford-coral);
  color: white;
  transform: translateY(-2px);
}

/* Responsive Examples Page */
@media (max-width: 768px) {
  .example-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

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

  .example-title {
    font-size: 1.4rem;
  }

  .example-title i {
    font-size: 1.5rem;
  }

  .example-description {
    font-size: 1rem;
  }

  .adaptation-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .adaptation-column {
    padding: 1.5rem;
  }

  .adaptation-column h3 {
    font-size: 1.2rem;
  }

  .adaptation-checklist {
    padding: 1.5rem;
  }

  .adaptation-checklist ol li {
    padding-left: 2.5rem;
  }

  .adaptation-checklist ol li:before {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 1rem;
  }

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

  .cta-box {
    padding: 2rem 1.5rem;
  }

  .cta-box h3 {
    font-size: 1.5rem;
    flex-direction: column;
  }
}

/* Facilitator Guidance Pages Styles */
.content-article {
  max-width: 900px;
  margin: 0 auto;
}

.content-section {
  margin-bottom: 3rem;
}

.content-section h2 {
  color: var(--stanford-red);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.content-section h3 {
  color: var(--stanford-teal);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

.lead-paragraph {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--stanford-dark-gray);
  margin-bottom: 2rem;
}

.guidance-item {
  background: white;
  border-left: 4px solid var(--stanford-teal);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.guidance-item.warning {
  border-left-color: var(--stanford-coral);
}

.guidance-item h3 {
  color: var(--stanford-teal);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  margin-top: 0;
}

.guidance-item.warning h3 {
  color: var(--stanford-coral);
}

.callout-box {
  background: linear-gradient(135deg, rgba(222, 79, 56, 0.05) 0%, rgba(1, 124, 146, 0.05) 100%);
  border: 2px solid var(--stanford-teal);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.callout-box h3 {
  color: var(--stanford-teal);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  margin-top: 0;
}

.role-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.role-list li {
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  background: #f8f9fa;
  border-radius: 6px;
  border-left: 3px solid var(--stanford-teal);
}

.role-list li strong {
  color: var(--stanford-teal);
}

.protocol-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.protocol-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border-top: 4px solid var(--stanford-teal);
}

.protocol-hat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--stanford-teal);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.protocol-hat i {
  font-size: 1.5rem;
}

.reflection-list {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-top: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.reflection-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.reflection-item:last-child {
  margin-bottom: 0;
}

.reflection-item i {
  color: var(--stanford-purple);
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.warning-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.warning-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border-top: 4px solid var(--stanford-coral);
}

.warning-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--stanford-coral);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.warning-header i {
  font-size: 1.5rem;
}

.related-resources {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 2px solid #e9ecef;
}

.related-resources h2 {
  color: var(--stanford-dark-gray);
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.resource-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.resource-link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(222, 79, 56, 0.05) 0%, rgba(1, 124, 146, 0.05) 100%);
  border: 2px solid #e9ecef;
  border-radius: 12px;
  text-decoration: none;
  color: var(--stanford-teal);
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.resource-link-card:hover {
  border-color: var(--stanford-teal);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(1, 124, 146, 0.15);
}

.resource-link-card i {
  font-size: 2rem;
}

/* Facilitator Guidance Section on Toolkit Page */
.facilitator-guidance-section {
  margin-top: 4rem;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(1, 124, 146, 0.03) 0%, rgba(222, 79, 56, 0.03) 100%);
  border-radius: 16px;
  border: 2px solid rgba(1, 124, 146, 0.1);
}

.facilitator-guidance-section h2 {
  color: var(--stanford-red);
  font-size: 2rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.facilitator-guidance-section .section-intro {
  font-size: 1.1rem;
  color: var(--stanford-medium-gray);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.guidance-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.guidance-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.2s ease;
  border-top: 4px solid var(--stanford-teal);
}

.guidance-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(1, 124, 146, 0.15);
}

.guidance-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.guidance-card-icon {
  font-size: 2rem;
  color: var(--stanford-teal);
}

.guidance-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--stanford-teal);
  margin: 0;
}

.guidance-card-description {
  color: var(--stanford-medium-gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.guidance-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--stanford-red);
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.guidance-card:hover .guidance-card-link {
  gap: 0.75rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .protocol-grid,
  .warning-grid,
  .resource-links,
  .guidance-cards {
    grid-template-columns: 1fr;
  }

  .content-section h2 {
    font-size: 1.5rem;
  }

  .lead-paragraph {
    font-size: 1.1rem;
  }

  .facilitator-guidance-section {
    padding: 2rem 1.5rem;
  }
}
