/* Lead Capture Form Styles */

.form-page {
    background: var(--qbn-light);
    min-height: calc(100vh - 200px);
    padding: 80px 0;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--qbn-white);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.form-header {
    background: linear-gradient(135deg, var(--qbn-primary) 0%, var(--qbn-accent) 100%);
    color: var(--qbn-white);
    padding: 2.5rem;
    text-align: center;
}

.form-header h1 {
    color: var(--qbn-white);
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.form-header p {
    color: var(--qbn-gray-light);
    margin: 0;
}

.form-body {
    padding: 3rem;
}

/* Multi-step Progress */
.form-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
}

.form-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--qbn-gray-light);
    z-index: 0;
}

.progress-line {
    position: absolute;
    top: 20px;
    left: 0;
    height: 2px;
    background: var(--qbn-gold);
    transition: width 0.3s ease;
    z-index: 1;
}

.progress-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.progress-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--qbn-white);
    border: 3px solid var(--qbn-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-weight: 700;
    color: var(--qbn-gray);
    transition: all 0.3s ease;
}

.progress-step.active .progress-circle {
    border-color: var(--qbn-gold);
    background: var(--qbn-gold);
    color: var(--qbn-primary);
}

.progress-step.completed .progress-circle {
    border-color: var(--qbn-gold);
    background: var(--qbn-gold);
    color: var(--qbn-primary);
}

.progress-step.completed .progress-circle::before {
    content: '✓';
}

.progress-label {
    font-size: 0.75rem;
    color: var(--qbn-gray);
    font-weight: 500;
}

.progress-step.active .progress-label {
    color: var(--qbn-primary);
    font-weight: 600;
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: slideUp 0.4s ease-out;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-row-full {
    grid-column: 1 / -1;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--qbn-gray-light);
}

.btn-prev {
    background: var(--qbn-gray-light);
    color: var(--qbn-primary);
}

.btn-prev:hover {
    background: var(--qbn-gray);
    color: var(--qbn-white);
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    color: var(--qbn-white);
    animation: scaleIn 0.5s ease-out;
}

.success-message h2 {
    color: var(--qbn-primary);
    margin-bottom: 1rem;
}

.success-message p {
    color: var(--qbn-gray);
    margin-bottom: 2rem;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--qbn-gray-light);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--qbn-gray);
    font-size: 0.875rem;
}

.trust-badge i {
    color: var(--qbn-gold);
    font-size: 1.25rem;
}

/* GDPR Consent */
.gdpr-consent {
    background: var(--qbn-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.gdpr-consent .form-check {
    align-items: flex-start;
}

.gdpr-consent label {
    font-size: 0.875rem;
    color: var(--qbn-gray);
    line-height: 1.6;
}

.gdpr-consent a {
    color: var(--qbn-blue);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .form-body {
        padding: 2rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }

    .trust-badges {
        flex-direction: column;
        gap: 1rem;
    }

    .progress-label {
        font-size: 0.65rem;
    }
}