/*
  THE FORWARD LOOK - Static Site Styles
  Design: Edge of Chaos - Organic Futurism meets Complexity Science
  Colors: Bioluminescent green (#22c55e), Electric violet (#a855f7), Deep space black (#09090b)
*/

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background-color: #09090b;
  color: #fafafa;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button {
  background: transparent;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Oswald', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Typography */
.font-display {
  font-family: 'Oswald', system-ui, sans-serif;
}

.font-body {
  font-family: 'DM Sans', system-ui, sans-serif;
}

/* Colors */
.text-white {
  color: #ffffff;
}

.text-black {
  color: #000000;
}

.text-glow-green {
  color: #22c55e;
}

.text-glow-violet {
  color: #a855f7;
}

.text-white\/30 {
  color: rgba(255, 255, 255, 0.3);
}

.text-white\/40 {
  color: rgba(255, 255, 255, 0.4);
}

.text-white\/50 {
  color: rgba(255, 255, 255, 0.5);
}

.text-white\/60 {
  color: rgba(255, 255, 255, 0.6);
}

.text-white\/70 {
  color: rgba(255, 255, 255, 0.7);
}

.text-white\/80 {
  color: rgba(255, 255, 255, 0.8);
}

.text-white\/90 {
  color: rgba(255, 255, 255, 0.9);
}

.bg-black {
  background-color: #000000;
}

.bg-black\/80 {
  background-color: rgba(0, 0, 0, 0.8);
}

.bg-black\/95 {
  background-color: rgba(0, 0, 0, 0.95);
}

.bg-glow-green {
  background-color: #22c55e;
}

.bg-glow-violet {
  background-color: #a855f7;
}

.bg-white\/5 {
  background-color: rgba(255, 255, 255, 0.05);
}

.bg-white\/10 {
  background-color: rgba(255, 255, 255, 0.1);
}

.bg-red-600 {
  background-color: #dc2626;
}

.hover\:bg-red-700:hover {
  background-color: #b91c1c;
}

.hover\:bg-white\/10:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.border-white\/10 {
  border-color: rgba(255, 255, 255, 0.1);
}

.border-glow-green {
  border-color: #22c55e;
}

.border-glow-green\/20 {
  border-color: rgba(34, 197, 94, 0.2);
}

/* --- Light Mode System --- */
html.light {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --border-color: #e2e8f0;
  --card-bg: #ffffff;
}

html.light body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

html.light .bg-black {
  background-color: var(--bg-primary) !important;
}

html.light .text-white {
  color: var(--text-primary) !important;
}

html.light .text-white\/50,
html.light .text-white\/60,
html.light .text-white\/70,
html.light .text-white\/80 {
  color: var(--text-secondary) !important;
}

