:root {
    --neon: #b5ff6d;
    --neon-dark: #111111;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: #0a0a0a;
    color: #f0f0f0;
    overflow-x: hidden;
}

/* استایل‌های سفارشی */
.glass-dark {
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(34, 34, 34, 0.5);
}

.glass-dark-light {
    background: rgba(17, 17, 17, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(181, 255, 109, 0.1);
}

.neon-border {
    position: relative;
    border: 1px solid transparent;
    background-clip: padding-box;
}

.neon-border::before {
    content: '';
    position: absolute;
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
    background: linear-gradient(45deg, #b5ff6d, #8b5cf6, #0ea5e9);
    border-radius: inherit;
    z-index: -1;
    opacity: 0.3;
}

.neon-text {
    color: #b5ff6d;
    text-shadow: 0 0 10px rgba(181, 255, 109, 0.3);
}

.neon-text-glow {
    animation: neonGlow 2s ease-in-out infinite;
}

.gradient-text {
    background: linear-gradient(135deg, #b5ff6d 0%, #8b5cf6 50%, #0ea5e9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% 200%;
    animation: gradient 8s ease infinite;
}

.card-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(145deg, #111111, #1a1a1a);
    border: 1px solid #222222;
}

.card-hover:hover {
    transform: translateY(-8px);
    border-color: #b5ff6d;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(181, 255, 109, 0.1);
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #b5ff6d, #8b5cf6);
    border-radius: 2px;
}

.nav-link {
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: #b5ff6d;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-neon {
    background: linear-gradient(135deg, #b5ff6d 0%, #8fe04c 100%);
    color: #0a0a0a;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-neon:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(181, 255, 109, 0.3);
}

.btn-neon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s;
}

.btn-neon:hover::before {
    left: 100%;
}

.btn-outline-neon {
    background: transparent;
    color: #b5ff6d;
    border: 1px solid #b5ff6d;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-outline-neon:hover {
    background: rgba(181, 255, 109, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(181, 255, 109, 0.2);
}

.faq-item {
    background: linear-gradient(145deg, #111111, #151515);
    border: 1px solid #222222;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(181, 255, 109, 0.3);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    color: #a0a0a0;
    padding: 0 1.5rem;
}

.faq-answer.open {
    max-height: 500px;
    padding-bottom: 1.5rem;
}

.faq-icon {
    transition: transform 0.3s ease;
    color: #b5ff6d;
    font-size: 1.2rem;
}

.faq-icon.open {
    transform: rotate(45deg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    counter-reset: stat-counter;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(17, 17, 17, 0.7);
    border-radius: 12px;
    border: 1px solid rgba(34, 34, 34, 0.5);
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: rgba(181, 255, 109, 0.3);
    transform: translateY(-5px);
}

.process-step {
    position: relative;
    padding-right: 3rem;
    margin-bottom: 2rem;
}


.blog-card:hover {
    transform: translateY(-8px);
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* استایل برای تصاویر */
.blog-card img {
    transition: transform 0.5s ease;
}

.blog-card:hover img {
    transform: scale(1.1);
}

.process-step::before {
    position: absolute;
    right: 0;
    top: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #b5ff6d, #8b5cf6);
    color: #0a0a0a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(181, 255, 109, 0.1), rgba(139, 92, 246, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #b5ff6d;
    font-size: 1.5rem;
}

.testimonial-card {
    background: linear-gradient(145deg, #111111, #151515);
    border: 1px solid #222222;
    border-left: 3px solid #b5ff6d;
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(181, 255, 109, 0.5);
    transform: translateY(-5px);
}

.scroll-progress {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to left, #b5ff6d, #8b5cf6);
    transform-origin: right;
    transform: scaleX(0);
    z-index: 1000;
}

.floating-elements {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, #b5ff6d, #8b5cf6);
    color: #0a0a0a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(181, 255, 109, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(181, 255, 109, 0.4);
}

.loading-bar {
    position: fixed;
    top: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to left, #b5ff6d, #8b5cf6);
    transition: width 0.3s ease;
    z-index: 1001;
}

.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}


@keyframes float {
    0%, 100% { transform: translateY(0) }
    50% { transform: translateY(-20px) }
}

@keyframes gradient {
    0%, 100% { background-position: 0% 50% }
    50% { background-position: 100% 50% }
}

@keyframes slide-in {
    from { transform: translateX(20px); opacity: 0 }
    to { transform: translateX(0); opacity: 1 }
}

@keyframes fade-in {
    from { opacity: 0 }
    to { opacity: 1 }
}

@keyframes neon-glow {
    0%,100% {
        text-shadow: 0 0 10px rgba(181,255,109,.5);
        box-shadow: 0 0 20px rgba(181,255,109,.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(181,255,109,.8);
        box-shadow: 0 0 40px rgba(181,255,109,.5);
    }
}
.animate-float { animation: float 6s ease-in-out infinite }
.animate-gradient { animation: gradient 8s ease infinite }
.animate-slide-in { animation: slide-in .3s ease-out }
.animate-fade-in { animation: fade-in .5s ease-out }
.animate-neon-glow { animation: neon-glow 2s ease-in-out infinite }
