html{
    scroll-behavior: smooth;
    scroll-padding-top: 0;
}
body{
    position: relative;
    overflow-x: hidden;
}
.hero, .home, #home {
    scroll-margin-top: 0;
    margin-top: 0;
    padding-top: 100px;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn.woff2') format('woff2'),
url('../fonts/Vazirmatn.woff') format('woff');
    font-weight: normal;
}
@font-face {
    font-family: 'VazirmatnBold';
    src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2'),
url('../fonts/Vazirmatn-Bold.woff') format('woff');
    font-weight: bold;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.hero {
    padding-top: 100px;
}
@media (max-width: 768px) {
    .hero {
        padding-top: 80px;
    }
}
:root {
    --purple-deep: #1a0b2e;
    --purple-primary: #8B5CF6;
    --purple-secondary: #6D28D9;
    --purple-glow: #A78BFA;
    --purple-light: #c4b5fd;
    --purple-bg: #0f051e;
    --orange-cta: #F97316;
    --orange-glow: #FB923C;
    --pink-accent: #EC4899;
    --cyan-accent: #06B6D4;
    --text-light: #F3F4F6;
    --text-dim: #9CA3AF;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background: var(--purple-bg);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--purple-deep);
}
::-webkit-scrollbar-thumb {
    background: var(--purple-primary);
    border-radius: 10px;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1) rotate(0deg); }
    50% { transform: translateY(-30px) scale(1.1) rotate(5deg); }
}
@keyframes pulse-glow {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes border-flow {
    0%, 100% { border-color: var(--purple-primary); box-shadow: 0 0 20px rgba(139, 92, 246, 0.3); }
    50% { border-color: var(--pink-accent); box-shadow: 0 0 40px rgb(163, 118, 250); }
}
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
@keyframes dashMove {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -40; }
}
@keyframes dashMoveReverse {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 40; }
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--purple-primary);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.navbar {
    background: rgba(15, 5, 30, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}
.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(15, 5, 30, 0.98);
    border-bottom-color: var(--purple-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--purple-primary), var(--pink-accent), var(--orange-cta));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient-shift 3s ease infinite;
    background-size: 200% 200%;
}
.nav-link-luxury {
    color: var(--text-dim);
    font-weight: 500;
    margin: 0 0.8rem;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
}
.nav-link-luxury:hover {
    color: var(--purple-primary);
}
.nav-link-luxury::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--purple-primary), var(--pink-accent));
    transition: width 0.3s ease;
}
.nav-link-luxury:hover::before {
    width: 100%;
}

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(ellipse at 20% 30%, rgba(139, 92, 246, 0.15), transparent 50%);
}
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.parallax-particle {
    position: absolute;
    background: radial-gradient(circle, var(--purple-primary), transparent);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 4s ease-in-out infinite;
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff, var(--purple-light), var(--pink-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient-shift 5s ease infinite;
    background-size: 200% 200%;
}
.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    border-radius: 50px;
    border: 1px solid rgba(139, 92, 246, 0.5);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.btn-gradient {
    background: linear-gradient(135deg, var(--purple-primary), var(--pink-accent));
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}
.btn-gradient:hover::before {
    left: 100%;
}
.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}
.btn-outline-glow {
    background: transparent;
    border: 2px solid var(--purple-primary);
    padding: 12px 28px;
    border-radius: 50px;
    color: var(--purple-primary);
    font-weight: 600;
    transition: all 0.4s ease;
}
.btn-outline-glow:hover {
    background: var(--purple-primary);
    color: white;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
    transform: translateY(-3px);
}

