/* Project-specific styles for URL Content Analyzer */
@import url('../../assets/styles.css');

/* Additional Spacing Element */
.section-spacer {
  margin: 3rem 0;
  height: 1px;
  width: 100%;
}

/* Project Color Variables */
:root {
  --primary-color: #0050E0;
  --secondary-color: #00C2FF;
  --accent-color: #6236FF;
  --dark-blue: #001950;
  --light-blue: #E5F0FF;
  --success-green: #00C853;
  --warning-orange: #FF9100;
  --error-red: #FF3D00;
  --grey-100: #F5F7FA;
  --grey-300: #D1D9E6;
  --grey-500: #8E99AE;
  --grey-700: #4D5B7C;
  --grey-900: #1A2A4A;
  
  /* Modern UI Variables */
  --glass-bg: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 80, 224, 0.12);
  --gradient-primary: linear-gradient(135deg, #0050E0, #00C2FF);
  --glow-primary: 0 0 15px rgba(0, 194, 255, 0.5);
  --terminal-bg: #0E1525;
  --terminal-text: #E5F0FF;
  --dot-grid: radial-gradient(var(--grey-300) 1px, transparent 1px);
}

/* Light Mode Styles */
.light-mode {
  --bg-color: #FFFFFF;
  --card-bg: var(--grey-100);
  --text-color: var(--grey-900);
  --heading-color: var(--dark-blue);
  --border-color: var(--grey-300);
  --highlight-bg: var(--light-blue);
  --code-bg: #F7FAFF;
}

/* Disclaimer Styling */
.disclaimer-section {
  background-color: rgba(0, 0, 0, 0.03);
  padding: 1.5rem 0;
  margin-top: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.disclaimer-section .container {
  max-width: 900px;
}

.disclaimer-content {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--grey-700);
}

.disclaimer-content h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--grey-900);
}

@media screen and (max-width: 768px) {
  .disclaimer-section {
    padding: 1.25rem 0;
  }
  
  .disclaimer-content {
    font-size: 0.8rem;
  }
}

/* Custom Cursor */
.custom-cursor .cursor-dot {
  background-color: var(--secondary-color);
  box-shadow: 0 0 10px var(--secondary-color);
}

.custom-cursor .cursor-outline {
  border-color: var(--primary-color);
  transition: transform 0.2s ease, border-color 0.4s ease;
}

.custom-cursor.active .cursor-outline {
  transform: scale(1.5);
  border-color: var(--secondary-color);
}

/* Hero Section */
.case-study-hero {
  position: relative;
  background-color: var(--terminal-bg);
  color: white;
  overflow: hidden;
  min-height: 600px; /* Increased height */
  padding: 120px 0 80px; /* Added more padding */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.7;
}

.case-study-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: var(--dot-grid);
  background-size: 20px 20px;
  opacity: 0.5;
  z-index: 0;
}

/* Particle Animation */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  background: var(--primary-color);
  border-radius: 50%;
  opacity: 0.3;
}

/* Case Study Specific Overrides */
.case-study-title {
  color: var(--primary-color);
  position: relative;
  z-index: 2;
  font-family: 'JetBrains Mono', monospace;
}

.case-study-title::after {
  content: '()';
  color: var(--secondary-color);
  opacity: 0.7;
}

.case-study-title .line {
  display: inline-block;
  margin-bottom: 1.5rem; /* Added space below title */
}

.case-study-tagline {
  position: relative;
  z-index: 2;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.2rem; /* Slightly larger */
  color: var(--primary-color);
  margin-bottom: 1.5rem; /* Added space below tagline */
  line-height: 1.6; /* Improved line height */
}

.case-study-description {
  position: relative;
  z-index: 2;
  margin-top: 1rem; /* Increased margin */
  margin-bottom: 1.5rem; /* Added space below description */
  max-width: 650px;
}

.tech-tags {
  display: flex;
  gap: 1.2rem; /* Increased gap */
  margin-top: 2.5rem; /* Increased top margin */
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.tech-tag {
  background: rgba(0, 80, 224, 0.15);
  color: var(--secondary-color);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-family: 'JetBrains Mono', monospace;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 194, 255, 0.2);
  transition: all 0.3s ease;
}

