
/* Modern Base Styles */
.services-modern {
    background: linear-gradient(135deg, #f5f7fa 0%, #f0f4f8 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #6f42c1, #330066);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.divider-line {
    height: 2px;
    width: 100px;
    background: linear-gradient(90deg, transparent, #3498db, transparent);
}

.divider-icon {
    margin: 0 20px;
    color: #330066;
    font-size: 1.2rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    position: relative;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(155, 89, 182, 0.1) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.service-media {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-media img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #330066;
    font-size: 1.5rem;
    opacity: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-card:hover .play-button {
    opacity: 1;
}

.service-content {
    padding: 25px;
    position: relative;
}

.service-icon {
    position: absolute;
    top: -30px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.service-icon img {
    width: 30px;
    height: 30px;
}

.service-content h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #2c3e50;
    font-weight: 700;
    padding-right: 70px;
}

.service-content p {
    color: #7f8c8d;
    margin-bottom: 20px;
    line-height: 1.6;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    color: #330066;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.learn-more i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.learn-more::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #330066;
    transition: width 0.3s ease;
}

.learn-more:hover {
    color: #2980b9;
}

.learn-more:hover i {
    transform: translateX(5px);
}

.learn-more:hover::after {
    width: 100%;
}

/* Video Modal - New Improved Style */
.video-modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.video-modal-container.active {
    display: flex;
}

.video-modal-wrapper {
    position: relative;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.video-modal-content {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-modal-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .video-modal-wrapper {
        width: 95%;
    }
}

@media (max-width: 480px) {
    .services-modern {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-media {
        height: 180px;
    }

    .service-content {
        padding: 20px;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        top: -25px;
    }

    .service-icon img {
        width: 25px;
        height: 25px;
    }

    .video-modal-close {
        top: -50px;
        right: 50%;
        transform: translateX(50%);
    }
}

/* استایل‌های مدرن برای بخش قیمت‌گذاری */
.pricing-plan-section {
    font-family: 'Inter', sans-serif;
}

.section-title-2 h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1F2937;
}

.subtitle {
    font-size: 1.125rem;
    color: #6B7280;
    margin-bottom: 1.5rem;
}

.pricing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.toggle-label {
    font-weight: 500;
    color: #4B5563;
}

.form-check-input {
    width: 3.5rem !important;
    height: 1.75rem !important;
    background-color: #E5E7EB !important;
    border: none !important;
    box-shadow: none !important;
}

.form-check-input:checked {
    background-color: #330066 !important;
}

.save-badge {
    background: #ECFDF5;
    border-radius: 16px;
    padding: 0.25rem 0.75rem;
    margin-left: 1rem;
}

.save-text {
    color: #065F46;
    font-size: 0.875rem;
    font-weight: 500;
}

.single-plan.modern-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.single-plan.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.single-plan.featured-plan {
    border: 2px solid #330066;
    transform: scale(1.03);
}

.plan-badge {
    position: absolute;
    top: -12px;
    right: 1.5rem;
    background: #ffcc00;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    z-index: 1;
}

.saving-badge {
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    background: #ECFDF5;
    color: #065F46;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
}

.pricing-top {
    margin-bottom: 1.5rem;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 0.5rem;
}

.plan-description {
    color: #6B7280;
    font-size: 1rem;
}

.plan-rate {
    margin-bottom: 1.5rem;
 
    border-bottom: 1px solid #E5E7EB;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #d63384;
    margin-bottom: 0.25rem;
}

.billing-period {
    color: #6B7280;
    margin-bottom: 0.25rem;
}

.billed-annually {
    color: #330066;
    font-weight: 500;
    font-size: 0.875rem;
}

.plan-btn-area {
    margin-bottom: 1.5rem;
}

.modern-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    gap: 0.5rem;
}

.modern-btn.primary {
    background: #330066;
    color: white;
    border: 1px solid #330066;
}

.modern-btn.primary:hover {
    background: #4338CA;
    border-color: #4338CA;
}

.pricing-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-content li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #4B5563;
}

/* واکنش‌گرایی */
@media (max-width: 768px) {
    .section-title-2 h3 {
        font-size: 2rem;
    }

    .pricing-toggle-container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .single-plan.modern-card {
        padding: 1.5rem;
    }

    .price {
        font-size: 2rem;
    }
}

/* Weblatis FAQ Styles - Scoped with unique class names */
.weblatis-faq-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    box-sizing: border-box;
}

.weblatis-faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.weblatis-faq-header {
    text-align: center;
    margin-bottom: 50px;
    box-sizing: border-box;
}

.weblatis-faq-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #330066, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    box-sizing: border-box;
}

.weblatis-faq-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    max-width: 500px;
    margin: 0 auto;
    box-sizing: border-box;
}

