﻿.category-main-item {
    width: 300px;
}
.category-submenu {
    right: 320px;
}
.productGalleryMain .swiper-slide {
    height: auto;
}
.dots-line {
    max-width: 100px;
}
.section-heading {
    margin-bottom: 30px;
}



.integration-list {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}



.hero-section {
    background: linear-gradient(135deg, rgba(15, 12, 41, 0.9), rgba(48, 43, 99, 0.8), rgba(36, 36, 62, 0.9));
}

.hero-main-title {
    background: linear-gradient(135deg, #a855f7, #3b82f6, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.hero-mini-title {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.hero-support-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.3);
}

    .btn-hero-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 35px rgba(168, 85, 247, 0.4);
        color: white;
    }

.btn-hero-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

    .btn-hero-secondary:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.3);
        transform: translateY(-2px);
        color: white;
    }

.hero-visual-content::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at center, rgba(168, 85, 247, 0.1), transparent 70%);
    z-index: -1;
    border-radius: 50%;
    animation: pulse-glow 4s ease-in-out infinite;
}

/* استایل‌های fade-in بدون نیاز به اسکرول */
.hero-background {
    transition: opacity 1.5s ease-in-out;
}

.hero-background-slider {
    transition: opacity 1.5s ease-in-out;
}

.hero-bg-img,
.hero-video {
    transition: opacity 1.5s ease-in-out;
}

/* بهبود عملکرد */
.hero-background .hero-bg-img {
    will-change: opacity;
    backface-visibility: hidden;
}

.hero-background .hero-video {
    will-change: opacity;
    backface-visibility: hidden;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
        padding: 3rem 0;
    }

    .hero-main-title {
        font-size: 2.5rem !important;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        font-size: 1rem;
        padding: 0.875rem 2rem !important;
    }
}

@media (max-width: 576px) {
    .hero-main-title {
        font-size: 2rem !important;
    }

    .hero-buttons {
        flex-direction: column !important;
        align-items: stretch;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        text-align: center;
    }
}

/* حالت کاهش انیمیشن */
@media (prefers-reduced-motion: reduce) {
    .hero-background,
    .hero-background-slider,
    .hero-bg-img,
    .hero-video {
        transition: none;
    }
}