/* Component Overrides for Light Mode */
html.light .author-box,
html.light .author-card {
  background: var(--card-bg);
  border-color: var(--border-color);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

html.light .author-box-name,
html.light .author-box-name a,
html.light .author-card h2,
html.light .author-card h2 span {
  color: var(--text-primary) !important;
  -webkit-text-fill-color: initial !important;
  background: none !important;
}

html.light .author-box-bio,
html.light .author-card p {
  color: var(--text-secondary) !important;
}

html.light .episode-transcript {
  background: var(--card-bg);
  border-color: var(--border-color);
  color: var(--text-primary);
}

html.light .episode-transcript h1,
html.light .episode-transcript h2,
html.light .episode-transcript h3,
html.light .episode-transcript p,
html.light .episode-transcript li {
  color: var(--text-primary) !important;
}

html.light .episode-transcript blockquote {
  background: var(--bg-secondary);
  color: var(--text-secondary);
}

html.light nav.nav-enhanced {
  background: rgba(248, 250, 252, 0.9);
  border-bottom-color: var(--border-color);
}

html.light .nav-link,
html.light .nav-brand span {
  color: var(--text-primary) !important;
}

html.light footer {
  background: var(--text-primary) !important;
}

html.light footer * {
  color: var(--bg-primary) !important;
}

/* --- End Light Mode System --- */

/* Layout */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.py-32 {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.pt-8 {
  padding-top: 2rem;
}

.pt-20 {
  padding-top: 5rem;
}

.pt-24 {
  padding-top: 6rem;
}

.pb-2 {
  padding-bottom: 0.5rem;
}

.pb-12 {
  padding-bottom: 3rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-6 {
  padding: 1.5rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-12 {
  gap: 3rem;
}

.space-y-2>*+* {
  margin-top: 0.5rem;
}

.space-y-4>*+* {
  margin-top: 1rem;
}

/* Flexbox */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

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

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

.justify-between {
  justify-content: space-between;
}

/* Grid */
.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Display */
.block {
  display: block;
}

.inline-flex {
  display: inline-flex;
}

.hidden {
  display: none;
}

/* Position */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.sticky {
  position: sticky;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.top-0 {
  top: 0;
}

.top-24 {
  top: 6rem;
}

.left-0 {
  left: 0;
}

.right-0 {
  right: 0;
}

.z-10 {
  z-index: 10;
}

.z-50 {
  z-index: 50;
}

/* Sizing */
.w-full {
  width: 100%;
}

.w-3 {
  width: 0.75rem;
}

.w-4 {
  width: 1rem;
}

.w-5 {
  width: 1.25rem;
}

.w-6 {
  width: 1.5rem;
}

.w-8 {
  width: 2rem;
}

.w-12 {
  width: 3rem;
}

.w-16 {
  width: 4rem;
}

.w-24 {
  width: 6rem;
}

.w-96 {
  width: 24rem;
}

.h-3 {
  height: 0.75rem;
}

.h-4 {
  height: 1rem;
}

.h-5 {
  height: 1.25rem;
}

.h-6 {
  height: 1.5rem;
}

.h-8 {
  height: 2rem;
}

.h-12 {
  height: 3rem;
}

.h-20 {
  height: 5rem;
}

.h-96 {
  height: 24rem;
}

.h-full {
  height: 100%;
}

.h-\[2px\] {
  height: 2px;
}

.min-h-screen {
  min-height: 100vh;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-5xl {
  max-width: 64rem;
}

.max-w-7xl {
  max-width: 80rem;
}

/* Typography Sizes */
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-5xl {
  font-size: 3rem;
  line-height: 1;
}

.text-7xl {
  font-size: 4.5rem;
  line-height: 1;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.uppercase {
  text-transform: uppercase;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

.tracking-widest {
  letter-spacing: 0.1em;
}

.leading-relaxed {
  line-height: 1.625;
}

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

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

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.whitespace-nowrap {
  white-space: nowrap;
}

/* Borders */
.border {
  border-width: 1px;
  border-style: solid;
}

.border-t {
  border-top-width: 1px;
  border-top-style: solid;
}

.border-b {
  border-bottom-width: 1px;
  border-bottom-style: solid;
}

.border-l-4 {
  border-left-width: 4px;
  border-left-style: solid;
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-r-lg {
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

/* Effects */
.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.blur-3xl {
  filter: blur(64px);
}

.backdrop-blur-md {
  backdrop-filter: blur(12px);
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-x-auto {
  overflow-x: auto;
}

.object-cover {
  object-fit: cover;
}

.italic {
  font-style: italic;
}

/* Transitions */
.transition-colors {
  transition-property: color, background-color, border-color;
  transition-timing-function: ease;
  transition-duration: 150ms;
}

.transition-all {
  transition-property: all;
  transition-timing-function: ease;
  transition-duration: 150ms;
}

/* Hover States */
.hover\:text-glow-green:hover {
  color: #22c55e;
}

.hover\:text-white:hover {
  color: #ffffff;
}

.group:hover .group-hover\:text-glow-green {
  color: #22c55e;
}

/* Responsive */
@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }

  .md\:hidden {
    display: none;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:flex-row {
    flex-direction: row;
  }

  .md\:text-left {
    text-align: left;
  }

  .md\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }

  .md\:text-7xl {
    font-size: 4.5rem;
    line-height: 1;
  }

  .md\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:col-span-1 {
    grid-column: span 1 / span 1;
  }

  .lg\:col-span-2 {
    grid-column: span 2 / span 2;
  }
}

/* Custom Components */
.section-divider {
  width: 150px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #22c55e, #a855f7, transparent);
  margin: 1.5rem auto;
}

.gradient-text {
  background: linear-gradient(135deg, #22c55e 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Episode Cards - Enhanced Design */
.episode-card-large {
  background: rgba(15, 15, 20, 0.8);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  display: block;
  text-decoration: none;
}

.episode-card-large:hover {
  border-color: rgba(34, 197, 94, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(34, 197, 94, 0.15), 0 0 30px rgba(34, 197, 94, 0.1);
}

.episode-thumbnail-large {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
  overflow: hidden;
}

.episode-thumbnail-large img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #09090b;
  transition: transform 0.5s ease;
}

.episode-card-large:hover .episode-thumbnail-large img {
  transform: scale(1.05);
}

.episode-thumbnail-placeholder-large {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
}

.episode-number-large {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(9, 9, 11, 0.9);
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: 0.5rem;
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #22c55e;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.episode-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 9, 11, 0.9) 0%, rgba(9, 9, 11, 0.3) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.episode-card-large:hover .episode-overlay {
  opacity: 1;
}

.episode-theme {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #22c55e;
  margin-bottom: 0.5rem;
}

.episode-title {
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.episode-card-large:hover .episode-title {
  color: #22c55e;
}

.episode-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.375rem 0.75rem;
  background: rgba(9, 9, 11, 0.9);
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: 0.375rem;
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #22c55e;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.episode-info {
  padding: 1rem 1.25rem;
}

.episode-description {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Sidebar Cards */
.episode-sidebar-card {
  background: rgba(15, 15, 20, 0.8);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s ease;
  display: block;
  text-decoration: none;
}

.episode-sidebar-card:hover {
  border-color: rgba(34, 197, 94, 0.4);
}

.episode-sidebar-thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
  overflow: hidden;
}

.episode-sidebar-number {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.25rem 0.5rem;
  background: rgba(9, 9, 11, 0.9);
  border-radius: 0.25rem;
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: 0.625rem;
  font-weight: 600;
  color: #22c55e;
  text-transform: uppercase;
}

/* Theme Grid */
@media (min-width: 640px) {
  .theme-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 768px) {
  .theme-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1024px) {
  .theme-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

/* Category Cards */
.category-card {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.25rem;
  background: rgba(15, 15, 20, 0.8);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.category-card:hover {
  border-color: rgba(34, 197, 94, 0.5);
  background: rgba(34, 197, 94, 0.1);
  transform: translateY(-2px);
}

.category-name {
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.category-card:hover .category-name {
  color: #22c55e;
}

.category-count {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Video Container */
.episode-video-container {
  position: relative;
  aspect-ratio: 16/9;
  background: #09090b;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.2);
}

/* Transcript */
.episode-transcript {
  padding: 2rem;
  background: rgba(15, 15, 20, 0.5);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 1rem;
}

/* Drop Cap - Stylish first letter for articles */
.episode-transcript>p:first-of-type::first-letter {
  font-family: 'Playfair Display', 'Times New Roman', Georgia, serif;
  font-size: 4.5rem;
  font-weight: 700;
  float: left;
  line-height: 0.8;
  padding-right: 0.75rem;
  padding-top: 0.15rem;
  color: #22c55e;
  text-shadow: 0 0 20px rgba(34, 197, 94, 0.4), 0 0 40px rgba(34, 197, 94, 0.2);
  background: linear-gradient(135deg, #22c55e 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #09090b;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.5), rgba(168, 85, 247, 0.5));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.8), rgba(168, 85, 247, 0.8));
}

/* Selection */
::selection {
  background: rgba(168, 85, 247, 0.4);
  color: #ffffff;
}

/* Background Gradients */
.bg-gradient-to-b {
  background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
}

.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-black {
  --tw-gradient-from: #000000;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(0, 0, 0, 0));
}

.from-\[\#0a0a0a\] {
  --tw-gradient-from: #0a0a0a;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(10, 10, 10, 0));
}

.from-glow-green\/10 {
  --tw-gradient-from: rgba(34, 197, 94, 0.1);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(34, 197, 94, 0));
}

.from-glow-green\/20 {
  --tw-gradient-from: rgba(34, 197, 94, 0.2);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(34, 197, 94, 0));
}

.via-black\/95 {
  --tw-gradient-stops: var(--tw-gradient-from), rgba(0, 0, 0, 0.95), var(--tw-gradient-to, rgba(0, 0, 0, 0));
}

.to-black {
  --tw-gradient-to: #000000;
}

.to-glow-violet\/10 {
  --tw-gradient-to: rgba(168, 85, 247, 0.1);
}

.to-glow-violet\/20 {
  --tw-gradient-to: rgba(168, 85, 247, 0.2);
}

/* Lists */
.list-disc {
  list-style-type: disc;
}

.list-decimal {
  list-style-type: decimal;
}

.list-inside {
  list-style-position: inside;
}


/* ========================================
   ENHANCED DESIGN SYSTEM - Far From Equilibrium
   ======================================== */

/* Hero Section with Neural Network Background */
.hero-neural {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #09090b;
}

.hero-neural::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/public/neural-bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.4;
}

.hero-neural-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(9, 9, 11, 0.7) 70%, rgba(9, 9, 11, 0.95) 100%);
}

/* Gradient Text Variants */
.gradient-text-green {
  background: linear-gradient(135deg, #22c55e 0%, #4ade80 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-violet {
  background: linear-gradient(135deg, #a855f7 0%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-amber {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Pill Badges */
.pill-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 9999px;
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #22c55e;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Hero Title Styles */
.hero-title-main {
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.hero-title-accent {
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #22c55e 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #22c55e;
}

.hero-tagline {
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  font-style: italic;
  color: #a855f7;
}

@media (max-width: 768px) {

  .hero-title-main,
  .hero-title-accent {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .hero-tagline {
    font-size: 1.125rem;
  }
}

/* Button Styles */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.125rem 1.875rem;
  background: #22c55e;
  color: #000000;
  font-family: 'Oswald', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: #4ade80;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.125rem 1.875rem;
  background: transparent;
  color: #ffffff;
  font-family: 'Oswald', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-green {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.125rem 1.875rem;
  background: transparent;
  color: #22c55e;
  font-family: 'Oswald', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0.5rem;
  border: 1px solid rgba(34, 197, 94, 0.5);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-outline-green:hover {
  background: rgba(34, 197, 94, 0.1);
  border-color: #22c55e;
}

/* Content Cards */
.content-card {
  background: rgba(15, 15, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.content-card:hover {
  border-color: rgba(34, 197, 94, 0.3);
  transform: translateY(-2px);
}

.content-card-accent {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(168, 85, 247, 0.08) 100%);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.content-card-accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #22c55e, #a855f7);
}

/* Icon Containers */
.icon-box {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 0.75rem;
  color: #22c55e;
}

.icon-box-violet {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.3);
  color: #a855f7;
}

.icon-box-amber {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  color: #f59e0b;
}

/* Pillar Icons */
.pillar-content {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.pillar-icon {
  width: 160px;
  height: 160px;
  flex-shrink: 0;
  border-radius: 1rem;
  overflow: hidden;
}

.pillar-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

.pillar-text {
  flex: 1;
}

@media (max-width: 640px) {
  .pillar-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .pillar-icon {
    width: 120px;
    height: 120px;
  }
}

/* Pillar Cards */
.pillar-card {
  background: rgba(15, 15, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.pillar-card:hover {
  border-color: rgba(34, 197, 94, 0.3);
}

.pillar-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.pillar-card-link .pillar-card {
  cursor: pointer;
}

.pillar-card-link:hover .pillar-card {
  border-color: rgba(34, 197, 94, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(34, 197, 94, 0.15);
}

.pillar-explore-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #22c55e;
  transition: all 0.3s ease;
}

.pillar-explore-link:hover {
  gap: 0.75rem;
}

.pillar-explore-link-violet {
  color: #a855f7;
}

.pillar-quote {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  background: rgba(34, 197, 94, 0.08);
  border-left: 3px solid #22c55e;
  border-radius: 0 0.5rem 0.5rem 0;
  font-style: italic;
  color: #22c55e;
  font-size: 0.9rem;
  line-height: 1.6;
}

.pillar-quote-violet {
  background: rgba(168, 85, 247, 0.08);
  border-left-color: #a855f7;
  color: #a855f7;
}

.pillar-quote-amber {
  background: rgba(245, 158, 11, 0.08);
  border-left-color: #f59e0b;
  color: #f59e0b;
}

/* Topic Cards */
.topic-card {
  background: rgba(15, 15, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.topic-card:hover {
  border-color: rgba(34, 197, 94, 0.4);
  transform: translateY(-2px);
}

/* Video Cards */
.video-card {
  background: rgba(15, 15, 20, 0.8);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.video-card:hover {
  border-color: rgba(34, 197, 94, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(34, 197, 94, 0.15);
}

.video-thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(168, 85, 247, 0.2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-icon {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 197, 94, 0.2);
  border: 2px solid #22c55e;
  border-radius: 50%;
  color: #22c55e;
  transition: all 0.3s ease;
}

.video-card:hover .video-play-icon {
  background: #22c55e;
  color: #000000;
  transform: scale(1.1);
}

/* Project Cards */
.project-card {
  background: rgba(15, 15, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.project-card:hover {
  border-color: rgba(34, 197, 94, 0.3);
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #22c55e 0%, #a855f7 100%);
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.5rem;
  top: 0.25rem;
  width: 0.75rem;
  height: 0.75rem;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

.timeline-year {
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #22c55e;
  margin-bottom: 0.25rem;
}

.timeline-title {
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
}

/* Author Section */
.author-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, rgba(168, 85, 247, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 2.5rem;
}

@media (max-width: 768px) {
  .author-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.author-image {
  width: 200px;
  height: 200px;
  border-radius: 1rem;
  object-fit: cover;
  border: 2px solid rgba(168, 85, 247, 0.3);
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.2);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 3rem;
  text-align: center;
}

/* Footer Enhanced */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Navigation Enhanced */
.nav-enhanced {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(9, 9, 11, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-link {
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Oswald', system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #22c55e;
}

.nav-link.active {
  color: #22c55e;
}

/* Section Headers */
.section-label {
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #22c55e;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.section-title span {
  background: linear-gradient(135deg, #22c55e 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* About Page Specific */
.about-hero-image {
  position: relative;
}

.about-hero-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 1rem;
  border: 2px solid rgba(168, 85, 247, 0.3);
}

.about-hero-image .secondary-image {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 120px;
  height: 120px;
  border-radius: 0.75rem;
  object-fit: cover;
  border: 2px solid rgba(34, 197, 94, 0.4);
}

/* SVG Icons Inline */
.icon-clock {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-flame {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-brain {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-users {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-zap {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-refresh {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-play {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-youtube {
  width: 1.25rem;
  height: 1.25rem;
}

.icon-linkedin {
  width: 1.25rem;
  height: 1.25rem;
}

.icon-external {
  width: 1rem;
  height: 1rem;
}

.icon-arrow-right {
  width: 1rem;
  height: 1rem;
}

/* Additional Utilities */
.text-balance {
  text-wrap: balance;
}

.aspect-video {
  aspect-ratio: 16/9;
}

.aspect-square {
  aspect-ratio: 1/1;
}

/* Responsive Grid */
@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:gap-12 {
    gap: 3rem;
  }
}


/* ========================================
   MISSING UTILITY CLASSES - Fix Layout Issues
   ======================================== */

/* Grid Columns */
@media (min-width: 1024px) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lg\:gap-20 {
    gap: 5rem;
  }
}

/* Alignment */
.items-start {
  align-items: flex-start;
}

/* Max Width */
.max-w-6xl {
  max-width: 72rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-md {
  max-width: 28rem;
}

/* Spacing */
.space-y-6>*+* {
  margin-top: 1.5rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.pt-32 {
  padding-top: 8rem;
}

.pb-20 {
  padding-bottom: 5rem;
}

.pt-16 {
  padding-top: 4rem;
}

.pb-16 {
  padding-bottom: 4rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* Border */
.border-2 {
  border-width: 2px;
  border-style: solid;
}

.border-glow-violet\/30 {
  border-color: rgba(168, 85, 247, 0.3);
}

/* Display */
@media (min-width: 768px) {
  .md\:inline {
    display: inline;
  }

  .md\:block {
    display: block;
  }
}

/* Hover Underline */
.hover\:underline:hover {
  text-decoration: underline;
}

/* Additional Responsive Grids */
@media (min-width: 768px) {
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Flex Wrap */
.flex-wrap {
  flex-wrap: wrap;
}

/* Additional Spacing */
.gap-20 {
  gap: 5rem;
}

.py-24 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

/* Order */
.order-1 {
  order: 1;
}

.order-2 {
  order: 2;
}

@media (min-width: 768px) {
  .md\:order-1 {
    order: 1;
  }

  .md\:order-2 {
    order: 2;
  }
}

/* Additional Text Colors */
.text-glow-amber {
  color: #f59e0b;
}

/* Additional Backgrounds */
.bg-glow-green\/10 {
  background-color: rgba(34, 197, 94, 0.1);
}

.bg-glow-violet\/10 {
  background-color: rgba(168, 85, 247, 0.1);
}

/* Border Radius */
.rounded-2xl {
  border-radius: 1rem;
}

/* Additional Width/Height */
.w-20 {
  width: 5rem;
}

.h-20 {
  height: 5rem;
}

/* Text Decoration */
.underline {
  text-decoration: underline;
}

/* Opacity */
.opacity-60 {
  opacity: 0.6;
}

.opacity-70 {
  opacity: 0.7;
}

.opacity-80 {
  opacity: 0.8;
}

/* Additional Flex */
.flex-1 {
  flex: 1 1 0%;
}

.shrink-0 {
  flex-shrink: 0;
}

/* Additional Padding */
.p-4 {
  padding: 1rem;
}

.p-8 {
  padding: 2rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* Additional Margins */
.mr-2 {
  margin-right: 0.5rem;
}

.mr-4 {
  margin-right: 1rem;
}

.ml-4 {
  margin-left: 1rem;
}

.my-4 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.my-8 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* Additional Text Sizes */
.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

/* Cursor */
.cursor-pointer {
  cursor: pointer;
}

/* Pointer Events */
.pointer-events-none {
  pointer-events: none;
}

/* Additional Positions */
.bottom-0 {
  bottom: 0;
}

.top-1\/4 {
  top: 25%;
}

.bottom-1\/4 {
  bottom: 25%;
}

.right-1\/4 {
  right: 25%;
}

.left-1\/4 {
  left: 25%;
}

/* Transform */
.transform {
  transform: translateX(var(--tw-translate-x, 0)) translateY(var(--tw-translate-y, 0)) rotate(var(--tw-rotate, 0)) skewX(var(--tw-skew-x, 0)) skewY(var(--tw-skew-y, 0)) scaleX(var(--tw-scale-x, 1)) scaleY(var(--tw-scale-y, 1));
}

.translate-y-0 {
  --tw-translate-y: 0;
}

.hover\:translate-y-\[-2px\]:hover {
  transform: translateY(-2px);
}

.hover\:translate-y-\[-4px\]:hover {
  transform: translateY(-4px);
}

/* Scale */
.scale-100 {
  transform: scale(1);
}

.hover\:scale-105:hover {
  transform: scale(1.05);
}

/* Transition Duration */
.duration-200 {
  transition-duration: 200ms;
}

.duration-300 {
  transition-duration: 300ms;
}

/* Ease */
.ease-in-out {
  transition-timing-function: ease-in-out;
}

/* Ring (Focus) */
.ring-1 {
  box-shadow: 0 0 0 1px var(--tw-ring-color, rgba(59, 130, 246, 0.5));
}

.ring-white\/10 {
  --tw-ring-color: rgba(255, 255, 255, 0.1);
}

/* Additional Hover States */
.hover\:bg-glow-green:hover {
  background-color: #22c55e;
}

.hover\:text-black:hover {
  color: #000000;
}

.hover\:border-glow-green:hover {
  border-color: #22c55e;
}

.hover\:border-glow-green\/50:hover {
  border-color: rgba(34, 197, 94, 0.5);
}

/* Group Hover */
.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}

.group:hover .group-hover\:translate-y-0 {
  transform: translateY(0);
}

/* Additional Visibility */
.invisible {
  visibility: hidden;
}

.visible {
  visibility: visible;
}

/* Aspect Ratios */
.aspect-\[16\/9\] {
  aspect-ratio: 16/9;
}

.aspect-\[4\/3\] {
  aspect-ratio: 4/3;
}

/* Object Fit */
.object-center {
  object-position: center;
}

/* Overflow */
.overflow-y-auto {
  overflow-y: auto;
}

/* Z-Index */
.z-0 {
  z-index: 0;
}

.z-20 {
  z-index: 20;
}

.z-30 {
  z-index: 30;
}

.z-40 {
  z-index: 40;
}

/* SVG Fill/Stroke */
.fill-current {
  fill: currentColor;
}

.stroke-current {
  stroke: currentColor;
}

/* Additional Responsive */
@media (min-width: 640px) {
  .sm\:flex {
    display: flex;
  }

  .sm\:hidden {
    display: none;
  }

  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sm\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .xl\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Print */
@media print {
  .print\:hidden {
    display: none;
  }
}

/* Category cards with thumbnails */
.category-card-with-thumb {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: rgba(15, 15, 20, 0.8);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.category-card-with-thumb:hover {
  border-color: rgba(34, 197, 94, 0.5);
  background: rgba(34, 197, 94, 0.1);
  transform: translateY(-2px);
}

.category-thumb {
  width: 60px;
  height: 45px;
  border-radius: 0.5rem;
  overflow: hidden;
  flex-shrink: 0;
}

.category-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category-card-with-thumb:hover .category-thumb img {
  transform: scale(1.1);
}

.category-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.category-card-with-thumb .category-name {
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.category-card-with-thumb:hover .category-name {
  color: #22c55e;
}

.category-card-with-thumb .category-count {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}


/* Dr. Bob Featured Photo Frame */
.dr-bob-photo-frame {
  position: relative;
  max-width: 400px;
  margin: 3rem auto;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
  border-radius: 1.5rem;
  overflow: hidden;
}

.dr-bob-photo-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 1.5rem;
  padding: 2px;
  background: linear-gradient(135deg, #22c55e 0%, #a855f7 50%, #22c55e 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.dr-bob-photo-frame::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(34, 197, 94, 0.3), transparent, rgba(168, 85, 247, 0.3), transparent);
  animation: rotate-glow 8s linear infinite;
  opacity: 0.5;
  pointer-events: none;
}

@keyframes rotate-glow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.dr-bob-photo-inner {
  position: relative;
  z-index: 1;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(34, 197, 94, 0.15),
    inset 0 0 60px rgba(0, 0, 0, 0.3);
}

.dr-bob-photo-inner img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.dr-bob-photo-frame:hover .dr-bob-photo-inner img {
  transform: scale(1.02);
}

.dr-bob-photo-caption {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 1.5rem 1rem 0.5rem;
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.025em;
}

.dr-bob-photo-caption span {
  color: #22c55e;
}

.dr-bob-photo-subcaption {
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
  margin-top: 0.25rem;
}


/* Author Box Styling */
.author-box {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  margin: 2rem 0;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(168, 85, 247, 0.08) 100%);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.author-box:hover {
  border-color: rgba(34, 197, 94, 0.4);
  box-shadow: 0 10px 40px rgba(34, 197, 94, 0.1);
}

.author-box-photo {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(34, 197, 94, 0.3);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
}

.author-box-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-box-content {
  flex: 1;
  min-width: 0;
}

.author-box-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.25rem;
}

.author-box-name {
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.author-box-name a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.author-box-name a:hover {
  color: #22c55e;
}

.author-box-bio {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.author-box-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #22c55e;
  text-decoration: none;
  transition: all 0.3s ease;
}

.author-box-link:hover {
  gap: 0.75rem;
  color: #4ade80;
}

/* Article Signature */
.article-signature {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 0;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.article-signature img {
  max-width: 200px;
  height: auto;
  opacity: 0.9;
  filter: drop-shadow(0 0 10px rgba(34, 197, 94, 0.2));
}

.article-signature-caption {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .author-box-photo {
    width: 100px;
    height: 100px;
  }
}


/* FAQ Accordion Styles */
.faq-section {
  margin: 3rem 0;
  padding: 2rem;
  background: rgba(34, 197, 94, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.faq-section h2 {
  color: #22c55e;
  margin-bottom: 1.5rem;
  font-family: 'Oswald', sans-serif;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
  font-family: 'DM Sans', sans-serif;
}

.faq-question:hover {
  background: rgba(34, 197, 94, 0.1);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: #22c55e;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
  margin: 0;
}


/* Articles Grid - Desktop */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1023px) and (min-width: 768px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .articles-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
}

/* Mobile List View for Articles */
@media (max-width: 767px) {

  /* Convert article grid to single column list */
  .episode-grid,
  .articles-grid,
  .grid.grid-cols-1.sm\\:grid-cols-2.lg\\:grid-cols-3 {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    grid-template-columns: none !important;
  }

  /* Convert cards to horizontal list items */
  .episode-card-large {
    display: flex !important;
    flex-direction: row !important;
    border-radius: 0.75rem !important;
    overflow: hidden;
    background: rgba(15, 15, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .episode-card-large:hover {
    transform: none !important;
  }

  /* Thumbnail becomes small square on left */
  .episode-thumbnail-large {
    width: 100px !important;
    min-width: 100px !important;
    max-width: 100px !important;
    aspect-ratio: 1/1 !important;
    flex-shrink: 0;
  }

  .episode-thumbnail-large img {
    object-fit: cover !important;
  }

  /* Episode badge smaller */
  .episode-badge {
    font-size: 0.625rem !important;
    padding: 0.25rem 0.5rem !important;
    top: 0.5rem !important;
    left: 0.5rem !important;
  }

  /* Info section takes remaining space */
  .episode-info {
    flex: 1;
    padding: 0.75rem 1rem !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
  }

  /* Theme/category smaller */
  .episode-theme {
    font-size: 0.625rem !important;
    margin-bottom: 0.25rem !important;
  }

  /* Title smaller and truncated */
  .episode-title {
    font-size: 0.9375rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.375rem !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Description hidden on mobile list view */
  .episode-description {
    display: none !important;
  }

  /* Hide overlay on mobile */
  .episode-overlay {
    display: none !important;
  }

  /* Category cards as list items too */
  .category-grid,
  .grid.grid-cols-2.sm\\:grid-cols-3.md\\:grid-cols-4.lg\\:grid-cols-6 {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
  }

  .category-card {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.875rem 1rem !important;
  }

  .category-name {
    font-size: 0.875rem !important;
  }

  .category-count {
    font-size: 0.75rem !important;
    white-space: nowrap;
  }
}

/* Slightly larger screens - 2 column grid */
@media (min-width: 768px) and (max-width: 1023px) {

  .episode-grid,
  .grid.grid-cols-1.sm\\:grid-cols-2.lg\\:grid-cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* ========================================
   HOMEPAGE LIGHT MODE - Comprehensive Overrides
   ======================================== */

/* Hero Section - Neural Background */
html.light .hero-neural {
  background: var(--bg-primary) !important;
}

html.light .hero-neural::before {
  opacity: 0.15 !important;
  filter: invert(1) hue-rotate(180deg);
}

html.light .hero-neural-overlay {
  background: radial-gradient(ellipse at center, transparent 0%, rgba(248, 250, 252, 0.5) 70%, rgba(248, 250, 252, 0.9) 100%) !important;
}

html.light .hero-title-main {
  color: var(--text-primary) !important;
}

/* Override all sections with inline dark backgrounds */
html.light section[style*="background: #09090b"],
html.light section[style*="background:#09090b"],
html.light section[style*="background: linear-gradient"] {
  background: var(--bg-primary) !important;
}

/* Pill Badge */
html.light .pill-badge {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.4);
}

/* Content Cards */
html.light .content-card {
  background: var(--card-bg);
  border-color: var(--border-color);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

html.light .content-card-accent {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.06) 0%, rgba(168, 85, 247, 0.04) 100%);
  border-color: rgba(34, 197, 94, 0.25);
}

html.light .content-card-accent p.text-xl,
html.light .content-card-accent p.text-white {
  color: var(--text-primary) !important;
}

html.light .content-card-accent p.text-white\/80 {
  color: var(--text-secondary) !important;
}

/* Topic Cards */
html.light .topic-card {
  background: var(--card-bg);
  border-color: var(--border-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

html.light .topic-card h3 {
  color: var(--text-primary) !important;
}

html.light .topic-card p {
  color: var(--text-secondary) !important;
}

/* Icon Boxes */
html.light .icon-box {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.25);
}

html.light .icon-box-violet {
  background: rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.25);
}

html.light .icon-box-amber {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.25);
}

/* Video Cards (Article Cards) */
html.light .video-card {
  background: var(--card-bg);
  border-color: var(--border-color);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

html.light .video-card:hover {
  border-color: rgba(34, 197, 94, 0.4);
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.1);
}

html.light .video-card h3 {
  color: var(--text-primary) !important;
}

html.light .video-card p {
  color: var(--text-secondary) !important;
}

html.light .video-thumbnail {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
}

html.light .video-thumbnail span {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(34, 197, 94, 0.5) !important;
}

/* Project Cards */
html.light .project-card {
  background: var(--card-bg);
  border-color: var(--border-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

html.light .project-card h3 {
  color: var(--text-primary) !important;
}

html.light .project-card p {
  color: var(--text-secondary) !important;
}

/* Author Card */
html.light .author-card {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.04) 0%, rgba(168, 85, 247, 0.04) 100%);
  border-color: var(--border-color);
}

/* CTA Section */
html.light .cta-section {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.06) 0%, rgba(168, 85, 247, 0.06) 100%);
  border-color: var(--border-color);
}

html.light .cta-section h2 {
  color: var(--text-primary) !important;
}

html.light .cta-section p {
  color: var(--text-secondary) !important;
}

/* Section Headers */
html.light .section-title {
  color: var(--text-primary) !important;
}

/* Buttons in light mode */
html.light .btn-secondary {
  color: var(--text-primary);
  border-color: var(--border-color);
}

html.light .btn-secondary:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: var(--text-secondary);
}

/* Gradient text keeps its colors in light mode */
html.light .gradient-text-green,
html.light .text-glow-green {
  color: #16a34a !important;
  /* Slightly darker green for better contrast */
}

html.light .text-glow-violet {
  color: #9333ea !important;
  /* Slightly darker violet for better contrast */
}

/* Episode cards in light mode */
html.light .episode-card-large {
  background: var(--card-bg);
  border-color: var(--border-color);
}

html.light .episode-card-large:hover {
  border-color: rgba(34, 197, 94, 0.4);
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.1);
}

html.light .episode-title {
  color: var(--text-primary);
}

html.light .episode-description {
  color: var(--text-secondary);
}

html.light .episode-badge,
html.light .episode-number-large {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(34, 197, 94, 0.5);
}

/* Mobile menu in light mode */
html.light #mobile-menu {
  background: rgba(248, 250, 252, 0.98) !important;
  border-color: var(--border-color) !important;
}

html.light #mobile-menu a {
  color: var(--text-primary) !important;
  border-color: var(--border-color) !important;
}

/* Search dropdown in light mode */
html.light #search-dropdown,
html.light #search-dropdown-mobile {
  background: rgba(255, 255, 255, 0.98) !important;
  border-color: var(--border-color) !important;
}

html.light #search-input,
html.light #search-input-mobile {
  background: rgba(0, 0, 0, 0.03) !important;
  border-color: var(--border-color) !important;
  color: var(--text-primary) !important;
}

html.light #search-input::placeholder,
html.light #search-input-mobile::placeholder {
  color: var(--text-secondary) !important;
}

/* Footer stays dark in light mode (intentional) */
html.light footer {
  background: #1e293b !important;
}

html.light footer * {
  color: #f8fafc !important;
}

/* ========================================
   Image Watermark System
   ======================================== */

/* Container for watermarked images */
.watermarked {
  position: relative;
  display: inline-block;
  width: 100%;
}

/* Watermark overlay using ::after pseudo-element */
.watermarked::after {
  content: '';
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  background-image: url('/public/logo-32.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.6;
  pointer-events: none;
  z-index: 10;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  transition: opacity 0.2s ease;
}

/* Slightly increase opacity on hover for visibility */
.watermarked:hover::after {
  opacity: 0.8;
}

/* Ensure images inside watermarked container display properly */
.watermarked>img {
  display: block;
  width: 100%;
}

/* Smaller watermark variant for smaller images */
.watermarked-sm::after {
  width: 32px;
  height: 32px;
  bottom: 12px;
  right: 12px;
}

/* Larger watermark variant for hero images */
.watermarked-lg::after {
  width: 64px;
  height: 64px;
  bottom: 20px;
  right: 20px;
}

/* Light mode adjustment - add subtle background for visibility */
html.light .watermarked::after {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  opacity: 0.5;
}

html.light .watermarked:hover::after {
  opacity: 0.7;
}