    * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Vazirmatn', sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
            color: #2d3748;
            overflow-x: hidden;
            line-height: 1.6;
            padding: 0;
            min-height: 100vh;
        }

      
        header {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
            color: #2d3748;
            padding: 1rem 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        header.scrolled {
            padding: 0.7rem 0;
            background: rgba(255, 255, 255, 0.98);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        }

        .header-container {
            max-width: 1300px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

     
        .brand {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .logo {
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 12px;
            color: white;
            font-size: 1.5rem;
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.25);
            transition: all 0.3s ease;
        }

        .logo:hover {
            transform: rotate(5deg) scale(1.05);
            box-shadow: 0 8px 20px rgba(102, 126, 234, 0.35);
        }

        .brand-text {
            display: flex;
            flex-direction: column;
        }

        .brand-name {
            font-size: 1.7rem;
            font-weight: 800;
            letter-spacing: -0.5px;
            background: linear-gradient(to right, #667eea, #764ba2);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: -3px;
        }

        .brand-tagline {
            font-size: 0.75rem;
            color: #718096;
            letter-spacing: 0.5px;
        }

        .nav-container {
            display: flex;
            align-items: center;
            gap: 2rem;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2.2rem;
        }

        .nav-links li {
            position: relative;
        }

        .nav-links a {
            color: #4a5568;
            text-decoration: none;
            font-weight: 500;
            font-size: 1.05rem;
            padding: 0.5rem 0;
            transition: all 0.3s ease;
            position: relative;
        }

        .nav-links a:hover {
            color: #667eea;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(to right, #667eea, #764ba2);
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after {
            width: 100%;
            left: 0;
        }
        .header-actions {
            display: flex;
            align-items: center;
            gap: 1.2rem;
        }

        .icon-button {
            width: 42px;
            height: 42px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(102, 126, 234, 0.08);
            border-radius: 50%;
            color: #667eea;
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
        }

        .icon-button:hover {
            background: rgba(102, 126, 234, 0.15);
            transform: translateY(-2px);
        }

        .icon-button::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            border: 1px solid rgba(102, 126, 234, 0.2);
            opacity: 0;
            transform: scale(1.2);
            transition: all 0.3s ease;
        }

        .icon-button:hover::after {
            opacity: 1;
            transform: scale(1);
        }

        .cart-count {
            position: absolute;
            top: -5px;
            left: -5px;
            background: #f56565;
            color: white;
            font-size: 0.7rem;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
        }

        .header-btn {
            padding: 0.7rem 1.8rem;
            border-radius: 12px;
            border: none;
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            transition: all 0.3s ease;
            background: linear-gradient(to right, #667eea, #764ba2);
            color: #000;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
             text-decoration: none;
             font-family: "vazir";
        }

        .header-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(102, 126, 234, 0.35);
        }

        .mobile-toggle {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            padding: 8px;
            background: rgba(102, 126, 234, 0.1);
            border-radius: 8px;
        }

        .mobile-toggle span {
            width: 25px;
            height: 2.5px;
            background-color: #667eea;
            border-radius: 2px;
            transition: all 0.3s ease;
        }

        .hero {
            margin-top: 140px;
            padding: 4rem 2rem;
            text-align: center;
            background: white;
            border-radius: 20px;
            margin-left: 2rem;
            margin-right: 2rem;
            box-shadow: 0 20px 40px #6b66dc;
        }

        .hero h1 {
            font-size: 2.8rem;
            margin-bottom: 1.5rem;
            color: #2d3748;
            font-weight: 800;
            line-height: 1.2;
        }

        .hero p {
            font-size: 1.2rem;
            color: #718096;
            margin-bottom: 2.5rem;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.8;
        }

        .blog {
            padding: 5rem 2rem;
            max-width: 1300px;
            margin: 2rem auto;
            background: white;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
        }

        .section-title {
            text-align: center;
            margin-bottom: 4rem;
        }

        .section-title h2 {
            font-size: 2.5rem;
            color: #2d3748;
            margin-bottom: 1rem;
            font-weight: 800;
            position: relative;
            display: inline-block;
        }

        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: -15px;
            right: 50%;
            transform: translateX(50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(to right, #667eea, #764ba2);
            border-radius: 2px;
        }

        .section-title p {
            color: #718096;
            max-width: 700px;
            margin: 0 auto;
            font-size: 1.1rem;
            margin-top: 2rem;
        }

        .blog-filter {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 1rem;
            margin-bottom: 3rem;
        }

        .filter-btn {
            padding: 0.6rem 1.5rem;
            border: none;
            background: rgba(102, 126, 234, 0.1);
            color: #667eea;
            border-radius: 30px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .filter-btn:hover, .filter-btn.active {
            background: linear-gradient(to right, #667eea, #764ba2);
            color: white;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
        }

        .blog-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .article-card {
            background: #f8fafc;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            transition: all 0.4s ease;
            position: relative;
        }

        .article-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
        }

        .article-image {
            height: 200px;
            overflow: hidden;
            position: relative;
        }

        .article-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.5s ease;
        }

        .article-card:hover .article-image img {
            transform: scale(1.1);
        }

        .article-badge {
            position: absolute;
            top: 1rem;
            left: 1rem;
            background: linear-gradient(to right, #667eea, #764ba2);
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
            z-index: 2;
        }

        .article-content {
            padding: 1.5rem;
        }

        .article-meta {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
            font-size: 0.85rem;
            color: #718096;
        }

        .meta-item {
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }

        .article-title {
            font-size: 1.3rem;
            color: #2d3748;
            margin-bottom: 1rem;
            font-weight: 700;
            line-height: 1.4;
        }

        .article-excerpt {
            color: #718096;
            margin-bottom: 1.5rem;
            line-height: 1.7;
        }

        .article-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .read-more {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            color: #667eea;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .read-more:hover {
            color: #764ba2;
            gap: 0.7rem;
        }

        .article-stats {
            display: flex;
            gap: 1rem;
        }

        .stat {
            display: flex;
            align-items: center;
            gap: 0.3rem;
            color: #718096;
            font-size: 0.85rem;
        }

        .featured-article {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
            border-radius: 20px;
            overflow: hidden;
            margin-bottom: 4rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        }

        .featured-image {
            height: 100%;
            min-height: 300px;
        }

        .featured-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .featured-content {
            padding: 2.5rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .featured-badge {
            display: inline-block;
            background: linear-gradient(to right, #667eea, #764ba2);
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
            margin-bottom: 1rem;
        }

        .featured-title {
            font-size: 1.8rem;
            color: #2d3748;
            margin-bottom: 1rem;
            font-weight: 800;
            line-height: 1.3;
        }

        .featured-excerpt {
            color: #718096;
            margin-bottom: 1.5rem;
            line-height: 1.8;
        }

        .newsletter {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 20px;
            padding: 3rem 2rem;
            text-align: center;
            color: white;
            margin-top: 4rem;
        }

        .newsletter h3 {
            font-size: 1.8rem;
            margin-bottom: 1rem;
            font-weight: 700;
        }

        .newsletter p {
            margin-bottom: 2rem;
            opacity: 0.9;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .newsletter-form {
            display: flex;
            max-width: 500px;
            margin: 0 auto;
            gap: 1rem;
        }

        .newsletter-input {
            flex: 1;
            padding: 0.8rem 1.2rem;
            border: none;
            border-radius: 30px;
            font-family: 'Vazirmatn', sans-serif;
            font-size: 1rem;
        }

        .newsletter-btn {
            padding: 0.8rem 1.5rem;
            border: none;
            border-radius: 30px;
            background: #2d3748;
            color: white;
            font-family: 'Vazirmatn', sans-serif;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .newsletter-btn:hover {
            background: #1a202c;
            transform: translateY(-2px);
        }

        .load-more {
            text-align: center;
            margin-top: 3rem;
        }
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 8px;
}

.mobile-toggle span {
  width: 25px;
  height: 2.5px;
  background-color: #667eea;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 15px;
  background: #f9f9f9;
  padding: 15px;
}

.mobile-menu a {
  text-decoration: none;
  color: #333;
  padding: 10px 0;
}

.mobile-menu.open {
  display: flex;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
}



        @media (max-width: 992px) {
            .nav-links {
                gap: 1.5rem;
            }
            
            .nav-links a {
                font-size: 1rem;
            }
            
            .blog-grid {
                grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            }
            
            .featured-article {
                grid-template-columns: 1fr;
            }
            
            .featured-image {
                min-height: 250px;
            }
        }
        
        @media (max-width: 868px) {
            .header-container {
                padding: 0 1.5rem;
            }
            
            .nav-links {
                display: none;
            }
            
            .mobile-toggle {
                display: flex;
            }
            
            .brand-name {
                font-size: 1.5rem;
            }
            
            .logo {
                width: 45px;
                height: 45px;
                font-size: 1.3rem;
            }
            
            .hero {
                margin: 120px 1rem 2rem;
                padding: 3rem 1.5rem;
            }
            
            .hero h1 {
                font-size: 2.3rem;
            }
            
            .hero p {
                font-size: 1.1rem;
            }
            
            .blog {
                padding: 3rem 1.5rem;
                margin: 2rem 1rem;
            }
            
            .newsletter-form {
                flex-direction: column;
            }
        }
        
        @media (max-width: 576px) {
            .header-actions .header-btn {
                display: none;
            }
            
            .brand-tagline {
                display: none;
            }
            
            .header-container {
                padding: 0 1rem;
            }
            
            .hero {
                padding: 2.5rem 1.2rem;
            }
            
            .hero h1 {
                font-size: 2rem;
            }
            
            .hero p {
                font-size: 1rem;
            }
            
            .icon-button {
                width: 38px;
                height: 38px;
            }
            
            .blog {
                padding: 2rem 1rem;
                margin: 1rem;
            }
            
            .section-title h2 {
                font-size: 2rem;
            }
            
            .blog-grid {
                grid-template-columns: 1fr;
            }
            
            .article-meta {
                flex-wrap: wrap;
            }
            
            .newsletter {
                padding: 2rem 1.5rem;
            }
            
            .newsletter h3 {
                font-size: 1.5rem;
            }
        }

        @media (max-width: 380px) {
            .brand-name {
                font-size: 1.3rem;
            }
            
            .logo {
                width: 40px;
                height: 40px;
                font-size: 1.2rem;
            }
            
            .hero h1 {
                font-size: 1.8rem;
            }
            
            .section-title h2 {
                font-size: 1.8rem;
            }
        }

        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }

        .pulse {
            animation: pulse 2s infinite;
        }

        html {
            scroll-behavior: smooth;
        }