﻿
:root {
    --primary-light: #ffffff;
    --secondary-light: #f8f9fa;
    --accent-red: #e63946;
    --accent-blue: #457b9d;
    --accent-teal: #2a9d8f;
    --accent-purple: #9d4edd;
    --text-dark: #212529;
    --text-gray: #6c757d;
    --text-light-gray: #adb5bd;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #e63946 0%, #9d2a2a 100%);
    --gradient-secondary: linear-gradient(135deg, #457b9d 0%, #2a9d8f 100%);
    --gradient-purple: linear-gradient(135deg, #9d4edd 0%, #560bad 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
}

body {
    background-color: var(--primary-light);
    color: var(--text-dark);
    overflow-x: hidden;
    position: relative;
}

    /* پس‌زمینه کندوی عسل (شش‌ضلعی) */
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--primary-light);
        background-size: 200px 346px, /* شعاع‌ها */
        200px 346px, 200px 346px, 50px 87px, /* مثلث‌های کوچک */
        50px 87px, 25px 44px, /* مثلث‌های ریز */
        25px 44px, 50px 50px, /* خطوط افقی */
        100px 100px, 100px 100px, 100px 100px;
        background-position: 0 0, 0 0, 0 0, 0 0, 25px 44px, 0 0, 12.5px 22px, 0 0, 0 37px, 37px 0, 74px 0;
        z-index: -1;
        pointer-events: none;
        opacity: 0.7;
    }

/* جایگزین ساده‌تر برای الگوی کندو */
.honeycomb-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
    background-image:
    /* الگوی شش ضلعی با SVG */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M50,0 L100,25 L100,75 L50,100 L0,75 L0,25 Z' fill='none' stroke='%23888888' stroke-width='0.5'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M50,0 L100,25 L100,75 L50,100 L0,75 L0,25 Z' fill='none' stroke='%23888888' stroke-width='0.5'/%3E%3C/svg%3E");
    background-position: 0 0, 50px 43px;
    background-size: 100px 86px;
}

/* انیمیشن‌های پیشرفته */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-15px) rotate(2deg);
    }

    50% {
        transform: translateY(-5px) rotate(0deg);
    }

    75% {
        transform: translateY(-10px) rotate(-2deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(230, 57, 70, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(230, 57, 70, 0);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -500px 0;
    }

    100% {
        background-position: 500px 0;
    }
}

@keyframes gradientMove {
    0% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 100% 100%;
    }

    100% {
        background-position: 0% 0%;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* دکمه بازگشت به بالا */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 5px 20px rgba(230, 57, 70, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    visibility: hidden;
    animation: pulse 3s infinite;
}

    .scroll-to-top.visible {
        opacity: 1;
        visibility: visible;
    }

    .scroll-to-top:hover {
        transform: translateY(-5px) scale(1.1);
        box-shadow: 0 10px 25px rgba(230, 57, 70, 0.4);
        animation: bounce 1s;
    }

/* منوی هامبورگر */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

    .hamburger-menu span {
        width: 25px;
        height: 3px;
        background: var(--gradient-primary);
        margin: 3px 0;
        transition: 0.4s;
        border-radius: 3px;
    }

    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

/* منوی موبایل */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100%;
    background: white;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 80px 30px 30px;
    transition: right 0.6s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    overflow-y: auto;
}

    .mobile-menu.active {
        right: 0;
        animation: fadeInRight 0.5s;
    }

    .mobile-menu ul {
        list-style: none;
    }

        .mobile-menu ul li {
            margin-bottom: 20px;
            animation: fadeInRight 0.5s both;
        }

            .mobile-menu ul li:nth-child(1) {
                animation-delay: 0.1s;
            }

            .mobile-menu ul li:nth-child(2) {
                animation-delay: 0.15s;
            }

            .mobile-menu ul li:nth-child(3) {
                animation-delay: 0.2s;
            }

            .mobile-menu ul li:nth-child(4) {
                animation-delay: 0.25s;
            }

            .mobile-menu ul li:nth-child(5) {
                animation-delay: 0.3s;
            }

            .mobile-menu ul li:nth-child(6) {
                animation-delay: 0.35s;
            }

            .mobile-menu ul li:nth-child(7) {
                animation-delay: 0.4s;
            }

            .mobile-menu ul li:nth-child(8) {
                animation-delay: 0.45s;
            }

            .mobile-menu ul li a {
                font-size: 1.2rem;
                color: var(--text-dark);
                text-decoration: none;
                padding: 12px 15px;
                display: block;
                border-radius: 8px;
                transition: all 0.3s;
                position: relative;
                overflow: hidden;
            }

                .mobile-menu ul li a::before {
                    content: '';
                    position: absolute;
                    top: 0;
                    right: -100%;
                    width: 100%;
                    height: 100%;
                    background: var(--gradient-primary);
                    transition: right 0.4s;
                    z-index: -1;
                }

                .mobile-menu ul li a:hover {
                    color: white;
                    padding-right: 25px;
                }

                    .mobile-menu ul li a:hover::before {
                        right: 0;
                    }

.mobile-menu-close {
    position: absolute;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: transform 0.3s;
}

    .mobile-menu-close:hover {
        transform: rotate(90deg);
    }

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s;
}

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