.tech-tag:hover {
  background: rgba(0, 80, 224, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 194, 255, 0.2);
}

/* Metadata grid styling */
.metadata-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0 3rem;
}

.metadata-item h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

.metadata-item p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--grey-700);
}

/* Code cursor animation */
.code-cursor {
  display: inline-block;
  width: 1px;
  height: 1.2em;
  background-color: var(--secondary-color);
  margin-left: 0.2em;
  animation: blink 1s infinite;
  vertical-align: middle;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Technology Stack */
.tech-stack-container {
  margin: 3rem 0;
  background-color: var(--terminal-bg);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
}

.tech-stack-container::before {
  content: '> tech.stack';
  font-family: 'JetBrains Mono', monospace;
  color: var(--secondary-color);
  position: absolute;
  top: 0.75rem;
  left: 1rem;
  font-size: 0.8rem;
  opacity: 0.7;
}

.tech-stack {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1rem;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.3s ease;
}

.tech-item:hover {
  transform: translateY(-8px);
}

.tech-item p {
  color: var(--terminal-text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
}

.tech-icon {
  width: 64px;
  height: 64px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  filter: drop-shadow(0 0 8px rgba(0, 194, 255, 0.5));
  transition: transform 0.3s ease;
}

.tech-item:hover .tech-icon {
  transform: scale(1.1);
}

.js-icon {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 630 630"><rect width="630" height="630" fill="%23f7df1e"/><path d="m423.2 492.19c12.69 20.72 29.2 35.95 58.4 35.95 24.53 0 40.2-12.26 40.2-29.2 0-20.3-16.1-27.49-43.1-39.3l-14.8-6.35c-42.72-18.2-71.1-41-71.1-89.2 0-44.4 33.83-78.2 86.7-78.2 37.64 0 64.7 13.1 84.2 47.4l-46.1 29.6c-10.15-18.2-21.1-25.37-38.1-25.37-17.34 0-28.33 11-28.33 25.37 0 17.76 11 24.95 36.4 35.95l14.8 6.34c50.3 21.57 78.7 43.56 78.7 93 0 53.3-41.87 82.5-98.1 82.5-54.98 0-90.5-26.2-107.88-60.54zm-209.13 5.13c9.3 16.5 17.76 30.45 38.1 30.45 19.45 0 31.72-7.61 31.72-37.2v-201.3h59.2v202.1c0 61.3-35.94 89.2-88.4 89.2-47.4 0-74.85-24.53-88.81-54.075z"/></svg>');
}

.html-icon {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23E44D26" d="M107.6 470.9l-33-370.3h362.8l-33 370.2L255.8 512z"/><path fill="%23F16529" d="M256 480.5V131H404.3L376 447z"/><path fill="%23EBEBEB" d="M142 176.3h114v45.4h-64.2l4.2 46.5h60v45.3H154.4M156.4 336.3H202l3.2 36.3 50.8 13.6v47.4l-93.2-26"/><path fill="%23fff" d="M369.6 176.3H255.8v45.4h109.6M361.3 268.2H255.8v45.4h56l-5.3 59-50.7 13.6v47.2l93-25.8"/></svg>');
}

.css-icon {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%230096DC" d="M107.6 470.9l-33-370.3h362.8l-33 370.2L255.8 512z"/><path fill="%230096DC" d="M256 480.5V131H404.3L376 447z"/><path fill="%23fff" d="M142 176.3h114v45.4h-64.2l4.2 46.5h60v45.3H154.4M156.4 336.3H202l3.2 36.3 50.8 13.6v47.4l-93.2-26"/><path fill="%23EBEBEB" d="M369.6 176.3H255.8v45.4h109.6M361.3 268.2H255.8v45.4h56l-5.3 59-50.7 13.6v47.2l93-25.8"/></svg>');
}

.api-icon {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%230050E0" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="16 18 22 12 16 6"></polyline><polyline points="8 6 2 12 8 18"></polyline></svg>');
}

.ui-icon {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%230050E0" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><line x1="3" y1="9" x2="21" y2="9"></line><line x1="9" y1="21" x2="9" y2="9"></line></svg>');
}

/* Process Stages */
.process-stages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  perspective: 1000px;
}

.stage {
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.4s ease;
  box-shadow: 0 8px 32px 0 rgba(0, 80, 224, 0.1);
  position: relative;
  overflow: hidden;
}

.stage::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  z-index: 1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.stage:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 80, 224, 0.15);
  border-color: var(--secondary-color);
}

