﻿/* Reset و فونت‌ها */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #64748b;
    --light: #f8fafc;
    --dark: #1e293b;
    --success: #10b981;
    --warning: #ff6b35;
    --danger: #ef4444;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

body {
    background: #f8fafc;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* دکمه برو به بالا */
.scroll-top {
    position: fixed;
    bottom: 95px;
    left: 35px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    border: none;
}

    .scroll-top.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .scroll-top:hover {
        background: var(--primary-dark);
        transform: translateY(-5px);
    }

/* Floating Chat Button */
.floating-chat-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
    border: none;
}

    .floating-chat-btn:hover {
        background: var(--primary-dark);
        transform: scale(1.1);
    }

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Live Chat Widget */
.live-chat-widget {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 350px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    display: none;
    overflow: hidden;
}

    .live-chat-widget.active {
        display: block;
        animation: slideIn 0.3s ease;
    }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-agent {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .chat-agent img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 2px solid white;
    }

.online-status {
    font-size: 12px;
    color: #bbf7d0;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .online-status i {
        font-size: 8px;
    }

.close-chat {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
}

    .close-chat:hover {
        transform: rotate(90deg);
    }

.chat-messages {
    padding: 15px;
    height: 250px;
    overflow-y: auto;
    background: #f9fafb;
}

.message {
    margin-bottom: 15px;
}

.message-content {
    background: white;
    padding: 10px 15px;
    border-radius: 15px 15px 15px 0;
    box-shadow: var(--shadow);
    max-width: 80%;
    display: inline-block;
}

.message.received .message-content {
    background: #e0f2fe;
    border-radius: 15px 15px 0 15px;
}

.message-time {
    font-size: 11px;
    color: var(--secondary);
    display: block;
    margin-top: 5px;
}

.quick-questions {
    padding: 10px 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid #e5e7eb;
}

.quick-btn {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
}

    .quick-btn:hover {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
    }

.chat-input {
    padding: 15px;
    display: flex;
    gap: 10px;
    border-top: 1px solid #e5e7eb;
}

    .chat-input input {
        flex: 1;
        padding: 10px 15px;
        border: 1px solid #d1d5db;
        border-radius: 25px;
        outline: none;
        transition: var(--transition);
    }

        .chat-input input:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        }