.section {
    padding: 100px 0;
    position: relative;
}
.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff, var(--purple-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.section-subtitle {
    text-align: center;
    color: var(--text-dim);
    margin-bottom: 3rem;
}

.service-card-3d {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(15, 5, 30, 0.8));
    backdrop-filter: blur(10px);
    border-radius: 28px;
    padding: 30px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    height: 100%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.service-card-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--purple-primary), var(--pink-accent), var(--cyan-accent));
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}
.service-card-3d:hover::before {
    transform: translateX(0);
}
.service-card-3d:hover {
    transform: translateY(-15px) rotateX(5deg);
    border-color: var(--purple-primary);
    box-shadow: 0 30px 50px rgba(139, 92, 246, 0.3);
}
.service-icon-3d {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--purple-primary), var(--pink-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.persona-card-modern {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(15, 5, 30, 0.9));
    backdrop-filter: blur(10px);
    border-radius: 28px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.5s ease;
    border: 1px solid rgba(139, 92, 246, 0.2);
    cursor: pointer;
}
.persona-card-modern:hover {
    transform: translateY(-15px);
    border-color: var(--purple-primary);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}
.persona-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--purple-primary), var(--pink-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    transition: all 0.4s ease;
}
.persona-card-modern:hover .persona-icon {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.6);
}

.process-step {
    text-align: center;
    position: relative;
}
.step-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--purple-primary), var(--pink-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    font-weight: bold;
    transition: all 0.4s ease;
}
.process-step:hover .step-circle {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
}

.testimonial-card-modern {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(15, 5, 30, 0.8));
    backdrop-filter: blur(10px);
    border-radius: 28px;
    padding: 40px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    position: relative;
    height: 100%;
}
.testimonial-quote {
    font-size: 4rem;
    opacity: 0.3;
    position: absolute;
    top: 20px;
    right: 30px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--purple-primary), var(--orange-cta));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cta-modern {
    background: linear-gradient(135deg, var(--purple-secondary), var(--purple-deep));
    border-radius: 40px;
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
}
.cta-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3), transparent);
    animation: pulse-glow 4s ease infinite;
}

