/* MG Lead Analyzer Suite - Unified Styles */
:root {
    --lead-primary: #10b981;
    --lead-primary-light: #34d399;
    --lead-primary-dark: #059669;
    --lead-secondary: #f59e0b;
    --lead-bg-light: #f0fdf4;
    --lead-bg-white: #ffffff;
    --lead-text-primary: #1f2937;
    --lead-text-secondary: #6b7280;
    --lead-border: #e5e7eb;
    --lead-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --lead-shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1);
    --lead-radius: 20px;
    --lead-radius-lg: 24px;
}

.mg-lead-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Header */
.lead-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
    backdrop-filter: blur(10px);
    border-radius: var(--lead-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--lead-shadow-lg);
}

.lead-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    padding: 20px;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.lead-icon-wrapper svg {
    width: 100%;
    height: 100%;
    color: white;
}

.lead-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--lead-primary-dark), var(--lead-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 1rem 0;
}

.lead-subtitle {
    font-size: 1.125rem;
    color: var(--lead-text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Form */
.lead-form {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border-radius: var(--lead-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--lead-shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.lead-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.lead-form-group {
    position: relative;
}

.lead-form-group label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--lead-text-primary);
    margin-bottom: 0.5rem;
}

.lead-form-group input,
.lead-form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    background: var(--lead-bg-light);
    border: 2px solid transparent;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.lead-form-group input:focus,
.lead-form-group select:focus {
    outline: none;
    background: var(--lead-bg-white);
    border-color: var(--lead-primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.lead-form-group input.error-field,
.lead-form-group select.error-field {
    border-color: #ef4444;
    animation: shake 0.5s;
}

.lead-form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.lead-form-group select:hover {
    background-color: var(--lead-bg-white);
    border-color: var(--lead-border);
}

.required {
    color: #ef4444;
}

/* Fragen */
.lead-question-group {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(240, 253, 244, 0.5) 0%, rgba(254, 243, 199, 0.5) 100%);
    border-radius: var(--lead-radius);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.lead-question-group:hover {
    border-color: var(--lead-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.2);
}

.lead-question-text {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--lead-text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.question-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--lead-primary), var(--lead-secondary));
    color: white;
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Likert-Skala */
.lead-likert-scale {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 1rem;
}

.lead-likert-option {
    flex: 1;
    position: relative;
}

.lead-likert-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.lead-likert-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
    background: white;
    border: 2px solid var(--lead-border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.likert-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--lead-bg-light);
    border: 3px solid var(--lead-border);
    transition: all 0.3s ease;
    position: relative;
}

.likert-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lead-primary), var(--lead-secondary));
    transition: transform 0.3s ease;
}

.lead-likert-option input[type="radio"]:checked + .lead-likert-label .likert-circle::after {
    transform: translate(-50%, -50%) scale(1);
}

.lead-likert-option input[type="radio"]:checked + .lead-likert-label {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(245, 158, 11, 0.1));
    border-color: var(--lead-primary);
}

.lead-likert-option input[type="radio"]:checked + .lead-likert-label .likert-circle {
    border-color: var(--lead-primary);
}

.likert-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--lead-text-secondary);
    text-align: center;
}

.lead-likert-option:hover .lead-likert-label {
    border-color: var(--lead-primary-light);
    transform: translateY(-2px);
}

.lead-scale-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.75rem;
    padding: 0 0.5rem;
}

.scale-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lead-text-secondary);
}

/* Submit Button */
.lead-submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--lead-primary), var(--lead-secondary));
    border: none;
    border-radius: var(--lead-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
    margin-top: 2rem;
}

.lead-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.5);
}

.lead-submit-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-icon {
    width: 24px;
    height: 24px;
}

.privacy-notice {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    font-size: 0.8125rem;
    color: var(--lead-text-secondary);
}

.privacy-notice svg {
    color: #3b82f6;
    flex-shrink: 0;
}

