/* Çıkış: tam ekran anket üzerinde her zaman erişilebilir */
.survey-site-exit {
    position: fixed;
    top: max(12px, env(safe-area-inset-top));
    left: max(12px, env(safe-area-inset-left));
    z-index: 100;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-family: 'Sora', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #fff;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.survey-site-exit:hover {
    background: rgba(0, 0, 0, 0.52);
    border-color: rgba(255, 255, 255, 0.35);
}

.survey-site-exit:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 3px;
}

html, body {
    overflow: hidden;
    height: 100%;
}

.survey-area {
    position: fixed;
    inset: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}

.survey-scroll {
    position: relative;
    flex: 1 1 0;
    min-height: 0;
    width: 100%;
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    z-index: 5;
    scrollbar-gutter: stable;
}

.survey-scroll::-webkit-scrollbar {
    width: 9px;
}

.survey-scroll::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.06);
    border-radius: 6px;
}

.survey-scroll::-webkit-scrollbar-thumb {
    background: rgba(147, 60, 201, 0.35);
    border-radius: 6px;
}

.survey-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(147, 60, 201, 0.5);
}

.survey-bg-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.survey-bg-layer img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.survey-bg-base {
    z-index: 1;
}

.survey-bg-video {
    z-index: 1;
    opacity: 0;
    will-change: opacity;
}

.survey-bg-video.is-active {
    opacity: 1;
}

.survey-bg-video video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.survey-bg-overlay {
    z-index: 2;
}


.survey-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.06);
    z-index: 20;
}

.survey-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 0 3px 3px 0;
    transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}


.survey-header {
    width: min(100% - 120px, 820px);
    margin: 0 auto;
    padding: 32px 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 10;
    flex-shrink: 0;
}

.survey-step-indicator {
    display: flex;
    align-items: baseline;
    gap: 3px;
    padding: 9px 14px;
    background: var(--card-bg);
    border: 1px solid rgba(73, 80, 87, 0.12);
    border-radius: 12px;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.survey-step-indicator.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.step-current {
    font-family: 'Sora', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -1px;
    line-height: 1;
}

.step-sep {
    font-family: 'Sora', sans-serif;
    font-size: 15px;
    color: var(--text-dark-low);
    margin: 0 2px;
}

.step-total {
    font-family: 'Sora', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark-low);
}


.survey-stage {
    width: 100%;
    max-width: min(92vw, 820px);
    margin: 0 auto;
    padding: 24px clamp(16px, 4vw, 40px) 56px;
    z-index: 5;
    box-sizing: border-box;
}

.survey-form-page {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.survey-form-page--linear .survey-form-section {
    scroll-margin-top: 24px;
}

.survey-form-lead {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.55;
    color: var(--text-dark);
    text-align: center;
    max-width: 42em;
    margin: 0 auto 22px;
    padding: 0 4px;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9), 0 0 1px rgba(255, 255, 255, 0.8);
}

.survey-form-section {
    margin-bottom: 28px;
}

.survey-form-section:last-of-type {
    margin-bottom: 0;
}

.survey-form-page .survey-lead-section {
    margin-top: 12px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
}


.survey-footer {
    width: min(100% - 120px, 820px);
    margin: 0 auto;
    padding: 20px 0 32px;
    z-index: 10;
    flex-shrink: 0;
    min-height: 72px;
}

.survey-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary-color);
    border: 1.5px solid rgba(73, 80, 87, 0.14);
    border-radius: 10px;
    color: var(--text-light);
    font-family: 'Sora', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    visibility: hidden;
    opacity: 0;
    transform: translateX(-8px);
}

.survey-back-btn.is-visible {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}

.survey-back-btn:hover {
    background: var(--primary-color-dark);
    border-color: rgba(73, 80, 87, 0.24);
    transform: translateX(-4px);
    box-shadow: 0 4px 16px rgba(147, 60, 201, 0.3);
}



