@charset "UTF-8";

/* Premium Design System - Custom styles to complement Tailwind CSS */

/* ===== GLOBAL RESPONSIVE FIXES ===== */
html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

/* ===== PREMIUM TYPOGRAPHY ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* Enhanced Typography Scale */
:root {
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Monaco', 'Menlo', monospace;
  
  /* Premium Typography Scale */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.5rem;      /* 24px */
  --text-3xl: 1.875rem;    /* 30px */
  --text-4xl: 2.25rem;     /* 36px */
  --text-5xl: 3rem;        /* 48px */
  --text-6xl: 3.75rem;     /* 60px */
  --text-7xl: 4.5rem;      /* 72px */
  --text-8xl: 6rem;        /* 96px */
  --text-9xl: 8rem;        /* 128px */
  
  /* Premium Spacing Scale */
  --space-1: 0.25rem;      /* 4px */
  --space-2: 0.5rem;       /* 8px */
  --space-3: 0.75rem;      /* 12px */
  --space-4: 1rem;         /* 16px */
  --space-5: 1.25rem;      /* 20px */
  --space-6: 1.5rem;       /* 24px */
  --space-8: 2rem;         /* 32px */
  --space-10: 2.5rem;      /* 40px */
  --space-12: 3rem;        /* 48px */
  --space-16: 4rem;        /* 64px */
  --space-20: 5rem;        /* 80px */
  --space-24: 6rem;        /* 96px */
  --space-32: 8rem;        /* 128px */
  
  /* Premium Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  
  /* Premium Gradients */
  --gradient-primary: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--primary) / 0.8) 100%);
  --gradient-secondary: linear-gradient(135deg, hsl(var(--secondary)) 0%, hsl(var(--secondary) / 0.8) 100%);
  --gradient-accent: linear-gradient(135deg, hsl(var(--accent)) 0%, hsl(var(--accent) / 0.8) 100%);
  --gradient-mesh: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-sunset: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-ocean: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-forest: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  
  /* Premium Border Radius */
  --radius-xs: 0.125rem;   /* 2px */
  --radius-sm: 0.25rem;    /* 4px */
  --radius-md: 0.375rem;   /* 6px */
  --radius-lg: 0.5rem;     /* 8px */
  --radius-xl: 0.75rem;    /* 12px */
  --radius-2xl: 1rem;      /* 16px */
  --radius-3xl: 1.5rem;    /* 24px */
  --radius-full: 9999px;
}

/* Enhanced Base Typography */
body {
  font-family: var(--font-display);
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  font-variant-numeric: tabular-nums;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  box-sizing: border-box;
}

* {
  box-sizing: border-box;
}

/* Prevent text overflow */
h1, h2, h3, h4, h5, h6, p, span, div {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Premium Heading Styles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: hsl(var(--foreground));
}

h1 {
  font-size: var(--text-5xl);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

h2 {
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h3 {
  font-size: var(--text-3xl);
  font-weight: 600;
  line-height: 1.3;
}

h4 {
  font-size: var(--text-2xl);
  font-weight: 600;
  line-height: 1.4;
}

h5 {
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.4;
}

h6 {
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.4;
}

/* Premium Text Styles */
.text-display {
  font-size: var(--text-6xl);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.text-hero {
  font-size: var(--text-7xl);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.075em;
}

.text-lead {
  font-size: var(--text-xl);
  font-weight: 400;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
}

.text-muted {
  color: hsl(var(--muted-foreground));
  font-weight: 400;
}

.text-accent {
  color: hsl(var(--primary));
  font-weight: 600;
}

/* Premium Code Typography */
code, pre {
  font-family: var(--font-mono);
  font-feature-settings: 'liga' 1, 'calt' 1;
}

/* ===== PREMIUM LAYOUT SYSTEM ===== */

/* Premium Container System */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
    padding-left: var(--space-6);
    padding-right: var(--space-6);
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}

/* Premium Section Spacing */
.section {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}

.section-sm {
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
}

.section-lg {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}

.section-xl {
  padding-top: var(--space-32);
  padding-bottom: var(--space-32);
}

/* Premium Grid System */
.grid {
  display: grid;
  gap: var(--space-6);
}

@media (max-width: 768px) {
  .grid {
    gap: var(--space-4);
  }
}

@media (max-width: 480px) {
  .grid {
    gap: var(--space-3);
  }
}

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

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

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

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

/* Premium Flexbox Utilities */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-start {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.flex-end {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

/* ===== PREMIUM COMPONENTS ===== */

/* Premium Card System */
.premium-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.premium-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.premium-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
  border-color: hsl(var(--primary) / 0.3);
}

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

.premium-card-header {
  padding: var(--space-8);
  border-bottom: 1px solid hsl(var(--border));
  background: linear-gradient(135deg, hsl(var(--card)) 0%, hsl(var(--muted) / 0.3) 100%);
}

.premium-card-content {
  padding: var(--space-8);
}

.premium-card-footer {
  padding: var(--space-6) var(--space-8);
  background: hsl(var(--muted) / 0.2);
  border-top: 1px solid hsl(var(--border));
}

/* Premium Button System */
.premium-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  white-space: nowrap;
}

.premium-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.premium-btn:hover::before {
  left: 100%;
}

.premium-btn-primary {
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-md);
}

.premium-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.premium-btn-secondary {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  box-shadow: var(--shadow-sm);
}

.premium-btn-secondary:hover {
  background: hsl(var(--secondary) / 0.9);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.premium-btn-outline {
  background: transparent;
  color: hsl(var(--foreground));
  border: 2px solid hsl(var(--border));
}

.premium-btn-outline:hover {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  border-color: hsl(var(--accent));
  transform: translateY(-1px);
}

.premium-btn-ghost {
  background: transparent;
  color: hsl(var(--foreground));
}

.premium-btn-ghost:hover {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

/* Premium Badge System */
.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.premium-badge-primary {
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-sm);
}

.premium-badge-secondary {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
}

.premium-badge-accent {
  background: var(--gradient-accent);
  color: hsl(var(--accent-foreground));
}

/* Premium Input System */
.premium-input {
  width: 100%;
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-base);
  line-height: 1.5;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  border: 2px solid hsl(var(--border));
  border-radius: var(--radius-xl);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  box-shadow: var(--shadow-sm);
}

.premium-input:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 4px hsl(var(--primary) / 0.15), var(--shadow-md);
  transform: translateY(-1px);
}

.premium-input:hover {
  border-color: hsl(var(--primary) / 0.5);
  box-shadow: var(--shadow-md);
}

.premium-input::placeholder {
  color: hsl(var(--muted-foreground));
  font-weight: 400;
}

/* ===== PREMIUM ANIMATIONS ===== */