/* هدر */
header {
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    animation: fadeInDown 0.8s ease-out;
}

.logo {
    display: flex;
    align-items: center;
}

    .logo h1 {
        font-size: 1.8rem;
        margin-left: 10px;
        background: var(--gradient-primary);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-weight: 800;
        position: relative;
        overflow: hidden;
        padding: 5px 0;
    }

        .logo h1::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 100%;
            height: 3px;
            background: var(--gradient-primary);
            transform: translateX(-100%);
            animation: shimmer 3s infinite linear;
        }

    .logo span {
        font-size: 0.9rem;
        color: var(--text-gray);
    }

nav ul {
    display: flex;
    list-style: none;
}

    nav ul li {
        margin: 0 12px;
    }

        nav ul li a {
            color: var(--text-dark);
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s;
            position: relative;
            padding: 8px 0;
            font-size: 0.95rem;
        }

            nav ul li a:hover {
                color: var(--accent-red);
            }

            nav ul li a::after {
                content: '';
                position: absolute;
                bottom: 0;
                right: 0;
                width: 0;
                height: 3px;
                background: var(--gradient-primary);
                transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
                border-radius: 3px;
            }

            nav ul li a:hover::after {
                width: 100%;
            }

.cta-button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 20px rgba(230, 57, 70, 0.25);
    position: relative;
    overflow: hidden;
}

    .cta-button::before {
        content: '';
        position: absolute;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: right 0.6s;
    }

    .cta-button:hover {
        transform: translateY(-5px) scale(1.05);
        box-shadow: 0 12px 25px rgba(230, 57, 70, 0.35);
    }

        .cta-button:hover::before {
            right: 100%;
        }

/* اسلایدر */
.swiper-container {
    width: 100%;
    height: 100vh;
    margin-top: 70px;
    position: relative;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 30px 30px 30px 30px;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    animation: zoomIn 20s linear infinite;
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 20px;
    max-width: 900px;
}

    .slide-content h2 {
        font-size: 4rem;
        margin-bottom: 25px;
        text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
        animation: fadeInUp 1.2s ease-out 0.2s both;
        line-height: 1.2;
    }

    .slide-content p {
        font-size: 1.4rem;
        margin-bottom: 40px;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
        animation: fadeInUp 1.2s ease-out 0.4s both;
    }

.slide-button {
    background: white;
    color: var(--accent-red);
    border: none;
    padding: 16px 40px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.4s;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1.2s ease-out 0.6s both;
    position: relative;
    overflow: hidden;
}

    .slide-button::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(230, 57, 70, 0.2);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }

    .slide-button:hover {
        background: var(--accent-red);
        color: white;
        transform: translateY(-5px) scale(1.05);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    }

        .slide-button:hover::before {
            width: 300px;
            height: 300px;
        }

.swiper-button-next, .swiper-button-prev {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    transition: all 0.4s;
}

    .swiper-button-next:hover, .swiper-button-prev:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.1);
    }

    .swiper-button-next:after, .swiper-button-prev:after {
        font-size: 1.5rem;
        font-weight: bold;
    }

