﻿:root {
    --primary-color: #7852A9;
    --secondary-color: #5E3D8E;
    --accent-color: #9C7AD9;
    --dark-color: #4A2C7A;
    --light-color: #f5f0ff;
    --gradient-start: var(--primary-color);
    --gradient-end: var(--secondary-color);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body {
    background-color: var(--light-color);
    color: #333;
    overflow-x: hidden;
    font-family: 'Shabnam', Tahoma, sans-serif;
}

/* بخش هیرو با انیمیشن جدید */
.hero-section {
    background: #7852A9;
    color: white;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
    animation: gradientShift 12s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #7852A9;
    background-size: cover;
    background-position: bottom;
    opacity: 0.5;
    animation: waveAnimation 20s linear infinite;
}

@keyframes waveAnimation {
    0% {
        background-position-x: 0;
    }

    100% {
        background-position-x: 100%;
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    animation: float 4s ease-in-out infinite;
    color: #EBE7F2;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto 30px;
    font-weight: 300;
    opacity: 0.9;
    animation: fadeIn 1.5s ease-out 0.3s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 0.9;
    }
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    animation: fadeIn 1s ease-out 0.6s both;
}

.btn-primary {
    background: var(--accent-color);
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(156, 122, 217, 0.4);
    position: relative;
    overflow: hidden;
}

    .btn-primary:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 8px 25px rgba(156, 122, 217, 0.6);
        background: #8a66c2;
    }

    .btn-primary::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: rgba(255, 255, 255, 0.1);
        transform: rotate(30deg);
        transition: all 0.6s ease;
    }

    .btn-primary:hover::after {
        transform: rotate(30deg) translate(10%, 10%);
    }

.btn-outline-light {
    border: 2px solid white;
    background: transparent;
    padding: 10px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

    .btn-outline-light:hover {
        background: white;
        color: var(--primary-color);
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
    }

/* بخش‌های اصلی */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 20px;
    animation: fadeIn 1s ease-out;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: var(--accent-color);
        border-radius: 2px;
        animation: expand 1s ease-out;
    }

@keyframes expand {
    from {
        width: 0;
    }

    to {
        width: 80px;
    }
}

/* بخش مزایا */
.system-intro {
    background: white;
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-top: -60px;
    position: relative;
    z-index: 10;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.system-intro p.lead {
    color: #555;
    line-height: 1.8;
}

.benefits-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

    .benefits-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(120, 82, 169, 0.2);
    }

    .benefits-card .card-header {
        background: #9c7adc;
        color: white;
        padding: 20px;
        border: none;
        font-weight: 600;
        font-size: 1.2rem;
    }

.benefit-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

    .benefit-item:last-child {
        border-bottom: none;
    }

    .benefit-item:hover {
        background: rgba(156, 122, 217, 0.1);
        transform: translateX(10px);
    }

    .benefit-item i {
        background: rgba(120, 82, 169, 0.1);
        color: #9c7adc;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 15px;
        font-size: 1.1rem;
        transition: var(--transition);
    }

    .benefit-item:hover i {
        background: var(--primary-color);
        color: white;
        transform: rotate(15deg) scale(1.1);
    }

/* بخش ویژگی‌ها */
.features-section {
    position: relative;
    background: linear-gradient(to bottom, #f8f4ff, #ffffff);
    overflow: hidden;
}

.features-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="rgba(120, 82, 169, 0.05)" x="0" y="0" width="20" height="20"></rect></svg>');
    background-size: 100px;
    opacity: 0.3;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
}

    .feature-item.animate {
        animation: fadeInUp 0.6s ease-out forwards;
    }

    .feature-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(120, 82, 169, 0.2);
    }

.feature-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-color);
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(156, 122, 217, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(156, 122, 217, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(156, 122, 217, 0);
    }
}

.feature-icon-container {
    position: relative;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    overflow: hidden;
}

.feature-icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="white" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,197.3C672,192,768,160,864,138.7C960,117,1056,107,1152,112C1248,117,1344,139,1392,149.3L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
    animation: waveAnimation 20s linear infinite;
}

.feature-main-icon {
    font-size: 3rem;
    color: white;
    z-index: 1;
    transition: var(--transition);
}

.feature-item:hover .feature-main-icon {
    transform: scale(1.2) rotate(10deg);
}

.feature-content {
    padding: 25px;
    flex-grow: 1;
}

    .feature-content h3 {
        color: var(--dark-color);
        margin-bottom: 15px;
        font-weight: 700;
        transition: var(--transition);
    }

.feature-item:hover .feature-content h3 {
    color: var(--primary-color);
}

.feature-content p {
    color: #666;
    line-height: 1.7;
}

/* فرآیند ارزیابی */
.evaluation-process {
    background: linear-gradient(to bottom, #ffffff, #f8f4ff);
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.step {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    padding: 30px;
    text-align: center;
    width: 100%;
    max-width: 300px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

    .step.animate {
        animation: fadeInUp 0.6s ease-out forwards;
    }

    .step:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(120, 82, 169, 0.2);
    }

    .step::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    }

.step-number {
    width: 60px;
    height: 60px;
    background: #9c7adc;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(120, 82, 169, 0.3);
    transition: var(--transition);
}

.step:hover .step-number {
    transform: scale(1.1);
    background: var(--accent-color);
}

.step h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 700;
    transition: var(--transition);
}

.step:hover h3 {
    color: var(--primary-color);
}

.step p {
    color: #666;
    line-height: 1.7;
}

/* فوتر */
footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
    position: relative;
}

    
.footer-content {
    position: relative;
    z-index: 2;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

    .footer-logo span {
        color: var(--accent-color);
    }

.footer-contact li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-left: 10px;
    color: var(--accent-color);
    width: 25px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: white;
    text-align: center;
    line-height: 40px;
    margin-left: 10px;
    transition: var(--transition);
}

    .social-icons a:hover {
        background: var(--accent-color);
        transform: translateY(-5px);
    }

/* ریسپانسیو */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section {
        padding: 60px 0;
    }

    .system-intro {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .process-steps {
        gap: 20px;
    }
}
