/* --- CRITICAL PERFORMANCE ENHANCEMENTS --- */

/* Add these styles to improve your website performance and accessibility */

/* Enhanced CSS Variables (add to :root in main CSS) */
:root {
  /* Performance easing functions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  --ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* Enhanced text rendering */
html {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  color: #fff;
}

/* Screen reader only utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Enhanced focus states */
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #4F46E5;
  outline-offset: 2px;
}

/* Improved image performance */
img {
  display: block;
  height: auto;
  max-width: 100%;
}

/* Lazy loading image transitions */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

img[loading="lazy"].error {
  opacity: 0.5;
  filter: grayscale(100%);
}

/* Critical resource preloading optimization */
.preload-critical {
  content-visibility: auto;
  contain-intrinsic-size: 300px;
}

img[loading="lazy"] {
  transition: opacity 0.3s var(--ease-out, cubic-bezier(0.25, 0.46, 0.45, 0.94));
}

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

::-webkit-scrollbar-track {
  background: rgba(11, 15, 26, 0.5);
}

::-webkit-scrollbar-thumb {
  background: rgba(79, 70, 229, 0.6);
  border-radius: 4px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(79, 70, 229, 0.8);
}

/* Performance optimizations */
.floating-card,
.service-card,
.project-card {
  will-change: transform;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.floating-card:not(:hover),
.service-card:not(:hover),
.project-card:not(:hover) {
  will-change: auto;
}

/* Enhanced contrast for accessibility */
@media (prefers-contrast: high) {
  .nav-link,
  .btn,
  .contact-btn {
    border: 2px solid currentColor;
  }
  
  .hero-subtitle,
  .service-desc,
  .project-description {
    color: #E2E8F0;
  }
}

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  .floating-card,
  .service-card,
  .project-card {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}

/* Loading animation for better UX */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s var(--ease-out, cubic-bezier(0.25, 0.46, 0.45, 0.94));
}

/* Enhanced navigation active states */
.nav-link.active {
  position: relative;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: #4F46E5;
  border-radius: 1px;
}

/* --- DESKTOP NAVIGATION ENHANCEMENT --- */
/* Fix for desktop navigation to prevent scrolling */
@media (min-width: 769px) {
  .nav-menu {
    display: flex !important;
    flex-direction: row !important;
    flex-shrink: 0 !important;
    flex-wrap: nowrap !important;
    overflow-x: visible !important;
    min-width: 420px !important;
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    gap: 1.5rem !important;
    white-space: nowrap;
    justify-content: center !important;
  }
  
  .nav-link {
    font-size: 1.05rem !important;
    padding: 0.75rem 1rem !important;
    white-space: nowrap;
    flex-shrink: 0;
    text-align: center;
  }
  
  .nav-inner {
    justify-content: space-between;
    align-items: center;
  }
  
  /* Ensure navigation bar can accommodate larger menu */
  .navigation-bar {
    min-width: 100vw;
  }
}

/* --- SERVICE CARDS ICON CENTERING FIX --- */
/* Fix for service icons that got uncentered */
.service-icon {
  display: block !important;
  margin: 0 auto 1rem auto !important;
  text-align: center;
}

.service-card {
  text-align: center !important;
}

.service-title,
.service-desc,
.service-link {
  text-align: center !important;
}

/* --- CORE WEB VITALS OPTIMIZATION --- */
/* Critical performance improvements for Google rankings */

/* Preload critical fonts */
@font-face {
  font-family: 'Inter';
  font-display: swap;
  src: url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
}

@font-face {
  font-family: 'Poppins';
  font-display: swap;
  src: url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700&display=swap');
}

/* Optimize Largest Contentful Paint (LCP) */
.hero-title,
.hero-subtitle {
  contain: layout style paint;
}

/* Reduce Cumulative Layout Shift (CLS) */
.service-icon,
.project-img,
.about-photo img {
  aspect-ratio: attr(width) / attr(height);
}

/* Optimize First Input Delay (FID) */
.btn,
.contact-btn,
.nav-link {
  contain: layout style;
  will-change: transform;
}

/* Preload critical resources */
.hero::before {
  content-visibility: auto;
  contain-intrinsic-size: 100vw 100vh;
}

/* Optimize animations for performance */
@media (prefers-reduced-motion: no-preference) {
  .floating-card,
  .service-card,
  .project-card {
    transform: translateZ(0);
    backface-visibility: hidden;
  }
}

/* Optimize image loading */
img[loading="lazy"] {
  content-visibility: auto;
  contain-intrinsic-size: 1px 1px;
}