/* Sophisticated Animation Keyframes */
@keyframes premiumFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes premiumSlideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes premiumSlideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes premiumSlideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes premiumScaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes premiumRotateIn {
  from {
    opacity: 0;
    transform: rotate(-10deg) scale(0.9);
  }
  to {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
}

@keyframes premiumBounce {
  0%, 20%, 53%, 80%, 100% {
    transform: translateY(0);
  }
  40%, 43% {
    transform: translateY(-8px);
  }
  70% {
    transform: translateY(-4px);
  }
  90% {
    transform: translateY(-2px);
  }
}

@keyframes premiumPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes premiumShimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Premium Animation Classes */
.animate-premium-fade-in {
  animation: premiumFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-premium-slide-up {
  animation: premiumSlideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-premium-slide-left {
  animation: premiumSlideInLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-premium-slide-right {
  animation: premiumSlideInRight 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-premium-scale {
  animation: premiumScaleIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-premium-rotate {
  animation: premiumRotateIn 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-premium-bounce {
  animation: premiumBounce 1s ease-in-out;
}

.animate-premium-pulse {
  animation: premiumPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-premium-shimmer {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  background-size: 200% 100%;
  animation: premiumShimmer 2s infinite;
}

/* Staggered Animation Delays */
.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-300 { animation-delay: 0.3s; }
.animate-delay-400 { animation-delay: 0.4s; }
.animate-delay-500 { animation-delay: 0.5s; }
.animate-delay-600 { animation-delay: 0.6s; }
.animate-delay-700 { animation-delay: 0.7s; }
.animate-delay-800 { animation-delay: 0.8s; }

/* ===== PREMIUM EFFECTS ===== */

/* Glass Morphism */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.dark .glass {
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Premium Gradients */
.gradient-primary {
  background: var(--gradient-primary);
}

.gradient-secondary {
  background: var(--gradient-secondary);
}

.gradient-accent {
  background: var(--gradient-accent);
}

.gradient-mesh {
  background: var(--gradient-mesh);
}

.gradient-sunset {
  background: var(--gradient-sunset);
}

.gradient-ocean {
  background: var(--gradient-ocean);
}

.gradient-forest {
  background: var(--gradient-forest);
}

/* Premium Shadows */
.shadow-premium {
  box-shadow: var(--shadow-2xl);
}

.shadow-premium-lg {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Premium Hover Effects */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.hover-scale {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.hover-glow {
  transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
  box-shadow: 0 0 20px hsl(var(--primary) / 0.5);
}

/* Premium Focus States */
.focus-premium:focus {
  outline: none;
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.3);
  border-color: hsl(var(--primary));
}

/* ===== PREMIUM RESPONSIVE DESIGN ===== */

/* Mobile-First Responsive Typography */
@media (max-width: 640px) {
  .text-hero {
    font-size: var(--text-5xl);
  }
  
  .text-display {
    font-size: var(--text-4xl);
  }
  
  h1 {
    font-size: var(--text-4xl);
  }
  
  h2 {
    font-size: var(--text-3xl);
  }
  
  h3 {
    font-size: var(--text-2xl);
  }
}

/* Tablet Responsive */
@media (min-width: 641px) and (max-width: 1024px) {
  .text-hero {
    font-size: var(--text-6xl);
  }
  
  .text-display {
    font-size: var(--text-5xl);
  }
}

/* Desktop Responsive */
@media (min-width: 1025px) {
  .text-hero {
    font-size: var(--text-7xl);
  }
  
  .text-display {
    font-size: var(--text-6xl);
  }
}

/* ===== PREMIUM ACCESSIBILITY ===== */

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* High Contrast Support */
@media (prefers-contrast: high) {
  .premium-card {
  border-width: 2px;
  }
  
  .premium-btn {
  border-width: 2px;
  }
}

/* Focus Visible Support */
.focus-visible:focus {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
}

/* ===== PREMIUM UTILITIES ===== */

/* Line Clamp Utilities */
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

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

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

/* Premium Spacing Utilities */
.space-y-premium > * + * {
  margin-top: var(--space-8);
}

.space-y-premium-sm > * + * {
  margin-top: var(--space-4);
}

.space-y-premium-lg > * + * {
  margin-top: var(--space-12);
}

/* Premium Border Radius Utilities */
.rounded-premium {
  border-radius: var(--radius-2xl);
}

.rounded-premium-lg {
  border-radius: var(--radius-3xl);
}

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

.text-pretty {
  text-wrap: pretty;
}

/* ===== PREMIUM BACKGROUND PATTERNS ===== */

/* Grid Pattern */
.bg-grid-pattern {
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

.dark .bg-grid-pattern {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
}

/* Radial Gradient */
.bg-gradient-radial {
  background: radial-gradient(circle, var(--tw-gradient-stops));
}

/* Dot Pattern */
.bg-dot-pattern {
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

.dark .bg-dot-pattern {
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
}

/* ===== PREMIUM INTERACTIVE EFFECTS ===== */

/* Magnetic Hover Effect */
.magnetic {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.magnetic:hover {
  transform: translate(var(--mouse-x, 0), var(--mouse-y, 0)) scale(1.05);
}

/* Parallax Effect */
.parallax {
  transform: translateZ(0);
  will-change: transform;
}

/* Floating Animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* Pulse Glow Effect */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px hsl(var(--primary) / 0.3);
  }
  50% {
    box-shadow: 0 0 40px hsl(var(--primary) / 0.6);
  }
}

.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* ===== PREMIUM SCROLL EFFECTS ===== */

/* Reveal on Scroll */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Reveal */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-stagger.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0.1s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.2s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.3s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.4s; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.5s; }

/* ===== ENHANCED TAGS SYSTEM ===== */

/* Enhanced Tags Container */
.enhanced-tags-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  max-width: 100%;
  padding: 1rem 0;
}

/* Enhanced Tag Styling */
.enhanced-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, hsl(var(--background)) 0%, hsl(var(--muted)) 100%);
  border: 2px solid hsl(var(--border));
  border-radius: 2rem;
  color: hsl(var(--foreground));
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.enhanced-tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.enhanced-tag:hover::before {
  left: 100%;
}

.enhanced-tag:hover {
  background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--primary) / 0.9) 100%);
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.enhanced-tag:active {
  transform: translateY(-1px);
}

.enhanced-tag-text {
  font-weight: 600;
  letter-spacing: 0.025em;
}

.enhanced-tag-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.5rem;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.enhanced-tag:hover .enhanced-tag-count {
  background: hsl(var(--primary-foreground) / 0.2);
  color: hsl(var(--primary-foreground));
  transform: scale(1.1);
}

/* Enhanced Tag Variants */
.enhanced-tag[data-count="0"] {
  opacity: 0.6;
}

.enhanced-tag[data-count="1"] {
  border-color: hsl(var(--muted-foreground) / 0.3);
}

.enhanced-tag[data-count="2"] {
  border-color: hsl(var(--primary) / 0.3);
}

.enhanced-tag[data-count="3"] {
  border-color: hsl(var(--primary) / 0.5);
  box-shadow: 0 0 0 1px hsl(var(--primary) / 0.1);
}

.enhanced-tag[data-count]:not([data-count="0"]):not([data-count="1"]) {
  border-color: hsl(var(--primary) / 0.7);
  box-shadow: 0 0 0 1px hsl(var(--primary) / 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .enhanced-tags-container {
    gap: 0.5rem;
    padding: 0.75rem 0;
  }
  
  .enhanced-tag {
    padding: 0.625rem 1rem;
    font-size: 0.8125rem;
  }
  
  .enhanced-tag-count {
    min-width: 1.25rem;
    height: 1.25rem;
    font-size: 0.6875rem;
  }
}

@media (max-width: 480px) {
  .enhanced-tags-container {
    gap: 0.375rem;
  }
  
  .enhanced-tag {
    padding: 0.5rem 0.875rem;
    font-size: 0.75rem;
  }
}

/* Animation for tag reveal */
.enhanced-tags-container .enhanced-tag {
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  animation: enhancedTagReveal 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.enhanced-tags-container .enhanced-tag:nth-child(1) { animation-delay: 0.1s; }
.enhanced-tags-container .enhanced-tag:nth-child(2) { animation-delay: 0.15s; }
.enhanced-tags-container .enhanced-tag:nth-child(3) { animation-delay: 0.2s; }
.enhanced-tags-container .enhanced-tag:nth-child(4) { animation-delay: 0.25s; }
.enhanced-tags-container .enhanced-tag:nth-child(5) { animation-delay: 0.3s; }
.enhanced-tags-container .enhanced-tag:nth-child(6) { animation-delay: 0.35s; }
.enhanced-tags-container .enhanced-tag:nth-child(7) { animation-delay: 0.4s; }
.enhanced-tags-container .enhanced-tag:nth-child(8) { animation-delay: 0.45s; }
.enhanced-tags-container .enhanced-tag:nth-child(9) { animation-delay: 0.5s; }
.enhanced-tags-container .enhanced-tag:nth-child(10) { animation-delay: 0.55s; }
.enhanced-tags-container .enhanced-tag:nth-child(n+11) { animation-delay: 0.6s; }

@keyframes enhancedTagReveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ===== PREMIUM LOADING STATES ===== */

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(90deg, hsl(var(--muted)) 25%, hsl(var(--muted) / 0.5) 50%, hsl(var(--muted)) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Shimmer Effect */
.shimmer {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* ===== PREMIUM FORM STYLES ===== */

/* Premium Form Group */
.form-group {
  position: relative;
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: var(--space-2);
}

.form-error {
  color: hsl(var(--destructive));
  font-size: var(--text-xs);
  margin-top: var(--space-1);
}

.form-success {
  color: hsl(var(--primary));
  font-size: var(--text-xs);
  margin-top: var(--space-1);
}

/* Premium Textarea */
.premium-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  line-height: 1.5;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  border: 2px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  transition: all 0.2s ease;
  outline: none;
  resize: vertical;
  min-height: 120px;
}

.premium-textarea:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}

.premium-textarea::placeholder {
  color: hsl(var(--muted-foreground));
}

/* ===== PREMIUM MODAL SYSTEM ===== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.modal-content {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  padding: var(--space-6);
  border-bottom: 1px solid hsl(var(--border));
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-body {
  padding: var(--space-6);
}

.modal-footer {
  padding: var(--space-6);
  border-top: 1px solid hsl(var(--border));
  display: flex;
  gap: var(--space-3);
  justify-content: flex-end;
}

/* ===== PREMIUM TOOLTIP SYSTEM ===== */

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip-content {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: hsl(var(--popover));
  color: hsl(var(--popover-foreground));
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 10;
  box-shadow: var(--shadow-lg);
}

.tooltip:hover .tooltip-content {
  opacity: 1;
  visibility: visible;
}

.tooltip-content::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: hsl(var(--popover));
}

/* ===== PREMIUM MOBILE NAVIGATION ===== */

/* Mobile Navigation Slide Animation */
#mobile-nav {
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-nav.show {
  transform: translateY(0);
}

/* Mobile Navigation Item Stagger Animation */
#mobile-nav nav a {
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-nav.show nav a {
  opacity: 1;
  transform: translateX(0);
}

#mobile-nav.show nav a:nth-child(1) { transition-delay: 0.1s; }
#mobile-nav.show nav a:nth-child(2) { transition-delay: 0.2s; }
#mobile-nav.show nav a:nth-child(3) { transition-delay: 0.3s; }
#mobile-nav.show nav a:nth-child(4) { transition-delay: 0.4s; }

/* Mobile Navigation Hover Effects */
#mobile-nav nav a:hover {
  transform: translateX(8px) scale(1.02);
}

/* Mobile Navigation Icon Animation */
#mobile-nav nav a svg {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-nav nav a:hover svg {
  transform: scale(1.1) rotate(12deg);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* Mobile Navigation Background Gradient */
#mobile-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    hsl(var(--background) / 0.95) 0%, 
    hsl(var(--muted) / 0.3) 50%, 
    hsl(var(--background) / 0.95) 100%);
  backdrop-filter: blur(20px);
  z-index: -1;
}

/* Mobile Navigation Ripple Effect */
#mobile-nav nav a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, hsl(var(--primary) / 0.2) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  z-index: -1;
}

#mobile-nav nav a:hover::before {
  width: 200%;
  height: 200%;
}

/* Mobile Navigation Text Animation */
#mobile-nav nav a span:first-child {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-nav nav a:hover span:first-child {
  transform: translateX(4px);
}

#mobile-nav nav a span:last-child {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-4px);
  opacity: 0.7;
}

