/* ============================================
   BLOG PAGE STYLES - Modern Design System
   ============================================ */

/* Variables */
:root {
  --blog-primary: #2c86f9;
  --blog-primary-dark: #1e6ee8;
  --blog-secondary: #667eea;
  --blog-accent: #764ba2;
  --blog-gray-50: #f8fafc;
  --blog-gray-100: #f1f5f9;
  --blog-gray-200: #e2e8f0;
  --blog-gray-300: #cbd5e1;
  --blog-gray-400: #94a3b8;
  --blog-gray-500: #64748b;
  --blog-gray-600: #475569;
  --blog-gray-700: #334155;
  --blog-gray-800: #1e293b;
  --blog-gray-900: #0f172a;

  --blog-spacing-xs: 0.5rem;
  --blog-spacing-sm: 1rem;
  --blog-spacing-md: 1.5rem;
  --blog-spacing-lg: 2rem;
  --blog-spacing-xl: 3rem;
  --blog-spacing-2xl: 4rem;
  --blog-spacing-3xl: 6rem;

  --blog-radius-sm: 0.5rem;
  --blog-radius-md: 0.75rem;
  --blog-radius-lg: 1rem;
  --blog-radius-xl: 1.5rem;

  --blog-shadow-sm: 0 1px 2px 0 rgba(44, 134, 249, 0.05);
  --blog-shadow-md: 0 4px 6px -1px rgba(44, 134, 249, 0.1), 0 2px 4px -1px rgba(44, 134, 249, 0.06);
  --blog-shadow-lg: 0 10px 15px -3px rgba(44, 134, 249, 0.1), 0 4px 6px -2px rgba(44, 134, 249, 0.05);
  --blog-shadow-xl: 0 20px 25px -5px rgba(44, 134, 249, 0.15), 0 10px 10px -5px rgba(44, 134, 249, 0.08);
  --blog-shadow-2xl: 0 25px 50px -12px rgba(44, 134, 249, 0.25);

  --container-max-width: 1200px;
  --container-padding: 2rem;
}

/* ============================================
   GLOBAL CONTAINER
   ============================================ */

.blog-hero .container,
.filter-section .container,
.featured-section .container,
.articles-section .container,
.newsletter-section .container {
  max-width: var(--container-max-width) !important;
  margin: 0 auto !important;
  padding: 0 var(--container-padding) !important;
  width: 100% !important;
}

@media (max-width: 768px) {
  .container {
    --container-padding: 1.25rem;
  }
}

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

/* ============================================
   HERO SECTION
   ============================================ */

.blog-hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
  background: #ffffff;
}

@media (min-width: 769px) {
  .blog-hero {
    min-height: 75vh;
  }
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  display: none;
}

.hero-gradient-mesh {
  position: absolute;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 50%, rgba(44, 134, 249, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(96, 165, 250, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(147, 197, 253, 0.1) 0%, transparent 50%);
  animation: meshAnimation 20s ease infinite;
}

@keyframes meshAnimation {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-20px, -20px) rotate(1deg); }
  66% { transform: translate(20px, -10px) rotate(-1deg); }
}

.hero-floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
}

.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.6;
}

.floating-orb.orb-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%);
  top: -100px;
  right: -100px;
  animation: floatOrb 25s ease-in-out infinite;
}

.floating-orb.orb-2 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #2c86f9 0%, #60a5fa 50%);
  bottom: -50px;
  left: -50px;
  animation: floatOrb 20s ease-in-out infinite reverse;
}

.floating-orb.orb-3 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, #f472b6 0%, #fbbf24 50%);
  top: 50%;
  left: 30%;
  animation: floatOrb 30s ease-in-out infinite 5s;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(-30px, -10px) scale(1.02); }
}

.hero-grid-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(44, 134, 249, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 134, 249, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 40s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.blog-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
  padding: 0 2rem;
  width: 100%;
  left: 0 !important;
  right: 0 !important;
  transform: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f3f4f6;
  border: 2px solid #e5e7eb;
  border-radius: 50px;
  padding: 8px 20px;
  margin-bottom: 24px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1f2937;
  letter-spacing: 0.5px;
}

@keyframes badgePulse {
  0%, 100% { transform: translateY(0); box-shadow: 0 4px 20px rgba(44, 134, 249, 0.1); }
  50% { transform: translateY(-2px); box-shadow: 0 6px 30px rgba(44, 134, 249, 0.2); }
}