.weblatis-faq-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 10px;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.weblatis-tab {
    padding: 12px 24px;
    background: white;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    color: #6b7280;
    box-sizing: border-box;
}

.weblatis-tab.weblatis-active {
    background: #330066;
    color: white;
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
}

.weblatis-tab:hover:not(.weblatis-active) {
    background: #f9fafb;
    color: #330066;
}

.weblatis-faq-content {
    margin-bottom: 50px;
    box-sizing: border-box;
}

.weblatis-faq-category {
    display: none;
    box-sizing: border-box;
}

.weblatis-faq-category.weblatis-active {
    display: block;
    animation: weblatis-fadeIn 0.5s ease;
    box-sizing: border-box;
}

@keyframes weblatis-fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.weblatis-faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
    box-sizing: border-box;
}

.weblatis-faq-item:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.weblatis-faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    box-sizing: border-box;
}

.weblatis-question-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    padding-right: 20px;
    box-sizing: border-box;
}

.weblatis-faq-toggle {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    box-sizing: border-box;
}

.weblatis-toggle-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.weblatis-toggle-icon::before,
.weblatis-toggle-icon::after {
    content: '';
    position: absolute;
    background: #330066;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.weblatis-toggle-icon::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

.weblatis-toggle-icon::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

.weblatis-faq-item.weblatis-active .weblatis-toggle-icon::after {
    opacity: 0;
    transform: translateX(-50%) rotate(90deg);
}

.weblatis-faq-item.weblatis-active .weblatis-toggle-icon::before {
    background: #ef4444;
}

.weblatis-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    box-sizing: border-box;
}

.weblatis-faq-item.weblatis-active .weblatis-faq-answer {
    max-height: 500px;
}

.weblatis-answer-inner {
    padding: 0 24px 24px;
    box-sizing: border-box;
}

.weblatis-answer-inner p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 16px;
    box-sizing: border-box;
}

.weblatis-answer-inner ul {
    color: #6b7280;
    padding-left: 20px;
    margin-bottom: 16px;
    box-sizing: border-box;
}

.weblatis-answer-inner li {
    margin-bottom: 8px;
    line-height: 1.5;
    box-sizing: border-box;
}

.weblatis-answer-inner strong {
    color: #1f2937;
}