#mobile-nav nav a:hover span:last-child {
  transform: translateX(0);
  opacity: 1;
}

/* ===== PREMIUM PROGRESS SYSTEM ===== */

.progress {
  width: 100%;
  height: 8px;
  background: hsl(var(--muted));
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
  position: relative;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: progress-shimmer 2s infinite;
}

@keyframes progress-shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Grid System for Blog Layout - Ensures single column on mobile */
.grid {
  display: grid;
}

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

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

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

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

/* Enhanced content styling for blog posts */
.content {
  line-height: 1.75;
}

.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.25;
}

.content h1 {
  font-size: 2.25rem;
  line-height: 2.5rem;
  color: hsl(var(--foreground));
}

.content h2 {
  font-size: 1.875rem;
  line-height: 2.25rem;
  color: hsl(var(--primary));
  border-bottom: 2px solid hsl(var(--border));
  padding-bottom: 0.5rem;
}

.content h3 {
  font-size: 1.5rem;
  line-height: 2rem;
  color: hsl(var(--secondary-foreground));
}

.content h4 {
  font-size: 1.25rem;
  line-height: 1.75rem;
  color: hsl(var(--muted-foreground));
}

.content p {
  margin-bottom: 1.5rem;
  color: hsl(var(--foreground));
  text-align: justify;
}

.content a {
  color: hsl(var(--primary));
  text-decoration: underline;
  text-decoration-color: hsl(var(--primary) / 0.3);
  transition: all 200ms ease-in-out;
}

.content a:hover {
  color: hsl(var(--primary) / 0.8);
  text-decoration-color: hsl(var(--primary));
}

