/* ==============================================
   INTERACTIVE FORM STYLES
   ============================================== */

/* Hero CTA Container */
.hero-cta-container {
    margin: 40px 0 20px 0;
    text-align: center;
}

.hero-primary-cta {
    display: inline-flex;
    flex-direction: column;
    padding: 24px 48px;
    background: linear-gradient(135deg, #FFB300 0%, #FF6600 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.3rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(255, 102, 0, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.hero-primary-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 102, 0, 0.6);
    background: linear-gradient(135deg, #FF6600 0%, #FFB300 100%);
}

.hero-primary-cta .cta-main {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.hero-primary-cta .cta-sub {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.95;
}

/* Progress Bar */
.form-progress-bar {
    width: 100%;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFB300, #FF6600);
    border-radius: 25px;
    width: 0%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 2s infinite;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 700;
    color: #2C3E50;
    font-size: 1rem;
    z-index: 10;
}

/* Form Container */
.interactive-form {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    min-height: 500px;
    position: relative;
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeInSlide 0.5s ease-out;
}

.form-step.active {
    display: block;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-title {
    font-size: 1.8rem;
    color: #2C3E50;
    margin-bottom: 15px;
    font-weight: 800;
    line-height: 1.3;
}

.step-subtitle {
    font-size: 1rem;
    color: #7F8C8D;
    margin-bottom: 30px;
}

/* Form Groups */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"] {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.1rem;
    border: 2px solid #ECECEC;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.form-group input:focus {
    outline: none;
    border-color: #FFB300;
    box-shadow: 0 0 0 3px rgba(255, 179, 0, 0.1);
}

/* Rating Scale */
.rating-scale {
    margin: 30px 0;
}

.rating-options {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.rating-btn {
    flex: 1;
    min-width: 50px;
    height: 60px;
    border: 2px solid #ECECEC;
    background: white;
    border-radius: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2C3E50;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
}

.rating-btn:hover {
    transform: translateY(-5px);
    border-color: #FFB300;
    box-shadow: 0 5px 20px rgba(255, 179, 0, 0.2);
}

.rating-btn.selected {
    background: linear-gradient(135deg, #FFB300, #FF6600);
    color: white;
    border-color: #FF6600;
    transform: scale(1.1);
    box-shadow: 0 5px 25px rgba(255, 102, 0, 0.4);
}

.rating-btn.selected::after {
    content: '✓';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 25px;
    height: 25px;
    background: #27AE60;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: white;
}

/* Option Buttons */
.option-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 30px 0;
}

.option-btn {
    width: 100%;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    background: white;
    border: 2px solid #ECECEC;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    color: #2C3E50;
    position: relative;
    font-family: var(--font-primary);
}

.option-btn:hover {
    border-color: #FFB300;
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(255, 179, 0, 0.15);
}

.option-btn.selected {
    background: linear-gradient(135deg, #FFB300, #FF6600);
    color: white;
    border-color: #FF6600;
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 8px 30px rgba(255, 102, 0, 0.3);
}

.option-btn.selected::before {
    content: '✓';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: #27AE60;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
    font-weight: 700;
}

/* Form Navigation Buttons */
.form-nav-buttons {
    display: flex;
    gap: 15px;
    margin-top: 40px;
    justify-content: space-between;
}

.next-btn,
.prev-btn,
.submit-btn {
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-family: var(--font-primary);
    position: relative;
    overflow: hidden;
}

.next-btn,
.submit-btn {
    background: linear-gradient(135deg, #FFB300, #FF6600);
    color: white;
    flex: 1;
}

.prev-btn {
    background: #ECECEC;
    color: #2C3E50;
    flex: 0.5;
}

.next-btn:hover,
.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 102, 0, 0.3);
}

.prev-btn:hover {
    background: #d4d4d4;
    transform: translateY(-3px);
}

.next-btn:disabled,
.submit-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
}

.next-btn:disabled:hover,
.submit-btn:disabled:hover {
    box-shadow: none;
}

/* Success Container */
.success-container {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    animation: fadeInUp 0.6s ease-out;
}

.success-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-message h3 {
    font-size: 2rem;
    color: #2C3E50;
    margin-bottom: 15px;
}

.success-message p {
    font-size: 1.2rem;
    color: #7F8C8D;
    margin-bottom: 25px;
}

#downloadPdfBtn {
    margin: 0 auto;
    display: inline-block;
    padding: 20px 50px;
    font-size: 1.3rem;
}

/* Calendar Section */
.calendar-section {
    margin-top: 50px;
    padding-top: 50px;
    border-top: 2px solid #ECECEC;
}

.calendar-section h3 {
    font-size: 1.8rem;
    color: #2C3E50;
    margin-bottom: 10px;
}

.calendar-subtitle {
    font-size: 1.1rem;
    color: #7F8C8D;
    margin-bottom: 30px;
}

/* Calendly Widget Styling */
.calendly-inline-widget {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

/* Confirmation Message */
.confirmation-message {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(255, 179, 0, 0.1), rgba(255, 102, 0, 0.1));
    border-radius: 15px;
    border-left: 5px solid #FFB300;
}

.confirmation-message h4 {
    font-size: 1.5rem;
    color: #2C3E50;
    margin-bottom: 15px;
}

.confirmation-message p {
    font-size: 1.1rem;
    color: #2C3E50;
    line-height: 1.8;
    margin-bottom: 10px;
}

/* Form Disclaimer */
.form-disclaimer {
    text-align: center;
    margin-top: 30px;
    color: #7F8C8D;
    font-size: 0.95rem;
    line-height: 1.6;
}

.form-disclaimer small {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .interactive-form {
        padding: 30px 20px;
    }
    
    .step-title {
        font-size: 1.5rem;
    }
    
    .rating-options {
        gap: 8px;
    }
    
    .rating-btn {
        min-width: 40px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .form-nav-buttons {
        flex-direction: column;
    }
    
    .next-btn,
    .prev-btn,
    .submit-btn {
        width: 100%;
        padding: 15px 30px;
    }
    
    .prev-btn {
        flex: 1;
    }
    
    .success-container {
        padding: 30px 20px;
    }
    
    .calendly-inline-widget {
        height: 800px !important;
    }
}

@media (max-width: 480px) {
    .rating-btn {
        min-width: 35px;
        height: 45px;
        font-size: 1rem;
    }
    
    .option-btn {
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .step-title {
        font-size: 1.3rem;
    }
}