.hero-badge svg {
  width: 20px;
  height: 20px;
  color: #2c86f9;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 2rem;
  letter-spacing: -0.02em;
  color: #1f2937;
  animation: fadeInUp 0.8s ease-out;
}

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

.gradient-text {
  background: linear-gradient(135deg, #2c86f9 0%, #667eea 50%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { filter: hue-rotate(0deg); }
  50% { filter: hue-rotate(20deg); }
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.8;
  margin: 0 0 3rem;
  color: #4b5563;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.blog-hero .hero-stats {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2rem !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

@media (max-width: 768px) {
  .blog-hero .hero-stats {
    grid-template-columns: 1fr !important;
  }
}

.blog-hero .hero-stats .stat-item {
  position: relative;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 1.25rem !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: visible !important;
  min-height: 100px;
  width: 100%;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.hero-stats .stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
}

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

.hero-stats .stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(44, 134, 249, 0.15);
  border-color: rgba(44, 134, 249, 0.3);
}

.hero-stats .stat-icon-wrapper {
  position: relative;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-stats .stat-icon-wrapper::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 134, 249, 0.1), rgba(96, 165, 250, 0.05));
  border-radius: 12px;
  animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.blog-hero .hero-stats .stat-icon-wrapper {
  flex-shrink: 0 !important;
}

.blog-hero .hero-stats .stat-icon-wrapper svg,
.blog-hero .hero-stats .stat-icon-wrapper i {
  position: relative;
  z-index: 1;
  font-size: 24px;
  color: #2c86f9;
}

.blog-hero .hero-stats .stat-content {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  flex: 1 !important;
  gap: 0.25rem !important;
  min-width: 0 !important;
}

.blog-hero .hero-stats .stat-number {
  display: block !important;
  font-size: 1.75rem !important;
  font-weight: 800 !important;
  color: var(--blog-gray-900) !important;
  line-height: 1 !important;
  letter-spacing: -0.01em !important;
  white-space: nowrap !important;
}

.blog-hero .hero-stats .stat-label {
  display: block !important;
  font-size: 0.875rem !important;
  color: var(--blog-gray-600) !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.01em !important;
  white-space: nowrap !important;
}

/* ============================================
   FILTER SECTION
   ============================================ */

.filter-section {
  padding: 1.5rem 0;
  background: linear-gradient(to bottom, rgba(248, 250, 252, 0.95), rgba(248, 250, 252, 1));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--blog-gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(44, 134, 249, 0.06);
}

.filter-section .filter-container {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: center !important;
  gap: 2rem !important;
}

@media (max-width: 968px) {
  .filter-section .filter-container {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
}

.filter-search {
  position: relative;
  width: 100%;
  max-width: 450px;
}

.search-icon {
  position: absolute;
  left: 1.125rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blog-gray-400);
  pointer-events: none;
  z-index: 1;
}

.search-input {
  width: 100%;
  padding: 0.9375rem 1.25rem 0.9375rem 3.25rem;
  border: 2px solid var(--blog-gray-200);
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
  color: var(--blog-gray-900);
}

.search-input::placeholder {
  color: var(--blog-gray-400);
  font-weight: 400;
}

.search-input:focus {
  outline: none;
  border-color: var(--blog-primary);
  box-shadow: 0 0 0 4px rgba(44, 134, 249, 0.1);
  background: white;
}

.filter-pills {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

@media (max-width: 968px) {
  .filter-search {
    max-width: 100%;
  }

  .filter-pills {
    justify-content: flex-start;
  }
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.125rem;
  background: white;
  border: 2px solid var(--blog-gray-200);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blog-gray-700);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill:hover {
  border-color: var(--blog-primary);
  color: var(--blog-primary);
  transform: translateY(-2px);
  box-shadow: var(--blog-shadow-md);
}

.filter-pill.active {
  background: var(--blog-primary);
  border-color: var(--blog-primary);
  color: white;
}

.pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.375rem;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}

.filter-pill.active .pill-count {
  background: rgba(255, 255, 255, 0.2);
}

/* ============================================
   FEATURED SECTION
   ============================================ */

