/* Landing Pages Styles - CTA Form Container */

/* Main CTA Form Container */
.cta-form {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 20px;
    padding: 40px;
    margin: 40px auto;
    max-width: 600px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.15);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.cta-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 100%;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Urgency Banner */
.landing-only.urgency-banner {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    animation: pulse-urgency 2s ease-in-out infinite;
}

@keyframes pulse-urgency {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.urgency-banner .urgency-icon {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    position: relative;
}

.urgency-banner .urgency-icon::before {
    content: '⚡';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
}

.urgency-banner span:not(.urgency-icon) {
    font-weight: 600;
    font-size: 14px;
    flex: 1;
    min-width: 200px;
}

.countdown-timer {
    font-weight: 700;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.countdown-timer #timer-display {
    color: #ffd700;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

/* Form Title */
.form-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px 0;
    text-align: center;
    line-height: 1.3;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Form Subtitle with Value Points */
.form-subtitle {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.value-point {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #667eea;
    white-space: nowrap;
}

/* Quick Form */
.quick-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quick-form input[type="text"],
.quick-form input[type="tel"],
.quick-form input[type="email"] {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
    color: #1a1a1a;
    font-family: inherit;
}

.quick-form input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.quick-form input::placeholder {
    color: #999;
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 8px 0;
    padding: 12px 0;
}

.trust-indicators span {
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

/* Submit Button */
.submit-btn-new {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    overflow: hidden;
    width: 100%;
    margin-top: 8px;
}

.submit-btn-new::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;
}

.submit-btn-new:hover::before {
    left: 100%;
}

.submit-btn-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.submit-btn-new:active {
    transform: translateY(-1px);
}

.submit-btn-new .button-text {
    position: relative;
    z-index: 1;
}

.submit-btn-new .button-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.submit-btn-new:hover .button-arrow {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .cta-form {
        padding: 30px 20px;
        margin: 30px 20px;
        border-radius: 16px;
    }
    
    .form-title {
        font-size: 24px;
    }
    
    .form-subtitle {
        flex-direction: column;
        gap: 10px;
    }
    
    .value-point {
        width: 100%;
        justify-content: center;
    }
    
    .urgency-banner {
        flex-direction: column;
        text-align: center;
        padding: 14px 16px;
    }
    
    .urgency-banner span:not(.urgency-icon) {
        min-width: auto;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 8px;
    }
    
    .submit-btn-new {
        padding: 16px 24px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .cta-form {
        padding: 24px 16px;
        margin: 20px 10px;
    }
    
    .form-title {
        font-size: 20px;
    }
    
    .countdown-timer {
        font-size: 12px;
        padding: 4px 8px;
    }
}

/* RTL Support */
html[dir="rtl"] .form-subtitle {
    flex-direction: row-reverse;
}

html[dir="rtl"] .submit-btn-new:hover .button-arrow {
    transform: translateX(-5px) scaleX(-1);
}

html[dir="rtl"] .button-arrow {
    transform: scaleX(-1);
}

/* Service Mode - Hide urgency banner */
.service-page-mode .urgency-banner {
    display: none !important;
}

.service-page-mode .cta-form {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 20px 0;
}

.service-page-mode .cta-form::before {
    display: none;
}
