:root {
    --primary: #6a11cb;
    --secondary: #2575fc;
    --accent: #ff3366;
    --light: #f8f9fa;
    --dark: #1e1e2e;
    --success: #28a745;
    --warning: #ffc107;
    --info: #17a2b8;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn', sans-serif;
}

body {
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    background: #000;
    min-height: 100vh;
}

/* کهکشان و ستاره ها */
.galaxy {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #0a0e2a 0%, #000000 70%);
}

.star {
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
    animation: twinkle linear infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

.nebula {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.4;
    animation: drift linear infinite;
}

@keyframes drift {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(100px, 50px) rotate(360deg); }
}

.comet {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 100%);
    animation: comet linear infinite;
    opacity: 0;
}

@keyframes comet {
    0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    100% { transform: translate(-1000px, 500px) rotate(45deg); opacity: 0; }
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* هدر و ناوبری */
header {
    background: rgba(30, 30, 46, 0.5);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.logo h1 {
    font-size: 1.8rem;
    background: linear-gradient(45deg, #ff3366, #ff8a00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

/* منوی سمت چپ */
.nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--accent);
    transition: width 0.3s ease;
}

nav a:hover:after {
    width: 100%;
}

nav a:hover {
    color: var(--accent);
}

/* بخش هیرو */
.hero {
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--light);
    text-shadow: 0 0 20px rgba(106, 17, 203, 0.7);
}

.hero h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--accent);
    text-shadow: 0 0 15px rgba(255, 51, 102, 0.7);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--gradient);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(106, 17, 203, 0.3);
    border: none;
    cursor: pointer;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #2575fc, #6a11cb);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 1;
}

.cta-button:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff3366, #ff8a00);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.cta-button:hover:before {
    opacity: 0;
}

.cta-button:hover:after {
    opacity: 1;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(255, 51, 102, 0.4);
}

/* بخش آمار با انیمیشن شمارش خفن */
.stats-section {
    padding: 80px 0;
    background: rgba(30, 30, 46, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 40px 0;
}

.section-title-container {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    width: 100%;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--light);
    width: 100%;
    display: block;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.section-title-container:after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: var(--gradient);
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.stat-card:before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: -1;
    background: var(--gradient);
    border-radius: 17px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover:before {
    opacity: 0.2;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 15px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-variant-numeric: tabular-nums;
    position: relative;
}

.stat-number.animating {
    animation: numberPulse 0.6s ease-in-out;
}

@keyframes numberPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.stat-label {
    font-size: 1.1rem;
    color: var(--light);
    opacity: 0.9;
}

/* بخش خدمات */
.services {
    padding: 80px 0;
    background: rgba(30, 30, 46, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card:before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: -1;
    background: var(--gradient);
    border-radius: 17px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover:before {
    opacity: 0.3;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(106, 17, 203, 0.3);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    animation: float 3s ease-in-out infinite;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--light);
}

/* بخش مزایا */
.advantages {
    padding: 80px 0;
    position: relative;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.advantage-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 2rem;
    color: var(--accent);
    flex-shrink: 0;
}

/* بخش معایب */
.disadvantages {
    padding: 80px 0;
    background: rgba(30, 30, 46, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 40px 0;
    position: relative;
}

.disadvantages-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.disadvantages-list {
    margin-top: 30px;
    text-align: right;
}

.disadvantage-item {
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(10px);
}

/* بخش سوالات متداول */
.faq-section {
    padding: 80px 0;
    background: rgba(30, 30, 46, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 40px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.faq-question {
    padding: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.1);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

/* اعلان */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--gradient);
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1000;
    max-width: 400px;
    animation: slideIn 0.5s ease;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.notification.hidden {
    transform: translateX(100%);
    opacity: 0;
}

.close-notification {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-notification:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* فوتر */
footer {
    background: rgba(30, 30, 46, 0.7);
    padding: 60px 0 30px;
    margin-top: 80px;
    backdrop-filter: blur(10px);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--light);
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--gradient);
    bottom: 0;
    right: 0;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(106, 17, 203, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-email {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--light);
}

/* بخش نمادهای اعتماد */
.trust-signs {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 30px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.trust-title {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--light);
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.enamad img {
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.samandehi {
    color: var(--light);
    opacity: 0.7;
    font-size: 0.9rem;
    text-align: center;
}

/* انیمیشن ها */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* اسکرول پویا */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}