/* استایل‌های اصلی پلاگین تخمین هزینه */
.eram-calculator-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    font-family: 'Vazir', 'Tahoma', sans-serif;
    direction: rtl;
    text-align: right;
    overflow: hidden;
    box-sizing: border-box;
}

/* نوار پیشرفت */
.eram-progress-bar {
    width: 100%;
    height: 6px;
    background: #f0f0f0;
    border-radius: 3px;
    margin-bottom: 30px;
    overflow: hidden;
}

.eram-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--eram-primary), var(--eram-secondary));
    border-radius: 3px;
    transition: width 0.5s ease;
    width: 20%;
}

/* نشانگر مراحل */
.eram-step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 20px;
}

.eram-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.eram-step:hover {
    background: #d0d0d0;
    transform: scale(1.05);
}

.eram-step.active {
    background: var(--eram-primary);
    color: white;
    transform: scale(1.1);
}

.eram-step.active:hover {
    background: var(--eram-secondary);
}

.eram-step.completed {
    background: var(--eram-secondary);
    color: white;
}

.eram-step.completed:hover {
    background: var(--eram-primary);
}

/* محتوای مراحل */
.eram-step-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.eram-step-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* هدر مراحل */
.eram-step-header {
    text-align: center;
    margin-bottom: 40px;
}

.eram-step-header h3 {
    color: var(--eram-primary);
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: bold;
}

.eram-step-header p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

/* گروه‌های فرم */
.eram-form-group {
    margin-bottom: 25px;
    width: 100%;
    box-sizing: border-box;
}

.eram-form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--eram-primary);
    font-weight: bold;
    font-size: 16px;
}

.eram-form-group input[type="tel"],
.eram-form-group input[type="email"],
.eram-form-group input[type="number"],
.eram-form-group input[type="text"],
.eram-form-group select {
    width: 100%;
    max-width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fafafa;
    direction: ltr;
    text-align: left;
    box-sizing: border-box;
}

.eram-form-group select {
    direction: rtl;
    text-align: right;
    cursor: pointer;
}

.eram-form-group select option[data-recommended="true"] {
    background: var(--eram-accent);
    color: var(--eram-primary);
    font-weight: bold;
}

.eram-form-group .description {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
    line-height: 1.4;
}

.eram-form-group input:focus {
    outline: none;
    border-color: var(--eram-primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.1);
}

/* پیام‌های خطا */
.eram-error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

/* شبکه گزینه‌ها */
.eram-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    align-items: stretch;
}

/* کارت گزینه‌ها */
.eram-option-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
}

/* کارت پریمیوم (قالب اختصاصی) */
.eram-premium-option {
    border: 2px solid var(--eram-primary);
    background: linear-gradient(135deg, #ffffff, #f8fff8);
    box-shadow: 0 8px 25px rgba(46, 139, 87, 0.15);
    transform: none;
}

.eram-premium-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
    padding: 6px 12px;
    border-radius: 0 16px 0 16px;
    font-size: 11px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

/* حذف استایل‌های benefits */
.eram-benefits {
    display: none;
}

.eram-benefit {
    display: none;
}

.eram-option-card:hover {
    border-color: var(--eram-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.eram-premium-option:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 15px 40px rgba(46, 139, 87, 0.25);
}

.eram-option-card.selected {
    border-color: var(--eram-primary);
    background: linear-gradient(135deg, var(--eram-primary), var(--eram-secondary));
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(46, 139, 87, 0.3);
}

.eram-premium-option.selected {
    background: linear-gradient(135deg, var(--eram-primary), var(--eram-secondary));
    color: white;
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 20px 50px rgba(46, 139, 87, 0.4);
}

.eram-option-card.selected .eram-benefit {
    color: rgba(255, 255, 255, 0.9);
}

.eram-option-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.eram-option-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eram-option-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
    flex-grow: 1;
}

.eram-option-card.selected p {
    color: rgba(255, 255, 255, 0.9);
}

.eram-price-range {
    display: inline-block;
    background: var(--eram-accent);
    color: var(--eram-primary);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-top: auto;
}

.eram-option-card.selected .eram-price-range {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* لیست امکانات */
.eram-features-list {
    margin-bottom: 30px;
}

.eram-feature-item {
    margin-bottom: 15px;
}

.eram-checkbox-label {
    display: flex;
    align-items: center;
    padding: 20px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.eram-checkbox-label:hover {
    border-color: var(--eram-primary);
    background: #fafafa;
}

.eram-checkbox-label input[type="checkbox"] {
    display: none;
}

.eram-checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid #ddd;
    border-radius: 6px;
    margin-left: 15px;
    position: relative;
    transition: all 0.3s ease;
}

.eram-checkbox-label input[type="checkbox"]:checked + .eram-checkmark {
    background: var(--eram-primary);
    border-color: var(--eram-primary);
}

.eram-checkbox-label input[type="checkbox"]:checked + .eram-checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.eram-feature-info {
    flex: 1;
}

.eram-feature-info h4 {
    margin: 0 0 5px 0;
    color: var(--eram-primary);
    font-size: 16px;
    font-weight: bold;
}

.eram-feature-price {
    color: #666;
    font-size: 14px;
    font-weight: bold;
}

.eram-checkbox-label input[type="checkbox"]:checked ~ .eram-feature-info .eram-feature-price {
    color: var(--eram-primary);
}

/* دکمه‌ها */
.eram-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    min-width: 120px;
}

.eram-btn-primary {
    background: linear-gradient(135deg, var(--eram-primary), var(--eram-secondary));
    color: white;
}

.eram-btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 139, 87, 0.3);
}