/* Optimize critical rendering path */
.navigation-bar,
.hero {
  contain: layout style paint;
} 

/* --- BLOG SECTION STYLING --- */
/* Cohesive blog design matching the existing portfolio aesthetic */

.blog-section {
  padding: 5rem 0;
  background: #0B0F1A;
  position: relative;
}

.blog-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    repeating-linear-gradient(
      to right,
      rgba(79,70,229,0.03) 0,
      rgba(79,70,229,0.03) 2px,
      transparent 2px,
      transparent 48px
    ),
    repeating-linear-gradient(
      to bottom,
      rgba(79,70,229,0.03) 0,
      rgba(79,70,229,0.03) 2px,
      transparent 2px,
      transparent 48px
    );
  pointer-events: none;
}

.section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: #94A3B8;
  margin: 1rem auto 3rem;
  max-width: 600px;
  line-height: 1.6;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.blog-card {
  background: rgba(30, 41, 59, 0.3);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s var(--ease-out, cubic-bezier(0.25, 0.46, 0.45, 0.94));
  position: relative;
  backdrop-filter: blur(10px);
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(79, 70, 229, 0.3);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(79, 70, 229, 0.1);
}

.blog-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 1;
}

.blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out, cubic-bezier(0.25, 0.46, 0.45, 0.94));
}

.blog-card:hover .blog-img {
  transform: scale(1.05);
}

.blog-card__category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(79, 70, 229, 0.9);
  color: white;
  padding: 0.375rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(10px);
}

.blog-card__content {
  padding: 1.5rem;
}

.blog-card__date {
  font-size: 0.875rem;
  color: #64748B;
  font-weight: 500;
  display: block;
  margin-bottom: 0.75rem;
}

.blog-card__title {
  margin: 0 0 1rem 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
}

.blog-card__title a {
  color: #F8FAFC;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-card__title a:hover {
  color: #A78BFA;
}

.blog-card__excerpt {
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.blog-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.blog-card__read-time {
  font-size: 0.875rem;
  color: #64748B;
  font-weight: 500;
}

.blog-card__tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.blog-tag {
  background: rgba(79, 70, 229, 0.1);
  color: #A78BFA;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(79, 70, 229, 0.2);
}

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

/* Responsive design for blog section */
@media (max-width: 768px) {
  .blog-section {
    padding: 3rem 0;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .blog-card {
    margin: 0 auto;
    max-width: 400px;
  }
  
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .blog-card__content {
    padding: 1.25rem;
  }
  
  .blog-card__title {
    font-size: 1.125rem;
  }
  
  .blog-card__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .blog-card__image {
    aspect-ratio: 16 / 9;
  }
}

/* Blog card loading animation */
.blog-card {
  animation: fadeInUp 0.6s var(--ease-out, cubic-bezier(0.25, 0.46, 0.45, 0.94));
  animation-fill-mode: both;
}

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

/* Performance optimizations for blog cards */
.blog-card {
  will-change: transform;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.blog-card:not(:hover) {
  will-change: auto;
} 

/* --- BLOG LISTING PAGE STYLES --- */
/* Additional styles for the dedicated blog page */

.blog-hero {
  padding: 8rem 0 5rem;
  background: #0B0F1A;
  text-align: center;
  position: relative;
}

.blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    repeating-linear-gradient(
      to right,
      rgba(79,70,229,0.05) 0,
      rgba(79,70,229,0.05) 2px,
      transparent 2px,
      transparent 48px
    ),
    repeating-linear-gradient(
      to bottom,
      rgba(79,70,229,0.05) 0,
      rgba(79,70,229,0.05) 2px,
      transparent 2px,
      transparent 48px
    );
  pointer-events: none;
}

.blog-hero__title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  position: relative;
  z-index: 1;
}

.blog-hero__subtitle {
  font-size: 1.25rem;
  color: #94A3B8;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.blog-listing {
  padding: 5rem 0;
  background: #0B0F1A;
}

/* Featured Post Styling */
.featured-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  background: rgba(30, 41, 59, 0.3);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all 0.3s var(--ease-out, cubic-bezier(0.25, 0.46, 0.45, 0.94));
}

.featured-post:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 70, 229, 0.3);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(79, 70, 229, 0.1);
}

.featured-post__image {
  position: relative;
  overflow: hidden;
}

.featured-post__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out, cubic-bezier(0.25, 0.46, 0.45, 0.94));
}

.featured-post:hover .featured-post__image img {
  transform: scale(1.05);
}

.featured-post__category {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: rgba(79, 70, 229, 0.9);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(10px);
}