.swiper-pagination-bullet {
    background: white;
    opacity: 0.7;
    width: 12px;
    height: 12px;
    transition: all 0.3s;
}

.swiper-pagination-bullet-active {
    background: var(--accent-red);
    opacity: 1;
    width: 30px;
    border-radius: 10px;
}

/* بخش‌های اصلی */
section {
    padding: 100px 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

    .section-title h2 {
        font-size: 2.8rem;
        display: inline-block;
        margin-bottom: 20px;
        color: var(--text-dark);
        position: relative;
        padding-bottom: 15px;
    }

        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 50%;
            transform: translateX(50%);
            width: 100px;
            height: 5px;
            background: var(--gradient-primary);
            border-radius: 5px;
        }

    .section-title p {
        color: var(--text-gray);
        max-width: 700px;
        margin: 30px auto 0;
        font-size: 1.2rem;
        line-height: 1.8;
    }

/* محصولات نرم‌افزاری */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 35px;
}

.product-card {
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px var(--shadow-light);
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

    .product-card:hover {
        transform: translateY(-20px) scale(1.02);
        box-shadow: 0 30px 60px var(--shadow-medium);
    }

.product-image {
    height: 220px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-red);
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

    .product-image::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(230, 57, 70, 0.1) 0%, transparent 100%);
    }

.product-content {
    padding: 30px;
}

    .product-content h3 {
        font-size: 1.6rem;
        margin-bottom: 15px;
        color: var(--text-dark);
        position: relative;
        padding-bottom: 10px;
    }

        .product-content h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 50px;
            height: 3px;
            background: var(--gradient-primary);
            border-radius: 3px;
        }

    .product-content p {
        color: var(--text-gray);
        line-height: 1.8;
        margin-bottom: 25px;
        font-size: 1.05rem;
    }

.product-features {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: none;
}

.product-card.active .product-features {
    display: block;
    animation: fadeIn 0.6s ease-out;
}

.product-features ul {
    list-style: none;
}

.product-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    animation: fadeInLeft 0.5s both;
}

    .product-features li:nth-child(1) {
        animation-delay: 0.1s;
    }

    .product-features li:nth-child(2) {
        animation-delay: 0.2s;
    }

    .product-features li:nth-child(3) {
        animation-delay: 0.3s;
    }

    .product-features li:nth-child(4) {
        animation-delay: 0.4s;
    }

    .product-features li:nth-child(5) {
        animation-delay: 0.5s;
    }

    .product-features li i {
        color: var(--accent-teal);
        margin-left: 10px;
        font-size: 1rem;
    }

.view-details {
    background: transparent;
    border: 2px solid var(--accent-red);
    color: var(--accent-red);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.4s;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .view-details:hover {
        background: rgba(230, 57, 70, 0.1);
        padding-right: 25px;
        padding-left: 25px;
    }

    .view-details i {
        transition: transform 0.4s;
    }

.product-card.active .view-details i {
    transform: rotate(180deg);
}

/* بخش رزا پلاس */
.roza-plus {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    padding: 80px 5%;
}

    .roza-plus::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(230, 57, 70, 0.1) 0%, transparent 70%);
        animation: float 8s infinite ease-in-out;
    }

    .roza-plus::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(69, 123, 157, 0.1) 0%, transparent 70%);
        animation: float 10s infinite ease-in-out reverse;
    }

.roza-plus-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.roza-plus-image {
    flex: 1;
    height: 450px;
    background: var(--gradient-purple);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 6rem;
    animation: float 7s infinite ease-in-out;
    box-shadow: 0 20px 50px rgba(157, 78, 221, 0.3);
    position: relative;
    overflow: hidden;
}

    .roza-plus-image::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
        animation: rotate 10s infinite linear;
    }

.roza-plus-text {
    flex: 1;
}

    .roza-plus-text h3 {
        font-size: 2.5rem;
        margin-bottom: 25px;
        color: var(--accent-purple);
        animation: fadeInRight 1s ease-out;
    }