.eram-btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.eram-btn-secondary {
    background: #f8f9fa;
    color: var(--eram-primary);
    border: 2px solid var(--eram-primary);
}

.eram-btn-secondary:hover {
    background: var(--eram-primary);
    color: white;
    transform: translateY(-2px);
}

.eram-btn-outline {
    background: transparent;
    color: var(--eram-primary);
    border: 2px solid var(--eram-primary);
}

.eram-btn-outline:hover {
    background: var(--eram-primary);
    color: white;
}

/* اکشن‌های مراحل */
.eram-step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    gap: 15px;
}

/* نتایج */
.eram-result-container {
    text-align: center;
}

.eram-result-header {
    margin-bottom: 30px;
}

.eram-total-price {
    font-size: 36px;
    font-weight: bold;
    color: var(--eram-primary);
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, var(--eram-accent), rgba(46, 139, 87, 0.1));
    border-radius: 16px;
    border: 2px solid var(--eram-primary);
}

.eram-price-breakdown {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    text-align: right;
}

.eram-price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.eram-price-item:last-child {
    border-bottom: none;
    font-weight: bold;
    font-size: 18px;
    color: var(--eram-primary);
}

.eram-contact-info {
    background: var(--eram-accent);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.eram-contact-info p {
    margin: 0;
    color: var(--eram-primary);
    font-weight: bold;
}

.eram-email-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.eram-email-section h4 {
    color: var(--eram-primary);
    margin-bottom: 15px;
}

.eram-email-section .eram-form-group {
    display: flex;
    gap: 15px;
    align-items: end;
    margin-bottom: 0;
}

.eram-email-section input {
    flex: 1;
}

.eram-thank-you {
    background: linear-gradient(135deg, var(--eram-primary), var(--eram-secondary));
    color: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.eram-thank-you p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

/* پیام پلتفرم */
.eram-platform-message {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 16px;
    border: 2px solid var(--eram-primary);
}

.eram-platform-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.eram-platform-message h3 {
    color: var(--eram-primary);
    margin-bottom: 20px;
}

.eram-platform-message p {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 25px;
}

/* ریسپانسیو */
@media (max-width: 1280px) {
    .eram-calculator-container {
        max-width: 95%;
        margin: 20px auto;
    }
}

@media (max-width: 768px) {
    .eram-calculator-container {
        padding: 20px;
        margin: 10px;
        max-width: calc(100% - 20px);
    }
    
    .eram-options-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .eram-option-card {
        min-height: 180px;
        padding: 25px 20px;
    }
    
    .eram-step-actions {
        flex-direction: column;
    }
    
    .eram-btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .eram-email-section .eram-form-group {
        flex-direction: column;
    }
    
    .eram-total-price {
        font-size: 28px;
    }
    
    .eram-step-indicator {
        gap: 10px;
    }
    
    .eram-step {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .eram-calculator-container {
        padding: 15px;
        margin: 5px;
        max-width: calc(100% - 10px);
    }
    
    .eram-step-header h3 {
        font-size: 20px;
    }
    
    .eram-option-card {
        padding: 20px 15px;
        min-height: 160px;
    }
    
    .eram-option-icon {
        font-size: 36px;
    }
    
    .eram-total-price {
        font-size: 24px;
        padding: 15px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .eram-calculator-container {
        max-width: 90%;
        padding: 25px;
    }
    
    .eram-options-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .eram-option-card {
        padding: 25px 20px;
        min-height: 200px;
    }
}

/* انیمیشن‌های اضافی */
.eram-option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--eram-primary), var(--eram-secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 14px;
}

.eram-option-card.selected::before {
    opacity: 1;
}

.eram-option-card > * {
    position: relative;
    z-index: 1;
}

/* لودینگ */
.eram-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* پیام‌های موفقیت و خطا */
.eram-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin: 15px 0;
    font-weight: bold;
}

.eram-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.eram-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* اعلان قالب پیشنهادی */
.eram-recommended-notice {
    background: linear-gradient(135deg, var(--eram-accent), rgba(46, 139, 87, 0.1));
    border: 2px solid var(--eram-primary);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.eram-notice-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.eram-recommended-notice h4 {
    color: var(--eram-primary);
    margin: 0 0 10px 0;
    font-size: 16px;
}

.eram-recommended-notice p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

/* تنظیمات ویژه برای مرحله 5 */
#template-cost-step .eram-form-group {
    overflow: hidden;
}

#template-cost-step .eram-form-group input,
#template-cost-step .eram-form-group select {
    width: calc(100% - 4px);
    margin: 0;
}

/* دکمه تخفیف */
.eram-discount-section {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    border-radius: 16px;
    padding: 25px;
    margin: 25px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: pulse-glow 2s infinite;
}

.eram-discount-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 107, 107, 0.5);
        transform: scale(1.02);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.eram-discount-content {
    position: relative;
    z-index: 2;
    color: white;
}