.featured-section {
  padding: 5rem 0;
  background: linear-gradient(to bottom, var(--blog-gray-50), white);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1.25rem;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: var(--blog-gray-900);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

.section-label svg {
  fill: #f59e0b;
}

.featured-article {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 3rem;
  background: white;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--blog-shadow-2xl);
  border: 1px solid var(--blog-gray-100);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-article::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.03), rgba(96, 165, 250, 0.03));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  pointer-events: none;
}

.featured-article:hover::before {
  opacity: 1;
}

.featured-article:hover {
  transform: translateY(-12px);
  box-shadow: 0 40px 80px -12px rgba(79, 70, 229, 0.25);
  border-color: rgba(79, 70, 229, 0.15);
}

.featured-visual {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.visual-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.featured-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--blog-gray-900);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--blog-shadow-lg);
}

.visual-icon {
  position: relative;
  z-index: 10;
  color: white;
  opacity: 0.2;
}

.visual-icon svg {
  width: 120px;
  height: 120px;
}

.featured-content {
  position: relative;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
}

.article-meta-top {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.category-badge {
  display: inline-flex;
  padding: 0.375rem 0.875rem;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.category-badge.seo {
  background: #dbeafe;
  color: #1e40af;
}

.category-badge.ads {
  background: #fce7f3;
  color: #be123c;
}

.category-badge.design {
  background: #fef3c7;
  color: #92400e;
}

.category-badge.content {
  background: #d1fae5;
  color: #065f46;
}

.read-time {
  font-size: 0.875rem;
  color: var(--blog-gray-500);
  font-weight: 500;
}

.featured-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--blog-gray-900);
  margin: 0 0 1.5rem;
  letter-spacing: -0.01em;
}

.featured-excerpt {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--blog-gray-600);
  margin: 0 0 2rem;
}

.article-meta-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--blog-gray-200);
}

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

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blog-primary), var(--blog-secondary));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

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

.author-name {
  font-weight: 600;
  color: var(--blog-gray-900);
  font-size: 0.9375rem;
}

.publish-date {
  font-size: 0.8125rem;
  color: var(--blog-gray-500);
}

.featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: var(--blog-primary);
  color: white;
  border-radius: 1rem;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--blog-shadow-md);
}

.featured-cta:hover {
  background: var(--blog-primary-dark);
  transform: translateX(4px);
  box-shadow: var(--blog-shadow-lg);
}

.featured-cta svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   ARTICLES GRID
   ============================================ */

.articles-section {
  padding: 5rem 0 6rem;
  background: white;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--blog-gray-900);
  margin: 0;
  letter-spacing: -0.02em;
}

.view-toggle {
  display: flex;
  gap: 0;
  background: white;
  border-radius: 0.75rem;
  padding: 0.25rem;
  box-shadow: var(--blog-shadow-sm);
}

.view-btn {
  padding: 0.5rem 1.25rem;
  background: transparent;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--blog-gray-600);
  cursor: pointer;
  transition: all 0.2s ease;
}

.view-btn:hover {
  color: var(--blog-gray-900);
}

.view-btn.active {
  background: var(--blog-primary);
  color: white;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
  align-items: start;
}

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

@media (min-width: 1101px) {
  .articles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.article-card {
  position: relative;
  background: white;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--blog-shadow-lg);
  border: 1px solid var(--blog-gray-100);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.article-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(96, 165, 250, 0.05));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

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

.article-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px -12px rgba(79, 70, 229, 0.3);
  border-color: rgba(79, 70, 229, 0.2);
}

.article-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
  transition: all 0.4s ease;
}

.article-card:hover .image-overlay {
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
}

.article-icon {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blog-gray-900);
  box-shadow: var(--blog-shadow-lg);
  transition: all 0.3s ease;
}

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

.article-icon svg {
  width: 28px;
  height: 28px;
}

.article-body {
  position: relative;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  z-index: 1;
}

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

.article-title a {
  color: var(--blog-gray-900);
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-title a:hover {
  color: var(--blog-primary);
}

.article-excerpt {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--blog-gray-600);
  margin: 0 0 1.5rem;
  flex: 1;
}

.article-footer {
  padding-top: 1.5rem;
  border-top: 1px solid var(--blog-gray-100);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--blog-gray-500);
  margin-bottom: 1rem;
}

.meta-divider {
  color: var(--blog-gray-300);
}

.article-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  padding: 0.25rem 0.625rem;
  background: var(--blog-gray-100);
  color: var(--blog-gray-600);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.article-card:hover .tag {
  background: var(--blog-gray-200);
}

