/* مدرن CTA Container - طراحی لوکس و پیشرفته */
.modern-cta-wrapper {
    margin: 40px 0;
    position: relative;
}

.modern-cta-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle at 30% 50%, rgba(16, 185, 129, 0.08), transparent 60%);
    pointer-events: none;
    border-radius: 48px;
    z-index: 0;
}

.modern-cta-container {
    display: flex;
    gap: 60px;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    border-radius: 48px;
    padding: 48px 52px;
    box-shadow:
        0 30px 50px -20px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(0, 0, 0, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    backdrop-filter: blur(0px);
    position: relative;
    z-index: 1;
}

.modern-cta-container:hover {
    transform: translateY(-4px);
    box-shadow:
        0 40px 60px -24px rgba(0, 0, 0, 0.18),
        0 0 0 1px rgba(16, 185, 129, 0.1);
}

/* ستون محتوا */
.cta-content-col {
    flex: 1.3;
    position: relative;
}

/* نشانگر تزیینی */
.cta-content-col::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(59, 130, 246, 0.05));
    border-radius: 50%;
    z-index: -1;
}

.cta-title {
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 16px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
    line-height: 1.3;
    position: relative;
}

.cta-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #3b82f6, #8b5cf6);
    border-radius: 4px;
}

.cta-desc {
    font-size: 17px;
    line-height: 1.7;
    color: #64748b;
    margin: 24px 0 32px 0;
    font-weight: 400;
}

/* گروه دکمه‌ها */
.cta-buttons-group {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 8px;
}

span.btn-icon svg {
    width: 18px;
    height: 18px;
    fill: #fff;
    transition: transform 0.2s ease;
}

.button-item {
    position: relative;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 4px 16px;
    border: none;
    border-radius: 80px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-btn:hover::before {
    width: 300px;
    height: 300px;
}

.cta-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.cta-btn:active {
    transform: translateY(0) scale(0.98);
}

.cta-btn-mobile {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.cta-btn-landline {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-icon {
    font-size: 18px;
    display: flex;
    align-items: center;
}

.btn-text {
    letter-spacing: 2px;
    font-weight: 600;
}

.btn-copy-hint {
    font-size: 12px;
    opacity: 0.75;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 40px;
    transition: 0.25s;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.cta-btn:hover .btn-copy-hint {
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
}

/* پیام کپی مدرن */
.copy-toast {
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: white;
    padding: 8px 18px;
    border-radius: 60px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    pointer-events: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    letter-spacing: 0.3px;
    z-index: 100;
}

.copy-toast::before {
    content: '✓';
    margin-right: 6px;
    font-weight: bold;
}

.copy-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ستون تصویر با افکت‌های مدرن */
.cta-image-col {
    flex: 0.9;
}

.cta-image-frame {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 32px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 20px;
}

.cta-image-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(59, 130, 246, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.cta-image-frame:hover::before {
    opacity: 1;
}

.cta-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    max-height: 260px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: all 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

.cta-image-frame:hover .cta-image {
    transform: scale(1.05) rotate(1deg);
    filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.15));
}

/* گیف یا انیمیشن تزیینی برای تصویر */
.cta-image-frame::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15), transparent);
    border-radius: 50%;
    z-index: -1;
    transition: all 0.4s ease;
}

.cta-image-frame:hover::after {
    transform: scale(1.2);
    opacity: 0.8;
}

/* Badge تزیینی */
.modern-cta-container {
    position: relative;
}

.modern-cta-container::before {
    content: '✨ ویژه ✨';
    position: absolute;
    top: -12px;
    right: 32px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 40px;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
    z-index: 2;
}

/* واکنش‌گرایی پیشرفته */
@media (max-width: 1024px) {
    .modern-cta-container {
        padding: 40px 36px;
        gap: 40px;
    }

    .cta-title {
        font-size: 30px;
    }
}

@media (max-width: 900px) {
    .modern-cta-container {
        flex-direction: column-reverse;
        padding: 40px 32px;
        gap: 40px;
        text-align: center;
    }

    .cta-buttons-group {
        justify-content: center;
    }

    .cta-content-col::before {
        display: none;
    }

    .cta-title::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 80px;
    }

    .cta-image {
        max-width: 250px;
        max-height: 220px;
    }

    .cta-title {
        font-size: 28px;
    }

    .modern-cta-container::before {
        right: 50%;
        transform: translateX(50%);
        top: -16px;
    }
}

@media (max-width: 640px) {
    .modern-cta-container {
        padding: 32px 24px;
        border-radius: 32px;
    }

    .cta-title {
        font-size: 24px;
    }

    .cta-desc {
        font-size: 15px;
    }

    .cta-btn {
        padding: 4px 16px;
        font-size: 14px;
        gap: 5px;
    }

    .btn-text {
        font-size: 14px;
    }

    span.btn-icon svg {
        width: 14px;
    }

    .cta-buttons-group {
        gap: 8px;
    }

    .cta-image {
        max-width: 200px;
    }

    .copy-toast {
        font-size: 11px;
        padding: 6px 14px;
        bottom: -40px;
    }
}

/* حالت دارک مود (اختیاری) */
@media (prefers-color-scheme: dark) {
    .modern-cta-container {
        background: linear-gradient(135deg, #1e1e2f, #1a1a2e);
        box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.3);
    }

    .cta-title {
        background: linear-gradient(135deg, #f1f5f9, #cbd5e1);
        -webkit-background-clip: text;
        background-clip: text;
    }

    .cta-desc {
        color: #94a3b8;
    }

    .cta-image-frame {
        background: linear-gradient(135deg, #2d2d3f, #252535);
    }
}