/* Modern Apple Design CSS for Front Page */

/* Font Settings - IRANYekan Variable Font */
* {
    font-family: 'IRANYekan-var', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

body {
    font-family: 'IRANYekan-var', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

/* Hero Section Styles */
.hero-modern {
    position: relative;
    overflow: hidden;
    font-family: 'IRANYekan-var';
    font-variation-settings: 'DOTS' 3.29 !important;

}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;

}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(139, 92, 246, 0.3));
    filter: blur(40px);
    animation: float 6s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.orb-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 60%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.glass-badge {
    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 rgba(0, 0, 0, 0.1);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 300;
    line-height: 1.1;
    margin: 0;
    background: linear-gradient(135deg, #ffffff 0%, #e5e7eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.title-highlight {
    font-weight: 600;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
    line-height: 1.6;
}

.btn-primary-glass {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.btn-primary-glass::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;
}

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

.btn-primary-glass:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
    color: white;
    text-decoration: none;
}

.btn-secondary-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.scroll-indicator {
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* Products Section Styles */
.products-modern {
    position: relative;
}

.section-badge {
    text-align: center;
}

.section-title {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.2;
    margin: 0;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.title-gradient {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.section-subtitle {
    font-size: 1.125rem;
    line-height: 1.6;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.glass-tabs-wrapper {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 8px;
}

.glass-tabs .nav-link {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 12px 24px;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.glass-tabs .nav-link.active {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.glass-tabs .nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

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

.product-card-modern {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.product-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
}

.product-card-modern.popular {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.2);
}

.popular-badge {
    position: absolute;
    top: -1px;
    right: 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 0 0 10px 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.discount-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.card-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.product-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.bulk-icon {
    flex-direction: column;
    gap: 4px;
}

.bulk-icon .quantity {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.product-info {
    flex: 1;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin: 0 0 8px 0;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
    line-height: 1.4;
}

.product-description {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.card-body {
    flex: 1;
    margin-bottom: 20px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 8px 12px;
    margin: 0 -12px;
}

.feature-check {
    color: #10b981;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.feature-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    font-weight: 400;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
    flex: 1;
}

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

.price-section {
    flex: 1;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.currency {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.bulk-price .price-comparison {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.original-price {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: line-through;
}

.current-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.savings {
    font-size: 0.75rem;
    color: #10b981;
    font-weight: 600;
    margin-top: 4px;
}

.btn-purchase {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-purchase:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
    color: white;
    text-decoration: none;
}

.bulk-purchase {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.bulk-purchase:hover {
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

/* Features Section Styles */
.features-modern {
    position: relative;
}

.feature-card-modern {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    text-align: center;
}

.feature-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    position: relative;
    z-index: 2;
}

.feature-content {
    position: relative;
    z-index: 2;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin: 0 0 16px 0;
}

.feature-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}

.feature-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
    filter: blur(30px);
    z-index: 1;
}

/* Testimonials Section Styles */
.testimonials-modern {
    position: relative;
}

.testimonial-card-modern {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.customer-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.customer-info {
    flex: 1;
}

.customer-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin: 0 0 4px 0;
}

.rating {
    display: flex;
    gap: 2px;
}

.star {
    font-size: 0.875rem;
}

.testimonial-content {
    flex: 1;
}

.testimonial-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

.testimonial-decoration {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    border-radius: 50%;
    opacity: 0.5;
}

.stats-card-modern {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    padding: 32px 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.stats-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.stats-content {
    position: relative;
    z-index: 2;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #3b82f6;
    margin: 0 0 8px 0;
}

.stat-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin: 0 0 8px 0;
}

.stat-description {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.stats-decoration {
    position: absolute;
    bottom: 16px;
    right: 16px;
    font-size: 2rem;
    opacity: 0.3;
}

/* Blog Section Styles */
.blog-modern {
    position: relative;
}

.btn-outline-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.blog-card-modern {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.blog-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.blog-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.blog-category {
    position: absolute;
    top: 16px;
    left: 16px;
}

.category-badge {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.blog-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.blog-title {
    margin: 0 0 12px 0;
}

.blog-title a {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: #3b82f6;
}

.blog-excerpt {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex: 1;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.blog-read-more:hover {
    color: #2563eb;
    text-decoration: none;
    transform: translateX(4px);
}

.arrow {
    transition: transform 0.3s ease;
}

.blog-read-more:hover .arrow {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .product-card-modern,
    .feature-card-modern,
    .testimonial-card-modern {
        margin-bottom: 20px;
    }
    
    .card-footer {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-purchase {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .glass-tabs .nav-link {
        padding: 8px 16px;
        font-size: 0.875rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utility Classes */
.glass-background {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.text-gradient {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-glass {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.border-glass {
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Loading Animation */
.loading-shimmer {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.1) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

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

/* Blog Page Specific Styles */
.blog-hero-modern {
    position: relative;
    overflow: hidden;
}

.blog-hero-title {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.2;
    margin: 0;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.blog-content-modern {
    position: relative;
}

/* Pagination Styles */
.pagination-modern .pagination-glass {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.pagination-modern .pagination-glass .page-numbers {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 12px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-modern .pagination-glass .page-numbers:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.pagination-modern .pagination-glass .page-numbers.current {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border-color: rgba(59, 130, 246, 0.3);
}

.pagination-modern .pagination-glass .page-numbers.dots {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
}

.pagination-arrow {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.pagination-modern .pagination-glass .page-numbers:hover .pagination-arrow {
    transform: translateX(2px);
}

/* No Posts Styles */
.no-posts-modern .glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.no-posts-icon {
    animation: float 3s ease-in-out infinite;
}

/* Blog Card Enhancements for Blog Page */
.blog-content-modern .blog-card-modern {
    transition: all 0.4s ease;
}

.blog-content-modern .blog-card-modern:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Responsive Design for Blog Page */
@media (max-width: 768px) {
    .blog-hero-title {
        font-size: 2rem;
    }
    
    .blog-hero-modern {
        min-height: 50vh;
    }
    
    .pagination-modern .pagination-glass {
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .pagination-modern .pagination-glass .page-numbers {
        padding: 8px 12px;
        font-size: 0.875rem;
    }
}

@media (max-width: 576px) {
    .blog-hero-title {
        font-size: 1.75rem;
    }
    
    .no-posts-modern .glass-card {
        margin: 0 16px;
        padding: 2rem 1.5rem;
    }
    
    .no-posts-modern .d-flex {
         flex-direction: column;
     }
 }

/* About Page Styles */
.about-hero-modern {
    position: relative;
    overflow: hidden;
}

.about-hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.2;
    margin: 0;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.about-content-modern {
    position: relative;
}

.about-content-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
}

.about-image-card .glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.about-image-card .glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.mission-point {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.mission-point:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
}

.mission-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    flex-shrink: 0;
}

.value-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.value-title {
    color: white;
    font-weight: 600;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.value-description {
    color: rgba(255, 255, 255, 0.7);
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
    line-height: 1.6;
    margin: 0;
}

/* Contact Page Styles */
.contact-hero-modern {
    position: relative;
    overflow: hidden;
}

.contact-hero-title {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.2;
    margin: 0;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.contact-content-modern {
    position: relative;
}

.contact-form-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    height: fit-content;
    position: sticky;
    top: 2rem;
}

/* Form Styles */
.form-group-modern {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.form-control-modern {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-control-modern:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.form-control-modern::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-focus-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    transition: width 0.3s ease;
}

.form-control-modern:focus + .form-focus-line {
    width: 100%;
}

/* Contact Methods */
.contact-method-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.contact-method-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-title {
    color: white;
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.contact-value {
    color: #3b82f6;
    font-weight: 500;
    margin-bottom: 0.25rem;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.contact-description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin: 0;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.working-hours-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 1.5rem;
}

.text-orange {
    color: #f59e0b;
}

/* FAQ Styles */
.faq-accordion {
    max-width: 100%;
}

.faq-item {
    border-radius: 15px;
    overflow: hidden;
}

.faq-question {
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.08);
}

.faq-answer {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    animation: fadeIn 0.3s ease;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.cursor-pointer {
    cursor: pointer;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design for About & Contact Pages */
@media (max-width: 768px) {
    .about-hero-title {
        font-size: 2.5rem;
    }
    
    .contact-hero-title {
        font-size: 2rem;
    }
    
    .about-content-card,
    .contact-form-card,
    .contact-info-card {
        padding: 1.5rem;
    }
    
    .value-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .contact-info-card {
        position: static;
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .about-hero-title {
        font-size: 2rem;
    }
    
    .contact-hero-title {
        font-size: 1.75rem;
    }
    
    .about-content-card,
    .contact-form-card,
    .contact-info-card {
        padding: 1rem;
    }
    
    .mission-point:hover {
        transform: none;
    }
    
    .contact-method-card {
        flex-direction: column;
        text-align: center;
    }
    
    .faq-question {
         padding: 1rem;
     }
  }

/* Single Post Page Styles */
.single-hero-modern {
    position: relative;
    overflow: hidden;
}

.single-post-title {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.3;
    margin: 0;
    color: white;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.category-badge-modern {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
    font-size: 0.875rem;
    font-weight: 500;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.post-meta-modern {
    flex-wrap: wrap;
}

.meta-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.meta-icon {
    font-size: 1rem;
}

.post-excerpt .lead {
    font-size: 1.125rem;
    line-height: 1.6;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

/* Single Content Styles */
.single-content-modern {
    position: relative;
}

.featured-image-modern .image-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.featured-image-modern img {
    transition: transform 0.3s ease;
}

.featured-image-modern:hover img {
    transform: scale(1.02);
}

.post-content-modern {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
}

.content-wrapper {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.content-wrapper h1,
.content-wrapper h2,
.content-wrapper h3,
.content-wrapper h4,
.content-wrapper h5,
.content-wrapper h6 {
    color: white;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.content-wrapper p {
    margin-bottom: 1.5rem;
}

.content-wrapper a {
    color: #3b82f6;
    text-decoration: none;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.content-wrapper a:hover {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

.content-wrapper ul,
.content-wrapper ol {
    padding-right: 1.5rem;
    margin-bottom: 1.5rem;
}

.content-wrapper li {
    margin-bottom: 0.5rem;
}

.content-wrapper blockquote {
    background: rgba(59, 130, 246, 0.1);
    border-right: 4px solid #3b82f6;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 10px;
    font-style: italic;
}

.content-wrapper code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.875rem;
    color: #f59e0b;
}

.content-wrapper pre {
    background: rgba(0, 0, 0, 0.5);
    padding: 1.5rem;
    border-radius: 10px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.content-wrapper pre code {
    background: none;
    padding: 0;
    color: #e5e7eb;
}

/* Tags Styles */
.post-tags-modern {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
}

.tags-title {
    color: white;
    font-weight: 600;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.tag-item:hover {
    background: rgba(59, 130, 246, 0.2);
    color: #2563eb;
    transform: translateY(-2px);
}

/* Share Buttons Styles */
.share-buttons-modern {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
}

.share-title {
    color: white;
    font-weight: 600;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.share-buttons {
    flex-wrap: wrap;
}

.share-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
    cursor: pointer;
}

.share-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.share-btn.telegram:hover {
    background: rgba(0, 136, 204, 0.2);
    border-color: rgba(0, 136, 204, 0.3);
}

.share-btn.whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.3);
}

.share-btn.twitter:hover {
    background: rgba(29, 161, 242, 0.2);
    border-color: rgba(29, 161, 242, 0.3);
}

.share-btn.copy:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.3);
}

/* Author Bio Styles */
.author-bio-modern {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.author-bio-modern:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.author-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.author-avatar:hover img {
    border-color: rgba(59, 130, 246, 0.5);
    transform: scale(1.05);
}

.author-name {
    margin-bottom: 0.5rem;
}

.author-name-link {
    color: white;
    font-weight: 600;
    text-decoration: none;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
    transition: color 0.3s ease;
}

.author-name-link:hover {
    color: #3b82f6;
    text-decoration: none;
}

.author-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.author-stats {
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.stat-item {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.stat-item strong {
    color: #3b82f6;
}

.author-website-link {
    color: #10b981;
    text-decoration: none;
    transition: color 0.3s ease;
}

.author-website-link:hover {
    color: #059669;
    text-decoration: none;
}

.btn-author-posts {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.btn-author-posts:hover {
    background: rgba(59, 130, 246, 0.2);
    color: #2563eb;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Author Link in Meta */
.author-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.author-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Reading Time Indicator */
.reading-time-indicator {
    text-align: center;
    margin-bottom: 2rem;
}

.reading-time-badge {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.word-count {
    color: rgba(59, 130, 246, 0.7);
    font-size: 0.75rem;
}

/* Article Navigation */
.article-navigation {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    margin-top: 2rem;
}

.page-links {
    text-align: center;
}

.page-links-title {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    margin-left: 1rem;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.page-number {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 8px 12px;
    margin: 0 4px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.page-number:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

/* Sidebar Styles */
.sidebar-modern {
    position: sticky;
    top: 2rem;
}

.sidebar-widget {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
}

.widget-title {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

/* Table of Contents */
.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-item {
    margin-bottom: 0.5rem;
}

.toc-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 8px 12px;
    display: block;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.toc-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #3b82f6;
    transform: translateX(5px);
}

.toc-level-2 .toc-link {
    padding-right: 1.5rem;
}

.toc-level-3 .toc-link {
    padding-right: 2rem;
}

.toc-level-4 .toc-link {
    padding-right: 2.5rem;
}

/* Related Posts */
.related-post-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.related-post-item:last-child {
    border-bottom: none;
}

.related-post-image {
    flex-shrink: 0;
}

.related-post-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.related-post-title a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.4;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.related-post-title a:hover {
    color: #3b82f6;
}

.related-post-meta {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.25rem;
}

/* Popular Posts */
.popular-post-item {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.popular-post-item:last-child {
    border-bottom: none;
}

.popular-post-title a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.4;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.popular-post-title a:hover {
    color: #3b82f6;
}

.popular-post-meta {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.25rem;
}

/* Comments Section */
.comments-section-modern {
    position: relative;
}

.comments-title {
    font-size: 2rem;
    font-weight: 300;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

/* Post Navigation */
.post-navigation-modern {
    position: relative;
}

.post-nav-wrapper {
    flex-wrap: wrap;
    gap: 1rem;
}

.nav-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.nav-link:hover {
    color: #3b82f6;
    text-decoration: none;
}

.nav-direction {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.nav-title {
    font-weight: 500;
    font-size: 1rem;
}

.nav-link.prev {
    text-align: right;
}

.nav-link.next {
    text-align: left;
}

/* Responsive Design for Single Post */
@media (max-width: 768px) {
    .single-post-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .post-meta-modern {
        gap: 0.5rem;
        justify-content: center;
    }
    
    .meta-item {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
    
    .post-content-modern,
    .post-tags-modern,
    .share-buttons-modern,
    .author-bio-modern {
        padding: 1.5rem;
    }
    
    .author-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .author-avatar {
        align-self: center;
    }
    
    .author-stats {
        justify-content: center;
        gap: 1rem;
    }
    
    .author-actions {
        text-align: center;
    }
    
    .sidebar-modern {
        position: static;
        margin-top: 2rem;
    }
    
    .share-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .post-nav-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .reading-time-badge {
        flex-direction: column;
        gap: 4px;
    }
    
    .word-count {
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .single-post-title {
        font-size: 1.75rem;
        padding: 0 1rem;
    }
    
    .post-meta-modern {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .post-content-modern,
    .post-tags-modern,
    .share-buttons-modern,
    .author-bio-modern,
    .sidebar-widget {
        padding: 1rem;
    }
    
    .author-avatar img {
        width: 60px;
        height: 60px;
    }
    
    .author-stats {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .share-btn {
        padding: 10px 12px;
        font-size: 0.875rem;
        flex: 1;
        min-width: 120px;
    }
    
    .share-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tags-list {
        justify-content: center;
    }
    
    .btn-author-posts {
        width: 100%;
        justify-content: center;
    }
    
    .reading-time-badge {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .page-number {
        padding: 6px 10px;
        font-size: 0.75rem;
        margin: 0 2px;
    }
    
    .page-links-title {
        display: block;
        margin-bottom: 0.5rem;
        margin-left: 0;
    }
 }

/* Author Page Styles */
.author-hero-modern {
    position: relative;
    overflow: hidden;
}

.author-hero-title {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.2;
    margin: 0;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.author-avatar-large {
    position: relative;
}

.author-avatar-large img {
    width: 120px;
    height: 120px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.author-avatar-large:hover img {
    transform: scale(1.05);
    border-color: rgba(59, 130, 246, 0.5);
}

.role-badge {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
    font-size: 0.875rem;
    font-weight: 500;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.author-description .lead {
    font-size: 1.125rem;
    line-height: 1.6;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.author-stats .stat-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem 1rem;
    transition: all 0.3s ease;
}

.author-stats .stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.author-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 0.5rem;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.author-stats .stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

/* Author Posts Section */
.author-posts-modern {
    position: relative;
}

.posts-count-badge {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 1rem 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.count-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3b82f6;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.count-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

/* Author Expertise Section */
.author-expertise-modern {
    position: relative;
}

.expertise-areas {
    margin-top: 2rem;
}

.expertise-tag {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
}

.expertise-tag:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
    color: #3b82f6;
    transform: translateY(-2px);
    text-decoration: none;
}

.tag-count {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Contact Author */
.contact-author {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
}

.contact-buttons {
    flex-wrap: wrap;
}

.contact-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-family: 'IRANYekan-var', sans-serif;
    font-variation-settings: 'DOTS' 3.29 !important;
    font-weight: 500;
}

.contact-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.contact-btn.email:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.3);
}

.contact-btn.website:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.3);
}

.contact-btn.articles:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.3);
}

/* Blog Meta for Author Page */
.author-posts-modern .blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.blog-views {
    color: #3b82f6;
    font-weight: 500;
}

/* Responsive Design for Author Page */
@media (max-width: 768px) {
    .author-hero-title {
        font-size: 2rem;
    }
    
    .author-avatar-large img {
        width: 100px;
        height: 100px;
    }
    
    .author-stats .stat-item {
        padding: 1rem 0.5rem;
    }
    
    .author-stats .stat-number {
        font-size: 1.5rem;
    }
    
    .posts-count-badge {
        padding: 0.75rem 1.5rem;
    }
    
    .contact-author {
        padding: 1.5rem;
    }
    
    .contact-buttons {
        justify-content: center;
    }
    
    .expertise-areas .row {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .author-hero-title {
        font-size: 1.75rem;
    }
    
    .author-avatar-large img {
        width: 80px;
        height: 80px;
    }
    
    .author-stats .stat-number {
        font-size: 1.25rem;
    }
    
    .contact-author {
        padding: 1rem;
    }
    
    .contact-btn {
        padding: 10px 16px;
        font-size: 0.875rem;
    }
    
    .expertise-tag {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
 }