.stage:hover::before {
  transform: scaleX(1);
}

.stage-icon {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.stage:hover .stage-icon {
  transform: scale(1.2);
}

.stage h3 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-family: 'JetBrains Mono', monospace;
  position: relative;
  display: inline-block;
  transition: transform 0.3s ease;
}

.stage h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.4s ease;
}

.stage:hover h3::after {
  width: 100%;
}

/* Code Features */
.code-features-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 3rem 0;
}

.code-feature {
  background-color: var(--terminal-bg);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  position: relative;
  border: 1px solid rgba(0, 194, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.code-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 80, 224, 0.2);
}

.code-feature h3 {
  background-color: var(--primary-color);
  color: white;
  margin: 0;
  padding: 1rem 2rem;
  font-size: 1.25rem;
  font-family: 'JetBrains Mono', monospace;
  position: relative;
}

.code-feature h3::before {
  content: '// function';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  opacity: 0.6;
}

.function-heading {
  font-family: 'JetBrains Mono', monospace;
  color: #DCDCAA;
  margin-bottom: 0.5rem;
}

.function-heading .parameters {
  color: #9CDCFE;
  font-weight: normal;
  opacity: 0.8;
}

.function-params {
  font-weight: normal;
  opacity: 0.7;
  font-size: 0.9em;
}

.code-snippet {
  padding: 0;
  margin: 0;
  overflow-x: auto;
  position: relative;
}

.code-snippet::before {
  content: '1 2 3 4 5 6 7 8 9 10';
  position: absolute;
  left: 10px;
  top: 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.3);
  white-space: pre;
  line-height: 1.5;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}

.code-snippet pre {
  margin: 0;
  padding: 1.5rem 1.5rem 1.5rem 2.5rem;
  background-color: var(--terminal-bg);
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
  position: relative;
}

.code-snippet code {
  font-family: 'JetBrains Mono', monospace;
  color: var(--terminal-text);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Syntax highlighting classes */
.code-keyword {
  color: #569CD6; /* blue */
}

.code-string {
  color: #CE9178; /* orange */
}

.code-comment {
  color: #6A9955; /* green */
}

.code-function {
  color: #DCDCAA; /* yellow */
}

.code-operator {
  color: #D4D4D4; /* light gray */
}

.code-variable {
  color: #9CDCFE; /* light blue */
}

/* Feature Blocks */
.feature-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.feature-block {
  background: rgba(0, 80, 224, 0.05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 80, 224, 0.1);
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.feature-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 80, 224, 0.1), rgba(0, 194, 255, 0.05));
  z-index: -1;
}

.feature-block:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 80, 224, 0.15), 0 0 15px rgba(0, 194, 255, 0.2);
  border-color: var(--secondary-color);
}

.feature-icon {
  margin-bottom: 1.5rem;
  transition: transform 0.4s ease;
  filter: drop-shadow(0 0 8px rgba(0, 194, 255, 0.4));
}

.feature-block:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-block h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-family: 'JetBrains Mono', monospace;
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
}

.feature-block:hover h3 {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.feature-block p {
  position: relative;
  z-index: 2;
}

/* Stats Container */
.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  position: relative;
}

.stats-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--terminal-bg);
  border-radius: 1rem;
  z-index: -1;
  transform: scaleY(0.85);
  opacity: 0.3;
}

.stat-box {
  background-color: rgba(0, 80, 224, 0.05);
  border-radius: 1rem;
  padding: 3rem 2rem;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 194, 255, 0.1);
}

.stat-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 80, 224, 0.05), rgba(0, 194, 255, 0.02));
  z-index: -1;
}

.stat-box:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 194, 255, 0.15);
}

.stat-box h3 {
  color: var(--primary-color);
  font-size: 3rem;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.stat-box h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--secondary-color);
  margin: 0.5rem auto;
}