.content code {
  background-color: hsl(var(--muted));
  color: hsl(var(--foreground));
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.content pre {
  background-color: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  padding: 1rem;
  overflow-x: auto;
  margin: 1.5rem 0;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.content pre code {
  background: none;
  padding: 0;
  border-radius: 0;
  font-size: 0.875rem;
}

.content blockquote {
  border-left: 4px solid hsl(var(--primary));
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: hsl(var(--muted-foreground));
  background-color: hsl(var(--muted) / 0.5);
  padding: 1rem;
  border-radius: 0.5rem;
}

.content ul,
.content ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.content li {
  margin: 0.5rem 0;
  color: hsl(var(--foreground));
}

.content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.content th,
.content td {
  border: 1px solid hsl(var(--border));
  padding: 0.75rem;
  text-align: left;
}

.content th {
  background-color: hsl(var(--muted));
  font-weight: 600;
  color: hsl(var(--foreground));
}

.content td {
  color: hsl(var(--foreground));
}

/* Screenshot styling */
.screenshot {
  border: 2px solid hsl(var(--border));
  border-radius: 0.5rem;
  padding: 1rem;
  margin: 1.5rem 0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Enhanced animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-in-up {
  animation: slideInUp 0.6s ease-out;
}

/* Responsive typography */
@media (max-width: 640px) {
  .content h1 {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
  
  .content h2 {
    font-size: 1.5rem;
    line-height: 2rem;
  }
  
  .content h3 {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

/* Print styles */
@media print {
  .content {
    color: black !important;
  }
  
  .content a {
    color: black !important;
    text-decoration: underline !important;
  }
  
  .content h1,
  .content h2,
  .content h3,
  .content h4,
  .content h5,
  .content h6 {
    color: black !important;
  }
}

/* Dark mode enhancements */
.dark .content img {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

.dark .screenshot {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

/* Focus styles for accessibility */
.content a:focus,
.btn:focus,
button:focus {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection styles */
::selection {
  background-color: hsl(var(--primary) / 0.2);
  color: hsl(var(--foreground));
}

/* Loading states */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

        /* Utility classes for spacing */
        .space-y-4 > * + * {
          margin-top: 1rem;
        }

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

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

        /* Interactive Card Styles */
        .interactive-card {
          position: relative;
          overflow: hidden;
          border-radius: 0.5rem;
        }

        .interactive-card .card-overlay {
          opacity: 0;
          transition: opacity 0.3s ease-in-out;
        }

        .interactive-card:hover .card-overlay {
          opacity: 1;
        }

        .interactive-card:hover {
          transform: translateY(-5px) scale(1.03);
          box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        }

        /* Button Styles */
        .btn {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          gap: 0.5rem;
          white-space: nowrap;
          border-radius: 0.375rem;
          font-size: 0.875rem;
          font-weight: 500;
          transition: all 0.2s ease-in-out;
          cursor: pointer;
          border: none;
          text-decoration: none;
        }

        .btn:focus-visible {
          outline: 2px solid hsl(var(--ring));
          outline-offset: 2px;
        }

        .btn:disabled {
          pointer-events: none;
          opacity: 0.5;
        }

        .btn-primary {
          background-color: hsl(var(--primary));
          color: hsl(var(--primary-foreground));
        }

        .btn-primary:hover {
          background-color: hsl(var(--primary) / 0.9);
        }

        .btn-secondary {
          background-color: hsl(var(--secondary));
          color: hsl(var(--secondary-foreground));
        }

        .btn-secondary:hover {
          background-color: hsl(var(--secondary) / 0.8);
        }

        .btn-outline {
          border: 1px solid hsl(var(--border));
          background-color: hsl(var(--background));
          color: hsl(var(--foreground));
        }

        .btn-outline:hover {
          background-color: hsl(var(--accent));
          color: hsl(var(--accent-foreground));
        }

        /* Card Styles */
        .card {
          border-radius: 0.5rem;
          border: 1px solid hsl(var(--border));
          background-color: hsl(var(--card));
          color: hsl(var(--card-foreground));
          box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
        }

        .card-header {
          display: flex;
          flex-direction: column;
          gap: 0.375rem;
          padding: 1.5rem;
        }

        .card-content {
          padding: 1.5rem;
          padding-top: 0;
        }

        .card-title {
          font-size: 1.5rem;
          font-weight: 600;
          line-height: 1;
          letter-spacing: -0.025em;
        }

        /* Badge Styles */
        .badge {
          display: inline-flex;
          align-items: center;
          border-radius: 9999px;
          padding: 0.25rem 0.75rem;
          font-size: 0.75rem;
          font-weight: 600;
          line-height: 1;
          transition: all 0.2s ease-in-out;
        }

        .badge.bg-primary {
          background-color: hsl(var(--primary));
          color: hsl(var(--primary-foreground));
        }

        .badge.bg-secondary {
          background-color: hsl(var(--secondary));
          color: hsl(var(--secondary-foreground));
        }

        /* Accordion Styles */
        .accordion {
          width: 100%;
        }

        .accordion-item {
          border-bottom: 1px solid hsl(var(--border));
        }

        .accordion-trigger {
          display: flex;
          align-items: center;
          justify-content: space-between;
          width: 100%;
          padding: 1rem 0;
          font-size: 1rem;
          font-weight: 600;
          background: none;
          border: none;
          cursor: pointer;
          transition: all 0.2s ease-in-out;
        }

        .accordion-trigger:hover {
          color: hsl(var(--primary));
        }

        .accordion-trigger svg {
          transition: transform 0.2s ease-in-out;
        }

        .accordion-trigger[aria-expanded="true"] svg {
          transform: rotate(180deg);
        }

        .accordion-content {
          padding-bottom: 1rem;
          overflow: hidden;
          transition: all 0.2s ease-in-out;
        }

        .accordion-content[aria-hidden="true"] {
          max-height: 0;
          padding-bottom: 0;
        }

        .accordion-content[aria-hidden="false"] {
          max-height: 200px;
        }

        /* Enhanced Animations */
        @keyframes fadeInUp {
          from {
            opacity: 0;
            transform: translateY(30px);
          }
          to {
            opacity: 1;
            transform: translateY(0);
          }
        }

        @keyframes fadeIn {
          from {
            opacity: 0;
          }
          to {
            opacity: 1;
          }
        }

        @keyframes slideInUp {
          from {
            opacity: 0;
            transform: translateY(30px);
          }
          to {
            opacity: 1;
            transform: translateY(0);
          }
        }

        .animate-fade-in {
          animation: fadeIn 0.6s ease-out;
        }

        .animate-fade-in-up {
          animation: fadeInUp 0.6s ease-out;
        }

        .animate-slide-in-up {
          animation: slideInUp 0.6s ease-out;
        }

        /* Hover Effects */
        .hover-lift:hover {
          transform: translateY(-2px);
          box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }

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

        /* Focus Styles */
        .focus-ring:focus {
          outline: 2px solid hsl(var(--ring));
          outline-offset: 2px;
        }

        /* Loading States */
        .loading {
          opacity: 0.6;
          pointer-events: none;
          position: relative;
        }

        .loading::after {
          content: '';
          position: absolute;
          top: 50%;
          left: 50%;
          width: 20px;
          height: 20px;
          margin: -10px 0 0 -10px;
          border: 2px solid hsl(var(--primary));
          border-radius: 50%;
          border-top-color: transparent;
          animation: spin 1s linear infinite;
        }

        @keyframes spin {
          to {
            transform: rotate(360deg);
          }
        }

        /* Responsive Design */
        @media (max-width: 640px) {
          .btn {
            font-size: 0.875rem;
            padding: 0.5rem 1rem;
          }
          
          .card-header,
          .card-content {
            padding: 1rem;
          }
          
          .card-title {
            font-size: 1.25rem;
          }
        }

        /* Dark Mode Enhancements */
        .dark .interactive-card:hover {
          box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
        }

        .dark .card {
          box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 1px 2px 0 rgba(0, 0, 0, 0.2);
        }

        /* Accessibility */
        @media (prefers-reduced-motion: reduce) {
          *,
          *::before,
          *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
          }
        }

/* ===== ENHANCED FOOTER STYLING ===== */

/* Enhanced Footer Background */
.premium-footer {
  background: linear-gradient(135deg, 
    hsl(var(--background)) 0%, 
    hsl(var(--muted) / 0.05) 25%,
    hsl(var(--primary) / 0.02) 50%,
    hsl(var(--muted) / 0.05) 75%,
    hsl(var(--background)) 100%);
  border-top: 1px solid hsl(var(--border) / 0.1);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.premium-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    hsl(var(--primary) / 0.3) 25%,
    hsl(var(--accent) / 0.3) 50%,
    hsl(var(--primary) / 0.3) 75%,
    transparent 100%);
}

.premium-footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, hsl(var(--primary) / 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, hsl(var(--accent) / 0.03) 0%, transparent 50%);
  pointer-events: none;
}

/* Enhanced Footer Content */
.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
  align-items: start;
}

/* Enhanced Footer Sections */
.footer-section {
  position: relative;
}

.footer-section h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 2rem;
  height: 2px;
  background: linear-gradient(90deg, 
    hsl(var(--primary)) 0%, 
    hsl(var(--accent)) 100%);
  border-radius: 1px;
}

.footer-section p {
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* Enhanced Footer Links */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-link {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-radius: var(--radius-md);
  position: relative;
  font-weight: 500;
}

.footer-link::before {
  content: '';
  position: absolute;
  left: -0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    hsl(var(--primary)) 0%, 
    hsl(var(--accent)) 100%);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 1px;
}

.footer-link:hover {
  color: hsl(var(--foreground));
  transform: translateX(8px);
  background: hsl(var(--accent) / 0.05);
  padding-left: 0.5rem;
}

.footer-link:hover::before {
  width: 0.5rem;
}

.footer-link svg {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.footer-link:hover svg {
  transform: scale(1.1);
  color: hsl(var(--primary));
}

/* Enhanced Social Links */
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: hsl(var(--muted) / 0.1);
  border: 1px solid hsl(var(--border) / 0.2);
  border-radius: var(--radius-lg);
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    hsl(var(--primary) / 0.1) 50%, 
    transparent 100%);
  transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover {
  background: hsl(var(--primary) / 0.1);
  border-color: hsl(var(--primary) / 0.3);
  color: hsl(var(--primary));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.social-link:hover::before {
  left: 100%;
}

.social-link svg,
.social-link i {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover svg,
.social-link:hover i {
  transform: scale(1.1);
}

/* Font Awesome Icons Styling */
.fa, .fas, .far, .fab {
  font-size: 1rem;
  display: inline-block;
  vertical-align: middle;
}

.footer-link .fa, .footer-link .fas, .footer-link .far, .footer-link .fab {
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-right: 0.5rem;
}

.social-link .fa, .social-link .fas, .social-link .far, .social-link .fab {
  font-size: 1.25rem;
}

/* ===== OPTIMIZED BLOG SECTION ===== */
.blog-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.1);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.05) 0%, hsl(var(--primary) / 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: hsl(var(--primary) / 0.2);
}

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

.blog-card-header {
  position: relative;
  overflow: hidden;
  height: 180px;
}

.blog-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.blog-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, hsl(var(--primary) / 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.blog-card:hover .blog-card-overlay {
  opacity: 1;
}

.blog-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.375rem 0.75rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.blog-card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.blog-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card:hover .blog-card-title {
  color: hsl(var(--primary));
}

.blog-card-description {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
}

.blog-card-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.blog-card-button:hover {
  background: hsl(var(--primary) / 0.9);
  transform: translateX(2px);
  box-shadow: 0 4px 8px hsl(var(--primary) / 0.3);
}

.blog-card-date {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  font-weight: 500;
  white-space: nowrap;
}

/* View All Posts Button */
.blog-view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2.5rem;
  background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--primary) / 0.8) 100%);
  color: hsl(var(--primary-foreground));
  border: 2px solid hsl(var(--primary));
  border-radius: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px hsl(var(--primary) / 0.2);
}

.blog-view-all-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, hsl(var(--primary) / 0.1), transparent);
  transition: left 0.5s ease;
}