.footer-modern {
    background: #0a0514;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.modal-luxury .modal-content {
    background: linear-gradient(135deg, #1a0b2e, #0f051e);
    border: 2px solid rgba(139, 92, 246, 0.4);
    border-radius: 32px;
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.3);
    animation: modalFadeIn 0.5s ease;
}
.modal-luxury .modal-header {
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    padding: 1.5rem 1.5rem 0.5rem;
}
.modal-luxury .modal-header .modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--purple-primary), var(--pink-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.modal-luxury .modal-body {
    padding: 1.5rem;
}
.modal-luxury .btn-close-custom {
    background: rgba(139, 92, 246, 0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-luxury .btn-close-custom:hover {
    background: var(--purple-primary);
    transform: rotate(90deg);
}

.form-input-luxury {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    padding: 14px 20px;
    color: white;
    transition: all 0.3s ease;
    width: 100%;
}
.form-input-luxury:focus {
    border-color: var(--purple-primary);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    outline: none;
}
.form-input-luxury::placeholder {
    color: var(--text-dim);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .navbar-brand {
        font-size: 1.2rem;
    }
    .nav-link-luxury {
        margin: 0.5rem 0;
        text-align: center;
    }
}

.hover-glow {
    transition: all 0.4s ease;
}
.hover-glow:hover {
    text-shadow: 0 0 10px var(--purple-primary);
}

.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--purple-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}
.loader {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(139, 92, 246, 0.3);
    border-top-color: var(--purple-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--text-dim);
    text-decoration: none;
}
.social-icon:hover {
    background: var(--purple-primary);
    color: white;
    transform: translateY(-3px);
}

.journey-container {
    background: linear-gradient(145deg, #0b0718 0%, #140e26 100%);
    padding: 80px 30px;
    position: relative;
    overflow-x: auto;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #E9D5FF, #C084FC, #FBBF24);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.section-header p {
    color: #9ca3af;
    font-size: 1.2rem;
}
.journey-svg {
    width: 100%;
    height: auto;
    margin: 20px 0 40px;
    display: block;
}
.moving-dash {
    stroke-dasharray: 12 14;
    animation: dashMove 0.8s linear infinite;
}
.moving-dash-slow {
    stroke-dasharray: 8 12;
    animation: dashMove 1.2s linear infinite;
}
.moving-dash-reverse {
    stroke-dasharray: 10 15;
    animation: dashMoveReverse 1s linear infinite;
}
.step-node {
    cursor: pointer;
    transition: all 0.2s ease;
}
.node-outer {
    fill: #1e1935;
    stroke: #a78bfa;
    stroke-width: 3;
    transition: all 0.3s;
}
.step-node:hover .node-outer {
    fill: #7c3aed;
    stroke: #f0abfc;
    filter: drop-shadow(0 0 10px #a855f7);
}
.node-inner {
    font-size: 20px;
    font-weight: bold;
    fill: #f3e8ff;
    text-anchor: middle;
    dominant-baseline: central;
}
.step-card {
    background: linear-gradient(145deg, #1a1236, #0f0a21);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 28px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    cursor: pointer;
    height: 100%;
    backdrop-filter: blur(4px);
}
.step-card:hover {
    transform: translateY(-10px);
    border-color: #c084fc;
    box-shadow: 0 20px 35px -12px rgba(139, 92, 246, 0.5);
}
.step-card.active-card {
    border: 2px solid #fbbf24;
    background: linear-gradient(145deg, #241c44, #16102e);
    box-shadow: 0 0 25px rgba(251, 191, 36, 0.5);
    transform: scale(1.02);
}
.step-icon {
    font-size: 2.8rem;
    background: linear-gradient(135deg, #8B5CF6, #EC4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 15px;
}
.step-number-badge {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: #2d2157;
    border-radius: 60px;
    line-height: 35px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #c4b5fd;
}
.btn-action {
    background: transparent;
    border: 1px solid #8B5CF6;
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 0.8rem;
    color: #c4b5fd;
    transition: 0.2s;
    display: inline-block;
}
.btn-action:hover {
    background: #8B5CF6;
    color: white;
}
@media (max-width: 768px) {
    .journey-svg { display: none; }
    .mobile-alternative { display: block; }
    .section-header h2 { font-size: 1.9rem; }
}
.mobile-alternative {
    display: none;
    text-align: center;
    background: rgba(255,255,255,0.05);
    border-radius: 32px;
    padding: 20px;
}
.floating-tip {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #2d2157;
    color: #f3e8ff;
    padding: 10px 26px;
    border-radius: 60px;
    font-weight: 500;
    font-size: 0.9rem;
    z-index: 9999;
    backdrop-filter: blur(12px);
    border: 1px solid #c084fc;
    box-shadow: 0 0 18px #a855f7;
    font-family: 'Vazirmatn';
    white-space: nowrap;
}
@media (max-width: 550px) {
    .floating-tip { white-space: normal; font-size: 0.75rem; width: 90%; text-align: center; }
}

/* استایل جدید برای چک‌باکس‌های چندگانه */
.service-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.service-checkbox-item {
    flex: 0 0 calc(50% - 6px);
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 12px 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}
.service-checkbox-item:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--purple-primary);
}
.service-checkbox-item.selected {
    background: linear-gradient(135deg, var(--purple-primary), var(--pink-accent));
    border-color: transparent;
}
.service-checkbox-item.selected .service-check-title {
    color: white;
}
.service-check-input {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--purple-primary);
}
.service-check-title {
    font-weight: 500;
    color: var(--purple-light);
    flex: 1;
    font-size: 0.9rem;
}
@media (max-width: 768px) {
    .service-checkbox-item {
        flex: 0 0 100%;
    }
}

/* مودال پاسخ */
.response-modal .modal-content {
    background: linear-gradient(135deg, #1a0b2e, #0f051e);
    border: 2px solid rgba(139, 92, 246, 0.5);
    border-radius: 28px;
    text-align: center;
}
.response-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}
.response-icon.success {
    background: linear-gradient(135deg, #10B981, #059669);
}
.response-icon.error {
    background: linear-gradient(135deg, #EF4444, #DC2626);
}