.eram-discount-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.eram-original-price {
    font-size: 24px;
    text-decoration: line-through;
    opacity: 0.8;
    margin: 0 10px;
}

.eram-discount-price {
    font-size: 28px;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.eram-discount-btn {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    animation: bounce 2s infinite;
}

.eram-discount-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
    animation: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* تبلیغ اِرم وردپرس */
.eram-promotion-section {
    background: linear-gradient(135deg, var(--eram-primary), var(--eram-secondary));
    border-radius: 16px;
    padding: 25px;
    margin: 25px 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.eram-promotion-section::before {
    content: '⭐';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    animation: twinkle 2s infinite;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.eram-promotion-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.eram-promotion-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
    text-align: right;
}

.eram-promotion-feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    backdrop-filter: blur(10px);
}

.eram-promotion-contact {
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 12px;
    margin-top: 20px;
    font-weight: bold;
}

.eram-promotion-contact a {
    color: white !important;
    text-decoration: none !important;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.eram-promotion-contact a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
}

/* ریسپانسیو برای بخش‌های جدید */
@media (max-width: 768px) {
    .eram-discount-section,
    .eram-promotion-section {
        padding: 20px;
        margin: 20px 0;
    }
    
    .eram-discount-title,
    .eram-promotion-title {
        font-size: 18px;
    }
    
    .eram-original-price {
        font-size: 20px;
    }
    
    .eram-discount-price {
        font-size: 24px;
    }
    
    .eram-promotion-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* استایل‌های بنر فرصت ویژه */
.eram-special-offer-banner {
    position: relative;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
    overflow: hidden;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.eram-special-offer-banner.eram-offer-visible {
    opacity: 1;
    transform: translateY(0);
}

.eram-special-offer-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.eram-offer-content {
    display: flex;
    align-items: center;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.eram-offer-icon {
    font-size: 40px;
    margin-left: 20px;
    animation: bounce 1s infinite alternate;
}

@keyframes bounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

.eram-offer-text {
    flex: 1;
    color: white;
}

.eram-offer-text h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.eram-offer-text p {
    margin: 5px 0;
    font-size: 16px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

#countdown-timer {
    font-weight: bold;
    font-size: 18px;
    color: #ffeb3b;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.eram-offer-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-right: 15px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    transition: all 0.3s ease;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 6px 25px rgba(76, 175, 80, 0.6);
        transform: scale(1.05);
    }
}

.eram-offer-btn:hover {
    background: #45a049;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(76, 175, 80, 0.6);
}

.eram-offer-close {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.eram-offer-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* استایل‌های پیام موفقیت */
.eram-success-message {
    position: fixed;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
}

.eram-success-message.eram-success-visible {
    opacity: 1;
}

.eram-success-content {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
    display: flex;
    align-items: center;
    max-width: 400px;
    text-align: center;
    animation: successPop 0.5s ease;
}

@keyframes successPop {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.eram-success-icon {
    font-size: 30px;
    margin-left: 15px;
    animation: checkmark 0.6s ease;
}

@keyframes checkmark {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.eram-success-content p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* بهبود ریسپانسیو برای بنر فرصت ویژه */
@media (max-width: 768px) {
    .eram-offer-content {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .eram-offer-icon {
        margin: 0 0 15px 0;
        font-size: 30px;
    }
    
    .eram-offer-text h3 {
        font-size: 20px;
    }
    
    .eram-offer-text p {
        font-size: 14px;
    }
    
    .eram-offer-btn {
        margin: 15px 0 0 0;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .eram-success-content {
        max-width: 300px;
        padding: 20px;
        margin: 0 20px;
    }
    
    .eram-success-content p {
        font-size: 14px;
        margin: 10px 0;
    }
}

/* مرحله نهایی جشن */
.eram-final-message {
    text-align: center;
    padding: 60px 20px;
    position: relative;
    z-index: 10;
}

.eram-success-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: successBounce 1s ease-out;
}

.eram-final-message h2 {
    color: var(--eram-primary);
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: bold;
    animation: slideInUp 0.8s ease-out 0.3s both;
}

.eram-final-message p {
    color: #666;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    animation: slideInUp 0.8s ease-out 0.6s both;
}

/* انیمیشن‌های جشن */
@keyframes successBounce {
    0% { transform: scale(0) rotate(0deg); opacity: 0; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 1; }
    100% { transform: scale(1) rotate(360deg); opacity: 1; }
}

@keyframes slideInUp {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* انیمیشن دایره‌های پالس */
.eram-celebration-animation {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    margin-top: 20px;
}

.eram-pulse-circle {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 3px solid var(--eram-primary);
    border-radius: 50%;
    animation: pulseExpand 2s infinite ease-out;
    opacity: 0.7;
}

.eram-pulse-circle.delay-1 {
    animation-delay: 0.5s;
    border-color: var(--eram-secondary);
}

.eram-pulse-circle.delay-2 {
    animation-delay: 1s;
    border-color: var(--eram-accent);
}

@keyframes pulseExpand {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* کانتینر کاغذ رنگی */
.eram-confetti-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

/* کاغذ رنگی */
.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #f39c12;
    animation: confettiFall 3s linear infinite;
}

.confetti:nth-child(odd) {
    background: var(--eram-primary);
    width: 8px;
    height: 8px;
    animation-duration: 3.5s;
}

.confetti:nth-child(3n) {
    background: var(--eram-secondary);
    width: 6px;
    height: 6px;
    animation-duration: 4s;
}

.confetti:nth-child(4n) {
    background: #e74c3c;
    width: 12px;
    height: 4px;
    animation-duration: 2.5s;
}

.confetti:nth-child(5n) {
    background: #9b59b6;
    width: 8px;
    height: 8px;
    animation-duration: 3.2s;
}

.confetti:nth-child(6n) {
    background: #3498db;
    width: 10px;
    height: 6px;
    animation-duration: 3.8s;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ریسپانسیو برای مرحله نهایی */
@media (max-width: 768px) {
    .eram-final-message {
        padding: 40px 15px;
    }
    
    .eram-success-icon {
        font-size: 60px;
    }
    
    .eram-final-message h2 {
        font-size: 24px;
    }
    
    .eram-final-message p {
        font-size: 16px;
    }
    
    .eram-pulse-circle {
        width: 40px;
        height: 40px;
    }
} 