:root {
    --primary: #5851db;
    --primary-light: #7c74e8;
    --bg: #fafafa;
    --card: #ffffff;
    --text: #262626;
    --text-light: #8e8e8e;
    --border: #dbdbdb;
    --error: #ed4956;
    --success: #58c322;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.container-split {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.split-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.split-left {
    flex: 0 0 380px;
    position: sticky;
    top: 90px;
}

.split-right {
    flex: 1;
    min-width: 0;
}

.sticky-image-container {
    background: var(--card);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.sticky-image-container img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.sticky-image-label {
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

@media (max-width: 900px) {
    .split-layout {
        flex-direction: column;
    }
    
    .split-left {
        flex: none;
        width: 100%;
        position: relative;
        top: 0;
    }
    
    .split-right {
        width: 100%;
    }
    
    .sticky-image-container {
        margin-bottom: 16px;
    }
    
    .sticky-image-container img {
        max-height: 300px;
        object-fit: contain;
    }
}

.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--card);
    padding: 12px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.progress-bar {
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #c13584);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.progress-text {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
}

.section {
    display: none;
    animation: fadeIn 0.4s ease;
}

.section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.card {
    background: var(--card);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.card-subtitle {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text);
}

.form-label.required::after {
    content: ' *';
    color: var(--error);
}

.form-input, .form-select {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: var(--card);
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
}

.form-input:focus, .form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(88, 81, 219, 0.1);
}

.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%238e8e8e' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 44px;
}

.radio-group, .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-option, .checkbox-option {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.radio-option:hover, .checkbox-option:hover {
    border-color: var(--primary-light);
}

.radio-option input, .checkbox-option input {
    display: none;
}

.radio-option.selected, .checkbox-option.selected {
    border-color: var(--primary);
    background: rgba(88, 81, 219, 0.08);
}

.radio-circle {
    width: 22px;
    height: 22px;
    border: 2px solid var(--border);
    border-radius: 50%;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.radio-option.selected .radio-circle,
.checkbox-option.selected .radio-circle {
    border-color: var(--primary);
    background: var(--primary);
}

.radio-circle::after {
    content: '';
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.2s;
}

.radio-option.selected .radio-circle::after,
.checkbox-option.selected .radio-circle::after {
    transform: scale(1);
}

.option-text {
    font-size: 15px;
    color: var(--text);
}

.likert-container {
    margin-bottom: 24px;
}

.likert-question {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text);
}

.likert-scale {
    display: flex;
    justify-content: space-between;
    gap: 6px;
}

.likert-option {
    flex: 1;
    text-align: center;
}

.likert-option input {
    display: none;
}

.likert-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 4px;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.likert-btn:hover {
    border-color: var(--primary-light);
}

.likert-option input:checked + .likert-btn {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

.likert-number {
    font-size: 18px;
    font-weight: 700;
}

.likert-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 11px;
    color: var(--text-light);
}

.semantic-container {
    margin-bottom: 24px;
}

.semantic-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.semantic-label {
    width: 80px;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
}

.semantic-label.left { text-align: right; }
.semantic-label.right { text-align: left; }

.semantic-scale {
    flex: 1;
    display: flex;
    justify-content: space-between;
    gap: 4px;
}

.semantic-option {
    flex: 1;
}

.semantic-option input {
    display: none;
}

.semantic-btn {
    display: block;
    width: 100%;
    height: 40px;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.semantic-btn:hover {
    border-color: var(--primary-light);
}

.semantic-option input:checked + .semantic-btn {
    border-color: var(--primary);
    background: var(--primary);
}

.instagram-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.instagram-post {
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .instagram-post {
        max-height: 60vh;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #c13584);
    color: white;
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 81, 219, 0.4);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: var(--bg);
    color: var(--text);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
}

.btn-group {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.btn-group .btn {
    flex: 1;
}

.welcome-screen {
    text-align: center;
    padding: 40px 20px;
}

.welcome-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), #c13584);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.welcome-icon svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.welcome-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.welcome-text {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.7;
}

.consent-box {
    background: var(--bg);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    max-height: 300px;
    overflow-y: auto;
    font-size: 13px;
    line-height: 1.8;
    color: var(--text-light);
}

.consent-box p {
    margin-bottom: 12px;
}

.consent-box p:last-child {
    margin-bottom: 0;
}

.consent-box a {
    color: var(--text);
    text-decoration: underline;
}

.consent-box a:hover {
    color: var(--text-light);
}

.consent-box h4 {
    color: var(--text);
    margin: 16px 0 8px;
    font-size: 14px;
}

.consent-box h4:first-child {
    margin-top: 0;
}

.debriefing-box {
    background: linear-gradient(135deg, rgba(88, 81, 219, 0.05), rgba(193, 53, 132, 0.05));
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 24px;
    margin: 20px 0;
}

.debriefing-box h4 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 16px;
}

.debriefing-box p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.thankyou-screen {
    text-align: center;
    padding: 60px 20px;
}

.thankyou-icon {
    width: 100px;
    height: 100px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.thankyou-icon svg {
    width: 50px;
    height: 50px;
    stroke: white;
}

.error-message {
    color: var(--error);
    font-size: 13px;
    margin-top: 6px;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

.form-group.error .form-input,
.form-group.error .form-select {
    border-color: var(--error);
}

@media (max-width: 480px) {
    .container {
        padding: 12px;
    }
    
    .card {
        padding: 20px 16px;
        border-radius: 12px;
    }
    
    .likert-btn {
        padding: 10px 2px;
    }
    
    .likert-number {
        font-size: 16px;
    }
    
    .semantic-label {
        width: 60px;
        font-size: 11px;
    }
    
    .btn-group {
        flex-direction: column;
    }
}

.progress-spacer {
    height: 70px;
}

/* Görsel ayırıcı - başlık yerine */
.section-divider {
    height: 2px;
    background: linear-gradient(90deg, var(--primary), #c13584);
    margin: 32px 0 24px;
    border-radius: 1px;
}

/* Dark mode */
:root.dark-mode {
    --primary: #7c74e8;
    --primary-light: #9d96f5;
    --bg: #1a1a1a;
    --card: #2d2d2d;
    --text: #e5e5e5;
    --text-light: #a0a0a0;
    --border: #404040;
    --error: #ff6b7a;
    --success: #6dd33f;
}