.roza-plus-features {
    margin: 35px 0;
}

    .roza-plus-features li {
        margin-bottom: 18px;
        display: flex;
        align-items: center;
        font-size: 1.2rem;
        animation: fadeInRight 0.8s both;
    }

        .roza-plus-features li:nth-child(1) {
            animation-delay: 0.1s;
        }

        .roza-plus-features li:nth-child(2) {
            animation-delay: 0.2s;
        }

        .roza-plus-features li:nth-child(3) {
            animation-delay: 0.3s;
        }

        .roza-plus-features li:nth-child(4) {
            animation-delay: 0.4s;
        }

        .roza-plus-features li:nth-child(5) {
            animation-delay: 0.5s;
        }

        .roza-plus-features li i {
            color: var(--accent-purple);
            margin-left: 12px;
            font-size: 1.3rem;
        }

/* بخش تحلیل داده */
.bi-section {
    display: flex;
    align-items: center;
    gap: 60px;
}

.bi-text {
    flex: 1;
}

    .bi-text h3 {
        font-size: 2.5rem;
        margin-bottom: 25px;
        color: var(--accent-blue);
        animation: fadeInLeft 1s ease-out;
    }

.bi-image {
    flex: 1;
    height: 400px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    font-size: 5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    animation: fadeInRight 1s ease-out;
    position: relative;
    overflow: hidden;
}

    .bi-image::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, transparent 30%, rgba(69, 123, 157, 0.1) 50%, transparent 70%);
        animation: shimmer 3s infinite linear;
    }

/* سخت‌افزار */
.hardware-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.hardware-card {
    background-color: white;
    border-radius: 20px;
    padding: 35px 30px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px var(--shadow-light);
    position: relative;
    overflow: hidden;
}

    .hardware-card::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 5px;
        background: var(--gradient-primary);
        transform: translateY(-100%);
        transition: transform 0.5s;
    }

    .hardware-card:hover {
        transform: translateY(-15px);
        box-shadow: 0 25px 50px var(--shadow-medium);
    }

        .hardware-card:hover::before {
            transform: translateY(0);
        }

.hardware-icon {
    font-size: 4rem;
    color: var(--accent-red);
    margin-bottom: 25px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s infinite ease-in-out;
}

/* بخش ویدیو */
.video-section {
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 30px;
    padding: 80px 5%;
    position: relative;
    overflow: hidden;
}

    .video-section::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 200px;
        height: 200px;
        background: radial-gradient(circle, rgba(230, 57, 70, 0.1) 0%, transparent 70%);
        animation: float 8s infinite ease-in-out;
    }

.video-container {
    max-width: 1000px;
    margin: 50px auto 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    background: #000;
    animation: fadeInUp 1s ease-out;
}

.video-placeholder {
    width: 100%;
    height: 550px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

    .video-placeholder::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, rgba(230, 57, 70, 0.3) 0%, rgba(69, 123, 157, 0.3) 100%);
        z-index: 1;
        animation: gradientMove 10s infinite linear;
    }

.play-button {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    z-index: 2;
    transition: all 0.5s;
    box-shadow: 0 15px 35px rgba(230, 57, 70, 0.4);
    animation: pulse 3s infinite;
}

    .play-button:hover {
        transform: scale(1.1) rotate(90deg);
    }

/* چت با پشتیبان */
.chat-widget {
    position: fixed;
    bottom: 100px;
    left: 30px;
    z-index: 1000;
}

.chat-button {
    width: 65px;
    height: 65px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(69, 123, 157, 0.3);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: float 5s infinite ease-in-out;
}

    .chat-button:hover {
        transform: scale(1.1) rotate(10deg);
        box-shadow: 0 12px 30px rgba(69, 123, 157, 0.4);
    }