.weblatis-faq-cta {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.weblatis-faq-cta p {
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.weblatis-cta-button {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, #330066, #7c3aed);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(79, 70, 229, 0.2);
    box-sizing: border-box;
}

.weblatis-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
}

/* Responsive styles */
@media (max-width: 768px) {
    .weblatis-faq-title {
        font-size: 2.2rem;
    }

    .weblatis-faq-subtitle {
        font-size: 1rem;
    }

    .weblatis-faq-tabs {
        gap: 8px;
    }

    .weblatis-tab {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .weblatis-faq-question {
        padding: 18px;
    }

    .weblatis-question-text {
        font-size: 1rem;
    }
}

.integrations-section {
    padding: 80px 0;
    background: white;
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.integration-item {
    text-align: center;
    padding: 30px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.integration-item:hover {
    border-color: #330066;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.integration-icon {
    font-size: 2.5rem;
    color: #330066;
    margin-bottom: 15px;
}

.integration-name {
    font-weight: 600;
    color: #374151;
}

.integrations-cta {
    text-align: center;
    margin-top: 50px;
}

.integrations-cta p {
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 20px;
}

/* Modern Weblatis Trial Styles - Enhanced Version */
.weblatis-trial-container {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

.weblatis-trial-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
    border-radius: 32px;
    overflow: hidden;
    box-shadow:
        0 25px 50px -12px rgba(79, 70, 229, 0.15),
        0 10px 30px -10px rgba(79, 70, 229, 0.1);
    display: flex;
    flex-direction: column;
    position: relative;
    transform: translateY(0);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.weblatis-trial-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 35px 60px -12px rgba(79, 70, 229, 0.25),
        0 20px 40px -10px rgba(79, 70, 229, 0.15);
}

@media (min-width: 968px) {
    .weblatis-trial-card {
        flex-direction: row;
    }
}

.weblatis-trial-content {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.weblatis-trial-visual {
    flex: 1;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    padding: 50px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.weblatis-trial-badge {
    display: inline-block;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
    animation: weblatis-badge-pulse 3s infinite;
}

@keyframes weblatis-badge-pulse {
    0% {
        box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
    }

    50% {
        box-shadow: 0 8px 25px rgba(79, 70, 229, 0.5);
    }

    100% {
        box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
    }
}

.weblatis-trial-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #1f2937;
    line-height: 1.2;
    background: linear-gradient(135deg, #1f2937, #4f46e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.weblatis-trial-subtitle {
    font-size: 1.3rem;
    color: #6b7280;
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 500;
}

.weblatis-trial-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.weblatis-trial-feature {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.15rem;
    color: #374151;
    transition: transform 0.3s ease;
}

.weblatis-trial-feature:hover {
    transform: translateX(5px);
}

.weblatis-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 50%;
    margin-right: 16px;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.weblatis-trial-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 450px;
}

.weblatis-trial-button {
    padding: 20px 40px;
    background: linear-gradient(135deg, #ffcc00, #330066);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.weblatis-trial-button: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: 0.5s;
}

.weblatis-trial-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.4);
}

.weblatis-trial-button:hover:before {
    left: 100%;
}

.weblatis-trial-note {
    font-size: 0.95rem;
    color: #9ca3af;
    max-width: 450px;
    margin-top: 20px;
    line-height: 1.6;
}

.weblatis-trial-note a {
    color: #ffcc00;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.weblatis-trial-note a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.weblatis-visual-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.weblatis-visual-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    position: relative;
    z-index: 2;
}

.weblatis-visual-feature {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.15rem;
    transition: transform 0.3s ease;
}

.weblatis-visual-feature:hover {
    transform: translateX(5px);
}

.weblatis-visual-icon {
    margin-right: 16px;
    font-size: 1.4rem;
    width: 28px;
    text-align: center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.weblatis-price-container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.weblatis-price-container:hover {
    transform: scale(1.03);
}

.weblatis-price-amount {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.weblatis-price-duration {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 600;
}

.weblatis-visual-graphic {
    position: absolute;
    bottom: -50px;
    right: -50px;
    opacity: 0.07;
    font-size: 280px;
    z-index: 1;
}

.weblatis-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.weblatis-floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: weblatis-float 15s infinite linear;
}

.weblatis-floating-element:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 20s;
}

.weblatis-floating-element:nth-child(2) {
    width: 50px;
    height: 50px;
    top: 60%;
    left: 70%;
    animation-delay: 2s;
    animation-duration: 15s;
}

.weblatis-floating-element:nth-child(3) {
    width: 70px;
    height: 70px;
    top: 40%;
    left: 40%;
    animation-delay: 4s;
    animation-duration: 18s;
}

@keyframes weblatis-float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.7;
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.9;
    }

    100% {
        transform: translateY(0) rotate(360deg);
        opacity: 0.7;
    }
}

/* Animation */
@keyframes weblatis-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(255, 255, 255, 0.25);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
    }
}