.blog-view-all-btn:hover {
  background: linear-gradient(135deg, hsl(var(--primary) / 0.9) 0%, hsl(var(--primary) / 0.7) 100%);
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary) / 0.8);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px -5px hsl(var(--primary) / 0.3);
}

.blog-view-all-btn:hover::before {
  left: 100%;
}

/* Responsive Blog Cards */
@media (max-width: 768px) {
  .blog-card-header {
    height: 160px;
  }
  
  .blog-card-content {
    padding: 1.25rem;
  }
  
  .blog-card-title {
    font-size: 1.125rem;
  }
  
  .blog-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .blog-card-button {
    width: 100%;
    justify-content: center;
  }
}

/* Ensure Font Awesome icons are visible */
i.fa, i.fas, i.far, i.fab {
  display: inline-block;
  vertical-align: middle;
}


/* Enhanced Footer Bottom */
.footer-bottom {
  border-top: 1px solid hsl(var(--border) / 0.1);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
  position: relative;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4rem;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    hsl(var(--primary) / 0.3) 50%, 
    transparent 100%);
}

.footer-copyright {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  font-weight: 500;
}

.footer-legal {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-legal .footer-link {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  background: hsl(var(--muted) / 0.05);
  border: 1px solid hsl(var(--border) / 0.1);
}

.footer-legal .footer-link:hover {
  background: hsl(var(--accent) / 0.1);
  border-color: hsl(var(--accent) / 0.2);
  transform: translateY(-1px);
}

/* Enhanced Animations */
@keyframes footerSlideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes footerFadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-in-left {
  animation: footerSlideInLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-fade-in-up {
  animation: footerFadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  
  .footer-section:first-child {
    grid-column: 1 / -1;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .footer-content {
    padding: 3rem 1.5rem 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  
  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-legal {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-legal .footer-link {
    width: 100%;
    max-width: 200px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-content {
    padding: 2.5rem 1rem 1.5rem;
  }
  
  .footer-grid {
    gap: 2rem;
  }
  
  .footer-section h3 {
    font-size: 1.125rem;
  }
  
  .footer-section p {
    font-size: 0.9rem;
  }
}

/* ===== ENHANCED ABOUT PAGE STYLES ===== */

/* Hero Stats Animation */
.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: hsl(var(--primary));
  line-height: 1;
  margin-bottom: 0.5rem;
  animation: countUp 2s ease-out;
}

.stat-label {
  display: block;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced Team Cards */
.team-card {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, hsl(var(--primary) / 0.1), transparent);
  transition: left 0.5s ease;
}

.team-card:hover::before {
  left: 100%;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px hsl(var(--primary) / 0.15);
}

/* Value Cards Enhancement */
.value-card {
  position: relative;
  overflow: hidden;
}

.value-card .fas {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-card:hover .fas {
  transform: scale(1.1) rotate(5deg);
  color: hsl(var(--primary));
}

/* Enhanced CTA Buttons */
.cta-primary i,
.cta-secondary i {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-primary:hover i,
.cta-secondary:hover i {
  transform: scale(1.1);
}

/* Responsive Enhancements for About Page */
@media (max-width: 768px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .stat-item {
    padding: 0.75rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .stat-label {
    font-size: 0.75rem;
  }
  
  .team-card,
  .value-card {
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .hero-content {
    padding: 0.5rem 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
}

/* Animation Delays for Staggered Effects */
.animate-fade-in-scale:nth-child(1) { animation-delay: 0.1s; }
.animate-fade-in-scale:nth-child(2) { animation-delay: 0.2s; }
.animate-fade-in-scale:nth-child(3) { animation-delay: 0.3s; }
.animate-fade-in-scale:nth-child(4) { animation-delay: 0.4s; }
.animate-fade-in-scale:nth-child(5) { animation-delay: 0.5s; }
.animate-fade-in-scale:nth-child(6) { animation-delay: 0.6s; }

/* Enhanced Icon Styling */
.premium-card .fas {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-card:hover .fas {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 8px hsl(var(--primary) / 0.3));
}

/* Professional Badge Styling */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
}

.badge.bg-primary {
  background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--primary) / 0.8) 100%);
  color: hsl(var(--primary-foreground));
  box-shadow: 0 2px 4px hsl(var(--primary) / 0.2);
}

.badge.bg-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px hsl(var(--primary) / 0.3);
}

/* Enhanced Card Hover Effects */
.premium-card {
  position: relative;
  overflow: hidden;
}

.premium-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.05) 0%, hsl(var(--primary) / 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.premium-card:hover::after {
  opacity: 1;
}

/* ===== ENHANCED NEWSLETTER & CTA SECTIONS ===== */

/* Enhanced Newsletter Section */
.newsletter-section {
  position: relative;
  background: linear-gradient(135deg, 
    hsl(var(--primary) / 0.08) 0%, 
    hsl(var(--accent) / 0.05) 50%, 
    hsl(var(--secondary) / 0.08) 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-12) var(--space-8);
  margin: var(--space-8) 0;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, hsl(var(--primary) / 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, hsl(var(--accent) / 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.newsletter-form {
  position: relative;
  z-index: 2;
  background: hsl(var(--background) / 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-xl);
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-form:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2xl);
  border-color: hsl(var(--primary) / 0.3);
}

.newsletter-title {
  font-size: var(--text-4xl);
  font-weight: 800;
  background: linear-gradient(135deg, 
    hsl(var(--foreground)) 0%, 
    hsl(var(--primary)) 50%, 
    hsl(var(--foreground)) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--space-4);
  text-align: center;
}

.newsletter-subtitle {
  font-size: var(--text-lg);
  color: hsl(var(--muted-foreground));
  text-align: center;
  margin-bottom: var(--space-8);
  line-height: 1.6;
}

.newsletter-input-group {
  display: flex;
  gap: var(--space-4);
  align-items: stretch;
  flex-wrap: wrap;
}

.newsletter-input {
  flex: 1;
  min-width: 250px;
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-base);
  background: hsl(var(--background));
  border: 2px solid hsl(var(--border));
  border-radius: var(--radius-xl);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.newsletter-input:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 4px hsl(var(--primary) / 0.15), var(--shadow-md);
  transform: translateY(-1px);
}

.newsletter-submit {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  font-weight: 600;
  background: linear-gradient(135deg, 
    hsl(var(--primary)) 0%, 
    hsl(var(--primary) / 0.9) 100%);
  color: hsl(var(--primary-foreground));
  border: none;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  white-space: nowrap;
}

.newsletter-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, 
    hsl(var(--primary) / 0.9) 0%, 
    hsl(var(--primary) / 0.8) 100%);
}

.newsletter-submit:active {
  transform: translateY(0);
}

/* Enhanced CTA Section */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, 
    hsl(var(--primary)) 0%, 
    hsl(var(--primary) / 0.9) 50%, 
    hsl(var(--primary) / 0.8) 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-16) var(--space-8);
  margin: var(--space-8) 0;
  overflow: hidden;
  color: hsl(var(--primary-foreground));
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, hsl(var(--primary-foreground) / 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, hsl(var(--primary-foreground) / 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: var(--text-5xl);
  font-weight: 800;
  margin-bottom: var(--space-6);
  line-height: 1.1;
}

.cta-subtitle {
  font-size: var(--text-xl);
  margin-bottom: var(--space-8);
  opacity: 0.9;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.cta-primary {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
  font-weight: 600;
  background: hsl(var(--primary-foreground));
  color: hsl(var(--primary));
  border: 2px solid hsl(var(--primary-foreground));
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
}

.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2xl);
  background: transparent;
  color: hsl(var(--primary-foreground));
}

.cta-secondary {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
  font-weight: 600;
  background: transparent;
  color: hsl(var(--primary-foreground));
  border: 2px solid hsl(var(--primary-foreground) / 0.3);
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
}

.cta-secondary:hover {
  transform: translateY(-3px);
  background: hsl(var(--primary-foreground) / 0.1);
  border-color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-lg);
}

/* Responsive Design */
@media (max-width: 768px) {
  .newsletter-section {
    padding: var(--space-8) var(--space-4);
    margin: var(--space-4) 0;
  }
  
  .newsletter-form {
    padding: var(--space-6);
  }
  
  .newsletter-title {
    font-size: var(--text-3xl);
  }
  
  .newsletter-input-group {
    flex-direction: column;
  }
  
  .newsletter-input {
    min-width: 100%;
  }
  
  .cta-section {
    padding: var(--space-12) var(--space-4);
  }
  
  .cta-title {
    font-size: var(--text-4xl);
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-primary,
  .cta-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

/* ===== ENHANCED ABOUT US PAGE DESIGN ===== */

/* Enhanced Hero Section */
.hero-section-enhanced {
    background: linear-gradient(135deg, hsl(var(--background)) 0%, hsl(var(--muted) / 0.3) 100%);
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero-section-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, hsl(var(--primary) / 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, hsl(var(--accent) / 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content-enhanced {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 6xl;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-title-enhanced {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, hsl(var(--foreground)) 0%, hsl(var(--primary)) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.text-primary-gradient {
    background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--accent)) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle-enhanced {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    line-height: 1.6;
    color: hsl(var(--muted-foreground));
    max-width: 4xl;
    margin: 0 auto 3rem;
    font-weight: 400;
}

.hero-stats-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 4xl;
    margin: 0 auto;
}

.stat-item-enhanced {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 1.5rem;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-item-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, hsl(var(--primary) / 0.05), transparent);
    transition: left 0.5s ease;
}

.stat-item-enhanced:hover::before {
    left: 100%;
}

.stat-item-enhanced:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: hsl(var(--primary) / 0.3);
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, hsl(var(--primary) / 0.1) 0%, hsl(var(--accent) / 0.1) 100%);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.stat-item-enhanced:hover .stat-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, hsl(var(--primary) / 0.2) 0%, hsl(var(--accent) / 0.2) 100%);
}

.stat-number-enhanced {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: hsl(var(--primary));
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label-enhanced {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: hsl(var(--muted-foreground));
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== ENHANCED ABOUT US CARD DESIGNS ===== */

/* Enhanced Team Profile Cards */
.team-profile-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 2rem;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 10px -2px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

.team-profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, hsl(var(--primary) / 0.05), transparent);
    transition: left 0.5s ease;
}

.team-profile-card:hover::before {
    left: 100%;
}

.team-profile-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px hsl(var(--primary) / 0.1);
    border-color: hsl(var(--primary) / 0.4);
}

.team-card-header {
    margin-bottom: 1.5rem;
    position: relative;
}

.team-avatar-container {
    position: relative;
    display: inline-block;
}

.team-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: hsl(var(--muted));
    color: hsl(var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin: 0 auto;
    border: 1px solid hsl(var(--border));
    transition: all 0.3s ease;
}

.team-profile-card:hover .team-avatar {
    transform: scale(1.05);
    background: hsl(var(--primary) / 0.1);
    border-color: hsl(var(--primary) / 0.3);
}

.team-status-indicator {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    width: 1rem;
    height: 1rem;
    background: hsl(var(--success));
    border: 2px solid hsl(var(--card));
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.team-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: hsl(var(--foreground));
    margin-bottom: 0.75rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.team-role {
    font-size: 1rem;
    color: hsl(var(--primary));
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.team-description {
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.team-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.skill-tag {
    padding: 0.25rem 0.75rem;
    background: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.team-profile-card:hover .skill-tag {
    background: hsl(var(--primary) / 0.2);
    transform: translateY(-1px);
}

/* Value Square Cards */
.value-square-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    aspect-ratio: 1;
    box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 10px -2px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

.value-square-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, hsl(var(--primary) / 0.02) 0%, hsl(var(--primary) / 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-square-card:hover::before {
    opacity: 1;
}

.value-square-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px hsl(var(--primary) / 0.1);
    border-color: hsl(var(--primary) / 0.4);
}

.value-card-icon {
    margin-bottom: 1.5rem;
}

.value-icon-container {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: hsl(var(--muted));
    color: hsl(var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin: 0 auto;
    border: 1px solid hsl(var(--border));
    transition: all 0.3s ease;
}

.value-square-card:hover .value-icon-container {
    transform: scale(1.05);
    background: hsl(var(--primary) / 0.1);
    border-color: hsl(var(--primary) / 0.3);
}

.value-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: hsl(var(--foreground));
    margin-bottom: 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.value-description {
    color: hsl(var(--muted-foreground));
    line-height: 1.7;
    flex: 1;
    font-size: 0.95rem;
}

/* Benefit Square Cards */
.benefit-square-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    aspect-ratio: 1;
    box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 10px -2px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

.benefit-square-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, hsl(var(--primary) / 0.02) 0%, hsl(var(--accent) / 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-square-card:hover::after {
    opacity: 1;
}

.benefit-square-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px hsl(var(--primary) / 0.1);
    border-color: hsl(var(--primary) / 0.4);
}

.benefit-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.benefit-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: hsl(var(--muted));
    color: hsl(var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    border: 1px solid hsl(var(--border));
    transition: all 0.3s ease;
}

.benefit-square-card:hover .benefit-icon {
    transform: scale(1.05);
    background: hsl(var(--primary) / 0.1);
    border-color: hsl(var(--primary) / 0.3);
}

.benefit-badge {
    padding: 0.25rem 0.75rem;
    background: hsl(var(--accent) / 0.1);
    color: hsl(var(--accent));
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.benefit-square-card:hover .benefit-badge {
    background: hsl(var(--accent) / 0.2);
    transform: translateY(-1px);
}

.benefit-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: hsl(var(--foreground));
    margin-bottom: 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.benefit-description {
    color: hsl(var(--muted-foreground));
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
    font-size: 0.95rem;
}

.benefit-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-item {
    padding: 0.25rem 0.5rem;
    background: hsl(var(--muted) / 0.5);
    color: hsl(var(--muted-foreground));
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.benefit-square-card:hover .feature-item {
    background: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
    transform: translateY(-1px);
}

/* Responsive Design for New Cards */
@media (max-width: 768px) {
    .team-profile-card,
    .value-square-card,
    .benefit-square-card {
        padding: 1.5rem;
    }
    
    .team-avatar {
        width: 4rem;
        height: 4rem;
        font-size: 1.25rem;
    }
    
    .value-icon-container,
    .benefit-icon {
        width: 3rem;
        height: 3rem;
        font-size: 1.25rem;
    }
    
    .team-skills,
    .benefit-features {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .team-profile-card,
    .value-square-card,
    .benefit-square-card {
        padding: 1rem;
    }
    
    .team-skills,
    .benefit-features {
        gap: 0.375rem;
    }
    
    .skill-tag,
    .feature-item {
        font-size: 0.6875rem;
        padding: 0.1875rem 0.5rem;
    }
}

/* ===== ENHANCED INDIVIDUAL BLOG POST STYLING ===== */

/* Premium Post Header */
.premium-post-header {
  background: linear-gradient(135deg, 
    hsl(var(--background)) 0%, 
    hsl(var(--muted) / 0.3) 50%, 
    hsl(var(--background)) 100%);
  padding: 3rem 0 2rem;
  border-bottom: 1px solid hsl(var(--border));
}

.premium-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--primary) / 0.8) 100%);
  color: hsl(var(--primary-foreground));
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px hsl(var(--primary) / 0.1);
}

.premium-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px -3px hsl(var(--primary) / 0.2);
  color: hsl(var(--primary-foreground));
}

.premium-post-title {
  font-size: clamp(2.0rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, 
    hsl(var(--foreground)) 0%, 
    hsl(var(--primary)) 50%, 
    hsl(var(--foreground)) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 2rem 0;
  animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  0% { filter: drop-shadow(0 0 5px hsl(var(--primary) / 0.3)); }
  100% { filter: drop-shadow(0 0 10px hsl(var(--primary) / 0.5)); }
}

.premium-post-meta {
  padding: 2rem 0;
  border-top: 1px solid hsl(var(--border));
  border-bottom: 1px solid hsl(var(--border));
}

.meta-content {
  max-width: 100%;
  margin: 0 auto;
}

.meta-professional {
  min-height: 4rem;
  padding: 1rem 0;
}

.meta-left-section {
  flex: 1;
  min-width: 0;
}

.meta-left-section .author-info {
  margin-right: 0;
  margin-bottom: 0;
}

.meta-left-section .author-details {
  flex: 1;
}

.meta-left-section .publish-date {
  white-space: nowrap;
  margin-left: 0;
  margin-top: 0.5rem;
}

/* Enhanced Author Name Visibility */
.author-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground)) !important;
  margin-bottom: 0.25rem;
}

.author-role {
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.8) !important;
  font-weight: 500;
}

.publish-date {
  font-size: 0.9rem;
  color: hsl(var(--foreground) / 0.8) !important;
  font-weight: 500;
}

/* Dark mode specific improvements */
[data-theme="dark"] .author-name {
  color: hsl(0 0% 95%) !important;
}

[data-theme="dark"] .author-role {
  color: hsl(0 0% 85%) !important;
}

[data-theme="dark"] .publish-date {
  color: hsl(0 0% 85%) !important;
}

[data-theme="dark"] .publish-date i {
  color: hsl(0 0% 75%) !important;
}

.publish-date i {
  color: hsl(var(--primary)) !important;
}

.meta-left {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--primary) / 0.8) 100%);
  color: hsl(var(--primary-foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: 0 4px 6px -1px hsl(var(--primary) / 0.1);
}

.author-details {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  color: hsl(var(--foreground));
  font-size: 1rem;
}

.author-role {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.publish-date {
  display: flex;
  align-items: center;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.share-buttons {
  display: flex;
  gap: 0.5rem;
}

.share-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
  color: hsl(var(--muted-foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.share-btn:hover {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px hsl(var(--primary) / 0.1);
}

/* Dark mode specific improvements for share buttons */
[data-theme="dark"] .share-btn {
  background: hsl(0 0% 20%);
  border-color: hsl(0 0% 30%);
  color: hsl(0 0% 80%);
}

[data-theme="dark"] .share-btn:hover {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
}

/* Premium Featured Image */
.premium-featured-image {
  padding: 2rem 0;
}

.image-container {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px hsl(var(--foreground) / 0.1);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-container:hover {
  transform: scale(1.02);
}

.featured-image {
  width: 100%;
  height: auto;
  display: block;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    hsl(var(--primary) / 0.8) 0%, 
    hsl(var(--primary) / 0.6) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: hsl(var(--primary-foreground));
  font-size: 2rem;
}

.image-container:hover .image-overlay {
  opacity: 1;
}

/* Premium Post Content */
.premium-post-content {
  padding: 3rem 0;
}

.prose {
  color: hsl(var(--foreground));
  max-width: none;
}

.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
  color: hsl(var(--foreground));
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose h1 {
  font-size: 2.5rem;
  border-bottom: 2px solid hsl(var(--border));
  padding-bottom: 0.5rem;
}

.prose h2 {
  font-size: 2rem;
  color: hsl(var(--primary));
}

.prose h3 {
  font-size: 1.5rem;
}

.prose p {
  color: hsl(var(--muted-foreground));
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.prose a {
  color: hsl(var(--primary));
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.prose a:hover {
  color: hsl(var(--primary) / 0.8);
  border-bottom-color: hsl(var(--primary));
}

.prose code {
  background: hsl(var(--muted));
  color: hsl(var(--primary));
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ===== PREMIUM CODE BLOCKS ===== */
.premium-code-block {
  position: relative;
  background: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  padding: 1.5rem; /* Simplified padding without language labels */
  overflow-x: auto;
  margin: 1.5rem 0;
  box-shadow: 0 4px 6px -1px hsl(var(--foreground) / 0.05);
  font-family: 'Fira Code', 'Monaco', 'Cascadia Code', 'Roboto Mono', monospace;
  font-size: 0.875rem;
  line-height: 1.6;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-code-block:hover {
  box-shadow: 0 8px 25px -5px hsl(var(--foreground) / 0.1), 0 4px 6px -2px hsl(var(--foreground) / 0.05);
  transform: translateY(-1px);
}

.premium-code-block code {
  background: transparent;
  color: hsl(var(--foreground));
  padding: 0;
  border-radius: 0;
  font-size: inherit;
  font-family: inherit;
  font-weight: 500;
}

/* Enhanced text visibility for both themes - merged with main rule above */

.premium-code-block code {
  color: hsl(var(--foreground));
  background: transparent;
}

/* Light mode specific enhancements */
[data-theme="light"] .premium-code-block {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #1e293b;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .premium-code-block code {
  color: #1e293b;
  background: transparent;
}

/* Dark mode specific enhancements */
[data-theme="dark"] .premium-code-block {
  background: #1e293b;
  border-color: #334155;
  color: #f1f5f9;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .premium-code-block code {
  color: #f1f5f9;
  background: transparent;
}

/* Language labels removed - keeping only copy button functionality */

.code-copy-btn {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border));
  border-radius: 0.375rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  z-index: 10;
}

.code-copy-btn:hover {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
  transform: translateY(-1px);
  box-shadow: 0 4px 8px hsl(var(--primary) / 0.2);
}

.code-copy-btn.copied {
  background: hsl(var(--success));
  color: hsl(var(--success-foreground));
  border-color: hsl(var(--success));
}

/* Enhanced visibility for copy buttons */

[data-theme="light"] .code-copy-btn {
  background: #ffffff;
  color: #1e293b;
  border-color: #e2e8f0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .code-copy-btn:hover {
  background: #3b82f6;
  color: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

/* Dark theme language styles removed */

[data-theme="dark"] .code-copy-btn {
  background: #1e293b;
  color: #f1f5f9;
  border-color: #334155;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .code-copy-btn:hover {
  background: #3b82f6;
  color: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.4);
}

.code-copy-btn i {
  font-size: 0.75rem;
}

/* Inline code styling */
.premium-inline-code {
  background: hsl(var(--muted));
  color: hsl(var(--primary));
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: 'Fira Code', 'Monaco', 'Cascadia Code', 'Roboto Mono', monospace;
  border: 1px solid hsl(var(--border) / 0.5);
}

/* Enhanced inline code visibility */
[data-theme="light"] .premium-inline-code {
  background: #f1f5f9;
  color: #1e40af;
  border-color: #cbd5e1;
  font-weight: 600;
}

[data-theme="dark"] .premium-inline-code {
  background: #334155;
  color: #60a5fa;
  border-color: #475569;
  font-weight: 600;
}

/* Responsive code blocks */
@media (max-width: 768px) {
  .premium-code-block {
    padding: 1rem; /* Simplified padding for mobile */
    margin: 1rem 0;
    font-size: 0.8rem;
  }
  
  .code-copy-btn {
    top: 0.5rem;
    right: 0.75rem;
    padding: 0.4rem 0.6rem;
    font-size: 0.7rem;
  }
}

/* Enhanced blockquotes */
.premium-blockquote {
  border-left: 4px solid hsl(var(--primary));
  padding: 1.5rem;
  margin: 1.5rem 0;
  background: linear-gradient(135deg, hsl(var(--muted) / 0.3) 0%, hsl(var(--muted) / 0.1) 100%);
  border-radius: 0 0.75rem 0.75rem 0;
  font-style: italic;
  color: hsl(var(--muted-foreground));
  position: relative;
}

.premium-blockquote::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  font-size: 3rem;
  color: hsl(var(--primary) / 0.3);
  font-family: serif;
}

/* Dark mode support for code blocks */
[data-theme="dark"] .premium-code-block {
  background: hsl(var(--muted) / 0.8);
  border-color: hsl(var(--border) / 0.5);
  box-shadow: 0 4px 6px -1px hsl(var(--foreground) / 0.1);
}

[data-theme="dark"] .code-copy-btn {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  border-color: hsl(var(--border));
}

[data-theme="dark"] .code-copy-btn:hover {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

[data-theme="dark"] .premium-inline-code {
  background: hsl(var(--muted) / 0.8);
  color: hsl(var(--primary));
  border-color: hsl(var(--border) / 0.5);
}


/* Legacy support for existing prose styles */
.prose pre {
  background: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  padding: 1.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
  box-shadow: 0 4px 6px -1px hsl(var(--foreground) / 0.05);
}

.prose pre code {
  background: transparent;
  color: hsl(var(--foreground));
  padding: 0;
  border-radius: 0;
  font-size: 0.875rem;
}

.prose blockquote {
  border-left: 4px solid hsl(var(--primary));
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: hsl(var(--muted-foreground));
  background: hsl(var(--muted) / 0.3);
  padding: 1rem 1.5rem;
  border-radius: 0 0.5rem 0.5rem 0;
}

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

.prose li {
  margin: 0.5rem 0;
  color: hsl(var(--muted-foreground));
}

.prose img {
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px hsl(var(--foreground) / 0.1);
  margin: 1.5rem 0;
}

/* Premium Post Footer */
.premium-post-footer {
  background: linear-gradient(135deg, 
    hsl(var(--muted) / 0.1) 0%, 
    hsl(var(--background)) 100%);
  padding: 3rem 0;
  border-top: 1px solid hsl(var(--border));
}

.post-footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.author-card {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-card-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--primary) / 0.8) 100%);
  color: hsl(var(--primary-foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  box-shadow: 0 8px 15px -3px hsl(var(--primary) / 0.2);
}

.author-card-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin: 0;
}

.author-card-bio {
  color: hsl(var(--muted-foreground));
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
}

.post-meta-footer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}


.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 3rem;
  height: 3px;
  background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--primary) / 0.6) 100%);
  border-radius: 2px;
}

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

.related-post-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px hsl(var(--foreground) / 0.05);
}