.chat-container {
    position: absolute;
    bottom: 85px;
    left: 0;
    width: 380px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: none;
    animation: slideInRight 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

    .chat-container.active {
        display: block;
    }

.chat-header {
    background: var(--gradient-secondary);
    color: white;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .chat-header h3 {
        font-size: 1.3rem;
        margin: 0;
    }

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    transition: transform 0.3s;
}

    .chat-close:hover {
        transform: rotate(90deg);
    }

.chat-body {
    padding: 25px;
    max-height: 400px;
    overflow-y: auto;
}

.chat-message {
    background: #f1f3f5;
    padding: 15px 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    max-width: 85%;
    animation: fadeIn 0.5s ease-out;
}

    .chat-message.bot {
        background: #e9ecef;
        margin-left: auto;
        border-top-right-radius: 5px;
    }

.chat-input {
    padding: 25px;
    border-top: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

    .chat-input input {
        padding: 15px 20px;
        border: 1px solid #dee2e6;
        border-radius: 10px;
        font-size: 1.05rem;
        transition: all 0.3s;
    }

        .chat-input input:focus {
            outline: none;
            border-color: var(--accent-blue);
            box-shadow: 0 0 0 3px rgba(69, 123, 157, 0.1);
        }

/* شبکه */
.network-section {
    background: white;
    border-radius: 30px;
    padding: 70px 60px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

    .network-section::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 200px;
        height: 200px;
        background: radial-gradient(circle, rgba(42, 157, 143, 0.1) 0%, transparent 70%);
        animation: float 9s infinite ease-in-out;
    }

.network-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.network-feature {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 20px;
    transition: all 0.5s;
    position: relative;
    overflow: hidden;
}

    .network-feature::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, transparent, rgba(42, 157, 143, 0.05), transparent);
        transform: translateX(-100%);
        transition: transform 0.6s;
    }

    .network-feature:hover {
        background: white;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        transform: translateY(-10px);
    }

        .network-feature:hover::before {
            transform: translateX(100%);
        }

    .network-feature i {
        font-size: 3.2rem;
        color: var(--accent-teal);
        margin-bottom: 25px;
        animation: float 7s infinite ease-in-out;
    }

/* فوتر */
footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 80px 5% 40px;
    position: relative;
    overflow: hidden;
}

    footer::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(230, 57, 70, 0.1) 0%, transparent 70%);
    }

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-column {
    flex: 1;
    min-width: 280px;
}

    .footer-column h3 {
        font-size: 1.6rem;
        margin-bottom: 30px;
        color: white;
        position: relative;
        padding-bottom: 15px;
    }

        .footer-column h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 50px;
            height: 3px;
            background: var(--accent-red);
        }

    .footer-column ul {
        list-style: none;
    }

        .footer-column ul li {
            margin-bottom: 15px;
        }

            .footer-column ul li a {
                color: #bdc3c7;
                text-decoration: none;
                transition: all 0.3s;
                display: inline-block;
            }

                .footer-column ul li a:hover {
                    color: white;
                    transform: translateX(-10px);
                }

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

    .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        color: white;
        transition: all 0.4s;
    }

        .social-links a:hover {
            background: var(--accent-red);
            transform: translateY(-5px) scale(1.1);
        }

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bdc3c7;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

/* ریسپانسیو */
@media (max-width: 1200px) {
    .slide-content h2 {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .roza-plus-content, .bi-section {
        flex-direction: column;
    }

    .roza-plus-image, .bi-image {
        width: 100%;
    }

    nav ul {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .slide-content h2 {
        font-size: 3rem;
    }

    .slide-content p {
        font-size: 1.2rem;
    }

    .video-placeholder {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .swiper-container {
        height: 80vh;
    }

    .slide-content h2 {
        font-size: 2.5rem;
    }

    .slide-content p {
        font-size: 1.1rem;
    }

    .section-title h2 {
        font-size: 2.3rem;
    }

    section {
        padding: 80px 5%;
    }

    .network-section {
        padding: 50px 30px;
    }

    .chat-container {
        width: 320px;
    }

    .video-placeholder {
        height: 350px;
    }

    .play-button {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .scroll-to-top {
        bottom: 20px;
        left: 20px;
    }

    .chat-widget {
        bottom: 90px;
        left: 20px;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .chat-container {
        width: 280px;
    }

    .swiper-button-next, .swiper-button-prev {
        width: 50px;
        height: 50px;
    }

    .video-placeholder {
        height: 280px;
    }
}

