/* File: /css/projects.css - Ambient Pixels v2.4 - June 19, 2025 */

/* --- Custom Bulleted List Fixes (2025-06-19) --- */

.check-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}

.check-list li {
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
  color: #c4ffc4;
  line-height: 1.6;
}

.check-list li:before {
  content: '\2714'; /* Heavy checkmark */
  position: absolute;
  left: 0;
  color: #24e024;
  font-weight: bold;
}

/* Fix for .log-list (add marker) */
.log-list li {
  position: relative;
  padding-left: 1.5rem;
  color: #b5e3ff;
  margin-bottom: 0.5rem;
  font-family: 'Fira Mono', 'Consolas', monospace;
  font-size: 0.98em;
}

.log-list li:before {
  content: '\25B6'; /* Play/arrow marker */
  position: absolute;
  left: 0;
  color: #00e4ff;
  font-size: 1em;
  opacity: 0.7;
}

/* END Custom Bulleted List Fixes */

/* ===== .tech-list Styles (moved from video-projects.css for Copilot Playground compatibility) ===== */
.tech-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tech-list li {
  padding: 0.75rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
  font-size: 0.95rem;
  line-height: 1.5;
}

.tech-list li:last-child {
  border-bottom: none;
}

.tech-list strong {
  color: var(--text-primary, #ffffff);
  font-weight: 500;
  margin-right: 0.25rem;
}
/* ===== END .tech-list Styles ===== */


/* ===== CoPilot Playground Specific Styles ===== */

/* === Timeline Styles for Team Journey Section (added by Cascade, 2025-06-22) === */
.timeline-container {
  width: 100%;
  padding: 2rem 0 1.5rem 0;
}
.timeline {
  position: relative;
  margin: 0 auto;
  padding-left: 1.2rem;
  border-left: 3px solid rgba(90, 200, 250, 0.2);
  max-width: 900px;
}
.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1) var(--delay,0s), transform 0.6s cubic-bezier(0.4,0,0.2,1) var(--delay,0s);
}
.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.timeline-dot {
  position: absolute;
  left: -1.45rem;
  top: 0.5rem;
  width: 1.25rem;
  height: 1.25rem;
  background: linear-gradient(135deg, #5ae4ff, #4bcaff 80%);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(90, 200, 250, 0.12);
  border: 2.5px solid #fff;
  z-index: 2;
}
.timeline-content {
  background: rgba(30, 35, 45, 0.96);
  border-radius: 10px;
  padding: 1.2rem 1.5rem;
  box-shadow: 0 2px 12px rgba(90, 200, 250, 0.08);
  border: 1.5px solid rgba(90, 200, 250, 0.13);
  position: relative;
}
.timeline-time {
  display: block;
  font-size: 1rem;
  color: var(--accent-color,#5ae4ff);
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}
@media (max-width: 700px) {
  .timeline-content { padding: 1rem 0.7rem; }
  .timeline { padding-left: 0.8rem; }
  .timeline-dot { left: -1.1rem; }
}
/* === End Timeline Styles === */

/* Story Elements */
.story-intro, 
.story-solution {
  margin-bottom: 3rem;
  position: relative;
  padding-left: 2rem;
  border-left: 3px solid var(--accent-color, #5ac8fa);
}

.story-intro h2,
.story-solution h2 {
  color: #fff;
  margin-bottom: 1.25rem;
  font-size: 1.8rem;
  font-weight: 600;
}

.story-intro p,
.story-solution p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #e0e0e0;
}

.impact-highlights {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.impact-item {
  text-align: center;
  flex: 1;
  min-width: 120px;
  background: rgba(90, 200, 250, 0.1);
  padding: 1.5rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(90, 200, 250, 0.2);
  transition: all 0.3s ease;
}

.impact-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(90, 200, 250, 0.15);
  border-color: var(--accent-color, #5ac8fa);
}

.impact-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-color, #5ac8fa);
  line-height: 1.2;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px rgba(90, 200, 250, 0.5);
}

.impact-text {
  display: block;
  font-size: 0.95rem;
  color: #bbb;
  font-weight: 500;
}

/* Tech Showcase Styles */
.tech-showcase {
  background: rgba(30, 35, 45, 0.6);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  border: 1px solid rgba(90, 200, 250, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.tech-showcase-content {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
}

.tech-showcase-text {
  flex: 1;
}

.tech-showcase h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.tech-showcase p {
  color: #e0e0e0;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.tech-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.tech-features li {
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
  color: #e0e0e0;
  line-height: 1.6;
}

.tech-features i {
  position: absolute;
  left: 0;
  top: 0.2em;
  color: var(--accent-color, #5ac8fa);
  width: 1.5rem;
  text-align: center;
}

.tech-showcase-visual {
  flex: 1;
  min-width: 0;
}

.code-snippet {
  background: #1e1e2e;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  font-family: 'Fira Code', 'Consolas', monospace;
  font-size: 0.9rem;
  line-height: 1.6;
}

.code-header {
  background: #2a2a3a;
  color: #a0a0c0;
  padding: 0.6rem 1rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.85rem;
  border-bottom: 1px solid #3a3a4a;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.code-header-dots {
  display: flex;
  gap: 8px;
  margin-right: 16px;
}

.code-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.code-dot.red { background: #ff5f56; }
.code-dot.yellow { background: #ffbd2e; }
.code-dot.green { background: #27c93f; }

/* updated by Cascade: Achievement Section Styles */
.achievement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.achievement-card {
  background: rgba(30, 40, 60, 0.8);
  border-radius: 1.2rem;
  box-shadow: 0 2px 16px 0 rgba(90,228,255,0.08);
  border: 1.5px solid var(--aura-glow, #5ae4ff);
  padding: 2rem 1.2rem 1.5rem 1.2rem;
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.achievement-card:hover, .achievement-card:focus-within {
  box-shadow: 0 4px 32px 0 rgba(90,228,255,0.18);
  border-color: var(--mood-blue, #9bf0ff);
  transform: translateY(-4px) scale(1.03);
}
.achievement-icon {
  font-size: 2.5rem;
  color: var(--aura-glow, #5ae4ff);
  margin-bottom: 1rem;
  transition: filter 0.3s, transform 0.3s;
  filter: drop-shadow(0 0 8px var(--aura-glow, #5ae4ff));
}
.achievement-card:hover .achievement-icon,
.achievement-card:focus-within .achievement-icon {
  animation: achievement-pulse 0.8s;
  filter: drop-shadow(0 0 16px var(--mood-blue, #9bf0ff));
  transform: scale(1.15) rotate(-6deg);
}
@keyframes achievement-pulse {
  0%   { transform: scale(1) rotate(0); }
  50%  { transform: scale(1.2) rotate(-8deg); }
  100% { transform: scale(1.15) rotate(-6deg); }
}
.achievement-title {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  color: var(--mood-blue, #9bf0ff);
  letter-spacing: 0.01em;
}
.achievement-desc {
  font-size: 0.97rem;
  color: #c3d1e3;
  opacity: 0.93;
}

.code-snippet pre {
  margin: 0;
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.code-snippet code {
  font-family: 'Fira Code', 'Consolas', monospace;
  color: #e0e0e0;
}

/* Syntax highlighting */
.code-snippet .keyword { color: #c586c0; }
.code-snippet .string { color: #ce9178; }
.code-snippet .comment { color: #6a9955; font-style: italic; }
.code-snippet .function { color: #dcdcaa; }
.code-snippet .param { color: #9cdcfe; }

/* Responsive adjustments */
@media (max-width: 992px) {
  .tech-showcase-content {
    flex-direction: column;
  }
  
  .tech-showcase-visual {
    width: 100%;
    margin-top: 2rem;
  }
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.feature-card {
  background: rgba(30, 30, 35, 0.8);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-sizing: border-box;
  margin: 0 auto 1.5rem auto;
  max-width: 700px;
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-top: 0.5rem;
}

.project-section > .feature-card {
  /* Center the card in full-width grid-col-12 sections */
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .feature-card {
    max-width: 100%;
    padding: 1rem;
  }
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border-color: var(--accent-color, #5ac8fa);
}

.feature-card h3, .feature-card h4 {
  margin: 0.5rem 0;
  color: #fff;
  font-weight: 600;
}

.feature-card p {
  color: #bbb;
  margin: 0.5rem 0 0;
  line-height: 1.6;
}

.sub-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card-headline {
  color: var(--feature-headline-color, #5ae4ff) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.7rem;
}

.feature-card-headline i {
  color: inherit !important;
  font-size: 2.1rem;
  margin-right: 0.5rem;
}

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

.feature-list li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
  color: #bbb;
  line-height: 1.5;
}

.feature-list li:before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-color, #5ac8fa);
}

.feature-sublist {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  padding-left: 1rem;
}

.feature-sublist li {
  margin-bottom: 0.25rem;
  color: #999;
  font-size: 0.9em;
  position: relative;
  padding-left: 1rem;
}

.feature-sublist li:before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-color, #5ac8fa);
}

.note-box {
  background: rgba(90, 200, 250, 0.1);
  border-left: 4px solid var(--accent-color, #5ac8fa);
  border-radius: 4px;
  padding: 1.25rem;
  margin: 1.5rem 0;
  gap: 1rem;
}

.note-box i {
  color: var(--accent-color, #5ac8fa);
  font-size: 1.5rem;
  margin-top: 0.2rem;
}

.note-box h3 {
  margin-top: 0;
  color: #fff;
}

.note-box .note {
  margin: 1rem 0 0;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.note-box .note i {
  font-size: 1rem;
  margin-top: 0.2rem;
}

.text-link {
  color: var(--accent-color, #5ac8fa);
  text-decoration: none;
  transition: all 0.2s ease;
}

.text-link:hover {
  color: #fff;
  text-decoration: underline;
}

.impact-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.metric-card {
  text-align: center;
  padding: 1.5rem;
  background: rgba(30, 30, 35, 0.8);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.metric-card i {
  font-size: 2rem;
  color: var(--accent-color, #5ac8fa);
  margin-bottom: 0.75rem;
}

.metric-card h3 {
  font-size: 2.2rem;
  margin: 0.5rem 0;
  color: #fff;
  font-weight: 700;
}

.metric-card p {
  margin: 0;
  color: #bbb;
  font-size: 0.9rem;
}

.benefits-list, ul.benefits-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}

.benefits-list li, ul.benefits-list > li {
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
  color: #ddd;
  line-height: 1.6;
}

.benefits-list i.fa-circle-check {
  color: #24e024;
  margin-right: 0.8em;
  font-size: 1.15em;
  vertical-align: -0.08em;
  min-width: 1.25em;
  display: inline-block;
}

.benefits-list li:before, ul.benefits-list > li:before {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome", Arial, sans-serif;
  content: "\f058";
  font-weight: 900;
  font-size: 1.1em;
  color: #24e024;
  position: absolute;
  left: 0;
  top: 0.1em;
  display: inline-block;
  width: 1.2em;
  text-align: center;
  line-height: 1;
}

.learnings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.learning-card {
  background: rgba(30, 30, 35, 0.8);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.learning-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.learning-card i {
  font-size: 2rem;
  color: var(--accent-color, #5ac8fa);
  margin-bottom: 1rem;
}

.learning-card h3 {
  color: #fff;
  margin: 0.75rem 0;
}

.learning-card p {
  color: #bbb;
  margin: 0.5rem 0 0;
  line-height: 1.6;
}

.related-projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.related-project-card {
  background: rgba(30, 30, 35, 0.8);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.related-project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-color, #5ac8fa);
}

.related-project-card a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 0.75rem;
  transition: color 0.2s ease;
}

.related-project-card a:hover {
  color: var(--accent-color, #5ac8fa);
}

.related-project-card a i {
  font-size: 1.25rem;
}

.related-project-card p {
  color: #bbb;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== Responsive Styles ===== */
@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
  
  .impact-metrics {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .learnings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .impact-metrics {
    grid-template-columns: 1fr 1fr;
  }
  
  .learnings-grid {
    grid-template-columns: 1fr;
  }
  
  .note-box {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .note-box i {
    align-self: flex-start;
  }
}

@media (max-width: 480px) {
  .impact-metrics {
    grid-template-columns: 1fr;
  }
  
  .feature-card, 
  .metric-card, 
  .learning-card, 
  .related-project-card {
    padding: 1.25rem;
  }
  

  
  .metric-card h3 {
    font-size: 1.8rem;
  }
}

/* ===== Section Divider ===== */
/* ===== Section Divider ===== */
.section-divider {
  position: relative;
  height: 2px;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  border: 0;
  overflow: hidden;
  background: transparent;
  grid-column: 1 / -1;
  margin-bottom: 1.4em;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--accent-color, #4bcaff) 40%, 
    var(--accent-color, #4bcaff) 60%, 
    transparent 100%);
  opacity: 0;
  animation: dividerPulse 6s ease-in-out infinite;
  filter: blur(1px);
}

.section-divider::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%,
    var(--accent-color, #4bcaff) 45%, 
    var(--accent-color, #4bcaff) 55%, 
    transparent 100%);
  opacity: 0;
  animation: dividerGlow 4s ease-in-out infinite 0.5s;
  filter: blur(2px);
}

@keyframes dividerPulse {
  0%, 100% { 
    opacity: 0;
    transform: scaleX(0.8);
  }
  50% { 
    opacity: 0.3;
    transform: scaleX(1);
  }
}

@keyframes dividerGlow {
  0%, 100% { 
    opacity: 0;
    transform: scaleX(0.9);
  }
  50% { 
    opacity: 0.5;
    transform: scaleX(1.1);
  }
}

/* ===== Bullet Cards ===== */
.bullet-cards {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}

.bullet-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--accent-color, #4bcaff);
  border-radius: 0 6px 6px 0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.bullet-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    rgba(75, 202, 255, 0.03) 0%, 
    rgba(75, 202, 255, 0.01) 50%, 
    transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.bullet-card:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.03);
}

.bullet-card:hover::before {
  opacity: 1;
}

.bullet-icon {
  color: var(--accent-color, #4bcaff);
  font-size: 1.1em;
  background: rgba(75, 202, 255, 0.1);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.bullet-card:hover .bullet-icon {
  transform: rotate(8deg) scale(1.1);
  background: rgba(75, 202, 255, 0.15);
}

.bullet-content {
  flex: 1;
}

.bullet-content strong {
  display: block;
  color: var(--accent-color, #4bcaff);
  margin-bottom: 0.5rem;
  font-size: 1.1em;
  font-weight: 600;
}

.bullet-content p {
  margin: 0;
  color: #e0e0e0;
  line-height: 1.6;
  font-size: 0.98em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .bullet-cards {
    gap: 0.85rem;
    margin: 1.75rem 0;
  }
  
  .bullet-card {
    flex-direction: column;
    gap: 0.85rem;
    padding: 1.1rem;
  }
  
  .bullet-icon {
    width: 2rem;
    height: 2rem;
    font-size: 1em;
  }
  
  .bullet-content strong {
    margin-bottom: 0.35rem;
  }
}

/* ===== Option A: Icon Bullets ===== */
.icon-bullets {
  margin: 1.5rem 0 1.75rem;
  padding: 0;
}

.icon-bullets li {
  position: relative;
  padding-left: 2.25rem;
  margin-bottom: 1rem;
  line-height: 1.6;
  list-style: none !important;
}

.icon-bullets li i {
  position: absolute;
  left: 0;
  top: 0.15em;
  color: var(--accent-color, #4bcaff);
  width: 1.5rem;
  text-align: center;
  font-size: 1.1em;
  transition: all 0.25s ease;
  opacity: 0.9;
}

.icon-bullets li:hover i {
  transform: rotate(5deg) scale(1.1);
  opacity: 1;
}

/* ===== Option B: Border Left Bullets ===== */
.border-bullets {
  margin: 1.5rem 0 1.75rem;
  padding: 0;
}

.border-bullets li {
  position: relative;
  border-left: 3px solid var(--accent-color, #4bcaff);
  padding: 0.6rem 1rem 0.6rem 1.25rem;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  list-style: none !important;
  background: rgba(75, 202, 255, 0.03);
  border-radius: 0 4px 4px 0;
}

.border-bullets li:hover {
  background: rgba(75, 202, 255, 0.08);
  transform: translateX(2px);
}

/* ===== Option C: Grid Rows ===== */
.grid-rows {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0 1.75rem;
}

.grid-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  background: rgba(75, 202, 255, 0.04);
  border-radius: 6px;
  transition: all 0.3s ease;
  margin: 0;
}

.grid-row:hover {
  background: rgba(75, 202, 255, 0.08);
  transform: translateX(3px);
}

.grid-icon {
  color: var(--accent-color, #4bcaff);
  font-size: 1.1em;
  margin-top: 0.15em;
  min-width: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.grid-row:hover .grid-icon {
  transform: scale(1.15);
}

.grid-text {
  flex: 1;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .icon-bullets,
  .border-bullets,
  .grid-rows {
    margin: 1.25rem 0 1.5rem;
  }
  
  .icon-bullets li {
    padding-left: 2rem;
    margin-bottom: 0.85rem;
  }
  
  .border-bullets li {
    padding: 0.5rem 0.85rem 0.5rem 1.1rem;
  }
  
  .grid-rows {
    gap: 0.65rem;
  }
  
  .grid-row {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
  }
  
  .grid-icon {
    margin-bottom: 0.25rem;
  }
}


/* Option C: Grid Rows */
.grid-rows {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}

.grid-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(var(--accent-rgb, 75, 202, 255), 0.03);
  border: 1px solid rgba(var(--accent-rgb, 75, 202, 255), 0.1);
  border-radius: 8px;
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.grid-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.grid-icon {
  color: var(--accent-color, #4bcaff);
  font-size: 1.25rem;
  padding-top: 0.2rem;
  transition: transform 0.3s ease;
}

.grid-row:hover .grid-icon {
  transform: rotate(8deg) scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .grid-row {
    grid-template-columns: 1fr;
  }
  
  .grid-icon {
    margin-bottom: 0.5rem;
  }
}

/* ===== Grid Bullets Variant ===== */
.grid-bullets {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.grid-bullets .grid-bullet {
  background: rgba(var(--accent-rgb, 75, 202, 255), 0.05);
  border: 1px solid rgba(var(--accent-rgb, 75, 202, 255), 0.1);
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.grid-bullets .grid-bullet:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: rgba(var(--accent-rgb, 75, 202, 255), 0.3);
  background: rgba(var(--accent-rgb, 75, 202, 255), 0.08);
}

.grid-bullets .grid-bullet strong {
  display: block;
  color: var(--accent-color, #4bcaff);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  position: relative;
  padding-left: 1.75rem;
}

.grid-bullets .grid-bullet strong::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--accent-color, #4bcaff);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.grid-bullets .grid-bullet:hover strong::before {
  transform: translateY(-50%) scale(1.5);
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb, 75, 202, 255), 0.2);
}

.grid-bullets .grid-bullet p {
  margin: 0;
  color: var(--text-primary);
  line-height: 1.6;
}

/* ===== Minimalist Bullets Variant ===== */
.minimalist-bullets {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0;
  display: grid;
  gap: 1.5rem;
}

.minimalist-bullets li {
  position: relative;
  padding-left: 2.5rem;
  margin: 0;
  line-height: 1.7;
  color: var(--text-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 2px solid rgba(var(--accent-rgb, 75, 202, 255), 0.3);
  padding-left: 1.5rem;
  margin-left: 0.5rem;
}

.minimalist-bullets li:hover {
  border-left-color: var(--accent-color, #4bcaff);
  transform: translateX(4px);
}

.minimalist-bullets li::before {
  content: '';
  position: absolute;
  left: -0.5rem;
  top: 0.7em;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--accent-color, #4bcaff);
  border-radius: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

.minimalist-bullets li strong {
  color: var(--accent-color, #4bcaff);
  font-weight: 600;
  margin-right: 0.5rem;
}

/* ===== Numbered Cards Variant =====
.numbered-cards {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0;
  display: grid;
  gap: 1.5rem;
  counter-reset: card-counter;
}

.numbered-cards .card-item {
  position: relative;
  background: rgba(var(--accent-rgb, 75, 202, 255), 0.03);
  border: 1px solid rgba(var(--accent-rgb, 75, 202, 255), 0.1);
  border-radius: 8px;
  padding: 1.5rem 1.5rem 1.5rem 5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  counter-increment: card-counter;
}

.numbered-cards .card-item::before {
  content: counter(card-counter);
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--accent-color, #4bcaff);
  color: #0a192f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.numbered-cards .card-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: rgba(var(--accent-rgb, 75, 202, 255), 0.3);
}

.numbered-cards .card-item:hover::before {
  transform: scale(1.1);
  background: #fff;
  color: var(--accent-color, #4bcaff);
}

.numbered-cards .card-item strong {
  display: block;
  color: var(--accent-color, #4bcaff);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.numbered-cards .card-item p {
  margin: 0;
  color: var(--text-primary);
  line-height: 1.6;
}

/* ===== Project Overview Styles ===== */
.project-overview {
  margin: 2.5rem 0;
  font-size: 1.05rem;
}

.project-overview p {
  margin-bottom: 1.5rem;
  line-height: 1.75;
  color: var(--text-primary);
}

.project-overview ul {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0;
  display: grid;
  gap: 1.25rem;
}

.project-overview li {
  position: relative;
  padding-left: 3rem;
  margin: 0;
  line-height: 1.7;
  color: var(--text-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-overview li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 12px;
  height: 12px;
  background: var(--accent-color, #4bcaff);
  border-radius: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb, 75, 202, 255), 0.2);
}

.project-overview li:hover {
  transform: translateX(4px);
}

.project-overview li:hover::before {
  transform: translateY(-50%) scale(1.2);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb, 75, 202, 255), 0.2);
}

.project-overview li strong {
  color: var(--accent-color, #4bcaff);
  font-weight: 600;
  margin-right: 0.5rem;
  position: relative;
  display: inline-block;
}

/* Add a subtle connector line between items */
.project-overview li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1.4em;
  bottom: -1.5rem;
  width: 2px;
  background: linear-gradient(to bottom, 
    rgba(var(--accent-rgb, 75, 202, 255), 0.3) 0%, 
    rgba(var(--accent-rgb, 75, 202, 255), 0.1) 100%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .project-overview li {
    padding-left: 2.5rem;
  }
}

/* ===== FAQ Section ===== */
.ap-faq {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-category {
  background: rgba(30, 30, 46, 0.5);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(90, 200, 250, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.faq-category:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  border-color: rgba(90, 200, 250, 0.2);
}

.faq-category h3 {
  color: var(--accent-color, #4bcaff);
  margin: 0;
  padding: 1.25rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  background: linear-gradient(90deg, rgba(90, 200, 250, 0.1) 0%, transparent 100%);
  border-bottom: 1px solid rgba(90, 200, 250, 0.1);
}

details.details-toggle {
  border-radius: 0 0 8px 8px;
  transition: all 0.3s ease;
}

details.details-toggle[open] {
  background: rgba(10, 25, 35, 0.6);
}

/* Collapsible Section Styling */
details.details-toggle summary {
  padding: 1.25rem 2.5rem 1.25rem 1.5rem !important;
  background: transparent !important;
  cursor: pointer !important;
  font-weight: 500 !important;
  color: #fff !important;
  position: relative !important;
  list-style: none !important;
  transition: all 0.3s ease !important;
  font-size: 1rem !important;
  line-height: 1.5 !important;
  display: block !important;
  margin: 0 !important;
  width: 100% !important;
  text-align: left !important;
  border: none !important;
  outline: none !important;
}

details.details-toggle summary:hover {
  background: rgba(90, 200, 250, 0.05) !important;
  color: var(--accent-color, #4bcaff) !important;
}

details.details-toggle summary:focus {
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(90, 200, 250, 0.3) !important;
}

/* Completely remove the default arrow/marker */
details.details-toggle summary::-webkit-details-marker {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

details.details-toggle summary::marker {
  display: none !important;
  content: '' !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Ensure no content is shown before the summary */
details.details-toggle summary::before {
  display: none !important;
  content: '' !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Keep the chevron icon on the right */
details.details-toggle summary::after {
  content: '\f078' !important; /* Font Awesome chevron down */
  font-family: 'Font Awesome 5 Free' !important;
  font-weight: 900 !important;
  position: absolute !important;
  right: 1.5rem !important;
  top: 50% !important;
  transform: translateY(-50%) rotate(0deg) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  color: var(--accent-color, #4bcaff) !important;
  font-size: 0.8rem !important;
  opacity: 0.7 !important;
  pointer-events: none !important;
}

details.details-toggle[open] summary::after {
  transform: translateY(-50%) rotate(180deg) !important;
  opacity: 1 !important;
}

details.details-toggle summary::-webkit-details-marker {
  display: none;
}

details.details-toggle summary::marker {
  display: none;
  content: '';
}

details.details-toggle summary::before {
  display: none;
}

details.details-toggle summary:hover {
  background: rgba(90, 200, 250, 0.05);
  color: var(--accent-color, #4bcaff);
}

details.details-toggle summary:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(90, 200, 250, 0.3);
}

details.details-toggle summary::-webkit-details-marker {
  display: none;
}

details.details-toggle summary::after {
  content: '\f078';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--accent-color, #4bcaff);
  font-size: 0.8rem;
  opacity: 0.7;
}

details.details-toggle[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
  opacity: 1;
}

details.details-toggle div {
  padding: 0 1.5rem 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  font-size: 0.95rem;
}

details.details-toggle p {
  margin: 0;
  padding: 0.5rem 0;
  color: rgba(255, 255, 255, 0.8);
}

/* Animation for FAQ items */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.faq-category {
  animation: fadeIn 0.4s ease-out forwards;
  opacity: 0;
}

.faq-category:nth-child(1) { animation-delay: 0.1s; }
.faq-category:nth-child(2) { animation-delay: 0.2s; }
.faq-category:nth-child(3) { animation-delay: 0.3s; }

/* ===== Xbox Support Sections ===== */
.xbox-section {
  margin-bottom: 3rem;
  padding: 2rem;
  background: rgba(30, 30, 46, 0.5);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(75, 202, 255, 0.1);
  transition: all 0.3s ease;
}

.xbox-section:hover {
  border-color: rgba(75, 202, 255, 0.3);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.xbox-section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(75, 202, 255, 0.2);
  position: relative;
}

.xbox-section-header i {
  font-size: 1.5rem;
  color: #4bcaff;
  background: rgba(75, 202, 255, 0.1);
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  min-height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  top: 0;
  margin: 0;
  padding: 0;
  line-height: 1;
}

.xbox-section-title {
  margin: 0;
  padding: 0;
  line-height: 1;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  height: 2.5rem;
}

/* Project Cards Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 0;
}

.card-section {
  background: rgba(30, 30, 46, 0.5);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(75, 202, 255, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border-color: rgba(75, 202, 255, 0.3);
}

.card {
  background: rgba(30, 30, 46, 0.7);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(75, 202, 255, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border-color: rgba(75, 202, 255, 0.3);
}

.card.featured-card {
  border: 2px solid rgba(75, 202, 255, 0.3);
  box-shadow: 0 0 20px rgba(75, 202, 255, 0.1);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-badge {
  display: inline-block;
  background: #4bcaff;
  color: #0a1a26;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  align-self: flex-start;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card h3 {
  color: #fff;
  margin: 0 0 1rem 0;
  font-size: 1.4rem;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: #a0a0c0;
}

.meta-item i {
  color: #4bcaff;
  font-size: 0.9em;
}

.card p {
  color: #d1d1e9;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  line-height: 1.6;
}

.card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.card-content h3 {
  margin: 0 0 1rem 0;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-content h3 i {
  color: #4bcaff;
}

.role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.role-tag {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(75, 202, 255, 0.1);
  color: #4bcaff;
  border: 1px solid rgba(75, 202, 255, 0.3);
}

/* Grid column spans */
.grid-col-12 { grid-column: span 12; }
.grid-col-6 { grid-column: span 6; }
.grid-col-4 { grid-column: span 4; }
.grid-col-3 { grid-column: span 3; }

/* Responsive adjustments */
@media (max-width: 1200px) {
  .grid-col-6 { grid-column: span 6; }
  .grid-col-4 { grid-column: span 6; }
  .grid-col-3 { grid-column: span 6; }
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }
  
  .grid-col-12,
  .grid-col-6,
  .grid-col-4,
  .grid-col-3 {
    grid-column: span 12;
  }
}

/* ===== Section Descriptions ===== */
.section-description {
  max-width: 800px;
  margin: 0.5rem 0 2rem;
  color: #b8c1ec;
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.9;
  font-weight: 400;
}

.content-section h2 {
  margin-bottom: 0.5rem;
  color: #4bcaff;
}

@media (max-width: 768px) {
  .section-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
}

/* ===== Hero Video Icon ===== */
.hero-video-icon-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
}

.hero-video-icon {
  position: relative;
  z-index: 101;
}

/* ===== Nova Quote ===== */
.nova-quote-section {
  margin: 3rem 0;
}

.nova-thought {
  position: relative;
  padding: 2.5rem;
  margin: 0 auto;
  max-width: 900px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.nova-quote-content {
  position: relative;
  z-index: 2;
}

.nova-quote-text {
  font-size: 1.75rem;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-align: left;
  position: relative;
  padding: 0 2rem;
}

.nova-quote-icon {
  opacity: 0.6;
  margin-right: 0.5rem;
  font-size: 1.5rem;
  vertical-align: text-top;
}

.nova-signature {
  margin: 1.5rem 2rem 0 0;
  font-style: italic;
  opacity: 0.9;
  font-size: 1.1rem;
  text-align: right;
  padding-right: 1rem;
  position: relative;
}

.nova-signature::before {
  content: '';
  position: absolute;
  top: -0.75rem;
  right: 0;
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(90, 228, 255, 0.5), transparent);
}

.nova-robot-icon {
  margin-right: 0.5rem;
  color: #5ae4ff;
}

.nova-aura-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(90, 228, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 12px;
}

/* ===== Hero Card ===== */

/* Xbox Hero Card */
.hero-card-xbox .hero-card-image {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Xbox Video Icon Styles */
.hero-video-icon-container.xbox-video-icon-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  pointer-events: none;
  /* Create a new stacking context */
  transform: translateZ(0);
}

.hero-video-icon.xbox-video-icon {
  position: relative;
  z-index: 101;
  pointer-events: auto;
  font-size: 12rem;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 0 30px rgba(90, 228, 255, 0.7);
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 15px rgba(90, 228, 255, 0.5));
}

.hero-card-video:hover .xbox-video-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 0 30px rgba(90, 228, 255, 0.9));
  text-shadow: 0 0 40px rgba(90, 228, 255, 0.9);
}

/* Xbox Logo Styles */
.hero-card-xbox .xbox-logo {
  width: 160px !important;
  height: 160px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 0 12px rgba(16, 200, 16, 0.6)) !important;
  transition: transform 0.5s ease, filter 0.3s ease !important;
  position: relative !important;
  z-index: 2 !important;
  opacity: 0.9 !important;
  display: block !important;
  transform-origin: center center;
  will-change: transform, filter;
  backface-visibility: hidden;
}

.hero-card-xbox:hover .xbox-logo {
  filter: drop-shadow(0 0 25px rgba(16, 255, 16, 1)) !important;
  transform: scale(1.05) !important;
  opacity: 1 !important;
}

/* Ensure smooth hover state */
.hero-card-xbox .hero-card-image {
  overflow: visible !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Video Hero Card */
.hero-card-video-container {
  position: relative;
  overflow: hidden;
}

/* Base hero card video styles - moved to be less specific */
.hero-card-video .hero-card-image {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  /* Gradient is now controlled by hero-gradient-* classes */
}

.hero-video-icon {
  font-size: 12rem;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 0 30px rgba(90, 228, 255, 0.7);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 15px rgba(90, 228, 255, 0.5));
}

.hero-card-video:hover .hero-video-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 0 30px rgba(90, 228, 255, 0.9));
  text-shadow: 0 0 40px rgba(90, 228, 255, 0.9);
}

.hero-particles-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 300px;
  overflow: hidden;
  z-index: 1;
  /* Ensure this is a stacking context */
  transform: translateZ(0);
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  /* Ensure particles stay behind the icon */
  transform: translateZ(0);
}

.hero-video-icon-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
}

.hero-video-icon {
  position: relative;
  z-index: 11;
  pointer-events: auto;
}

/* Base badge styles - keep only structural properties */
.hero-card-video .hero-card-badge {
  position: relative;
  z-index: 3;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  padding: 0.35rem 0.8rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 1rem;
}

/* Default badge theme - can be overridden by theme classes */
.hero-card-video .hero-card-badge:not([class*="badge-"]) {
  background: #0a3a4a;
  color: white;
  box-shadow: 0 2px 8px rgba(16,124,16,0.2);
}

/* Video badge gradient theme */
.hero-card-video .hero-card-badge.badge-video {
  background: linear-gradient(135deg, #8e2de2, #4a00e0);
  color: white;
  box-shadow: 0 2px 12px rgba(138, 43, 226, 0.3);
}

.hero-card-video h1 {
  color: white;
  font-weight: 700;
  margin: 0.5rem 0 1rem;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.video-glow {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(90, 228, 255, 0.5);
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.hero-card-video:hover .video-glow {
  text-shadow: 0 0 15px rgba(90, 228, 255, 0.8);
}

.hero-card-video .hero-card-description {
  position: relative;
  z-index: 3;
  position: relative;
  z-index: 3;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

@media (max-width: 768px) {
  .hero-card-video .hero-card-image {
    min-height: 250px;
  }
  
  .hero-video-icon {
    font-size: 10rem;
  }
}

@media (max-width: 480px) {
  .hero-video-icon {
    font-size: 8rem;
  }
  
  .hero-card-video h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }
}

/* End Video Hero Card */

/* Video Card Gradients */
.video-gradient-1 { background: linear-gradient(135deg, #8e2de2, #4a00e0); }
.video-gradient-2 { background: linear-gradient(135deg, #00b09b, #96c93d); }
.video-gradient-3 { background: linear-gradient(135deg, #ff416c, #ff4b2b); }
.video-gradient-4 { background: linear-gradient(135deg, #654ea3, #eaafc8); --glow-color: rgba(234, 175, 200, 0.4); }
.video-gradient-5 { background: linear-gradient(135deg, #11998e, #38ef7d); --glow-color: rgba(56, 239, 125, 0.4); }
.video-gradient-6 { background: linear-gradient(135deg, #8E2DE2, #4A00E0); --glow-color: rgba(142, 45, 226, 0.4); }
.video-gradient-7 { background: linear-gradient(135deg, #130F40 0%, #422680 50%, #E94EFF 100%); --glow-color: rgba(233, 78, 255, 0.4); }
.video-gradient-8 { 
  background: linear-gradient(135deg, #5dc21e 0%, #107c10 100%); 
  --glow-color: rgba(93, 194, 30, 0.4); 
}
.video-gradient-9 { background: linear-gradient(135deg, #7b4397, #dc2430); --glow-color: rgba(220, 36, 48, 0.4); }
.video-gradient-10 { background: linear-gradient(135deg, #1a2980, #26d0ce); --glow-color: rgba(38, 208, 206, 0.4); }
.video-gradient-xbox { 
  background: linear-gradient(135deg, #5dc21e, #107c10) !important; 
  --glow-color: rgba(93, 194, 30, 0.4);
  background-size: cover !important;
  background-position: center !important;
}

/* Card Gradient Icon Utility for Related Projects */
.card-gradient-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  width: 100%;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e); /* fallback cosmic gradient */
  box-shadow: 0 4px 18px rgba(90, 228, 255, 0.09);
  margin-bottom: 0.5rem;
  position: relative;
  overflow: hidden;
}
.card-gradient-icon.hero-gradient-xbox {
  background: linear-gradient(135deg, #107C10 0%, #0a4b0a 100%);
}
.card-gradient-icon.hero-gradient-cosmic {
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
}
.card-gradient-icon i {
  font-size: 3.5rem;
  color: #fff;
  text-shadow: 0 2px 12px rgba(90, 228, 255, 0.16), 0 1px 2px #0006;
  z-index: 1;
}

/* Card Image Container */
.card-image {
  height: 180px; /* Fixed height for all card images */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Reset background for all card images */
.card-image {
  background: #000;
}

/* Gradient Backgrounds - Direct application */
.video-gradient-1 { background: linear-gradient(135deg, #8e2de2, #4a00e0) !important; }
.video-gradient-2 { background: linear-gradient(135deg, #00b09b, #96c93d) !important; }
.video-gradient-3 { background: linear-gradient(135deg, #ff416c, #ff4b2b) !important; }
.video-gradient-4 { background: linear-gradient(135deg, #654ea3, #eaafc8) !important; }
.video-gradient-5 { background: linear-gradient(135deg, #11998e, #38ef7d) !important; }
.video-gradient-6 { background: linear-gradient(135deg, #8E2DE2, #4A00E0) !important; }
.video-gradient-7 { background: linear-gradient(135deg, #130F40 0%, #422680 50%, #E94EFF 100%) !important; --glow-color: rgba(233, 78, 255, 0.4) !important; }
.video-gradient-8 { background: linear-gradient(135deg, #5dc21e, #107c10) !important; }
.video-gradient-9 { background: linear-gradient(135deg, #7b4397, #dc2430) !important; }
.video-gradient-10 { background: linear-gradient(135deg, #1a2980, #26d0ce) !important; }
.video-gradient-xbox { background: linear-gradient(135deg, #5dc21e, #107c10) !important; }

/* Game Card with Logo */
.game-card-image {
  background: #000;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px; /* Match other card heights */
  overflow: hidden;
}

.game-card-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

/* Game Card with Hero Image */
.game-hero-image {
  background: #000;
  padding: 0;
}

.game-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* Project Icon */
.project-icon {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-card {
  background: #0a0a0a;
  border-radius: 0;
  overflow: hidden;
  margin: 6rem 0 2.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,0.05);
}

.hero-card-image {
  height: 300px;
  overflow: hidden;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0;
  padding: 0;
  min-width: 100%;
  min-height: 100%;
}

/* Hover effect for the icon only */
.hero-card-ai .project-icon-ai {
  font-size: 12rem;
  color: #fff;
  filter: drop-shadow(0 0 25px rgba(157, 0, 255, 0.9));
  transition: transform 0.5s ease, filter 0.3s ease;
  opacity: 0.9;
  position: absolute;
  z-index: 2;
}

.hero-card-ai:hover .project-icon-ai {
  transform: scale(1.1);
  filter: drop-shadow(0 0 35px rgba(157, 0, 255, 1));
  opacity: 1;
}

.hero-card-content {
  padding: 2rem;
  position: relative;
  background: linear-gradient(135deg, rgba(16,124,16,0.03) 0%, rgba(0,0,0,0.3) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Adjust role tags in hero */
.hero-card-content .role-tags {
  margin: 1.25rem 0 2rem 0;
}

/* Style the resume link button */
.hero-resume-link {
  margin-top: 1.5rem;
}

.hero-resume-link .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
  background: rgba(16, 124, 16, 0.8);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.95rem;
}

.hero-resume-link .btn:hover {
  background: #107c10;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 124, 16, 0.3);
}

.hero-resume-link .btn i {
  font-size: 1.1em;
}

.hero-card-badge {
  display: inline-block;
  background: #107C10;
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  /* text-transform: uppercase; */
  letter-spacing: 0.08em;
  box-shadow: 0 2px 8px rgba(16,124,16,0.2);
}

.hero-card h1 {
  color: #fff;
  font-size: 2rem;
  margin: 0 0 1rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero-card-description {
  color: rgba(255,255,255,0.85);
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 90%;
}

@media (min-width: 992px) {
  .hero-card {
    flex-direction: row;
    align-items: stretch;
    height: 400px; /* Changed from min-height to fixed height */
  }
  
  .hero-card-image {
    flex: 0 0 50%;
    height: 100%; /* Ensure image container takes full height */
    display: flex; /* Add flex to contain image properly */
    align-items: center; /* Center image vertically */
    overflow: hidden; /* Ensure image doesn't overflow */
  }
  
  .hero-card-content {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .hero-card h1 {
    font-size: 2.25rem;
  }
}

@media (max-width: 991px) {
  .hero-card {
    margin: 6rem 0 2.5rem;
    border-radius: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .hero-card-image {
    height: 280px;
  }
  
  .hero-card-content {
    padding: 2rem;
    width: 100%;
    box-sizing: border-box;
  }
  
  .hero-card h1 {
    font-size: 1.875rem;
  }
  
  .hero-card-description {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-card-image {
    height: 220px;
  }
  
  .hero-card h1 {
    font-size: 1.625rem;
  }
  
  .hero-card-description {
    font-size: 1rem;
  }
}

/* ===== NDA Protected Content ===== */
/* Project-specific styles for sub-pages, aligned with nova-pulse aesthetic */

/* ===== NDA Protected Content ===== */
.nda-tag {
  display: inline-block;
  background: rgba(255, 59, 48, 0.2);
  color: #ff3b30;
  font-size: 0.7em;
  padding: 0.2em 0.6em;
  border-radius: 12px;
  vertical-align: middle;
  margin-left: 10px;
  font-weight: 600;
  border: 1px solid rgba(255, 59, 48, 0.3);
}

.nda-notice {
  background: rgba(90, 200, 250, 0.1);
  border-left: 3px solid #5ac8fa;
  padding: 12px 15px;
  border-radius: 0 4px 4px 0;
  margin: 0 0 2rem 0;
  font-size: 0.95em;
  color: #a0a0a0;
}

.nda-notice i {
  margin-right: 8px;
  color: #5ac8fa;
}

.nda-protected {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.nda-protected:hover {
  border-color: rgba(90, 200, 250, 0.3);
  box-shadow: 0 4px 20px rgba(90, 200, 250, 0.1);
}

.blur-overlay {
  position: relative;
  overflow: hidden;
}

.blur-image {
  display: block;
  width: 100%;
  height: auto;
  transition: filter 0.3s ease;
  filter: blur(8px);
}

.nda-protected:hover .blur-image {
  filter: blur(5px);
}

.nda-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  z-index: 2;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.4);
  padding: 15px 25px;
  border-radius: 30px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nda-overlay i {
  display: block;
  font-size: 2em;
  margin-bottom: 8px;
  color: #5ac8fa;
}

.nda-overlay span {
  display: block;
  font-weight: 500;
  font-size: 0.9em;
  opacity: 0.9;
}

.nda-disclaimer {
  margin-top: 2rem;
  padding: 15px;
  background: rgba(90, 200, 250, 0.05);
  border-left: 3px solid #5ac8fa;
  border-radius: 0 4px 4px 0;
  font-size: 0.9em;
  color: #909090;
  line-height: 1.5;
}

.nda-disclaimer i {
  color: #5ac8fa;
  margin-right: 8px;
}

/* Red glass panel overlay for NDA protected content */
.nda-red-overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 0, 0, 0.2);
  z-index: 1;
  pointer-events: none;
  transition: background-color 0.3s ease;
}

.nda-protected:hover .nda-red-overlay::after {
  background-color: rgba(255, 0, 0, 0.15);
}

/* Light theme adjustments */
[data-theme="light"] .nda-protected {
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .nda-overlay {
  color: #333;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .nda-disclaimer {
  background: rgba(0, 0, 0, 0.02);
  color: #666;
}

/* Ensure lightbox respects NDA protection */
.pswp__img.pswp__img--blur {
  filter: blur(45px) !important;
}

/* Prevent right-click and selection on NDA images */
.nda-protected img,
.nda-protected-lightbox img,
.pswp__img.pswp__img--blur {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Red overlay for lightbox images */
.nda-protected-lightbox::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 0, 0, 0.25);
  z-index: 1;
  pointer-events: none;
}

/* ===== Base Reset ===== */
button,
[type="button"],
[type="submit"],
[type="reset"],
[role="button"],
.btn {
  /* Reset button styles */
  appearance: none;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
  line-height: inherit;
  margin: 0;
  outline: none;
  padding: 0;
  text-align: left;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

/* Remove all text decorations */
a,
button,
[class*="btn"] {
  text-decoration: none !important;
}

a:hover,
a:focus,
a:active,
button:hover,
button:focus,
button:active,
[class*="btn"]:hover,
[class*="btn"]:focus,
[class*="btn"]:active {
  text-decoration: none !important;
  outline: none !important;
}

/* Project role tags */
.role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0;
}

.role-tag {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  /* text-transform: uppercase; */
  letter-spacing: 0.5px;
}

.role-producer {
  background-color: rgba(16, 124, 16, 0.2);
  color: #a7f3a0;
  border: 1px solid #2ecc40;
}

.role-design {
  background-color: rgba(155, 89, 182, 0.2);
  color: #d2b3ff;
  border: 1px solid #9b59b6;
}

.role-community {
  background-color: rgba(52, 152, 219, 0.2);
  color: #a5d8ff;
  border: 1px solid #3498db;
}

.role-producer {
  background-color: rgba(16, 124, 16, 0.2);
  color: #a7f3a0;
  border: 1px solid #2ecc40;
}

.role-content {
  background-color: rgba(155, 89, 182, 0.2);
  color: #e2b3ff;
  border: 1px solid #9b59b6;
}

.role-localization {
  background-color: rgba(142, 68, 173, 0.2);
  color: #d2b3ff;
  border: 1px solid #8e44ad;
}

.role-migration {
  background-color: rgba(230, 126, 34, 0.2);
  color: #ffd8b3;
  border: 1px solid #e67e22;
}

.role-product {
  background-color: rgba(39, 174, 96, 0.2);
  color: #a9dfbf;
  border: 1px solid #27ae60;
}

.role-video {
  background-color: rgba(192, 57, 43, 0.2);
  color: #f5b7b1;
  border: 1px solid #c0392b;
}

.role-development {
  background-color: rgba(41, 128, 185, 0.2);
  color: #aed6f1;
  border: 1px solid #2980b9;
}

.role-experimental {
  background: linear-gradient(45deg, rgba(142, 68, 173, 0.2), rgba(41, 128, 185, 0.2));
  color: #d2b3ff;
  border: 1px solid #8e44ad;
  animation: gradientPulse 8s ease infinite;
  background-size: 200% 200%;
}

.role-devops {
  background-color: rgba(0, 112, 243, 0.2);
  color: #93c5fd;
  border: 1px solid #60a5fa;
}

.role-experimental {
  background-color: rgba(168, 85, 247, 0.2);
  color: #d8b4fe;
  border: 1px solid #a855f7;
}

.role-uiux {
  background-color: rgba(13, 148, 136, 0.2);
  color: #5eead4;
  border: 1px solid #0d9488;
}

.role-training {
  background-color: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  border: 1px solid #818cf8;
}

.role-animation {
  background-color: rgba(236, 72, 153, 0.2);
  color: #f9a8d4;
  border: 1px solid #ec4899;
}

.role-voice {
  background-color: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  border: 1px solid #3b82f6;
}

.role-branding {
  background-color: rgba(245, 158, 11, 0.2);
  color: #fcd34d;
  border: 1px solid #f59e0b;
}

/* Project-specific button overrides */
.project-buttons a,
.project-buttons button,
.project-buttons .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.2s ease;
  text-decoration: none !important;
}

/* Remove underline from all links within buttons */
a.btn,
a.btn:hover,
a.btn:focus,
a.btn:active,
button a,
button a:hover,
button a:focus,
button a:active,
.project-buttons a,
.project-buttons a:hover,
.project-buttons a:focus,
.project-buttons a:active {
  text-decoration: none !important;
  -webkit-text-decoration: none !important;
  -moz-text-decoration: none !important;
  text-decoration-line: none !important;
  text-underline-offset: 0 !important;
  text-decoration-thickness: 0 !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* Reset any potential underline effects on pseudo-elements */
a.btn::after,
a.btn::before,
button a::after,
button a::before,
.project-buttons a::after,
.project-buttons a::before {
  content: none !important;
  display: none !important;
}

/* Ensure icons within buttons don't have underlines */
.project-buttons a i,
.project-buttons button i {
  text-decoration: none !important;
}


/* Ensure no underlines on buttons */
button,
button:hover,
button:focus,
button:active,
.btn,
.btn:hover,
.btn:focus,
.btn:active,
.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
  text-decoration: none !important;
  -webkit-text-decoration: none !important;
  -moz-text-decoration: none !important;
  text-decoration-line: none !important;
  text-decoration-thickness: 0 !important;
  text-underline-offset: 0 !important;
  text-decoration-color: transparent !important;
}

/* Ensure primary button background is visible */
.project-buttons > .btn-primary,
.project-buttons > .btn-primary:hover {
  background: linear-gradient(135deg, #3a7bd5, #8e44ad) !important;
  -webkit-print-color-adjust: exact !important;
  print-color-adjust: exact !important;
  background-clip: padding-box !important;
}

.project-buttons > .btn-primary:hover {
  background: linear-gradient(135deg, #2c6ecb, #7d3c98) !important;
}

/* More specific primary button hover */
.project-buttons > .btn.btn-primary:hover,
.project-buttons > .btn.btn-primary:focus,
.project-buttons > .btn.btn-primary:active {
  background: transparent !important;
  background-image: none !important;
  color: #4bcaff !important;
  border: 1px solid #4bcaff !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Remove any text decoration on hover */
.project-buttons > .btn.btn-primary:hover * {
  text-decoration: none !important;
}

/* Content Sections */
/* Unified section styling */
.content-section,
.project-section {
  background: rgba(30, 30, 46, 0.7);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(90, 228, 255, 0.1);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

/* Light theme adjustments */
body[data-theme="light"] .content-section,
body[data-theme="light"] .project-section {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Hover effects */
.content-section:not(.hero-intro):hover,
.project-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(90, 228, 255, 0.2);
  border-color: rgba(90, 228, 255, 0.3);
}

body[data-theme="light"] .content-section:not(.hero-intro):hover,
body[data-theme="light"] .project-section:hover {
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
}

/* Section headings */
.content-section h2,
.project-section h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  color: var(--heading-color, #fff);
  position: relative;
  padding-bottom: 0.75rem;
}

/* Removing underline from section headings */
.content-section h2:after,
.project-section h2:after {
  display: none;
}

/* Remove duplicate project-section styles */

.content-section h2 {
  margin-top: 0;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  color: var(--text-color, #fff);
}

/* Project Buttons */
.project-buttons a,
.project-card a,
.btn-primary,
.btn-secondary {
  text-decoration: none !important;
  -webkit-text-decoration: none !important;
  text-decoration-line: none !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  padding: 0.5rem 1rem !important;
  border-radius: 4px !important;
  transition: all 0.2s ease !important;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.project-buttons a:hover,
.project-card a:hover,
.btn-primary:hover,
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

/* Toggle Button Styles */
.toggle-btn {
  color: var(--text-color, #fff);
  font-size: 1.2rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.toggle-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Download Section */
.download-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.download-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
}

.download-card h3 {
  color: #5ae4ff;
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
}

.download-card p {
  color: #ccd6f6;
  margin: 0 0 1.5rem 0;
}

.download-card .btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid rgba(90, 228, 255, 0.3);
  border-radius: 4px;
  color: #ccd6f6;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(90, 228, 255, 0.05);
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
}

.download-card .btn-secondary:hover {
  border-color: #5ae4ff;
  background: rgba(90, 228, 255, 0.1);
  color: #5ae4ff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(90, 228, 255, 0.15);
}

.download-card .file-info {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(204, 214, 246, 0.7);
}

.text-center {
  text-align: center;
  margin-top: 2rem;
  opacity: 0.8;
  font-size: 0.9em;
  color: rgba(204, 214, 246, 0.7);
}

.project-section {
  background: rgba(255, 255, 255, 0.05); /* Frosted glass from content-section */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease;
}

.project-section:hover {
  box-shadow: 0 4px 12px rgba(90, 228, 255, 0.2); /* Glitch Blue glow */
}

body[data-theme="light"] .project-section {
  background: rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

body[data-theme="light"] .project-section:hover {
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.project-card {
  background: var(--aura-spine-bg, linear-gradient(135deg, #333, #666)); /* Nova-pulse gradient */
  color: var(--aura-spine-text, #fff);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(4px);
  --glow-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 12px var(--glow-color);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 20px rgba(90, 228, 255, 0.3); /* Glow from nova-pulse */
}

.project-card h3 {
  font-size: 1.5rem;
  color: #5ae4ff; /* Accent from theme */
  margin-bottom: 1rem;
}

.project-card p {
  font-size: 0.95rem;
  color: var(--dark-text);
  margin-bottom: 1rem;
}

/* Media Grid Styles */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  padding: 24px 0;
}

.media-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
}

.media-item a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Base hover effect for all media items */
.media-item {
  --hover-shadow-color: 0, 0, 0;
  --hover-shadow-opacity: 0.25;
  --hover-bg-color: 0, 0, 0;  /* Pure black background */
  --hover-bg-opacity: 0.95;  /* Near-solid black */
  --hover-text-color: #fff;  /* White text for maximum contrast */
  transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.media-item .media-caption {
  color: var(--hover-text-color, #fff);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
  font-weight: 600;  /* Bolder text */
  letter-spacing: 0.04em;
  text-transform: uppercase;  /* More prominent text */
  font-size: 0.9em;  /* Slightly smaller for better fit */
}

.media-item:hover {
  transform: translateY(-4px) scale(1.02) !important;  /* Slight scale for emphasis */
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border: none !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);  /* Deeper shadow */
  z-index: 2;
}

.media-item:hover .media-caption {
  background: linear-gradient(
    to top,
    rgba(var(--hover-bg-color), var(--hover-bg-opacity)),
    transparent
  );
  transition: background 0.3s ease;
}

/* Hover Color Variations using CSS Custom Properties */
.hover-cyan {
  --hover-shadow-color: 0, 0, 0;
  --hover-shadow-opacity: 0.5;
  --hover-bg-color: 0, 40, 60;  /* Very dark cyan */
  --hover-bg-opacity: 0.98;
}

.hover-purple {
  --hover-shadow-color: 147, 112, 219;
  --hover-shadow-opacity: 0.2;
  --hover-bg-color: 147, 112, 219;
}

.hover-amber {
  --hover-shadow-color: 0, 0, 0;
  --hover-shadow-opacity: 0.5;
  --hover-bg-color: 60, 40, 0;  /* Very dark amber */
  --hover-bg-opacity: 0.98;
  --hover-text-color: #fff;
}

.hover-rose {
  --hover-shadow-color: 0, 0, 0;
  --hover-shadow-opacity: 0.5;
  --hover-bg-color: 80, 0, 20;  /* Very dark rose */
  --hover-bg-opacity: 0.98;
}

.hover-emerald {
  --hover-shadow-color: 16, 185, 129;
  --hover-shadow-opacity: 0.2;
  --hover-bg-color: 16, 185, 129;
}

.hover-indigo {
  --hover-shadow-color: 69, 72, 211;  /* Darker shade of indigo */
  --hover-shadow-opacity: 0.3;
  --hover-bg-color: 49, 52, 191;  /* Much darker for better contrast */
  --hover-bg-opacity: 0.85;
}

/* Primary Color - Deep Blue */
.hover-primary {
  --hover-shadow-color: 0, 0, 0;
  --hover-shadow-opacity: 0.5;
  --hover-bg-color: 0, 10, 30;  /* Very dark blue */
  --hover-bg-opacity: 0.98;
}

/* Secondary Color - Deep Purple */
.hover-secondary {
  --hover-shadow-color: 0, 0, 0;
  --hover-shadow-opacity: 0.5;
  --hover-bg-color: 15, 5, 50;  /* Very dark purple */
  --hover-bg-opacity: 0.98;
}

/* Accent Color - Light Blue */
.hover-accent {
  --hover-shadow-color: 0, 0, 0;
  --hover-shadow-opacity: 0.5;
  --hover-bg-color: 0, 30, 100;  /* Very dark blue */
  --hover-bg-opacity: 0.98;
}

/* Success Color - Emerald Green */
.hover-success {
  --hover-shadow-color: 0, 0, 0;
  --hover-shadow-opacity: 0.5;
  --hover-bg-color: 0, 40, 20;  /* Very dark green */
  --hover-bg-opacity: 0.98;
}

/* Custom hover effect using inline CSS variables */
.media-item[style*="--hover-color"] {
  --hover-shadow-opacity: 0.2;
}

.media-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.3s ease;
}

.media-item:hover img {
  transform: scale(1.05);
}

.media-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
  font-size: 1rem;
  text-align: center;
  transition: opacity 0.3s ease;
  opacity: 0;
  margin: 0;
  transform: translateY(100%);
}

.media-item:hover .media-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Video Grid Styles */
.video-grid {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.video-item {
  width: 100%;
  margin-bottom: 2rem;
}

.video-title {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* Video wrapper - consolidated styles */
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  background: rgba(0, 0, 0, 0.1);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.video-wrapper video,
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: inherit;
  background-color: transparent;
}

.video-wrapper video {
  object-fit: cover;
  background-color: transparent;
}

/* Video poster/thumbnail styles - adjusted to contain image */
.video-wrapper video[poster] {
  object-fit: contain;
  object-position: center;
  background-color: #0a0a0a;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(45deg, #0a0a0a 25%, #1a1a1a 25%, #1a1a1a 50%, #0a0a0a 50%, #0a0a0a 75%, #1a1a1a 75%);
  background-size: 20px 20px;
  transition: opacity 0.3s ease;
}

/* Show a subtle loading state while poster loads */
.video-wrapper video[poster]:not([src]) {
  opacity: 0.7;
}

/* Add a play button overlay for better UX */
.video-wrapper::before {
  content: none; /* Removed play button overlay since YouTube provides its own */
}

.video-wrapper:hover::before {
  opacity: 0;
  transform: none;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 24px;
  padding: 24px 0;
}

.video-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.05);
}

.video-title {
  font-size: 1.25rem;
  color: #5ae4ff;
  margin: 1rem 0;
  text-align: center;
  padding: 0 1rem;
}

/* Removed duplicate .video-wrapper styles - consolidated above */

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

/* YouTube Channel Page Styles */

.channel-intro {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
}

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

.channel-avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.channel-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.channel-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.channel-info h2 {
  font-size: 2rem;
  color: #5ae4ff;
  margin: 0;
}

.channel-subtitle {
  font-size: 1.25rem;
  color: var(--light-text);
  margin: 0;
}

.channel-stats {
  display: flex;
  gap: 1.5rem;
  color: var(--light-text);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.channel-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.channel-description {
  background: rgba(255, 255, 255, 0.03);
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
}

.channel-description p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--light-text);
}

/* Featured Videos */
.featured-videos {
  padding: 2rem 0;
}

/* Playlist Grid */
.playlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 1.5rem 0;
}

.playlist-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.playlist-card:hover {
  transform: translateY(-4px);
}

.playlist-icon {
  font-size: 2.5rem;
  color: #5ae4ff;
  margin-bottom: 1rem;
}

.playlist-card h3 {
  font-size: 1.25rem;
  color: var(--light-text);
  margin: 0.5rem 0;
}

.playlist-card p {
  color: var(--light-text);
  margin: 0.5rem 0;
}

.playlist-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #5ae4ff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease;
}

.playlist-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Channel CTA */
.channel-cta {
  text-align: center;
  padding: 3rem 0;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
}

.channel-cta h2 {
  color: #5ae4ff;
  margin-bottom: 1rem;
}

.channel-cta p {
  color: var(--light-text);
  margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .channel-header {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .channel-avatar {
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .channel-info h2 {
    font-size: 1.75rem;
  }

  .channel-subtitle {
    font-size: 1.1rem;
  }
}

.tech-stack li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border-left: 3px solid #5ae4ff; /* Nova badge style */
}

.media-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.media-gallery img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.media-gallery img:hover {
  transform: scale(1.05);
}

/* Base Button Styles */
.btn {
  /* Inherits from base button styles */
  position: relative;
  white-space: nowrap;
  text-align: center;
  user-select: none;
  vertical-align: middle;
  font-size: 1rem;
  text-decoration: none !important;
  border-radius: 4px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Primary Button */
.btn-primary {
  background: linear-gradient(135deg, #3a7bd5, #8e44ad);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(90, 228, 255, 0.2);
  border-color: rgba(90, 228, 255, 0.5);
}

/* Secondary Button */
.btn-secondary {
  background: rgba(90, 228, 255, 0.05);
  border: 1px solid rgba(90, 228, 255, 0.3);
  color: #ccd6f6;
}

.btn-secondary:hover {
  background: rgba(90, 228, 255, 0.1);
  border-color: #5ae4ff;
  color: #5ae4ff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(90, 228, 255, 0.15);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.cta-section {
  text-align: center;
  padding: 2rem 0;
}

.related-projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.related-project-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(90, 228, 255, 0.2);
}

.related-project-card a {
  color: var(--link-color, #5ae4ff);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.related-project-card a:hover {
  color: var(--link-hover, #9bf0ff);
  text-decoration: underline;
}

.related-project-card a i {
  margin-right: 0.5rem;
  color: inherit;
}

@media (max-width: 768px) {
  .project-card {
    padding: 1rem;
  }

  .media-gallery {
    grid-template-columns: 1fr;
  }

  .tech-stack li {
    flex: 1 1 100%;
  }

  .related-projects {
    grid-template-columns: 1fr;
  }
}

/* YouTube Channel Overview */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border-color: rgba(75, 202, 255, 0.3);
}

.card-icon {
  font-size: 2rem;
  color: #4bcaff;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.25rem;
  margin: 0 0 1rem 0;
  color: #fff;
}

.card-links {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.card-links li {
  margin-bottom: 0.5rem;
}

.card-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  color: #e0e0e0;
  transition: color 0.2s ease;
}

.card-link:hover {
  color: #4bcaff;
  text-decoration: none;
}

.card-link i {
  width: 1.25rem;
  text-align: center;
}

.card-quote {
  font-style: italic;
  margin: 1rem 0 0 0;
  opacity: 0.8;
  font-size: 0.9rem;
  color: #b0b0b0;
}

.section-header {
  margin-bottom: 2rem;
  text-align: center;
}

.section-subtitle {
  color: #b0b0b0;
  max-width: 700px;
  margin: 0.5rem auto 0;
  line-height: 1.6;
}

/* ===== Badge Styles ===== */



.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.3rem;
  margin: 2.2rem 0 2.2rem 0;
  padding: 1.1rem 1.7rem;
  justify-content: center;
  background: rgba(36,40,56,0.12);
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(80,80,120,0.07);
}


.impact-badges-centered {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 1.3rem 0 1.7rem 0;
}

.impact-badges-centered .badge-impact-lg {
  font-size: 1.25rem;
  padding: 0.6em 1.7em;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 14px 0 rgba(139,92,246,0.08);
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(90, 228, 255, 0.1);
  border: 1px solid rgba(90, 228, 255, 0.2);
  border-radius: 20px;
  color: var(--text-color, #fff);
  font-size: 0.875rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.tech-badge i {
  color: #5ae4ff;
  font-size: 0.9em;
}

.tech-badge:hover {
  background: rgba(90, 228, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Impact Metrics */
.impact-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

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

.metric.ap-card {
  background: rgba(90, 228, 255, 0.05);
  border: 1px solid rgba(90, 228, 255, 0.1);
  border-radius: 8px;
  padding: 2rem 1.5rem 1.5rem;
  height: 100%;
  transition: all 0.3s ease;
  text-align: center;
}

.ap-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.ap-card i {
  color: var(--accent-color, #4bcaff);
  font-size: 2rem;
  margin: 0 0 1.25rem 0;
  display: block;
  transition: all 0.3s ease;
  text-align: center;
  width: 100%;
}

.ap-card:hover i {
  transform: rotate(8deg) scale(1.1);
  text-shadow: 0 0 15px rgba(75, 202, 255, 0.5);
}

.ap-card h3 {
  color: #fff;
  margin: 0.5rem 0 1rem;
  font-weight: 600;
  font-size: 1.25rem;
}

.ap-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}

.metric-card {
  background: rgba(90, 228, 255, 0.05);
  border: 1px solid rgba(90, 228, 255, 0.1);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.metric-card i {
  font-size: 2rem;
  color: #5ae4ff;
  margin-bottom: 1rem;
}

.metric-card h3 {
  font-size: 2rem;
  margin: 0.5rem 0;
  color: #fff;
  font-weight: 600;
}

.metric-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* Learnings Grid */
.learnings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.learning-card {
  background: rgba(90, 228, 255, 0.05);
  border: 1px solid rgba(90, 228, 255, 0.1);
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.learning-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.learning-card i {
  font-size: 1.5rem;
  color: #5ae4ff;
  margin-bottom: 1rem;
  display: inline-block;
}

.learning-card h3 {
  margin: 0.5rem 0 1rem;
  color: #fff;
  font-size: 1.25rem;
}

.learning-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* Next Project Section */
.next-project {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.next-project-card {
  background: rgba(90, 228, 255, 0.05);
  border: 1px solid rgba(90, 228, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.next-project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.next-project-link {
  display: block;
  color: inherit;
  text-decoration: none !important;
}

.next-project-content {
  padding: 2rem;
}

.next-project-content h3 {
  margin: 0 0 0.5rem;
  color: #fff;
  font-size: 1.5rem;
}

.next-project-content p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.next-project-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #5ae4ff;
  font-weight: 500;
  transition: all 0.3s ease;
}

.next-project-cta i {
  transition: transform 0.3s ease;
}

.next-project-link:hover .next-project-cta {
  gap: 0.75rem;
}

.next-project-link:hover .next-project-cta i {
  transform: translateX(3px);
}

@media (max-width: 600px) {
  .btn-primary, .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .cta-section {
    padding: 1.5rem 0;
  }
  
  .impact-metrics {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .learnings-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Hero Gradient Backgrounds ===== */
/* Base hero gradient styles */
.hero-gradient {
  position: relative;
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
  transition: all 0.5s ease;
  overflow: hidden;
}

/* Gradient animation */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 1. Cosmic Nebula */
.hero-gradient-cosmic {
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  --glow-color: rgba(138, 43, 226, 0.3);
}

/* 2. Deep Ocean */
.hero-gradient-ocean {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  --glow-color: rgba(64, 224, 208, 0.3);
}

/* 3. Sunset Glow */
.hero-gradient-sunset {
  background: linear-gradient(135deg, #ff6e7f, #bfe9ff);
  --glow-color: rgba(255, 165, 0, 0.3);
}

/* 4. Electric Violet */
.hero-gradient-violet {
  background: linear-gradient(135deg, #4776E6, #8E54E9);
  --glow-color: rgba(142, 84, 233, 0.4);
}

/* 5. Emerald Depths */
.hero-gradient-emerald {
  background: linear-gradient(135deg, #1a2980, #26D0CE);
  --glow-color: rgba(38, 208, 206, 0.4);
}

/* 6. Crimson Dawn */
.hero-gradient-crimson {
  background: linear-gradient(135deg, #ED213A, #93291E);
  --glow-color: rgba(237, 33, 58, 0.4);
}

/* 7. Midnight Express */
.hero-gradient-midnight {
  background: linear-gradient(135deg, #232526, #414345);
  --glow-color: rgba(65, 67, 69, 0.3);
}

/* 8. Aurora Borealis */
.hero-gradient-aurora {
  background: linear-gradient(135deg, #00B4DB, #0083B0, #00F260);
  --glow-color: rgba(0, 242, 96, 0.3);
}

/* 9. Royal Gold */
.hero-gradient-royal {
  background: linear-gradient(135deg, #1e130c, #9a8478);
  --glow-color: rgba(218, 165, 32, 0.3);
}

/* 10. Mystic Purple */
.hero-card.hero-card-video .hero-card-image.hero-gradient-mystic,
.hero-gradient-mystic {
  background: linear-gradient(135deg, #4b6cb7, #182848) !important;
  --glow-color: rgba(75, 108, 183, 0.4);
  background-size: 200% 200% !important;
  animation: gradientShift 15s ease infinite !important;
  position: relative;
  z-index: 1;
}

/* Add glow effect */
.hero-card.hero-card-video .hero-card-image.hero-gradient-mystic::before,
.hero-gradient-mystic::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(75, 108, 183, 0.5), transparent 60%);
  opacity: 0.7;
  z-index: -1;
  pointer-events: none;
}

/* ===== Creative & Game Genre Gradients ===== */
/* 11. Rainbow Explosion */
.hero-gradient-rainbow {
  background: linear-gradient(135deg, 
    #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8b00ff
  );
  --glow-color: rgba(255, 255, 255, 0.3);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
}

/* 12. Action Game */
.hero-gradient-action {
  background: linear-gradient(135deg, #ff0000, #ff6b6b, #ff8c42);
  --glow-color: rgba(255, 0, 0, 0.4);
}

/* 13. Fantasy */
.hero-gradient-fantasy {
  background: linear-gradient(135deg, #6a11cb, #2575fc, #8e2de2);
  --glow-color: rgba(138, 43, 226, 0.4);
}

/* 14. Casual */
.hero-gradient-casual {
  background: linear-gradient(135deg, #6aedc7, #39c0c0, #00cec9);
  --glow-color: rgba(129, 236, 236, 0.4);
}

/* 15. Sci-Fi */
.hero-gradient-scifi {
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  --glow-color: rgba(100, 149, 237, 0.4);
}

/* 16. Horror/Dark */
.hero-gradient-horror {
  background: linear-gradient(135deg, #1e0000, #4b0000, #800020);
  --glow-color: rgba(139, 0, 0, 0.4);
}

/* 17. Puzzle */
.hero-gradient-puzzle {
  background: linear-gradient(135deg, #00b4db, #0083b0, #00f260);
  --glow-color: rgba(0, 242, 96, 0.4);
}

/* 18. RPG */
.hero-gradient-rpg {
  background: linear-gradient(135deg, #1e3c72, #2a5298, #7b4397);
  --glow-color: rgba(147, 112, 219, 0.4);
}

/* 19. Sports */
.hero-gradient-sports {
  background: linear-gradient(135deg, #1d976c, #93f9b9, #f9c74f);
  --glow-color: rgba(57, 255, 20, 0.3);
}

/* 20. Retro/8-bit */
.hero-gradient-retro {
  background: linear-gradient(135deg, #ff9a9e, #fad0c4, #a18cd1);
  --glow-color: rgba(255, 105, 180, 0.4);
}

/* 21. Adventure */
.hero-gradient-adventure {
  background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
  --glow-color: rgba(255, 215, 0, 0.3);
}

/* 22. Strategy */
.hero-card.hero-card-video .hero-card-image.hero-gradient-strategy,
.hero-gradient-strategy {
  background: linear-gradient(135deg, #3a7bd5, #00d2ff) !important;
  --glow-color: rgba(0, 191, 255, 0.4);
  background-size: 200% 200% !important;
  animation: gradientShift 15s ease infinite !important;
  position: relative;
  z-index: 1;
}

/* 23. Arcade */
/* Force gradient to show with !important and specific selector */
.hero-card.hero-card-video .hero-card-image.hero-gradient-arcade,
.hero-gradient-arcade {
    background: linear-gradient(135deg, #ff416c, #ff4b2b) !important;
    --glow-color: rgba(255, 0, 0, 0.4);
    background-size: 200% 200% !important;
    animation: gradientShift 15s ease infinite !important;
    position: relative;
    z-index: 1;
}

/* Add glow effect */
.hero-card.hero-card-video .hero-card-image.hero-gradient-arcade::before,
/* Nova Quote Styling */
.nova-quote-section {
  margin: 3rem 0;
  position: relative;
  z-index: 1;
}

.nova-thought.aura-neon-burst {
  background: linear-gradient(135deg, #3F0D78 0%, #8B5CF6 50%, #E94EFF 100%);
  color: #fdf4ff;
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(186, 85, 211, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  transform: translateZ(0);
  transition: all 0.3s ease;
}

.nova-thought.aura-neon-burst:hover {
  transform: translateY(-4px) translateZ(0);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.nova-quote-content {
  position: relative;
  z-index: 2;
}

.nova-quote-text {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 15px rgba(233, 78, 255, 0.3);
  position: relative;
  z-index: 2;
}

.nova-signature {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #f5d0fe;
  text-shadow: 0 0 10px rgba(233, 78, 255, 0.4);
  margin-top: 1.5rem;
  position: relative;
  z-index: 2;
}

.nova-robot-icon {
  color: #e2a6ff;
  filter: drop-shadow(0 0 6px rgba(233, 78, 255, 0.6));
}

.nova-aura-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(233, 78, 255, 0.15), transparent 50%),
              radial-gradient(circle at 30% 70%, rgba(139, 92, 246, 0.15), transparent 50%);
  pointer-events: none;
  z-index: 1;
  border-radius: 12px;
}

/* Animation */
@keyframes auraPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.nova-thought.aura-neon-burst::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  animation: auraPulse 8s ease-in-out infinite;
  z-index: 1;
  border-radius: 12px;
}

.hero-gradient-arcade::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 100, 100, 0.5), transparent 60%);
    opacity: 0.7;
    z-index: -1;
    pointer-events: none;
}

/* 24. Simulation */
.hero-gradient-simulation {
  background: linear-gradient(135deg, #4ca1af, #c4e0e5);
  --glow-color: rgba(100, 181, 246, 0.4);
}

/* 25. Party/MMO */
.hero-gradient-party {
  background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1, #96e6a1);
  --glow-color: rgba(255, 255, 255, 0.4);
  background-size: 300% 300%;
  animation: gradientShift 12s ease infinite;
}

/* ===== Solid Color & Brand Gradients ===== */
/* 26. Xbox Green (Dark) */
.hero-gradient-xbox-dark {
  background: linear-gradient(135deg, #107c10, #0e700e);
  --glow-color: rgba(16, 124, 16, 0.5);
}

/* 27. Xbox Green (Light) */
.hero-gradient-xbox-light {
  background: linear-gradient(135deg, #0f7b0f, #1db954);
  --glow-color: rgba(29, 185, 84, 0.5);
}

/* 28. Solid Blue */
.hero-gradient-solid-blue {
  background: linear-gradient(135deg, #1e90ff, #1c86ee);
  --glow-color: rgba(30, 144, 255, 0.5);
}

/* 29. Solid Red */
.hero-gradient-solid-red {
  background: linear-gradient(135deg, #ff4444, #cc0000);
  --glow-color: rgba(255, 68, 68, 0.5);
}

/* Multicolor Hero Gradient (matches badge-multicolor-hero) */
.hero-gradient-multicolor-hero {
  background: linear-gradient(135deg,
    #0078D4 0%,   /* Word blue */
    #107C10 18%,   /* Excel green */
    #FFB900 36%,   /* PowerPoint yellow/orange */
    #D13430 54%,   /* Red */
    #8A2BE2 72%,   /* Purple */
    #FF6EC4 100%   /* Magenta/Pink accent */
  );
  --glow-color: rgba(255, 110, 196, 0.22);
  background-size: 300% 300%;
  animation: gradientShift 16s ease-in-out infinite;
}

/* Solarflare Gradient (matches badge-solarflare) */
.hero-gradient-solarflare {
  background: linear-gradient(90deg, #EDD50C 0%, #EF5D16 100%);
  --glow-color: rgba(239, 93, 22, 0.22);
  background-size: 200% 200%;
  animation: gradientShift 12s ease-in-out infinite;
}

/* 30. Solid Purple */
.hero-gradient-solid-purple {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  --glow-color: rgba(155, 89, 182, 0.5);
}

/* 31. Solid Gold */
.hero-gradient-solid-gold {
  background: linear-gradient(135deg, #ffd700, #d4af37);
  --glow-color: rgba(255, 215, 0, 0.5);
}

/* 32. Solid Orange */
.hero-gradient-solid-orange {
  background: linear-gradient(135deg, #ff8c00, #ff6b35);
  --glow-color: rgba(255, 140, 0, 0.5);
}

/* 33. Solid Teal */
.hero-gradient-solid-teal {
  background: linear-gradient(135deg, #20b2aa, #008b8b);
  --glow-color: rgba(32, 178, 170, 0.5);
}

/* 34. Solid Pink */
.hero-gradient-solid-pink {
  background: linear-gradient(135deg, #ff69b4, #ff1493);
  --glow-color: rgba(255, 105, 180, 0.5);
}

/* 35. Solid Slate */
.hero-gradient-solid-slate {
  background: linear-gradient(135deg, #2f4f4f, #2d3436);
  --glow-color: rgba(47, 79, 79, 0.5);
}

/* ===== Badge Color Variations ===== */
.badge-cosmic { background-color: rgba(116, 0, 184, 0.12); color: #e2b3ff; border: 1px solid rgba(138, 43, 226, 0.3); }
.badge-ocean { background-color: rgba(0, 105, 148, 0.12); color: #a3e0ff; border: 1px solid rgba(0, 191, 255, 0.3); }
.badge-sunset { background-color: rgba(255, 107, 0, 0.12); color: #ffd1a4; border: 1px solid rgba(255, 165, 0, 0.3); }
.badge-violet { background-color: rgba(147, 51, 234, 0.12); color: #d9b3ff; border: 1px solid rgba(186, 85, 211, 0.3); }
.badge-emerald { background-color: rgba(16, 185, 129, 0.12); color: #a7f3d0; border: 1px solid rgba(46, 213, 115, 0.3); }
.badge-crimson { background-color: rgba(220, 38, 38, 0.12); color: #fecaca; border: 1px solid rgba(248, 113, 113, 0.3); }
.badge-midnight { background-color: rgba(30, 41, 59, 0.15); color: #cbd5e1; border: 1px solid #475569; }
/* AI Pipeline Section */
.ai-pipeline-section {
  margin: 4rem 0;
  position: relative;
  overflow: hidden;
  padding: 3rem 0;
  background: linear-gradient(135deg, rgba(11, 15, 25, 0.9), rgba(22, 28, 45, 0.9));
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(75, 202, 255, 0.15);
  backdrop-filter: blur(10px);
  animation: pulseGlow 8s infinite alternate;
  transform: translateZ(0);
  transition: all 0.4s ease;
}

.ai-pipeline-section:hover {
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
  border-color: rgba(75, 202, 255, 0.25);
}

/* Pipeline Controls */
.pipeline-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 0 auto 2.5rem;
  max-width: 1200px;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.pipeline-nav-btn {
  background: rgba(75, 202, 255, 0.1);
  border: 1px solid rgba(75, 202, 255, 0.2);
  color: #4bcaff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  font-size: 1rem;
}

.pipeline-nav-btn:hover {
  background: rgba(75, 202, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(75, 202, 255, 0.2);
}

.pipeline-nav-btn:active {
  transform: translateY(0);
}

.pipeline-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Pipeline Container */
.pipeline-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
}

.pipeline-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0.0rem;
  width: max-content;
}

/* Pipeline Stage */
.pipeline-stage {
  width: 320px;
  min-width: 300px;
  padding: 2rem;
  background: rgba(22, 28, 45, 0.6);
  border: 1px solid rgba(75, 202, 255, 0.15);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  transform: translateY(0);
  opacity: 1;
  cursor: pointer;
}

.pipeline-stage:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(75, 202, 255, 0.3);
  z-index: 2;
}

.pipeline-stage::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4bcaff, #8a2be2);
  opacity: 0.8;
  transition: all 0.4s ease;
}

.pipeline-stage:hover::before {
  opacity: 1;
  height: 4px;
}

.pipeline-stage.active {
  border-color: rgba(75, 202, 255, 0.4);
  background: rgba(30, 40, 60, 0.7);
}

.pipeline-stage.active .pipeline-icon {
  transform: scale(1.1);
}

/* Pipeline Icon */
.pipeline-icon {
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.icon-inner {
  font-size: 2.5rem;
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
}

.pulse-effect {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(75, 202, 255, 0.1);
  border-radius: 50%;
  opacity: 0;
  animation: pulse 3s infinite;
  transition: all 0.4s ease;
}

.pipeline-stage:hover .pulse-effect {
  opacity: 1;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.2);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* Stage Tools */
.stage-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem -0.5rem -0.5rem;
  padding: 1rem 0.5rem 0;
  border-top: 1px dashed rgba(75, 202, 255, 0.2);
  align-items: center;
  min-height: 60px;
}

/* Tool Tags */
.tool-tag {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0.15rem;
  position: relative;
  overflow: hidden;
  min-width: 40px;
  height: 32px;
  cursor: default;
  line-height: 1;
  text-align: center;
  background: unset;
  color: unset;
  border-color: unset;
}

.tool-tag[class*="badge-"] {
  background: inherit;
  color: inherit;
  border-color: inherit;
}

[class^="badge-"] {
  background-color: inherit;
  color: inherit;
  border-color: inherit;
}

.tool-tag.badge-solid-purple, .tool-tag.badge-solid-teal, .tool-tag.badge-solid-gold, .tool-tag.badge-solid-pink, .tool-tag.badge-solid-green, .tool-tag.badge-aurora, .tool-tag.badge-solid-orange, .tool-tag.badge-solid-slate, .tool-tag.badge-solid-red {
  background-color: initial;
  color: initial;
  border-color: initial;
}

.tool-tag.badge-solid-purple { background-color: rgba(139, 92, 246, 0.12) !important; color: #e2d6ff !important; border: 1px solid rgba(167, 139, 250, 0.3) !important; }
.tool-tag.badge-solid-teal { background-color: rgba(20, 184, 166, 0.12) !important; color: #99f6e4 !important; border: 1px solid rgba(45, 212, 191, 0.3) !important; }
.tool-tag.badge-solid-gold { background-color: rgba(245, 158, 11, 0.15) !important; color: #fef08a !important; border: 1px solid rgba(251, 191, 36, 0.3) !important; }
.tool-tag.badge-solid-pink { background-color: rgba(236, 72, 153, 0.12) !important; color: #fbcfe8 !important; border: 1px solid rgba(244, 114, 182, 0.3) !important; }
.tool-tag.badge-solid-green { background-color: #22c55e1f !important; color: #bbf7d0 !important; border: 1px solid #22c55e4d !important; }
.tool-tag.badge-aurora { background-color: rgba(59, 130, 246, 0.12) !important; color: #bfdbfe !important; border: 1px solid rgba(59, 130, 246, 0.3) !important; }
.tool-tag.badge-solid-orange { background-color: rgba(249, 115, 22, 0.12) !important; color: #fed7aa !important; border: 1px solid rgba(251, 146, 60, 0.3) !important; }
.tool-tag.badge-solid-slate { background-color: rgba(100, 116, 139, 0.12) !important; color: #e2e8f0 !important; border: 1px solid rgba(148, 163, 184, 0.3) !important; }
.tool-tag.badge-solid-red { background-color: rgba(220, 38, 38, 0.12) !important; color: #fecaca !important; border: 1px solid rgba(248, 113, 113, 0.3) !important; }


.tool-tag i {
  font-size: 1rem;
  margin-right: 0.3rem;
  width: 1em;
  height: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Different colored tool tags */
.tool-tag:nth-child(3n+1) {
  background: rgba(75, 202, 255, 0.1);
  color: #4bcaff;
  border-color: rgba(75, 202, 255, 0.2);
}

.tool-tag:nth-child(3n+2) {
  background: rgba(138, 43, 226, 0.1);
  color: #b07aff;
  border-color: rgba(138, 43, 226, 0.2);
}

.tool-tag:nth-child(3n+3) {
  background: rgba(0, 255, 179, 0.1);
  color: #00ffb3;
  border-color: rgba(0, 255, 179, 0.2);
}

/* Hover effects */
.pipeline-stage:hover .tool-tag:nth-child(3n+1) {
  background: rgba(75, 202, 255, 0.2);
  box-shadow: 0 2px 8px rgba(75, 202, 255, 0.2);
  transform: translateY(-2px);
}

.pipeline-stage:hover .tool-tag:nth-child(3n+2) {
  background: rgba(138, 43, 226, 0.2);
  box-shadow: 0 2px 8px rgba(138, 43, 226, 0.2);
  transform: translateY(-2px);
}

.pipeline-stage:hover .tool-tag:nth-child(3n+3) {
  background: rgba(0, 255, 179, 0.2);
  box-shadow: 0 2px 8px rgba(0, 255, 179, 0.2);
  transform: translateY(-2px);
}

/* Subtle pulse animation on hover */
@keyframes tagPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.tool-tag:hover {
  animation: tagPulse 0.5s ease;
  z-index: 1;
}

/* Progress Bar */
.pipeline-progress {
  margin: 2.5rem auto 0;
  max-width: 800px;
  padding: 0 2rem;
  position: relative;
}

.progress-track {
  height: 3px;
  background: rgba(75, 202, 255, 0.1);
  border-radius: 4px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  position: relative;
}

.progress-bar {
  height: 100%;
  width: 16.666%;
  background: linear-gradient(90deg, #4bcaff, #8a2be2);
  border-radius: 4px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s ease;
  transform-origin: left;
  box-shadow: 0 0 10px rgba(75, 202, 255, 0.3);
}

/* Stage Indicators */
.stage-indicators {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 0;
  padding: 0 0.5rem;
  width: 100%;
}

.stage-indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(75, 202, 255, 0.2);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  flex-shrink: 0;
  transform: translateY(-50%);
  top: -6px;
  outline: none;
}

.stage-indicator::after {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border: 2px solid transparent;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 15px rgba(75, 202, 255, 0.4);
}

.stage-indicator.active {
  background: #4bcaff;
  transform: translateY(-50%) scale(1.4);
  box-shadow: 0 0 20px rgba(75, 202, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.3);
}

.stage-indicator.active::after {
  border-color: #4bcaff;
  opacity: 0.8;
  animation: pulse 2s infinite;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
}

.stage-indicator:hover {
  transform: translateY(-50%) scale(1.6);
  background: rgba(75, 202, 255, 0.4);
  box-shadow: 0 0 15px rgba(75, 202, 255, 0.4);
}

.stage-indicator:focus {
  outline: none;
  transform: translateY(-50%) scale(1.6);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3), 0 0 20px rgba(75, 202, 255, 0.6);
}

/* Pipeline Status */
#pipeline-status {
  display: block;
  width: 90%;
  max-width: 800px;
  margin: 1.5rem auto;
  text-align: center;
  margin-top: 2rem;
  opacity: 0.8;
  transition: all 0.3s ease;
}

/* Gradient Border Effect */
.pipeline-stage::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(45deg, #4bcaff, #8a2be2);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: all 0.4s ease;
}

.pipeline-stage:hover::after {
  opacity: 0.5;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .pipeline-stage {
    width: 280px;
    min-width: 260px;
  }
}

@media (max-width: 768px) {
  .pipeline-controls {
    gap: 0.5rem;
  }
  
  .pipeline-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
  
  .pipeline-stage {
    width: 260px;
    min-width: 240px;
    padding: 1.5rem;
  }
  
  .pipeline-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1.25rem;
  }
  
  .icon-inner {
    font-size: 2rem;
  }
  
  .pipeline-stage h3 {
    font-size: 1.1rem;
  }
  
  .pipeline-stage p {
    font-size: 0.9rem;
  }
  
  .tool-tag {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
  }
}

/* Animation for stage entrance */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pipeline-stage {
  animation: slideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.pipeline-stage:nth-child(1) { animation-delay: 0.1s; }
.pipeline-stage:nth-child(2) { animation-delay: 0.2s; }
.pipeline-stage:nth-child(3) { animation-delay: 0.3s; }
.pipeline-stage:nth-child(4) { animation-delay: 0.4s; }
.pipeline-stage:nth-child(5) { animation-delay: 0.5s; }
.pipeline-stage:nth-child(6) { animation-delay: 0.6s; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .pipeline-stage {
    animation: none;
    opacity: 1;
  }
  
  .pipeline-track {
    transition: none;
  }
  
  .progress-bar {
    transition: none;
  }
}

/* Pipeline Container */
.ai-pipeline-section .xbox-section-header {
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.ai-pipeline-section .xbox-section-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #8b5cf6, transparent);
  opacity: 0.5;
}

.ai-pipeline-section .xbox-section-header i {
  font-size: 1.8rem;
  width: 2.8rem;
  height: 2.8rem;
  min-width: 2.8rem;
  min-height: 2.8rem;
  background: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
  margin: 0;
  top: 0;
}

.ai-pipeline-section .xbox-section-header h2 {
  color: #f5d0fe;
  font-size: 2.2rem;
  font-weight: 600;
  text-shadow: 0 0 15px rgba(233, 78, 255, 0.4);
  margin: 0;
  padding: 0;
  line-height: 1.2;
  background: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  height: auto;
  letter-spacing: -0.02em;
}

.ai-pipeline-section .section-description {
  color: #c4b5fd;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  line-height: 1.6;
  padding: 0 1rem;
}

.pipeline-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

.pipeline-step {
  display: flex;
  margin-bottom: 2.5rem;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.pipeline-step.visible {
  opacity: 1;
  transform: translateY(0);
}

.step-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #8b5cf6, #c084fc);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  margin-right: 1.5rem;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.3);
}

.step-content {
  background: rgba(65, 15, 128, 0.2);
  border: 1px solid rgba(186, 85, 211, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  flex-grow: 1;
  position: relative;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.step-content:hover {
  transform: translateX(5px);
  border-color: rgba(233, 78, 255, 0.4);
  box-shadow: 0 5px 20px rgba(138, 43, 226, 0.2);
}

.step-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(192, 132, 252, 0.15));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: #e2a6ff;
  box-shadow: 0 4px 15px rgba(138, 43, 226, 0.2);
  float: left;
  margin-right: 1.5rem;
  margin-top: 0.5rem;
}

.step-content h3 {
  color: #f5d0fe;
  margin: 0 0 0.5rem 0;
  font-size: 1.3rem;
  padding-top: 0.5rem;
}

.step-content p {
  color: #d8b4fe;
  margin: 0;
  line-height: 1.6;
  clear: both;
  padding-top: 0.5rem;
}

.step-connector {
  position: absolute;
  left: 20px;
  top: 100%;
  height: 2.5rem;
  width: 2px;
  background: linear-gradient(to bottom, #8b5cf6, #c084fc);
  opacity: 0.5;
  z-index: 1;
}

.pipeline-step:last-child .step-connector {
  display: none;
}

.pipeline-tech {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
  padding: 0 1rem;
}

.tech-tag {
  background: rgba(147, 51, 234, 0.15);
  color: #d8b4fe;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(192, 132, 252, 0.2);
  transition: all 0.3s ease;
}

.tech-tag:hover {
  background: rgba(147, 51, 234, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(138, 43, 226, 0.2);
}

.tech-tag i {
  color: #c084fc;
}

/* Animation for pipeline steps */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .pipeline-step {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .step-number {
    margin-bottom: 1rem;
    margin-left: 1.5rem;
  }
  
  .step-connector {
    left: 40px;
    top: 40px;
    height: calc(100% + 2.5rem);
  }
  
  .step-icon {
    float: none;
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .step-content h3,
  .step-content p {
    clear: none;
  }
}

/* AI Flow Section */
.ai-flow-section {
  margin: 4rem 0;
  position: relative;
  overflow: hidden;
}

.ai-flow-section h2 {
  color: #f5d0fe;
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(233, 78, 255, 0.3);
}

.ai-flow-section .section-description {
  color: #c4b5fd;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* AI Flow Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.card {
  background: linear-gradient(135deg, rgba(65, 15, 128, 0.15), rgba(101, 40, 181, 0.2));
  border: 1px solid rgba(186, 85, 211, 0.2);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent);
  z-index: 1;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(138, 43, 226, 0.2);
  border-color: rgba(233, 78, 255, 0.4);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(192, 132, 252, 0.15));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: #e2a6ff;
  box-shadow: 0 4px 15px rgba(138, 43, 226, 0.2);
}

.card h3 {
  color: #f5d0fe;
  margin: 0 0 1rem;
  font-size: 1.4rem;
}

.card p {
  color: #d8b4fe;
  margin: 0 0 1.5rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

.card-footer {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  background: rgba(147, 51, 234, 0.15);
  color: #d8b4fe;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border: 1px solid rgba(192, 132, 252, 0.2);
  transition: all 0.2s ease;
}

.tag i {
  font-size: 0.7em;
  color: #c084fc;
}

/* Glow hover effect */
.glow-hover {
  position: relative;
  z-index: 1;
}

.glow-hover::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(233, 78, 255, 0.1), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(147, 51, 234, 0.1), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
  border-radius: inherit;
}

.glow-hover:hover::after {
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .ai-flow-section h2 {
    font-size: 1.8rem;
  }
  
  .card {
    padding: 1.5rem;
  }
}

.badge-aurora { background-color: rgba(59, 130, 246, 0.12); color: #bfdbfe; border: 1px solid rgba(59, 130, 246, 0.3); }
.badge-royal { background-color: rgba(79, 70, 229, 0.12); color: #c7d2fe; border: 1px solid rgba(99, 102, 241, 0.3); }
.badge-mystic { background-color: rgba(139, 92, 246, 0.12); color: #ddd6fe; border: 1px solid rgba(139, 92, 246, 0.3); }
.badge-rainbow { background-color: rgba(99, 102, 241, 0.12); color: #c7d2fe; border: 1px solid rgba(99, 102, 241, 0.3); }
.badge-action { background-color: rgba(220, 38, 38, 0.12); color: #fecaca; border: 1px solid rgba(248, 113, 113, 0.3); }
.badge-fantasy { background-color: rgba(139, 92, 246, 0.12); color: #e2d6ff; border: 1px solid rgba(167, 139, 250, 0.3); }
.badge-casual { background-color: rgba(16, 185, 129, 0.12); color: #a7f3d0; border: 1px solid rgba(46, 213, 115, 0.3); }
.badge-scifi { background-color: rgba(59, 130, 246, 0.12); color: #bfdbfe; border: 1px solid rgba(96, 165, 250, 0.3); }
.badge-horror { background-color: rgba(220, 38, 38, 0.15); color: #fecaca; border: 1px solid rgba(220, 38, 38, 0.3); }
.badge-puzzle { background-color: rgba(245, 158, 11, 0.12); color: #fed7aa; border: 1px solid rgba(251, 191, 36, 0.3); }
.badge-rpg { background-color: rgba(139, 92, 246, 0.12); color: #e2d6ff; border: 1px solid rgba(167, 139, 250, 0.3); }
.badge-sports { background-color: rgba(16, 185, 129, 0.12); color: #a7f3d0; border: 1px solid rgba(46, 213, 115, 0.3); }
.badge-retro { background-color: rgba(245, 158, 11, 0.12); color: #fef08a; border: 1px solid rgba(251, 191, 36, 0.3); }
.badge-adventure { background-color: rgba(5, 150, 105, 0.12); color: #a7f3d0; border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-strategy { background-color: rgba(59, 130, 246, 0.12); color: #bfdbfe; border: 1px solid rgba(96, 165, 250, 0.3); }
.badge-arcade { background-color: rgba(245, 158, 11, 0.12); color: #fef08a; border: 1px solid rgba(251, 191, 36, 0.3); }
.badge-simulation { background-color: rgba(59, 130, 246, 0.12); color: #bfdbfe; border: 1px solid rgba(96, 165, 250, 0.3); }
.badge-party { background-color: rgba(236, 72, 153, 0.12); color: #fbcfe8; border: 1px solid rgba(236, 72, 153, 0.3); }
.badge-xbox-dark { background-color: rgba(16, 124, 16, 0.15); color: #bbf7d0; border: 1px solid rgba(34, 197, 94, 0.3); }
.badge-xbox-light { background-color: rgba(34, 197, 94, 0.12); color: #bbf7d0; border: 1px solid rgba(74, 222, 128, 0.3); }
.badge-starlight { 
  background: linear-gradient(135deg, rgba(65, 15, 128, 0.2), rgba(138, 43, 226, 0.15)); 
  color: #f5d0fe; 
  border: 1px solid rgba(186, 85, 211, 0.3);
  backdrop-filter: blur(4px);
  text-shadow: 0 0 8px rgba(233, 78, 255, 0.4);
}
.badge-starlight i {
  color: #e2a6ff;
  filter: drop-shadow(0 0 4px rgba(233, 78, 255, 0.5));
}
.badge-solid-blue { background-color: rgba(59, 130, 246, 0.12); color: #bfdbfe; border: 1px solid rgba(96, 165, 250, 0.3); }
.badge-solid-red { background-color: rgba(220, 38, 38, 0.12); color: #fecaca; border: 1px solid rgba(248, 113, 113, 0.3); }
.badge-solid-purple { background-color: rgba(139, 92, 246, 0.12); color: #e2d6ff; border: 1px solid rgba(167, 139, 250, 0.3); }
.badge-solid-gold { background-color: rgba(245, 158, 11, 0.15); color: #fef08a; border: 1px solid rgba(251, 191, 36, 0.3); }
.badge-solid-orange { background-color: rgba(249, 115, 22, 0.12); color: #fed7aa; border: 1px solid rgba(251, 146, 60, 0.3); }
.badge-solid-teal { background-color: rgba(20, 184, 166, 0.12); color: #99f6e4; border: 1px solid rgba(45, 212, 191, 0.3); }
.badge-solid-pink { background-color: rgba(236, 72, 153, 0.12); color: #fbcfe8; border: 1px solid rgba(244, 114, 182, 0.3); }
.badge-solid-slate { background-color: rgba(100, 116, 139, 0.12); color: #e2e8f0; border: 1px solid rgba(148, 163, 184, 0.3); }

/* Hover effects for badges */
[class^="badge-"]:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease-in-out;
}

/* Base badge styles */

/* Multi-color gradient badge for hero/title badges */
.badge-multicolor-hero {
  display: inline-block;
  padding: 0.4rem 1.1rem;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg,
    #0078D4 0%,   /* Word blue */
    #107C10 18%,   /* Excel green */
    #FFB900 36%,   /* PowerPoint yellow/orange */
    #D13430 54%,   /* Red */
    #8A2BE2 72%,   /* Purple */
    #FF6EC4 100%   /* Magenta/Pink accent */
  );
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px rgba(90, 228, 255, 0.07);
  text-shadow: 0 1px 4px rgba(0,0,0,0.18);
  transition: box-shadow 0.2s, transform 0.2s;
}
.badge-multicolor-hero:hover {
  box-shadow: 0 4px 18px rgba(90, 228, 255, 0.14);
  transform: translateY(-2px) scale(1.03);
}

/* Simple yellow-orange gradient badge */
.badge-solarflare {
  display: inline-block;
  padding: 0.4rem 1.1rem;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: 0.08em;
  background: linear-gradient(90deg, #EDD50C 0%, #EF5D16 100%);
  color: #2a1800;
  border: none;
  box-shadow: 0 2px 8px rgba(255, 184, 0, 0.08);
  text-shadow: 0 1px 2px rgba(255,255,255,0.12);
  transition: box-shadow 0.2s, transform 0.2s;
}
.badge-solarflare:hover {
  box-shadow: 0 4px 16px rgba(239, 93, 22, 0.14);
  transform: translateY(-2px) scale(1.03);
}

.hero-card-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  letter-spacing: 0.08em;
  transition: all 0.2s ease-in-out;
}

/* Hero Gradients - Consistent Application */
.hero-card-image {
  position: relative;
  overflow: hidden;
}

.hero-card-image.hero-gradient-cosmic {
  --gradient-start: #0f0c29;
  --gradient-mid: #302b63;
  --gradient-end: #24243e;
  --gradient-glow: rgba(147, 112, 219, 0.6);
  
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
}

.hero-card-image.hero-gradient-cosmic::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 30%, var(--gradient-glow), transparent 60%);
  opacity: 0.7;
  z-index: 1;
  pointer-events: none;
}

/* Ensure content stays above gradient */
.hero-card-image > * {
  position: relative;
  z-index: 2;
}

/* Glow Effect */
.hero-gradient::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    var(--glow-color, rgba(90, 228, 255, 0.3)) 0%,
    transparent 70%
  );
  opacity: 0.7;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.hero-gradient:hover::after {
  opacity: 1;
}

/* Text styles for hero gradients */
.hero-gradient .hero-headline,
.hero-gradient .hero-subheadline,
.hero-gradient .hero-cta {
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.8);
}

/* Responsive adjustments for hero gradients */
@media (max-width: 768px) {
  .hero-gradient {
    animation: gradientShift 20s ease infinite;
  }
  
  .hero-gradient::after {
    opacity: 0.5;
  }
}

/* ===== Enhanced Quote Styles ===== */
.ap-quote {
  position: relative;
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border-left: 3px solid var(--accent-color, #4bcaff);
  transition: all 0.3s ease;
}

.ap-quote--featured {
  background: linear-gradient(135deg, rgba(90, 200, 250, 0.05) 0%, rgba(90, 200, 250, 0.02) 100%);
  border-left: 3px solid var(--accent-color, #4bcaff);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ap-quote-content {
  position: relative;
  z-index: 1;
}

.ap-quote__icon {
  font-size: 2.5rem;
  color: var(--accent-color, #4bcaff);
  opacity: 0.2;
  margin-bottom: 1rem;
}

.ap-quote__text {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #fff;
  margin: 0 0 1.5rem 0;
  font-style: italic;
  position: relative;
  padding-left: 1.5rem;
  border-left: 2px solid rgba(75, 202, 255, 0.3);
}

.ap-quote__text::before {
  content: "";
  display: none;
}

.ap-quote__footer {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ap-quote__author {
  font-weight: 600;
  color: var(--accent-color, #4bcaff);
  font-size: 1.1rem;
}

.ap-quote__role {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

/* Hover Effects */
.ap-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  border-left-color: var(--accent-color, #5ac8fa);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .ap-quote {
    padding: 1.5rem;
    margin: 1.5rem 0;
  }
  
  .ap-quote__text {
    font-size: 1.1rem;
    padding-left: 1rem;
  }
  
  .ap-quote__text::before {
    font-size: 3rem;
    left: -0.5rem;
    top: -0.5rem;
  }
}