.related-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px hsl(var(--foreground) / 0.1);
}

.card-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--primary) / 0.8) 100%);
  color: hsl(var(--primary-foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 15px -3px hsl(var(--primary) / 0.2);
}

.related-post-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
}

.related-post-card p {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--primary));
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-link:hover {
  color: hsl(var(--primary) / 0.8);
  transform: translateX(4px);
}

/* Toast Notifications */
.toast {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 20px 25px -5px hsl(var(--foreground) / 0.1);
  z-index: 1000;
  animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast-success {
  border-left: 4px solid hsl(var(--success));
}

.toast-error {
  border-left: 4px solid hsl(var(--destructive));
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .premium-post-header {
    padding: 2rem 0 1.5rem;
  }
  
  .premium-post-title {
    font-size: 2rem;
    margin: 1.5rem 0;
  }
  
  .premium-post-meta {
    padding: 1.5rem 0;
  }
  
  .meta-content {
    max-width: 100%;
  }
  
  .meta-professional {
    flex-direction: column;
    gap: 1.5rem;
    min-height: auto;
    align-items: flex-start;
  }
  
  .meta-left-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .meta-left-section .author-info {
    margin-right: 0;
    margin-bottom: 0;
  }
  
  .meta-left-section .author-details {
    flex: 1;
  }
  
  .meta-left-section .publish-date {
    margin-left: 0;
    margin-top: 0.25rem;
  }
  
  .share-buttons {
    gap: 1rem;
    justify-content: center;
    align-self: center;
  }
  
  .post-footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .post-nav-link {
    padding: 1rem;
  }
  
  .nav-content {
    gap: 0.75rem;
  }
  
  .nav-icon {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }
  
  .nav-title {
    font-size: 1rem;
  }
  
  .toast {
    top: 1rem;
    right: 1rem;
    left: 1rem;
  }
}