.survey-welcome {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: min(92vw, 720px);
    margin: 0 auto;
    padding: 28px clamp(16px, 4vw, 32px) 36px;
    box-sizing: border-box;
}

.welcome-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.welcome-badge img {
    height: 100px;
    width: auto;
    display: block;
}

.welcome-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 700;
    color: var(--text-dark-dark);
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.welcome-title .highlight {
    color: var(--primary-color);
}

.welcome-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: var(--text-dark-low);
    line-height: 1.7;
    max-width: 500px;
    margin-bottom: 44px;
}

.welcome-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 38px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 14px;
    font-family: 'Sora', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.2px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(147, 60, 201, 0.3);
}

.welcome-btn:hover {
    background: var(--primary-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(147, 60, 201, 0.4);
}

.welcome-btn i {
    transition: transform 0.3s ease;
}

.welcome-btn:hover i {
    transform: translateX(3px);
}


.survey-question {
    width: 100%;
    max-width: 780px;
}

.question-text {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.15rem, 2.8vw, 1.35rem);
    font-weight: 700;
    color: var(--text-dark-dark);
    line-height: 1.35;
    letter-spacing: -0.45px;
    margin-bottom: 12px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85), 0 0 12px rgba(255, 255, 255, 0.5);
}

.question-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.question-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.88);
    border: 1.5px solid rgba(73, 80, 87, 0.12);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
    width: 100%;
    position: relative;
}

.question-option:hover {
    border-color: rgba(147, 60, 201, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

.question-option.is-selected {
    border-color: var(--primary-color);
    background: var(--primary-color-low);
}

.question-option.is-selected .option-letter {
    background: var(--primary-color);
    color: #fff;
}

.option-letter {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--primary-color-low);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Sora', sans-serif;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.question-option:hover .option-letter {
    background: var(--primary-color);
    color: #fff;
}

.option-text {
    flex: 1;
    font-family: 'Sora', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark-dark);
    line-height: 1.4;
}

.option-arrow {
    color: var(--text-dark-low);
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.question-option:hover .option-arrow {
    opacity: 1;
    transform: translateX(0);
}

.option-key {
    font-family: 'Sora', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: var(--text-dark-low);
    opacity: 0.5;
    padding: 2px 6px;
    border: 1px solid rgba(73, 80, 87, 0.12);
    border-radius: 4px;
    flex-shrink: 0;
    transition: opacity 0.25s ease;
}

.question-option:hover .option-key {
    opacity: 0;
}


.survey-lead {
    width: 100%;
    max-width: 100%;
}

.lead-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.15rem, 2.8vw, 1.35rem);
    font-weight: 700;
    color: var(--text-dark-dark);
    line-height: 1.3;
    letter-spacing: -0.45px;
    margin-bottom: 10px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
}

.lead-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 18px;
    max-width: 100%;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lead-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.lead-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lead-field-full {
    grid-column: 1 / -1;
}

.lead-field label {
    font-family: 'Sora', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark-low);
}

.lead-field input,
.lead-field textarea {
    width: 100%;
    height: 50px;
    border-radius: 12px;
    border: 1.5px solid rgba(73, 80, 87, 0.13);
    background: var(--card-bg);
    padding: 0 14px;
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    color: var(--text-dark-dark);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-field textarea {
    min-height: 92px;
    height: auto;
    padding: 12px 14px;
    resize: vertical;
}

.lead-field input:focus,
.lead-field textarea:focus {
    border-color: rgba(147, 60, 201, 0.45);
    box-shadow: 0 0 0 3px rgba(147, 60, 201, 0.08);
}

.lead-field.is-invalid input,
.lead-field.is-invalid textarea {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(255, 122, 89, 0.14);
}

.lead-error {
    min-height: 16px;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    line-height: 1.3;
    color: var(--secondary-color);
}

.lead-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 2px;
    cursor: pointer;
}

.lead-consent input {
    margin-top: 2px;
    accent-color: var(--primary-color);
}

.lead-consent span {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: var(--text-dark-low);
    line-height: 1.5;
}