/* Popup Overlay */
.lead-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lead-popup-content {
    position: relative;
    max-width: 550px;
    width: 100%;
    max-height: 90vh;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border-radius: 24px;
    padding: 0;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    animation: slideUp 0.4s ease;
    overflow: hidden;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.lead-popup-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--lead-text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lead-popup-close:hover {
    background: white;
    color: var(--lead-text-primary);
    transform: rotate(90deg);
}

.popup-header {
    padding: 2.5rem 2rem 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
}

.popup-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    padding: 20px;
    background: linear-gradient(135deg, var(--lead-primary), var(--lead-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.popup-icon svg {
    width: 100%;
    height: 100%;
    color: white;
}

.popup-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--lead-text-primary);
    text-align: center;
    margin: 0 0 0.75rem 0;
    line-height: 1.2;
}

.popup-text {
    font-size: 1rem;
    color: var(--lead-text-secondary);
    text-align: center;
    margin: 0;
    line-height: 1.6;
}

.popup-body {
    padding: 2rem;
    overflow-y: auto;
    max-height: calc(90vh - 250px);
    -webkit-overflow-scrolling: touch;
}

/* Scrollbar verstecken aber Scrollen erlauben */
.popup-body::-webkit-scrollbar {
    display: none;
}

.popup-body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.popup-form-container {
    margin-top: 0;
}

/* Opt-in Formular Styling - Universell für alle Formulare */
.popup-form-container form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Nur Hidden Felder verstecken */
.popup-form-container input[type="hidden"] {
    display: none !important;
}

/* ALLE sichtbaren Input-Felder im Popup stylen */
.popup-form-container input[type="text"],
.popup-form-container input[type="email"],
.popup-form-container input[type="tel"],
.popup-form-container input[type="number"],
.popup-form-container textarea,
.popup-form-container select {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    background: white;
    border: 2px solid var(--lead-border);
    border-radius: 12px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Focus State */
.popup-form-container input[type="text"]:focus,
.popup-form-container input[type="email"]:focus,
.popup-form-container input[type="tel"]:focus,
.popup-form-container input[type="number"]:focus,
.popup-form-container textarea:focus,
.popup-form-container select:focus {
    outline: none;
    border-color: var(--lead-primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Submit Button Styling */
.popup-form-container input[type="submit"],
.popup-form-container button[type="submit"],
.popup-form-container button {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.0625rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--lead-primary), var(--lead-secondary));
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    margin-top: 0.5rem;
}

.popup-form-container input[type="submit"]:hover,
.popup-form-container button[type="submit"]:hover,
.popup-form-container button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.popup-form-container input[type="submit"]:active,
.popup-form-container button[type="submit"]:active,
.popup-form-container button:active {
    transform: translateY(0);
}

/* Labels */
.popup-form-container label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lead-text-primary);
    margin-bottom: 0.375rem;
}

/* Quentn/Klicktipp spezifische Styles */
.popup-form-container .ktv2-form-element {
    margin-bottom: 1rem;
}

.popup-form-container .ktv2-form-element:last-of-type {
    margin-bottom: 0;
}

.popup-form-container .ktv2-form-element br {
    display: none;
}

.popup-form-container #form-331314-wrapper,
.popup-form-container > div {
    width: 100%;
}

.popup-form-container > div > form > div {
    margin-bottom: 1rem;
}

.popup-form-container > div > form > div:last-child {
    margin-bottom: 0;
}

.popup-form-container > div > form > div > div {
    margin-bottom: 0;
}

.popup-form-container > div > form > div > div > label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lead-text-primary);
    margin-bottom: 0.375rem;
}

/* qntn-form Web Component */
.popup-form-container qntn-form {
    display: block;
}

/* Platzhalter-Text Styling */
.popup-form-container input::placeholder {
    color: var(--lead-text-secondary);
    opacity: 0.6;
}

.popup-privacy-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
    background: rgba(59, 130, 246, 0.05);
    border-left: 3px solid #3b82f6;
    border-radius: 8px;
    font-size: 0.8125rem;
    color: var(--lead-text-secondary);
    line-height: 1.5;
}

