/* ... existing code ... */

/* Blog Page Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .blog-card {
    background: var(--glass);
    border-radius: var(--radius);
    border: 1.5px solid var(--border-glass);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    animation: 0.7s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards cardFadeIn;
  }
  
  .blog-card:nth-child(1) { animation-delay: 0.1s; }
  .blog-card:nth-child(2) { animation-delay: 0.2s; }
  .blog-card:nth-child(3) { animation-delay: 0.3s; }
  .blog-card:nth-child(4) { animation-delay: 0.4s; }
  .blog-card:nth-child(5) { animation-delay: 0.5s; }
  .blog-card:nth-child(6) { animation-delay: 0.6s; }
  
  .blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px 0 rgba(162, 89, 255, 0.25);
  }
  
  .blog-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
  }
  
  .blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
  }
  
  .blog-card:hover .blog-card-image img {
    transform: scale(1.05);
  }
  
  .blog-card-content {
    padding: 1.5rem;
  }
  
  .blog-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
  }
  
  .blog-category {
    background: var(--primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 0.8rem;
  }
  
  .blog-date {
    color: var(--text-muted);
    font-size: 0.9rem;
  }
  
  .blog-card-content h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.4;
  }
  
  .blog-card-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }
  
  .blog-card-features {
    background: rgba(162, 89, 255, 0.1);
    border-radius: 0.8rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .blog-card-features h4 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1rem;
  }
  
  .blog-card-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .blog-card-features li {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
  }
  
  .blog-card-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }
  
  .price-highlight {
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.9rem;
  }
  
  /* Featured Article Styles */
  .featured-article {
    display: flex;
    gap: 2rem;
    align-items: stretch;
    background: var(--glass);
    border-radius: var(--radius);
    border: 1.5px solid var(--border-glass);
    overflow: hidden;
    margin-top: 2rem;
  }
  
  .featured-article-image {
    flex: 0 0 300px;
  }
  
  .featured-article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .featured-article .article-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .featured-article h2 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1.3;
  }
  
  .article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
  }
  
  .article-date, .article-category, .read-time {
    color: var(--text-muted);
  }
  
  .article-category {
    background: var(--primary);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 0.8rem;
    font-size: 0.8rem;
  }
  
  .featured-article p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.1rem;
  }
  
  .article-highlights {
    background: rgba(162, 89, 255, 0.1);
    border-radius: 0.8rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .article-highlights h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
  }
  
  .article-highlights ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .article-highlights li {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
  }
  
  .article-highlights li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
  }
  
  /* SEO Content Styles */
  .seo-content {
    margin-top: 2rem;
  }
  
  .seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }
  
  .seo-item {
    background: rgba(162, 89, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(162, 89, 255, 0.2);
  }
  
  .seo-item h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
  }
  
  .seo-item p {
    color: var(--text-muted);
    line-height: 1.6;
  }
  
  /* CTA Section Styles */
  .cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .cta-content p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
  }
  
  .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .buy-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .buy-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
  }
  
  /* Active Navigation Link */
  .nav-links a.active,
  .drawer-links a.active {
    color: var(--primary) !important;
    background: rgba(162, 89, 255, 0.15) !important;
  }
  
  /* Mobile Responsive Blog Styles */
  @media (max-width: 900px) {
    .blog-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }
    
    .featured-article {
      flex-direction: column;
    }
    
    .featured-article-image {
      flex: none;
      height: 200px;
    }
    
    .featured-article .article-content {
      padding: 1.5rem;
    }
    
    .featured-article h2 {
      font-size: 1.4rem;
    }
    
    .seo-grid {
      grid-template-columns: 1fr;
      gap: 1rem;
    }
    
    .cta-buttons {
      flex-direction: column;
      align-items: center;
    }
    
    .blog-card-cta {
      flex-direction: column;
      align-items: stretch;
      gap: 0.5rem;
    }
    
    .price-highlight {
      text-align: center;
    }
  }
  
  @media (max-width: 600px) {
    .blog-card-content {
      padding: 1rem;
    }
    
    .blog-card-content h3 {
      font-size: 1.1rem;
    }
    
    .featured-article .article-content {
      padding: 1rem;
    }
    
    .featured-article h2 {
      font-size: 1.2rem;
    }
    
    .article-meta {
      flex-wrap: wrap;
      gap: 0.5rem;
    }
  }

/* Enhanced Table of Contents */
.toc-container {
  position: relative;
  margin-bottom: 2rem;
}

.table-of-contents {
  background: rgba(24, 24, 36, 0.8);
  border-radius: 1.2rem;
  padding: 1.5rem;
  border: 1.5px solid rgba(162, 89, 255, 0.2);
  list-style: none;
}

.table-of-contents li {
  margin-bottom: 0.8rem;
}

.table-of-contents a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  display: block;
  padding: 0.5rem 0;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.table-of-contents a:hover {
  color: var(--primary);
  background: rgba(162, 89, 255, 0.1);
  padding-left: 1rem;
}

.table-of-contents a.active {
  color: var(--primary);
  background: rgba(162, 89, 255, 0.15);
  font-weight: 600;
}