.load-more-container {
  text-align: center;
}

.load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: white;
  color: var(--blog-gray-900);
  border: 2px solid var(--blog-gray-200);
  border-radius: 1rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--blog-shadow-md);
}

.load-more-btn:hover {
  background: var(--blog-gray-900);
  color: white;
  border-color: var(--blog-gray-900);
  transform: translateY(-2px);
  box-shadow: var(--blog-shadow-lg);
}

.load-more-btn svg {
  transition: transform 0.3s ease;
}

.load-more-btn:hover svg {
  transform: translateY(4px);
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */

.newsletter-section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #f0f9ff 100%);
}

.newsletter-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: none;
}

.newsletter-gradient {
  position: absolute;
  inset: 0;
  background: transparent;
}

.newsletter-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
}

.newsletter-content {
  position: relative;
  z-index: 10;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  color: var(--blog-gray-900);
}

.newsletter-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  background: white;
  border: 2px solid var(--blog-primary);
  border-radius: 50%;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(44, 134, 249, 0.2);
}

.newsletter-icon svg {
  width: 48px;
  height: 48px;
  color: var(--blog-primary);
}

.newsletter-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
  color: var(--blog-gray-900);
}

.newsletter-description {
  font-size: 1.125rem;
  line-height: 1.7;
  margin: 0 0 3rem;
  color: var(--blog-gray-600);
}

.newsletter-form {
  margin-bottom: 3rem;
}

.form-group {
  display: flex;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto 1rem;
}

.newsletter-input {
  flex: 1;
  padding: 1rem 1.25rem;
  border: 2px solid var(--blog-gray-200);
  border-radius: 1rem;
  font-size: 1rem;
  background: white;
  color: var(--blog-gray-900);
  transition: all 0.3s ease;
}

.newsletter-input::placeholder {
  color: var(--blog-gray-400);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--blog-primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(44, 134, 249, 0.1);
}

.newsletter-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  background: var(--blog-primary);
  color: white;
  border: none;
  border-radius: 1rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--blog-shadow-xl);
  white-space: nowrap;
}

.newsletter-submit:hover {
  background: var(--blog-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -12px rgba(44, 134, 249, 0.4);
}

.newsletter-submit svg {
  width: 20px;
  height: 20px;
}

.newsletter-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--blog-gray-600);
  margin: 0;
}

.newsletter-privacy svg {
  width: 16px;
  height: 16px;
  color: var(--blog-gray-500);
}

.newsletter-proof {
  display: flex;
  justify-content: center;
  gap: 4rem;
  padding-top: 3rem;
  border-top: 2px solid var(--blog-gray-200);
}

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

.proof-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--blog-primary);
}

.proof-label {
  display: block;
  font-size: 0.875rem;
  color: var(--blog-gray-600);
}

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

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

@media (max-width: 1024px) {
  .hero-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
  }

  .featured-article {
    grid-template-columns: 1fr;
  }

  .featured-visual {
    min-height: 300px;
    max-height: 400px;
  }

  .hero-stats {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .blog-hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: clamp(2rem, 6vw, 2.75rem);
  }

  .hero-description {
    font-size: 1.0625rem;
    margin-bottom: 2.5rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 500px;
  }

  .hero-stats .stat-item {
    padding: 1.25rem;
    min-height: 80px;
  }

  .hero-stats .stat-number {
    font-size: 1.625rem;
  }

  .filter-section {
    position: static;
    padding: 1.25rem 0;
  }

  .featured-section,
  .articles-section {
    padding: 3.5rem 0;
  }

  .section-title {
    font-size: 1.875rem;
  }

  .featured-content {
    padding: 2rem;
  }

  .featured-title {
    font-size: 1.5rem;
  }

  .featured-excerpt {
    font-size: 1rem;
  }

  .article-meta-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .articles-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .newsletter-title {
    font-size: 2rem;
  }

  .form-group {
    flex-direction: column;
  }

  .newsletter-proof {
    gap: 2rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }

  .hero-stats {
    max-width: 100%;
  }

  .filter-pills {
    width: 100%;
    gap: 0.5rem;
  }

  .filter-pill {
    font-size: 0.8125rem;
    padding: 0.5rem 0.875rem;
  }

  .featured-content {
    padding: 1.5rem;
  }

  .article-body {
    padding: 1.5rem;
  }
}
