
:root {
    --bg-color: #0b0c15;
    --surface-color: #161823;
    --primary-color: #7000ff; /* بنفش */
    --secondary-color: rgb(243, 85, 28); /* نارنجی درخواستی */
    --text-color: #e0e0e0;
    --text-muted: #a0a0a0;
    --font-main: 'Vazirmatn', sans-serif;
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {

    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
}

/* استایل‌های اسکرول بار */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-color); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-color); }

/* --- کلاس‌های انیمیشن ورود --- */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}
.reveal.active { opacity: 1; transform: translateY(0); }

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }

.section-title {
    font-size: 2.5rem; font-weight: 900; text-align: center; margin-bottom: 1rem;
    /* گرادینت سفید به نارنجی */
    background: linear-gradient(90deg, #fff, var(--secondary-color));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-wrapper { text-align: center; margin-bottom: 4rem; }
.section-desc { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

.btn {
    display: inline-block; padding: 12px 30px; font-weight: 700; border-radius: 5px;
    cursor: pointer; text-transform: uppercase; letter-spacing: 1px; position: relative;
    overflow: hidden; z-index: 1; border: none;
}

.btn-primary {
    background: var(--primary-color); color: #fff;
    box-shadow: 0 0 15px rgba(112, 0, 255, 0.4);
}

.btn-primary::before {
    content: ''; position: absolute; top: 0; left: 0; width: 0%; height: 100%;
    background: var(--secondary-color); z-index: -1; transition: var(--transition);
}
.btn-primary:hover::before { width: 100%; }
.btn-primary:hover { color: var(--bg-color); box-shadow: 0 0 20px rgba(243, 85, 28, 0.6); }

/* هدر */
header {
    background-color: rgba(11, 12, 21, 0.95); backdrop-filter: blur(10px);
    position: fixed; top: 0; width: 100%; z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
nav { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { font-size: 1.8rem; font-weight: 900; color: #fff; display: flex; align-items: center; gap: 10px; }
.logo span { color: var(--secondary-color); } /* لوگو نارنجی شد */
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-weight: 500; color: var(--text-color); position: relative; }
.nav-links a::after {
    content: ''; position: absolute; bottom: -5px; right: 0; width: 0; height: 2px;
    background-color: var(--secondary-color); transition: var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--secondary-color); }

/* بخش Hero */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(11, 12, 21, 0.8), rgba(11, 12, 21, 0.9)),
    url('https://images.unsplash.com/photo-1598550476439-6847785fcea6?q=80&w=2670&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 4rem; margin-bottom: 20px; line-height: 1.2;
    text-shadow: 0 0 20px rgba(112, 0, 255, 0.5);
}
.hero-content p {
    font-size: 1.5rem; color: var(--text-muted); margin-bottom: 40px;
    max-width: 800px; margin-left: auto; margin-right: auto;
}

/* بخش داستان */
.about-story { padding: 80px 0; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.story-img { position: relative; }
.story-img img {
    width: 100%; border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(112, 0, 255, 0.3);
    transition: var(--transition);
}
.story-img:hover img { transform: scale(1.02); border-color: var(--secondary-color); }
.story-text h2 { font-size: 2.5rem; margin-bottom: 20px; color: #fff; }
.story-text p { margin-bottom: 20px; color: var(--text-muted); text-align: justify; }

.feature-list { margin-top: 20px; }
.feature-list li {
    margin-bottom: 15px; display: flex; align-items: center; gap: 10px; color: #fff;
}
.feature-list li svg { color: var(--secondary-color); width: 20px; height: 20px; } /* آیکون تیک نارنجی شد */

/* بخش آمار */
.stats {
    background: linear-gradient(rgba(22, 24, 35, 0.95), rgba(22, 24, 35, 0.95)),
    url('https://images.unsplash.com/photo-1587829741301-dc798b91add1?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-attachment: fixed;
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; text-align: center; }
.stat-card {
    padding: 30px; background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(5px);
    border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.1); transition: var(--transition);
}
.stat-card:hover { transform: translateY(-10px); background: rgba(112, 0, 255, 0.15); border-color: var(--primary-color); }
.stat-number {
    font-size: 3rem; font-weight: 900; color: var(--secondary-color); /* اعداد نارنجی شدند */
    margin-bottom: 10px; display: block; font-family: sans-serif;
}
.stat-label { font-size: 1.1rem; color: #fff; }

/* بخش تیم */
.team { padding: 100px 0; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.team-card {
    background-color: var(--surface-color); border-radius: 15px; overflow: hidden;
    text-align: center; transition: var(--transition); border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}
.team-card:hover { transform: translateY(-10px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
.team-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px;
    /* گرادینت بنفش به نارنجی */
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0); transition: var(--transition); transform-origin: right;
}
.team-card:hover::after { transform: scaleX(1); transform-origin: left; }
.team-img-wrapper { height: 250px; overflow: hidden; }
.team-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.team-card:hover .team-img-wrapper img { transform: scale(1.1); }
.team-info { padding: 25px; }
.team-name { font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: 5px; }
.team-role {
    color: var(--secondary-color); font-size: 0.9rem; font-weight: 500; margin-bottom: 15px; /* نقش نارنجی شد */
    display: inline-block; background: rgba(243, 85, 28, 0.1); padding: 4px 12px; border-radius: 20px;
}
.team-bio { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }

/* CTA */
.cta {
    padding: 80px 0; text-align: center;
    background: linear-gradient(135deg, #1a1c29 0%, #0b0c15 100%);
    position: relative; overflow: hidden;
}
.cta::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(112, 0, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}
@keyframes rotate { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.cta-content { position: relative; z-index: 2; }

/* فوتر */
footer {
    background-color: #05060a; padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h3 { color: #fff; margin-bottom: 20px; font-size: 1.2rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-muted); }
.footer-col ul li a:hover { color: var(--secondary-color); padding-right: 5px; } /* هاور لینک فوتر نارنجی شد */
.copyright { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.05); color: var(--text-muted); font-size: 0.9rem; }

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1.1rem; }
    .nav-links { display: none; }
    .story-grid { grid-template-columns: 1fr; }
    .story-img { order: -1; }
}