.progress-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  z-index: -1;
  width: 120px;
  height: 120px;
}

.progress-circle-bg {
  fill: none;
  stroke: rgba(0, 80, 224, 0.1);
}

.progress-circle-bar {
  fill: none;
  stroke: var(--secondary-color);
  stroke-linecap: round;
  transition: stroke-dashoffset 1.5s ease-in-out;
  filter: drop-shadow(0 0 4px rgba(0, 194, 255, 0.5));
}

.stat-box:hover .progress-circle {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) rotate(-90deg) scale(1); }
  50% { transform: translate(-50%, -50%) rotate(-90deg) scale(1.05); }
}

/* Animated stat counters */
.stat-value {
  visibility: hidden;
}

.stat-value.visible {
  visibility: visible;
}

/* Workflow Mockup & Application Flow */
.mockup-container.workflow {
  margin: 3rem 0;
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 80, 224, 0.15);
}

.mockup-container.workflow::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 80, 224, 0) 70%, rgba(0, 80, 224, 0.1) 100%);
  pointer-events: none;
}

.workflow-steps {
  display: flex;
  justify-content: space-between;
  margin: 3rem 0;
  position: relative;
  padding: 2rem 0;
}

.workflow-steps::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: translateY(-50%);
  z-index: 1;
}

.workflow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 120px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 1rem;
  box-shadow: 0 0 15px rgba(0, 80, 224, 0.3);
  transition: transform 0.3s ease;
}

.workflow-step:hover .step-number {
  transform: scale(1.2);
}

.step-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.tooltip {
  position: relative;
  padding: 1rem;
  background: rgba(0, 194, 255, 0.1);
  border: 1px solid rgba(0, 194, 255, 0.2);
  border-radius: 0.5rem;
  box-shadow: var(--glass-shadow);
  margin-top: 2rem;
}

.tooltip::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid rgba(0, 194, 255, 0.2);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .case-study-hero {
    min-height: 500px; /* Slightly reduced height for medium screens */
    padding: 100px 0 60px; /* Slightly reduced padding */
  }
  
  .case-study-title {
    font-size: 2.2rem; /* Slightly smaller title on medium screens */
  }
  
  .tech-stack {
    gap: 1rem;
  }
  
  .tech-item {
    flex: 0 0 40%;
  }
  
  .process-stages {
    grid-template-columns: 1fr;
  }
  
  .feature-blocks {
    grid-template-columns: 1fr;
  }
  
  .stats-container {
    grid-template-columns: 1fr;
  }
  
  .code-snippet {
    font-size: 0.875rem;
  }
  
  .metadata-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .case-study-hero {
    min-height: 450px; /* Further reduced height for small screens */
    padding: 80px 0 40px; /* Further reduced padding */
  }
  
  .case-study-title {
    font-size: 1.8rem; /* Smaller title on mobile */
  }
  
  .case-study-tagline {
    font-size: 1rem; /* Smaller tagline on mobile */
  }
  
  .tech-tags {
    flex-wrap: wrap; /* Wrap tech tags on small screens */
    gap: 0.8rem; /* Smaller gap */
  }
  
  .tech-tag {
    font-size: 0.8rem; /* Smaller tags on mobile */
    padding: 0.3rem 0.6rem; /* Smaller padding */
  }
  
  .tech-item {
    flex: 0 0 100%;
  }
}

/* Return link styling */
.return-link {
  display: inline-flex;
  align-items: center;
  margin: 3rem 0 1rem;
  padding: 0.5rem 1rem;
  color: var(--primary-color);
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 2rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 80, 224, 0.2);
  background: rgba(0, 80, 224, 0.02);
  width: auto;
  max-width: 180px;
}

.return-link svg {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  transition: transform 0.3s ease;
}

.return-link:hover {
  background: rgba(0, 80, 224, 0.05);
  border-color: rgba(0, 80, 224, 0.3);
  transform: translateX(-5px);
}

.return-link:hover svg {
  transform: translateX(-3px);
}

.return-link::after {
  content: 'Return to All Projects';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(0, 80, 224, 0.9);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
}

.return-link:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