.featured-post__content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-post__date {
  font-size: 0.95rem;
  color: #64748B;
  font-weight: 500;
  margin-bottom: 1rem;
}

.featured-post__title {
  margin: 0 0 1.5rem 0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
}

.featured-post__title a {
  color: #F8FAFC;
  text-decoration: none;
  transition: color 0.3s ease;
}

.featured-post__title a:hover {
  color: #A78BFA;
}

.featured-post__excerpt {
  color: #94A3B8;
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.featured-post__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.featured-post__read-time {
  font-size: 0.95rem;
  color: #64748B;
  font-weight: 500;
}

.featured-post__tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Blog Posts Grid Layout */
.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

/* Newsletter Signup Section */
.newsletter-signup {
  background: rgba(30, 41, 59, 0.3);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
  backdrop-filter: blur(10px);
  position: relative;
}

.newsletter-signup::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    repeating-linear-gradient(
      45deg,
      rgba(79,70,229,0.02) 0,
      rgba(79,70,229,0.02) 2px,
      transparent 2px,
      transparent 20px
    );
  border-radius: 16px;
  pointer-events: none;
}

.newsletter__title {
  font-size: 2rem;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.newsletter__description {
  font-size: 1.125rem;
  color: #94A3B8;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.newsletter__cta {
  position: relative;
  z-index: 1;
}

.newsletter__note {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #64748B;
}

.newsletter__note a {
  color: #A78BFA;
  text-decoration: none;
  transition: color 0.3s ease;
}

.newsletter__note a:hover {
  color: #C4B5FD;
}

/* Responsive Design for Blog Listing */
@media (max-width: 1024px) {
  .featured-post {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .featured-post__image {
    aspect-ratio: 16 / 9;
  }
  
  .blog-posts-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .blog-hero {
    padding: 6rem 0 4rem;
  }
  
  .blog-hero__title {
    font-size: 2.5rem;
  }
  
  .blog-hero__subtitle {
    font-size: 1.125rem;
  }
  
  .blog-listing {
    padding: 3rem 0;
  }
  
  .featured-post__content {
    padding: 2rem;
  }
  
  .featured-post__title {
    font-size: 1.5rem;
  }
  
  .newsletter-signup {
    padding: 2rem;
  }
  
  .newsletter__title {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .blog-hero__title {
    font-size: 2rem;
  }
  
  .featured-post__content {
    padding: 1.5rem;
  }
  
  .featured-post__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .blog-posts-grid {
    grid-template-columns: 1fr;
  }
  
  .newsletter-signup {
    padding: 1.5rem;
  }
} 

/* --- INDIVIDUAL BLOG POST STYLING --- */
/* Comprehensive styling for blog post pages */

.blog-post-page {
  background: #0B0F1A;
  min-height: 100vh;
}

.blog-post {
  background: #0B0F1A;
}

/* Blog Post Header */
.blog-post__header {
  padding: 8rem 0 4rem;
  background: #0B0F1A;
  position: relative;
}

.blog-post__header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    repeating-linear-gradient(
      to right,
      rgba(79,70,229,0.03) 0,
      rgba(79,70,229,0.03) 2px,
      transparent 2px,
      transparent 48px
    ),
    repeating-linear-gradient(
      to bottom,
      rgba(79,70,229,0.03) 0,
      rgba(79,70,229,0.03) 2px,
      transparent 2px,
      transparent 48px
    );
  pointer-events: none;
}

.breadcrumb {
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: #64748B;
  position: relative;
  z-index: 1;
}

.breadcrumb a {
  color: #A78BFA;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #C4B5FD;
}

.breadcrumb span {
  margin: 0 0.5rem;
  color: #475569;
}

.blog-post__meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.blog-post__date,
.blog-post__read-time {
  font-size: 0.95rem;
  color: #64748B;
  font-weight: 500;
}

.blog-post__tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.blog-post__title {
  font-size: 3rem;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.blog-post__excerpt {
  font-size: 1.25rem;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 3rem;
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.blog-post__hero-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

.blog-post__hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Blog Post Content */
.blog-post__content {
  padding: 4rem 0;
  background: #0B0F1A;
}

.prose {
  max-width: 800px;
  margin: 0 auto;
  color: #E2E8F0;
  line-height: 1.7;
  font-size: 1.1rem;
}

.prose h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #F8FAFC;
  margin: 3rem 0 1.5rem 0;
  line-height: 1.3;
}

.prose h3 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #F8FAFC;
  margin: 2.5rem 0 1rem 0;
  line-height: 1.4;
}

.prose p {
  margin-bottom: 1.5rem;
  color: #CBD5E1;
}

.prose a {
  color: #A78BFA;
  text-decoration: none;
  border-bottom: 1px solid rgba(167, 139, 250, 0.3);
  transition: all 0.3s ease;
}

.prose a:hover {
  color: #C4B5FD;
  border-bottom-color: rgba(196, 181, 253, 0.6);
}

.prose strong {
  color: #F8FAFC;
  font-weight: 600;
}

.prose ul,
.prose ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: 0.5rem;
  color: #CBD5E1;
}

/* Code Blocks */
.code-block {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
  overflow-x: auto;
}

.code-block pre {
  margin: 0;
  font-family: 'Fira Code', 'Monaco', 'Cascadia Code', monospace;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #E2E8F0;
}

.code-block code {
  color: #E2E8F0;
  background: none;
  padding: 0;
  border-radius: 0;
}

/* Callouts */
.callout {
  background: rgba(30, 41, 59, 0.4);
  border-left: 4px solid #4F46E5;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
  backdrop-filter: blur(10px);
}

.callout--info {
  border-left-color: #3B82F6;
  background: rgba(59, 130, 246, 0.1);
}

.callout--tip {
  border-left-color: #10B981;
  background: rgba(16, 185, 129, 0.1);
}

.callout--success {
  border-left-color: #059669;
  background: rgba(5, 150, 105, 0.1);
}

.callout h3 {
  margin: 0 0 1rem 0 !important;
  font-size: 1.25rem;
  color: #F8FAFC;
}

.callout p {
  margin-bottom: 0.75rem;
}

.callout ul {
  margin-bottom: 0;
}

/* Comparison Table */
.comparison-table {
  margin: 2rem 0;
  overflow-x: auto;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.3);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.comparison-table th {
  background: rgba(15, 23, 42, 0.5);
  font-weight: 600;
  color: #F8FAFC;
  font-size: 0.95rem;
}

.comparison-table td {
  color: #CBD5E1;
  font-size: 0.95rem;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

/* Pros/Cons */
.pros-cons {
  margin: 2rem 0;
}

.pros,
.cons {
  background: rgba(30, 41, 59, 0.3);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

.pros h3,
.cons h3 {
  margin: 0 0 1rem 0 !important;
  font-size: 1.25rem;
  color: #F8FAFC;
}

.pros ul,
.cons ul {
  margin-bottom: 0;
}

/* Blog Post Footer */
.blog-post__footer {
  padding: 4rem 0;
  background: rgba(15, 23, 42, 0.5);
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

/* Author Bio */
.author-bio {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 3rem;
  padding: 2rem;
  background: rgba(30, 41, 59, 0.3);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.author-bio__avatar {
  border-radius: 50%;
  flex-shrink: 0;
}

.author-bio__content {
  flex: 1;
}

.author-bio__name {
  margin: 0 0 0.25rem 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #F8FAFC;
}

.author-bio__title {
  margin: 0 0 0.75rem 0;
  font-size: 0.95rem;
  color: #A78BFA;
  font-weight: 500;
}

.author-bio__description {
  margin: 0 0 1rem 0;
  color: #CBD5E1;
  line-height: 1.6;
}

.author-bio__social {
  display: flex;
  gap: 1rem;
}

.author-bio__social a {
  color: #64748B;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.author-bio__social a:hover {
  color: #A78BFA;
}

/* Blog Post Navigation */
.blog-post__navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Responsive Design for Blog Posts */
@media (max-width: 768px) {
  .blog-post__header {
    padding: 6rem 0 3rem;
  }
  
  .blog-post__title {
    font-size: 2.25rem;
  }
  
  .blog-post__excerpt {
    font-size: 1.125rem;
  }
  
  .blog-post__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .prose {
    font-size: 1.05rem;
  }
  
  .prose h2 {
    font-size: 1.875rem;
  }
  
  .prose h3 {
    font-size: 1.375rem;
  }
  
  .author-bio {
    flex-direction: column;
    text-align: center;
  }
  
  .blog-post__navigation {
    flex-direction: column;
  }
  
  .code-block {
    padding: 1rem;
    font-size: 0.9rem;
  }
  
  .comparison-table {
    font-size: 0.875rem;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .blog-post__title {
    font-size: 2rem;
  }
  
  .prose {
    font-size: 1rem;
  }
  
  .prose h2 {
    font-size: 1.75rem;
  }
  
  .prose h3 {
    font-size: 1.375rem;
  }
}