.send-btn {
    background: var(--primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

    .send-btn:hover {
        background: var(--primary-dark);
        transform: rotate(15deg);
    }

/* هدر جدید */
.header {
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    font-weight: 700;
}

.brand-text h1 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.brand-text p {
    font-size: 0.9rem;
    color: var(--secondary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

    .nav-menu a {
        text-decoration: none;
        color: var(--dark);
        font-weight: 500;
        position: relative;
        padding: 5px 0;
        transition: var(--transition);
    }

        .nav-menu a::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 0;
            height: 2px;
            background: var(--primary);
            transition: var(--transition);
        }

        .nav-menu a:hover::after,
        .nav-menu a.active::after {
            width: 100%;
        }

        .nav-menu a:hover,
        .nav-menu a.active {
            color: var(--primary);
        }

.nav-actions {
    display: flex;
    gap: 1rem;
}

/* هامبورگر برای موبایل */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 24px;
    justify-content: space-between;
}

    .hamburger span {
        display: block;
        height: 3px;
        width: 100%;
        background: var(--dark);
        border-radius: 3px;
        transition: var(--transition);
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

/* دکمه‌ها */
.btn {
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .btn:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

    .btn-outline:hover {
        background: var(--primary);
        color: white;
    }

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

    .btn-primary:hover {
        background: linear-gradient(135deg, var(--primary-dark), var(--primary));
        box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
    }

.btn-warning {
    background: linear-gradient(135deg, var(--warning), #ff8e53);
    color: white;
    border: none;
}

    .btn-warning:hover {
        background: linear-gradient(135deg, #ff8e53, var(--warning));
        box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
    }

.btn-large {
    padding: 0.9rem 2rem;
    font-size: 1.05rem;
}

.btn-white {
    background: white;
    color: var(--primary);
}

    .btn-white:hover {
        background: #f8fafc;
        transform: translateY(-2px);
    }

/* بخش جشنواره */
.festival {
    padding: 4rem 0;
    background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
    border-top: 5px solid var(--warning);
    border-bottom: 5px solid var(--warning);
}

.festival-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

    .festival-banner::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 300px;
        height: 300px;
        background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 107, 53, 0.05));
        border-radius: 50%;
        transform: translate(150px, -150px);
    }

.festival-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.festival-badge {
    background: var(--warning);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

.festival-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.festival-subtitle {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 2rem;
}

.festival-offers {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.offer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    padding: 12px 20px;
    border-radius: 10px;
    border-right: 4px solid var(--warning);
}

    .offer-item i {
        color: var(--warning);
    }

    .offer-item strong {
        color: var(--warning);
        margin-right: 5px;
    }

.countdown {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.countdown-item {
    background: var(--dark);
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    min-width: 80px;
}

    .countdown-item span {
        font-size: 2rem;
        font-weight: 700;
        display: block;
        line-height: 1;
    }

    .countdown-item small {
        font-size: 0.9rem;
        opacity: 0.8;
    }

.countdown-ended {
    background: var(--danger);
    color: white;
    padding: 15px;
    border-radius: 10px;
    font-weight: 700;
    text-align: center;
}

.festival-image {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.festival-discount {
    position: absolute;
    font-size: 8rem;
    font-weight: 900;
    color: var(--warning);
    opacity: 0.2;
    z-index: 1;
}

.festival-image i {
    font-size: 10rem;
    color: var(--warning);
    opacity: 0.3;
    z-index: 2;
}

/* بخش یکپارچگی */
.integration {
    padding: 5rem 0;
    background: white;
}

    .integration h2 {
        text-align: center;
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }

.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.integration-card {
    background: #f8fafc;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

    .integration-card:hover {
        transform: translateY(-10px);
        border-color: var(--primary);
        box-shadow: var(--shadow-lg);
    }

.integration-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
}

/* بخش ماژول‌های سفارشی */
.custom-modules {
    padding: 5rem 0;
    background: #f8fafc;
}

    .custom-modules h2 {
        text-align: center;
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

.modules-subtitle {
    text-align: center;
    color: var(--secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

.modules-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 25px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

    .tab-btn.active {
        background: var(--primary);
        color: white;
    }

    .tab-btn:hover:not(.active) {
        background: rgba(37, 99, 235, 0.1);
    }

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.module-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    opacity: 1;
    transform: translateY(0);
}

    .module-card[style*="display: none"] {
        display: none !important;
    }

    .module-card:hover {
        transform: translateY(-5px);
        border-color: var(--primary);
        box-shadow: var(--shadow-lg);
    }

.module-icon {
    width: 50px;
    height: 50px;
    background: #e0f2fe;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 1.3rem;
}

.module-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.module-card p {
    color: var(--secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.module-tag {
    display: inline-block;
    background: #f3f4f6;
    color: var(--secondary);
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    margin: 5px 3px 0 0;
}

.modules-cta {
    text-align: center;
}

/* بخش محصولات */
.products {
    padding: 5rem 0;
    background: #f1f5f9;
}

    .products h2 {
        text-align: center;
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

.products-subtitle {
    text-align: center;
    color: var(--secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

    .product-card::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--primary), var(--primary-light));
        transform: translateX(-100%);
        transition: var(--transition);
    }

    .product-card:hover::before {
        transform: translateX(0);
    }

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }

.product-icon {
    width: 60px;
    height: 60px;
    background: #e0f2fe;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.product-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.product-features {
    list-style: none;
    margin-top: 1rem;
}

    .product-features li {
        padding: 8px 0;
        border-bottom: 1px solid #e5e7eb;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .product-features li:last-child {
            border-bottom: none;
        }

        .product-features li i {
            color: var(--success);
        }

/* بخش قالب‌ها */
.templates {
    padding: 5rem 0;
    background: white;
}

    .templates h2 {
        text-align: center;
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.template-card {
    background: #f8fafc;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

    .template-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-lg);
    }

.template-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.template-content {
    padding: 1.5rem;
}

.template-tech {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.tech-tag {
    background: #e0f2fe;
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* بخش مزایا */
.benefits {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

    .benefits h2 {
        text-align: center;
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

    .benefit-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* CTA اصلی */
.main-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    text-align: center;
}

    .main-cta h2 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .main-cta p {
        font-size: 1.2rem;
        max-width: 800px;
        margin: 0 auto 2rem;
        opacity: 0.9;
    }

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* بخش پلن‌ها */
.plans {
    padding: 5rem 0;
    background: white;
}

    .plans h2 {
        text-align: center;
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.plan-card {
    background: #f8fafc;
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    transition: var(--transition);
    border: 2px solid transparent;
}

    .plan-card:hover {
        transform: translateY(-10px);
        border-color: var(--primary);
        box-shadow: var(--shadow-lg);
    }

    .plan-card.popular {
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        color: white;
        transform: scale(1.05);
    }

        .plan-card.popular:hover {
            transform: scale(1.05) translateY(-10px);
        }

.plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--warning);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
}

.plan-features {
    list-style: none;
    margin: 2rem 0;
    text-align: right;
}

    .plan-features li {
        padding: 10px 0;
        border-bottom: 1px solid #e5e7eb;
    }

.plan-card.popular .plan-features li {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li i {
    margin-left: 10px;
}

/* بخش تماس */
.contact {
    padding: 5rem 0;
    background: #f8fafc;
}

    .contact h2 {
        text-align: center;
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-icon {
    min-width: 50px;
    height: 50px;
    background: #e0f2fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.contact-item h4 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.contact-item p {
    color: var(--secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

    .contact-form h3 {
        margin-bottom: 1.5rem;
        font-size: 1.5rem;
    }

.form-group {
    margin-bottom: 1rem;
}

    .form-group label {
        display: block;
        margin-bottom: 5px;
        font-weight: 500;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #d1d5db;
        border-radius: 8px;
        font-size: 1rem;
        transition: var(--transition);
    }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        }

/* فوتر */
.footer {
    background: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

    .footer-column h3 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
        color: white;
    }

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .footer-links li {
        margin-bottom: 5px;
    }

    .footer-links a,
    .footer-links span {
        color: #cbd5e1;
        text-decoration: none;
        transition: var(--transition);
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .footer-links a:hover {
            color: white;
            padding-right: 5px;
        }

.contact-info-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #cbd5e1;
}

    .contact-info-item i {
        color: var(--primary-light);
        margin-top: 3px;
    }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ریسپانسیو */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 992px) {
    .festival-banner {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .festival-image {
        margin-top: 2rem;
        width: 200px;
        height: 200px;
    }

    .festival-discount {
        font-size: 6rem;
    }

    .festival-image i {
        font-size: 7rem;
    }

    .festival-title {
        font-size: 2rem;
    }

    .countdown {
        justify-content: center;
    }

    .offer-item {
        justify-content: center;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 90px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 90px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        z-index: 99;
    }

        .nav-menu.active {
            right: 0;
            animation: slideInRight 0.3s ease;
        }

    .hamburger {
        display: flex;
    }

    .festival-title {
        font-size: 1.6rem;
    }

    .festival-subtitle {
        font-size: 1rem;
    }

    .countdown-item {
        min-width: 60px;
        padding: 10px;
    }

        .countdown-item span {
            font-size: 1.5rem;
        }

    .festival-badge {
        font-size: 0.8rem;
        padding: 6px 15px;
    }

    .modules-tabs {
        gap: 0.5rem;
    }

    .tab-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .plan-card.popular {
        transform: none;
    }

        .plan-card.popular:hover {
            transform: translateY(-10px);
        }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .live-chat-widget {
        width: calc(100% - 40px);
        left: 20px;
        bottom: 80px;
    }

    .floating-chat-btn {
        left: 20px;
        bottom: 20px;
        width: 50px;
        height: 50px;
    }

    .scroll-top {
        left: 20px;
        bottom: 80px;
        width: 45px;
        height: 45px;
    }

    .brand-text p {
        display: none;
    }

    .brand-text h1 {
        font-size: 1.2rem;
        margin-bottom: 0;
    }

    .nav-brand {
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .products-grid,
    .templates-grid,
    .benefits-grid,
    .plans-grid,
    .modules-grid {
        grid-template-columns: 1fr;
    }

    .countdown {
        gap: 0.5rem;
    }

    .countdown-item {
        min-width: 50px;
        padding: 8px;
    }

        .countdown-item span {
            font-size: 1.2rem;
        }

        .countdown-item small {
            font-size: 0.8rem;
        }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .festival-banner {
        padding: 1.5rem;
    }

    .festival-title {
        font-size: 1.4rem;
    }
}

/* انیمیشن برای منوی همبرگر */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* انیمیشن برای آیتم‌های منو */
.nav-menu.active a {
    animation: fadeInUp 0.3s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

    .nav-menu.active a:nth-child(1) {
        animation-delay: 0.1s;
    }

    .nav-menu.active a:nth-child(2) {
        animation-delay: 0.15s;
    }

    .nav-menu.active a:nth-child(3) {
        animation-delay: 0.2s;
    }

    .nav-menu.active a:nth-child(4) {
        animation-delay: 0.25s;
    }

    .nav-menu.active a:nth-child(5) {
        animation-delay: 0.3s;
    }

    .nav-menu.active a:nth-child(6) {
        animation-delay: 0.35s;
    }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* بخش خواندنی‌ها */
.blog {
    padding: 5rem 0;
    background: #f8fafc;
}

    .blog h2 {
        text-align: center;
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

.blog-subtitle {
    text-align: center;
    color: var(--secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .blog-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-lg);
    }

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

    .blog-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition);
    }

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

    .blog-content h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        line-height: 1.4;
        /* محدودیت 2 خط برای عنوان */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        height: 3.2em; /* ارتفاع حدود 2 خط */
    }

    .blog-content p {
        color: var(--secondary);
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1rem;
        /* محدودیت 2 خط برای توضیحات */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        flex-grow: 1;
        min-height: 3.2em; /* ارتفاع حدود 2 خط */
    }

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    font-size: 0.8rem;
    color: var(--secondary);
    flex-shrink: 0;
}

    .blog-meta span {
        display: flex;
        align-items: center;
        gap: 5px;
    }

.blog-cta {
    text-align: center;
}

/* ریسپانسیو برای بخش خواندنی‌ها */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 576px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-content h3 {
        font-size: 1.1rem;
        height: 2.8em;
    }

    .blog-content p {
        min-height: 2.8em;
    }
}

/* استایل‌های جدید برای افکت نورانی */
.nav-brand .brand-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    overflow: hidden;
}

    .nav-brand .brand-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.05) 50%, transparent 100%);
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: -1;
        border-radius: 12px;
    }

    .nav-brand .brand-link:hover::before {
        opacity: 1;
    }

/* استایل لوگو */
.nav-brand .logo {
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.nav-brand .logo-inner {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1e40af;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.nav-brand .logo-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.4) 0%, rgba(59, 130, 246, 0.2) 40%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.nav-brand .brand-link:hover .logo-glow {
    opacity: 1;
    transform: scale(1.2);
    animation: logoPulse 2s infinite ease-in-out;
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1.2);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.4);
        opacity: 0.8;
    }
}

/* استایل متن برند */
.nav-brand .brand-text h1 {
    font-size: 1.5rem;
    background: linear-gradient(to right, #1e293b 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-brand .brand-link:hover .brand-text h1 {
    background: linear-gradient(to right, #1e40af 0%, #3b82f6 30%, #60a5fa 70%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 2s infinite linear;
    background-size: 200% auto;
}

@keyframes textShimmer {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

/* افکت نور برای متن */
.nav-brand .brand-text h1::after {
    content: 'سینورا (Sinora)';
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(to right, transparent 0%, rgba(59, 130, 246, 0.3) 50%, transparent 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: blur(2px);
}

.nav-brand .brand-link:hover .brand-text h1::after {
    opacity: 1;
    animation: textGlow 1.5s infinite ease-in-out;
}

@keyframes textGlow {
    0%, 100% {
        opacity: 0.3;
        filter: blur(2px);
    }

    50% {
        opacity: 0.6;
        filter: blur(1px);
    }
}

/* استایل توضیحات برند */
.nav-brand .brand-text p {
    font-size: 0.85rem;
    color: #64748b;
    transition: all 0.4s ease;
    position: relative;
}

.nav-brand .brand-link:hover .brand-text p {
    color: #3b82f6;
    transform: translateX(5px);
}

/* سایه و عمق بیشتر در هاور */
.nav-brand .brand-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.1), 0 10px 10px -5px rgba(37, 99, 235, 0.04), inset 0 0 20px rgba(255, 255, 255, 0.5);
}

/* افکت کلیک */
.nav-brand .brand-link:active {
    transform: translateY(0);
    transition: transform 0.1s ease;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .nav-brand .logo {
        width: 36px;
        height: 36px;
    }

    .nav-brand .logo-inner {
        font-size: 1.5rem;
    }

    .nav-brand .brand-text h1 {
        font-size: 1.2rem;
    }

    .nav-brand .brand-text p {
        font-size: 0.75rem;
    }

    .nav-brand .brand-link {
        padding: 0.3rem 0.8rem;
    }
}

/* برای تاریکی بیشتر (اگر تم دارک دارید) */
@media (prefers-color-scheme: dark) {
    .nav-brand .brand-text h1 {
        background: linear-gradient(to right, #e2e8f0 0%, #cbd5e1 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .nav-brand .brand-link:hover .brand-text h1 {
        background: linear-gradient(to right, #60a5fa 0%, #3b82f6 30%, #1d4ed8 70%, #1e40af 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .nav-brand .brand-text p {
        color: #94a3b8;
    }

    .nav-brand .brand-link:hover .brand-text p {
        color: #60a5fa;
    }
}
@media (max-width: 768px) {
    /* تنظیمات هدر برای موبایل */
    .nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        min-height: 60px;
    }

    .nav-brand {
        flex: 0 0 auto;
    }

    .nav-actions {
        flex: 0 0 auto;
        margin-left: 10px;
        margin-right: 15px;
        position: relative;
        z-index: 102;
    }

    .hamburger {
        flex: 0 0 20px;
        margin-left: 5px;
        position: relative;
        z-index: 103;
    }

    /* تنظیمات دکمه‌ها در موبایل */
    .nav-actions .btn {
        padding: 0.5rem 0.5rem;
        font-size: 0.8rem;
        min-height: 36px;
    }

    /* نمایش فقط "سینورا" در کنار لوگو */
    .brand-text h1 {
        font-size: 1.2rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 80px;
    }

    /* مخفی کردن توضیحات زیر عنوان در موبایل */
    .brand-text p {
        display: none !important;
    }

    /* کاهش فاصله لوگو و متن */
    .nav-brand {
        gap: 8px !important;
    }

    /* تنظیم لوگو برای موبایل */
    .logo {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px;
    }

    .logo-inner {
        font-size: 1.3rem !important;
    }

    /* جلوگیری از تداخل منو با دکمه‌ها */
    .nav-menu.active {
        padding-top: 70px; /* فضای کافی برای دکمه‌ها */
    }
}

@media (max-width: 480px) {
    /* برای صفحه‌های کوچک‌تر، اندازه فونت را کمی کاهش دهید */
    .brand-text h1 {
        font-size: 1.1rem !important;
        max-width: 70px;
    }

    .logo {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px;
    }

    .logo-inner {
        font-size: 1.2rem !important;
    }
}