/* استایل‌های بخش قهرمان نئومورفیک */

/* استایل‌های اصلی قهرمان */
.neo-hero {
    position: relative;
    width: 100%;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    direction: rtl;
    font-family: var(--font-family-primary);
    padding: 2rem 0;
}

/* پس‌زمینه با افکت‌های متحرک */
.neo-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.neo-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.neo-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

.neo-circles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.neo-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.3) 0%, rgba(99, 102, 241, 0) 70%);
    filter: blur(20px);
}

.circle-1 {
    top: 10%;
    left: 10%;
    width: 300px;
    height: 300px;
    opacity: 0.4;
    animation: float 15s infinite ease-in-out;
}

.circle-2 {
    top: 60%;
    left: 20%;
    width: 200px;
    height: 200px;
    opacity: 0.3;
    animation: float 20s infinite ease-in-out reverse;
}

.circle-3 {
    top: 20%;
    right: 15%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle at center, rgba(236, 72, 153, 0.3) 0%, rgba(236, 72, 153, 0) 70%);
    opacity: 0.3;
    animation: float 18s infinite ease-in-out 2s;
}

.circle-4 {
    bottom: 10%;
    right: 20%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.3) 0%, rgba(16, 185, 129, 0) 70%);
    opacity: 0.3;
    animation: float 25s infinite ease-in-out 1s;
}

.circle-5 {
    top: 40%;
    right: 40%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at center, rgba(124, 58, 237, 0.2) 0%, rgba(124, 58, 237, 0) 70%);
    opacity: 0.2;
    animation: float 30s infinite ease-in-out 3s;
}

.neo-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.neo-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.3);
    animation: particle-float 20s infinite ease-in-out;
}

/* محتوای اصلی */
.neo-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.neo-content-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.neo-content-left {
    flex: 1;
    max-width: 600px;
}

.neo-content-right {
    flex: 1;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* نشان ویژه */
.neo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: pulse 3s infinite ease-in-out;
}

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

.badge-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* عنوان اصلی */
.neo-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    position: relative;
}

.title-line.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
    opacity: 0.7;
}

/* زیرعنوان */
.neo-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

/* توضیحات */
.neo-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.7);
}

/* جستجوی مدرن */
.neo-search {
    margin-bottom: 2rem;
}

.neo-search-form {
    width: 100%;
}

.neo-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.neo-search-wrapper:focus-within {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15),
                0 0 0 2px rgba(99, 102, 241, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.search-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
}

.neo-search-icon {
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.neo-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 1rem 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-family-primary);
}

.neo-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.neo-search-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border: none;
    outline: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    margin: 6px;
    color: white;
    font-weight: 500;
    font-family: var(--font-family-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

.neo-search-btn:hover {
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(99, 102, 241, 0.4);
}

.btn-text {
    font-size: 0.9rem;
}

.btn-arrow {
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.neo-search-btn:hover .btn-arrow {
    transform: translateX(3px);
}

/* سمت راست مینیمال و مدرن */
.neo-hero-slogan {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
    max-width: 400px;
    width: 100%;
    animation: float 8s infinite ease-in-out;
}

.neo-hero-slogan:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.slogan-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #ffffff, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 0.5px;
}

.slogan-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 300px;
    margin: 0 auto;
}

/* انیمیشن‌ها */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes particle-float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.5;
    }
    25% {
        transform: translateY(-20px) translateX(10px);
        opacity: 1;
    }
    50% {
        transform: translateY(-40px) translateX(0);
        opacity: 0.7;
    }
    75% {
        transform: translateY(-20px) translateX(-10px);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes rotate3d {
    0% {
        transform: rotateY(0deg) rotateX(5deg);
    }
    100% {
        transform: rotateY(360deg) rotateX(5deg);
    }
}

/* تنظیمات واکنش‌گرایی */
@media (max-width: 1024px) {
    .neo-content-wrapper {
        flex-direction: column;
    }
    
    .neo-content-left,
    .neo-content-right {
        max-width: 100%;
    }
    
    .neo-title {
        font-size: 3rem;
    }
    
    .neo-hero-slogan {
        margin-top: 2rem;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .neo-hero {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .neo-title {
        font-size: 2.5rem;
    }
    
    .neo-subtitle {
        font-size: 1.2rem;
    }
    
    .neo-description {
        font-size: 1rem;
    }
    
    .slogan-title {
        font-size: 1.8rem;
    }
    
    .slogan-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .neo-title {
        font-size: 2rem;
    }
    
    .neo-search-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .neo-search-input {
        width: 100%;
        padding: 1rem;
    }
    
    .neo-search-btn {
        width: calc(100% - 12px);
        justify-content: center;
        margin: 0 6px 6px;
    }
    
    .neo-hero-slogan {
        padding: 1.5rem;
    }
    
    .slogan-title {
        font-size: 1.5rem;
    }
    
    .slogan-description {
        font-size: 0.9rem;
    }
}

/* تنظیم موقعیت ذرات */
.particle-1 { top: 10%; left: 20%; animation-delay: 0s; }
.particle-2 { top: 20%; left: 80%; animation-delay: 1s; }
.particle-3 { top: 30%; left: 15%; animation-delay: 2s; }
.particle-4 { top: 40%; left: 70%; animation-delay: 3s; }
.particle-5 { top: 50%; left: 30%; animation-delay: 4s; }
.particle-6 { top: 60%; left: 60%; animation-delay: 5s; }
.particle-7 { top: 70%; left: 40%; animation-delay: 6s; }
.particle-8 { top: 80%; left: 85%; animation-delay: 7s; }
.particle-9 { top: 85%; left: 10%; animation-delay: 8s; }
.particle-10 { top: 15%; left: 50%; animation-delay: 9s; }
.particle-11 { top: 25%; left: 90%; animation-delay: 10s; }
.particle-12 { top: 35%; left: 5%; animation-delay: 11s; }
.particle-13 { top: 45%; left: 75%; animation-delay: 12s; }
.particle-14 { top: 55%; left: 25%; animation-delay: 13s; }
.particle-15 { top: 65%; left: 55%; animation-delay: 14s; }
.particle-16 { top: 75%; left: 35%; animation-delay: 15s; }
.particle-17 { top: 85%; left: 80%; animation-delay: 16s; }
.particle-18 { top: 90%; left: 15%; animation-delay: 17s; }
.particle-19 { top: 5%; left: 45%; animation-delay: 18s; }
.particle-20 { top: 95%; left: 65%; animation-delay: 19s; }