/* Reset ve Temel Ayarlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Ana Sayfa Stilleri */
.hero-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    text-align: center;
    animation: slideUp 0.6s ease-out;
}

.logo-area {
    margin-bottom: 30px;
}

.logo {
    width: 100px;
    height: 100px;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.main-title {
    font-size: 2.5em;
    color: #4A90E2;
    margin-bottom: 10px;
    font-weight: 700;
}

.sub-title {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 30px;
}

.info-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
}

.info-card h3 {
    color: #4A90E2;
    margin-bottom: 15px;
}

.features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 20px;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 1.5em;
}

/* Buton Stilleri */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1em;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(74,144,226,0.3);
}

.btn-secondary {
    background: #27AE60;
    color: white;
}

.btn-secondary:hover {
    background: #229954;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 20px 40px;
    font-size: 1.1em;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

/* Form Stilleri */
.form-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    margin: 40px auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    animation: slideUp 0.6s ease-out;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h1 {
    color: #4A90E2;
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.label-icon {
    font-size: 1.2em;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px; /* iOS zoom engelleme */
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 0 3px rgba(74,144,226,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s;
}

.radio-option:hover {
    border-color: #4A90E2;
    background: #f0f7ff;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-option input[type="radio"]:checked + .radio-custom {
    background: #4A90E2;
    border-color: #4A90E2;
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    transform: scale(1);
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s;
}

.radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

/* Simülasyon Stilleri */
.simulation-container {
    max-width: 900px;
    margin: 0 auto;
}

.progress-section {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 600;
    color: #666;
}

.progress-bar {
    height: 20px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4A90E2, #27AE60);
    transition: width 0.5s ease;
    border-radius: 10px;
}

.question-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.scene-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.scene-number {
    background: #4A90E2;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    white-space: nowrap;
}

.scene-title {
    color: #333;
    flex: 1;
}

.situation-box,
.question-box {
    background: #f8f9fa;
    border-left: 4px solid #4A90E2;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 8px;
}

.situation-box h3,
.question-box h3 {
    color: #4A90E2;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.options-container {
    margin: 30px 0;
}

.option-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s;
    -webkit-tap-highlight-color: transparent;
}

.option-card:hover {
    border-color: #4A90E2;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(74,144,226,0.2);
}

.option-card.selected {
    background: #f0f7ff;
    border-color: #4A90E2;
    box-shadow: 0 5px 20px rgba(74,144,226,0.3);
}

.option-card input[type="radio"] {
    display: none;
}

.option-card label {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    cursor: pointer;
}

.option-letter {
    background: #4A90E2;
    color: white;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    flex-shrink: 0;
}

.option-text {
    flex: 1;
    line-height: 1.6;
}

.btn-submit {
    width: 100%;
    justify-content: center;
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-icon {
    display: inline-block;
}

/* Modal Stilleri */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideUp 0.3s;
}

.modal-header {
    padding: 30px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.modal-body {
    padding: 30px;
    line-height: 1.8;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 2px solid #f0f0f0;
    text-align: right;
}

.score-badge {
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9em;
}

.score-badge.success {
    background: #d4edda;
    color: #155724;
}

.score-badge.error {
    background: #f8d7da;
    color: #721c24;
}

/* Sonuç Sayfası Stilleri */
.result-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.result-header {
    text-align: center;
    margin-bottom: 30px;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.result-header h1 {
    color: #4A90E2;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.result-header p {
    color: #666;
    font-size: 1.1em;
}

.score-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin-bottom: 30px;
    border: 3px solid;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
}

.score-number {
    font-size: 3em;
    font-weight: bold;
}

.score-max {
    font-size: 1.2em;
    opacity: 0.9;
}

.score-level {
    font-size: 2em;
    margin-bottom: 15px;
}

.score-description {
    font-size: 1.1em;
    line-height: 1.6;
    color: #666;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-icon {
    font-size: 2em;
    display: block;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 2.5em;
    font-weight: bold;
    color: #4A90E2;
    display: block;
}

.stat-label {
    color: #666;
    font-size: 0.9em;
    margin-top: 5px;
    display: block;
}

/* Wrong Answers Section */
.wrong-answers-section {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.wrong-answers-section h3 {
    color: #E74C3C;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.section-desc {
    color: #666;
    margin-bottom: 25px;
}

.wrong-answers-list {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 10px;
}

.wrong-answer-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid #E74C3C;
    transition: all 0.3s;
}

.wrong-answer-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.wrong-answer-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.scene-badge {
    background: #E74C3C;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
}

.wrong-answer-header h4 {
    color: #333;
    margin: 0;
    flex: 1;
}

.wrong-answer-content {
    color: #555;
    line-height: 1.6;
}

.question-text {
    margin-bottom: 10px;
}

.your-answer {
    margin-bottom: 15px;
    color: #E74C3C;
}

.feedback-box {
    background: white;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    margin-top: 10px;
}

.feedback-box strong {
    color: #27AE60;
    display: block;
    margin-bottom: 8px;
}

/* AI Support Section */
.ai-support-section {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.ai-support-section h3 {
    color: #4A90E2;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.ai-message {
    background: linear-gradient(135deg, #f0f7ff, #e8f4fd);
    border-radius: 15px;
    padding: 20px;
    border: 2px solid #4A90E2;
    min-height: 100px;
    position: relative;
}

.ai-message p {
    color: #333;
    line-height: 1.8;
    margin: 0;
}

.ai-loading {
    text-align: center;
    color: #4A90E2;
}

.ai-loading::after {
    content: '...';
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* Result Actions */
.result-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Animasyonlar */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Geliştirilmiş Mobil Responsive Tasarım */
@media (max-width: 768px) {
    /* Genel */
    .container {
        padding: 10px;
    }
    
    /* Ana Sayfa */
    .hero-section {
        padding: 20px;
        border-radius: 15px;
    }
    
    .main-title {
        font-size: 1.8em;
    }
    
    .sub-title {
        font-size: 1em;
    }
    
    .logo {
        width: 80px;
        height: 80px;
    }
    
    /* Form */
    .form-container {
        padding: 20px;
        margin: 20px auto;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .radio-option {
        width: 100%;
    }
    
    /* Features */
    .features {
        flex-direction: column;
    }
    
    .feature-item {
        width: 100%;
    }
    
    /* Buttons */
    .action-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .btn-lg {
        padding: 15px 30px;
    }
    
    /* Simülasyon */
    .question-card {
        padding: 20px;
    }
    
    .scene-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .scene-title {
        font-size: 1.2em;
    }
    
    .situation-box,
    .question-box {
        padding: 15px;
    }
    
    .option-card {
        padding: 15px;
    }
    
    .option-card:hover {
        transform: none;
    }
    
    .option-card.selected {
        transform: none;
    }
    
    /* Modal */
    .modal-content {
        margin: 10px;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-footer {
        padding: 15px 20px;
    }
    
    /* Sonuç Sayfası */
    .result-header h1 {
        font-size: 1.8em;
    }
    
    .score-card {
        padding: 20px;
    }
    
    .score-circle {
        width: 120px;
        height: 120px;
    }
    
    .score-number {
        font-size: 2.5em;
    }
    
    .score-level {
        font-size: 1.5em;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    /* Wrong Answers */
    .wrong-answers-section {
        padding: 20px;
    }
    
    .wrong-answer-card {
        padding: 15px;
    }
    
    .wrong-answer-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    /* AI Support */
    .ai-support-section {
        padding: 20px;
    }
    
    .ai-message {
        padding: 15px;
    }
}

/* Daha Küçük Ekranlar için (480px ve altı) */
@media (max-width: 480px) {
    .main-title {
        font-size: 1.5em;
    }
    
    .sub-title {
        font-size: 0.9em;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9em;
    }
    
    .question-card {
        padding: 15px;
        border-radius: 15px;
    }
    
    .scene-number {
        padding: 3px 10px;
        font-size: 0.85em;
    }
    
    .scene-title {
        font-size: 1.1em;
    }
    
    .option-letter {
        width: 25px;
        height: 25px;
        font-size: 0.9em;
    }
    
    .option-text {
        font-size: 0.95em;
    }
    
    .progress-bar {
        height: 15px;
    }
    
    .progress-info {
        font-size: 0.85em;
    }
    
    .score-circle {
        width: 100px;
        height: 100px;
    }
    
    .score-number {
        font-size: 2em;
    }
    
    .score-max {
        font-size: 1em;
    }
    
    .stat-value {
        font-size: 2em;
    }
}

/* Dokunmatik Cihazlar için İyileştirmeler */
@media (hover: none) {
    .option-card:hover {
        transform: none;
        border-color: #e0e0e0;
    }
    
    .option-card:active {
        border-color: #4A90E2;
        background: #f0f7ff;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .btn:active {
        transform: scale(0.98);
    }
    
    .wrong-answer-card:hover {
        transform: none;
    }
}

/* iOS Özel Düzeltmeler */
@supports (-webkit-touch-callout: none) {
    input, select, textarea {
        font-size: 16px !important;
    }
    
    .modal {
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
    }
}

/* Landscape Modu için */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        padding: 15px;
    }
    
    .question-card {
        padding: 15px;
    }
    
    .modal-content {
        max-height: 85vh;
    }
    
    .score-circle {
        width: 80px;
        height: 80px;
    }
    
    .score-number {
        font-size: 1.8em;
    }
}</document_content>
</invoke>