.popup-privacy-note svg {
    color: #3b82f6;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Result Display */
.lead-result-display {
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);
    backdrop-filter: blur(20px);
    border-radius: var(--lead-radius-lg);
    border: 2px solid var(--lead-primary-light);
    box-shadow: var(--lead-shadow-lg);
}

.result-header {
    text-align: center;
    margin-bottom: 2rem;
}

.result-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    padding: 16px;
    background: linear-gradient(135deg, var(--lead-primary), var(--lead-secondary));
    border-radius: 50%;
    color: white;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.result-icon svg {
    width: 100%;
    height: 100%;
}

.result-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lead-text-primary);
    margin: 0;
}

/* Progress Circle */
.lead-progress-container {
    position: relative;
    width: 240px;
    height: 240px;
    margin: 0 auto 2rem;
}

.lead-progress-circle {
    transform: rotate(-90deg);
}

.progress-bg {
    fill: none;
    stroke: var(--lead-border);
    stroke-width: 12;
}

.progress-bar {
    fill: none;
    stroke: url(#gradient-lead);
    stroke-width: 12;
    stroke-linecap: round;
    stroke-dasharray: 628;
}

.progress-text-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.progress-percentage {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--lead-primary-dark), var(--lead-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.progress-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lead-text-secondary);
    text-transform: uppercase;
}

.bmi-value-box {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: var(--lead-radius);
    margin-bottom: 2rem;
}

.bmi-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lead-text-secondary);
    text-transform: uppercase;
}

.bmi-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--lead-primary);
}

.lead-interpretation {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--lead-radius);
    margin-bottom: 2rem;
}

.interpretation-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--lead-primary-dark);
    margin: 0 0 1rem 0;
}

.interpretation-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--lead-text-secondary);
    margin: 0;
}

.result-success-message {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(245, 158, 11, 0.05));
    border-radius: var(--lead-radius);
    border-left: 4px solid var(--lead-primary);
}

.result-success-message svg {
    color: var(--lead-primary);
    flex-shrink: 0;
}

.result-success-message p {
    margin: 0;
    color: var(--lead-text-primary);
}

/* Error Message */
.lead-error-message {
    padding: 2rem;
    background: #fee2e2;
    border: 2px solid #dc2626;
    border-radius: var(--lead-radius);
    color: #991b1b;
}