#leadConsent.is-invalid + span {
    color: var(--secondary-color);
}

.lead-consent-error {
    margin-top: -2px;
}

.lead-submit-hint {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    line-height: 1.4;
    color: var(--text-dark-low);
}

.lead-submit {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 12px;
    background: var(--primary-color);
    color: #fff;
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(147, 60, 201, 0.3);
}

.lead-submit:hover {
    background: var(--primary-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(147, 60, 201, 0.38);
}

.lead-submit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}


.survey-complete {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: min(92vw, 720px);
    margin: 0 auto;
    padding: 28px clamp(16px, 4vw, 32px) 40px;
    box-sizing: border-box;
}

.complete-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-color-low);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}

.complete-icon i {
    color: var(--primary-color);
}

.complete-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.45rem, 4.5vw, 1.85rem);
    font-weight: 700;
    color: var(--text-dark-dark);
    letter-spacing: -0.8px;
    margin-bottom: 12px;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9);
}

.complete-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 480px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
}

.complete-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 12px;
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(147, 60, 201, 0.3);
}

.complete-btn:hover {
    background: var(--primary-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(147, 60, 201, 0.4);
    color: #fff;
}

.complete-summary {
    margin-top: 36px;
    width: 100%;
    max-width: 560px;
    text-align: left;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(73, 80, 87, 0.08);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    flex: 0 0 52%;
    min-width: 0;
    font-family: 'Sora', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark-low);
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.summary-value {
    flex: 0 0 48%;
    min-width: 0;
    font-family: 'Sora', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


@media (max-width: 1024px) {
    .survey-header {
        width: min(100% - 72px, 920px);
        padding: 24px 0;
    }

    .survey-stage {
        padding: 16px 18px 40px;
    }

    .survey-footer {
        width: min(100% - 72px, 920px);
        padding: 16px 0 24px;
    }

    .welcome-title {
        font-size: 42px;
    }

    .question-text {
        font-size: 32px;
        margin-bottom: 36px;
    }

    .lead-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .survey-header {
        width: calc(100% - 44px);
        padding: 20px 0;
    }

    .survey-stage {
        padding: 12px 14px 40px;
        align-items: flex-start;
    }

    .survey-footer {
        width: calc(100% - 44px);
        padding: 14px 0 22px;
    }

    .welcome-title {
        font-size: 32px;
        letter-spacing: -1.5px;
    }

    .welcome-desc {
        font-size: 14px;
    }

    .welcome-btn {
        padding: 14px 30px;
        font-size: 14px;
    }

    .question-text {
        font-size: 26px;
        letter-spacing: -1px;
        margin-bottom: 28px;
    }

    .lead-title {
        font-size: 26px;
        letter-spacing: -1px;
    }

    .lead-desc {
        font-size: 14px;
        margin-bottom: 22px;
    }

    .lead-grid {
        grid-template-columns: 1fr;
    }

    .lead-field-full {
        grid-column: auto;
    }

    .lead-field input,
    .lead-field textarea,
    .lead-submit {
        height: 46px;
    }

    .lead-field textarea {
        min-height: 84px;
    }

    .question-option {
        padding: 14px 16px;
        gap: 12px;
    }

    .option-letter {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .option-text {
        font-size: 14px;
    }

    .option-key {
        display: none;
    }

    .step-current {
        font-size: 22px;
    }

    .complete-title {
        font-size: 36px;
    }

    .complete-desc {
        font-size: 14px;
    }

    .complete-summary {
        max-width: 100%;
    }

    .summary-label {
        flex-basis: 50%;
    }

    .summary-value {
        flex-basis: 50%;
    }

}

@media (max-width: 480px) {
    .welcome-title {
        font-size: 28px;
    }

    .question-text {
        font-size: 22px;
    }

    .lead-title {
        font-size: 22px;
    }

    .lead-submit-hint,
    .lead-error,
    .lead-consent span {
        font-size: 12px;
    }

}