.weblatis-price-container {
    animation: weblatis-pulse 3s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 968px) {
    .weblatis-trial-title {
        font-size: 2.5rem;
    }

    .weblatis-trial-subtitle {
        font-size: 1.2rem;
    }

    .weblatis-trial-content,
    .weblatis-trial-visual {
        padding: 40px 30px;
    }
}

@media (max-width: 640px) {
    .weblatis-trial-container {
        margin: 60px auto;
    }

    .weblatis-trial-content,
    .weblatis-trial-visual {
        padding: 30px 20px;
    }

    .weblatis-trial-title {
        font-size: 2.2rem;
    }

    .weblatis-visual-title {
        font-size: 1.8rem;
    }

    .weblatis-trial-button {
        padding: 18px 30px;
        font-size: 1.1rem;
    }

    .weblatis-price-amount {
        font-size: 3rem;
    }
}

/* استایل‌های تخفیف */
.discounted-plan {
    position: relative;
    border: 2px solid #ffcc00;
    background: linear-gradient(135deg, #ffffff 0%, #fff9f7 100%);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.1);
}



@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.original-price {
    margin-bottom: 5px;
}

.original-price span {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 18px;
    font-weight: 600;
}

.price.discounted {
    color: #330066;
    font-size: 32px;
    font-weight: 700;
}

.annual-saving {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 8px 12px;
    margin-top: 10px;
    font-size: 12px;
    color: #0369a1;
    font-weight: 600;
}

.annual-saving i {
    margin-right: 5px;
    color: #0ea5e9;
}

/* انیمیشن‌های hover */
.single-plan.modern-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.single-plan.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffcc00, transparent);
    transition: left 0.5s ease;
}

.single-plan.modern-card:hover::before {
    left: 100%;
}

.discounted-plan:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.15);
}

/* responsive */
@media (max-width: 768px) {
    .discount-badge {
        right: 10px;
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .price.discounted {
        font-size: 28px;
    }
}

.promotion-banner {
    margin: 15px 0;
}

.promotion-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(45deg, #044e2c, #198754);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    animation: pulse 2s infinite;
}

.badge-text {
    margin-right: 8px;
}

.discount-text {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 20px;
}

.image-container {
    position: relative;
    display: inline-block;
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 15px;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

.floating-badge i {
    color: #ffcc00;
}

.badge-1 {
    top: 20%;
    left: -15px;
    animation-delay: 0s;
}

.badge-2 {
    top: 50%;
    right: -15px;
    animation-delay: 1s;
}

.badge-3 {
    bottom: 20%;
    left: -15px;
    animation-delay: 2s;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-badge {
        position: relative;
        display: inline-flex;
        margin: 5px;
        left: 0;
        right: 0;
        animation: none;
    }

    .image-container {
        text-align: center;
    }
}


/* استایل برای نمایش صحیح پلن‌ها */
.billing-yearly,
.billing-monthly {
    transition: all 0.3s ease;
}

/* استایل سوالات متداول */
.weblatis-faq-section {
    direction: rtl;
}

.weblatis-faq-item.weblatis-active .weblatis-faq-answer {
    max-height: 500px;
    opacity: 1;
}

.weblatis-faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* استایل برای نمایش وضعیت پلن‌ها */
.plan-status {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin: 20px 0;
}

/* استایل‌های مودال ویدئو */
.video-modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-modal-container.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-wrapper {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.video-modal-container.active .video-modal-wrapper {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.video-modal-content {
    width: 100%;
    position: relative;
}

.video-embed-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* نسبت 16:9 */
    overflow: hidden;
}

.video-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
    .video-modal-wrapper {
        width: 95%;
        margin: 20px;
    }
    
    .video-modal-close {
        top: 10px;
        left: 10px;
        width: 35px;
        height: 35px;
    }
}
/* انیمیشن‌های پیشرفته */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.video-modal-wrapper {
    animation: modalFadeIn 0.3s ease-out;
}

/* لودینگ برای ویدئو */
.video-embed-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s;
}

.video-embed-container.loading::before {
    opacity: 1;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}