.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .mg-lead-container {
        margin: 0.5rem 0;
        padding: 0;
    }

    .lead-header {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }

    .lead-icon-wrapper {
        width: 64px;
        height: 64px;
        padding: 16px;
        margin-bottom: 1rem;
    }

    .lead-header h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
        line-height: 1.2;
    }

    .lead-subtitle {
        font-size: 0.9375rem;
        line-height: 1.5;
    }

    .lead-form {
        padding: 1.25rem;
        border-radius: 16px;
    }

    .lead-form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .lead-form-group label {
        font-size: 0.875rem;
    }

    .lead-form-group input,
    .lead-form-group select {
        padding: 0.75rem 0.875rem;
        font-size: 0.9375rem;
    }

    .lead-question-group {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .lead-question-text {
        font-size: 0.9375rem;
        gap: 0.5rem;
    }

    .question-number {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }

    .lead-likert-scale {
        gap: 0.375rem;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
        margin-left: -0.5rem;
        margin-right: -0.5rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .lead-likert-scale::-webkit-scrollbar {
        display: none;
    }

    .lead-likert-scale {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .lead-likert-option {
        min-width: 60px;
        flex-shrink: 0;
    }

    .lead-likert-label {
        padding: 0.625rem 0.375rem;
        min-height: 80px;
    }

    .likert-circle {
        width: 28px;
        height: 28px;
        border-width: 2px;
    }

    .likert-circle::after {
        width: 14px;
        height: 14px;
    }

    .likert-text {
        font-size: 0.6875rem;
        line-height: 1.2;
        word-break: break-word;
    }

    .lead-scale-labels {
        font-size: 0.8125rem;
        padding: 0 0.5rem;
    }

    .lead-submit-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .privacy-notice {
        font-size: 0.75rem;
        padding: 0.625rem;
    }

    .lead-popup-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .lead-popup-content {
        max-width: 100%;
        max-height: 95vh;
        border-radius: 24px 24px 0 0;
        margin: 0;
    }

    .popup-header {
        padding: 2rem 1.5rem 1.25rem;
    }

    .popup-icon {
        width: 64px;
        height: 64px;
        padding: 16px;
        margin-bottom: 1rem;
    }

    .popup-title {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }

    .popup-text {
        font-size: 0.9375rem;
        line-height: 1.5;
    }

    .popup-body {
        padding: 1.5rem;
        max-height: calc(95vh - 220px);
    }

    .lead-popup-close {
        top: 1rem;
        right: 1rem;
        width: 32px;
        height: 32px;
        font-size: 1.25rem;
    }

    .popup-form-container input[type="text"],
    .popup-form-container input[type="email"] {
        padding: 0.75rem 0.875rem;
        font-size: 0.9375rem;
    }

    .popup-form-container button[type="submit"] {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .popup-privacy-note {
        font-size: 0.75rem;
        padding: 0.75rem;
    }

    .lead-result-display {
        padding: 1.5rem 1rem;
    }

    .result-header {
        margin-bottom: 1.5rem;
    }

    .result-icon {
        width: 48px;
        height: 48px;
        padding: 12px;
        margin-bottom: 0.75rem;
    }

    .result-header h3 {
        font-size: 1.25rem;
    }

    .lead-progress-container {
        width: 180px;
        height: 180px;
        margin-bottom: 1.5rem;
    }

    .lead-progress-circle {
        width: 180px;
        height: 180px;
    }

    .progress-percentage {
        font-size: 2.5rem;
    }

    .progress-label {
        font-size: 0.75rem;
    }

    .bmi-value-box {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .bmi-value {
        font-size: 2rem;
    }

    .lead-interpretation {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .interpretation-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
    }

    .interpretation-text {
        font-size: 0.9375rem;
        line-height: 1.6;
    }

    .result-success-message {
        padding: 1.25rem;
        font-size: 0.875rem;
    }

    .result-success-message p {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .lead-header h2 {
        font-size: 1.375rem;
    }

    .lead-subtitle {
        font-size: 0.875rem;
    }

    .lead-form {
        padding: 1rem;
    }

    .lead-question-group {
        padding: 0.875rem;
    }

    .lead-question-text {
        font-size: 0.875rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .lead-likert-option {
        min-width: 55px;
    }

    .lead-likert-label {
        padding: 0.5rem 0.25rem;
        min-height: 75px;
    }

    .likert-circle {
        width: 24px;
        height: 24px;
    }

    .likert-circle::after {
        width: 12px;
        height: 12px;
    }

    .likert-text {
        font-size: 0.625rem;
    }

    .lead-progress-container {
        width: 160px;
        height: 160px;
    }

    .lead-progress-circle {
        width: 160px;
        height: 160px;
    }

    .progress-percentage {
        font-size: 2.25rem;
    }

    .interpretation-title {
        font-size: 1.125rem;
    }

    .interpretation-text {
        font-size: 0.875rem;
    }

    .popup-title {
        font-size: 1.375rem;
    }

    .popup-text {
        font-size: 0.875rem;
    }

    .popup-body {
        padding: 1.25rem;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .lead-popup-content {
        max-height: 90vh;
        border-radius: 24px;
    }

    .popup-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .popup-icon {
        width: 56px;
        height: 56px;
        padding: 14px;
    }

    .popup-body {
        max-height: calc(90vh - 180px);
    }

    .lead-progress-container {
        width: 140px;
        height: 140px;
    }

    .lead-progress-circle {
        width: 140px;
        height: 140px;
    }

    .progress-percentage {
        font-size: 2rem;
    }
}

@media (hover: none) and (pointer: coarse) {
    .lead-likert-label {
        padding: 0.875rem 0.5rem;
    }

    .lead-form-group input,
    .lead-form-group select {
        font-size: 16px;
    }

    .popup-form-container input[type="text"],
    .popup-form-container input[type="email"] {
        font-size: 16px;
    }
}