.toc-sticky {
  position: sticky;
  top: 100px;
  z-index: 100;
}

.reading-progress {
  background: rgba(24, 24, 36, 0.9);
  border-radius: 1rem;
  padding: 1rem;
  margin-top: 1rem;
  border: 1.5px solid rgba(162, 89, 255, 0.2);
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 3px;
  transition: width 0.3s ease;
}

.progress-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  display: block;
}

/* Share Section */
.share-section {
  background: linear-gradient(135deg, rgba(162, 89, 255, 0.1), rgba(242, 78, 30, 0.1));
  border: 1.5px solid rgba(162, 89, 255, 0.3);
}

.share-container {
  text-align: center;
}

.share-container h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.share-container p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.share-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 1rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.share-btn img {
  width: 20px;
  height: 20px;
}

.share-btn.whatsapp {
  background: #25d366;
  color: white;
}

.share-btn.whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}

.share-btn.telegram {
  background: #229ed9;
  color: white;
}

.share-btn.telegram:hover {
  background: #1b7fae;
  transform: translateY(-2px);
}

.share-btn.facebook {
  background: #1877f2;
  color: white;
}

.share-btn.facebook:hover {
  background: #166fe5;
  transform: translateY(-2px);
}

/* Enhanced CTA Section */
.cta-section {
  background: linear-gradient(135deg, rgba(162, 89, 255, 0.15), rgba(242, 78, 30, 0.15));
  border-radius: 1.5rem;
  padding: 2.5rem;
  border: 2px solid rgba(162, 89, 255, 0.3);
  text-align: center;
  margin-top: 3rem;
}

.cta-header h3 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

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

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.buy-btn.primary {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: white;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.buy-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(162, 89, 255, 0.3);
}

.buy-btn.whatsapp {
  background: #25d366;
  color: white;
}

.buy-btn.whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}

.cta-guarantee {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-weight: 500;
}

.guarantee-icon {
  font-size: 1.2rem;
}

/* Related Products */
.related-products {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-card-mini {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(24, 24, 36, 0.7);
  border-radius: 1rem;
  text-decoration: none;
  border: 1.5px solid rgba(162, 89, 255, 0.2);
  transition: all 0.3s ease;
}

.product-card-mini:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(162, 89, 255, 0.2);
  border-color: rgba(162, 89, 255, 0.4);
}

.product-card-mini img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 0.8rem;
}

.product-info h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.product-price {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
}

.product-discount {
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 600;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(162, 89, 255, 0.3);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(162, 89, 255, 0.4);
}

/* Mobile Responsive for New Features */
@media (max-width: 700px) {
  .share-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .share-btn {
    width: 100%;
    max-width: 250px;
    justify-content: center;
  }
  
  .cta-stats {
    gap: 1.5rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .buy-btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  
  .cta-guarantee {
    gap: 1rem;
  }
  
  .back-to-top {
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
}

/* Featured Article Styles - Updated for smaller image */
.featured-article {
  display: grid;
  grid-template-columns: 1fr 1.5fr; /* Changed from 1fr 1fr to give more space to text */
  gap: 2rem;
  align-items: start;
  background: var(--glass);
  border-radius: var(--radius);
  border: 1.5px solid var(--border-glass);
  padding: 2rem;
  margin-bottom: 2rem;
}

.article-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 400px; /* Added max-width to limit image size */
  height: 280px; /* Reduced height from default */
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.article-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.article-content h2 {
  color: white;
  font-size: 1.8rem; /* Slightly reduced from 2rem */
  line-height: 1.3;
  margin-bottom: 1rem;
}

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

.article-date,
.article-category,
.read-time {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.article-category {
  background: var(--primary);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 1rem;
  font-weight: 600;
  font-size: 0.8rem;
}

.article-content p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1rem; /* Slightly reduced */
}

.article-highlights {
  background: rgba(162, 89, 255, 0.1);
  border-radius: 0.8rem;
  padding: 1.2rem; /* Reduced padding */
  margin-bottom: 1.5rem;
}

.article-highlights h3 {
  color: var(--primary);
  margin-bottom: 0.8rem;
  font-size: 1rem; /* Reduced size */
}

.article-highlights ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-highlights li {
  color: var(--text-muted);
  margin-bottom: 0.4rem; /* Reduced spacing */
  padding-left: 1.2rem;
  position: relative;
  font-size: 0.9rem; /* Smaller text */
}

.article-highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Mobile responsive adjustments */
@media (max-width: 900px) {
  .featured-article {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .article-image {
    max-width: 100%;
    height: 200px; /* Even smaller on mobile */
  }
  
  .article-content h2 {
    font-size: 1.5rem;
  }
  
  .article-content p {
    font-size: 0.95rem;
  }
}

@media (max-width: 600px) {
  .featured-article {
    padding: 1.5rem;
  }
  
  .article-image {
    height: 180px;
  }
  
  .article-content h2 {
    font-size: 1.3rem;
  }
  
  .article-meta {
    gap: 0.5rem;
  }
  
  .article-date,
  .article-category,
  .read-time {
    font-size: 0.8rem;
  }
}