/* --- Ortak Değişkenler ve Reset Stilleri --- */
:root {
    --primary-color: #0d6efd; --primary-hover: #0b5ed7; --secondary-color: #f8f9fa; --dark-color: #212529; --muted-color: #6c757d; --light-color: #ffffff; --border-color: #e9ecef; --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    --module-color-1: #007bff; --module-color-2: #6f42c1; --module-color-3: #fd7e14; --module-color-4: #198754; --module-color-5: #dc3545;
    --success-bg: #d1e7dd; --warning-bg: #fff3cd; --danger-bg: #f8d7da;
    --step-color-1: #6f42c1; --step-color-2: #fd7e14; --step-color-3: #198754;
}
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; margin: 0; background-color: var(--secondary-color); color: var(--dark-color); line-height: 1.7; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 15px; }

/* --- Header ve Logo --- */
.header { background-color: var(--light-color); padding: 15px 0; border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.header .container { display: flex; justify-content: space-between; align-items: center; }
.header .brand { display: flex; flex-direction: column; align-items: flex-start; text-decoration: none; color: var(--dark-color); }
.header .brand .logo-img { height: 68px; margin-bottom: 0px; }
.header .brand .main-title-wrapper { display: flex; align-items: baseline; margin-top: 5px; }
.header .brand .main-title-wrapper .compass-icon { font-size: 24px; margin-right: 8px; line-height: 1; color: var(--primary-color); }
.header .brand .logo-text, .header .brand .version-text { font-family: 'Arial Black', sans-serif; font-size: 20px; font-weight: 900; color: var(--primary-color); line-height: 1.2; text-align: left; display: inline; }
.header .brand .version-text { margin-left: 8px; }
.header nav a { margin: 0 15px; text-decoration: none; color: var(--dark-color); font-weight: 500; transition: color 0.3s ease; }
.header nav a:hover { color: var(--primary-color); }

.btn { padding: 10px 25px; border-radius: 50px; text-decoration: none; font-weight: 600; display: inline-block; text-align: center; border: 1px solid transparent; cursor: pointer; transition: all 0.3s ease; }
.btn-primary { background-color: var(--primary-color); color: var(--light-color); border-color: var(--primary-color); }
.btn-primary:hover { background-color: var(--primary-hover); border-color: var(--primary-hover); }

/* --- Hero Section --- */
.hero { position: relative; color: var(--light-color); text-align: center; padding: 120px 20px; background-image: url('https://images.pexels.com/photos/3184418/pexels-photo-3184418.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1'); background-size: cover; background-position: center; background-repeat: no-repeat; transition: opacity 0.5s ease, transform 0.5s ease, height 0.5s ease, padding 0.5s ease; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(15, 23, 42, 0.6); }
.hero-content { position: relative; z-index: 2; }
.hero h1 { font-size: 48px; text-shadow: 1px 1px 3px rgba(0,0,0,0.4); }
.hero p { font-size: 20px; max-width: 700px; margin: 0 auto 30px auto; text-shadow: 1px 1px 2px rgba(0,0,0,0.3); font-weight: 400; }
.btn-light { background-color: var(--light-color); color: var(--primary-color); }
#start-button {
    padding: 15px 40px;
    font-size: 20px;
    font-weight: 700;
}
.time-info { color: var(--light-color); font-size: 24px; font-weight: 500; margin-top: 25px; display: flex; align-items: center; justify-content: center; text-shadow: 1px 1px 3px rgba(0,0,0,0.4); }
.time-info i { margin-right: 12px; font-size: 28px; }

/* --- Diğer Açılış Bölümleri --- */
.section-title { font-size: 36px; font-weight: 700; color: var(--dark-color); margin-top: 0; margin-bottom: 60px; text-align: center; }
.steps-section { padding: 80px 0; background-color: var(--light-color); transition: opacity 0.5s ease, transform 0.5s ease, height 0.5s ease, padding 0.5s ease; }
.steps-container { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.step-item { flex-basis: calc(33.33% - 40px); max-width: 300px; background-color: #f8f9fa; border-radius: 15px; padding: 30px 20px; box-shadow: var(--box-shadow); border: 1px solid var(--border-color); display: flex; flex-direction: column; align-items: center; transition: transform 0.3s ease; text-align: center; }
.step-item:hover { transform: translateY(-10px); }
.step-item .icon-wrapper { width: 70px; height: 70px; border-radius: 50%; display: flex; justify-content: center; align-items: center; margin-bottom: 25px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); }
.step-item .icon-wrapper i { font-size: 35px; color: var(--light-color); }
.step-item:nth-child(1) .icon-wrapper { background-color: var(--step-color-1); } .step-item:nth-child(2) .icon-wrapper { background-color: var(--step-color-2); } .step-item:nth-child(3) .icon-wrapper { background-color: var(--step-color-3); }
.step-item h3 { font-size: 22px; font-weight: 700; margin-bottom: 15px; color: var(--dark-color); }
.step-item p { color: var(--muted-color); font-size: 15px; line-height: 1.6; }
.purpose-section { padding: 80px 0; background-color: #f8f9fa; transition: opacity 0.5s ease, transform 0.5s ease, height 0.5s ease, padding 0.5s ease; }
.purpose-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.purpose-card { background-color: var(--light-color); border-radius: 10px; padding: 30px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); border: 1px solid var(--border-color); }
.purpose-card h3 { font-size: 24px; font-weight: 600; color: var(--dark-color); margin-top: 0; margin-bottom: 20px; }
.purpose-card ul { list-style: none; padding: 0; margin: 0; }
.purpose-card ul li { display: flex; align-items: flex-start; margin-bottom: 15px; font-size: 16px; color: #495057; text-align: left; }
.purpose-card ul li i { color: var(--primary-color); margin-right: 12px; margin-top: 5px; flex-shrink: 0; }
.purpose-card ul li div { flex: 1; } 

/* --- KAYNAKLAR BÖLÜMÜ --- */
.resources-section { padding: 80px 0; background-color: var(--secondary-color); transition: opacity 0.5s ease, transform 0.5s ease, height 0.5s ease, padding 0.5s ease; }
.resources-container { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.resource-card { background-color: var(--light-color); border-radius: 8px; padding: 25px 30px; border: 1px solid var(--border-color); box-shadow: 0 4px 6px rgba(0,0,0,0.04); }
.resource-card h3 { font-size: 22px; margin-top: 0; margin-bottom: 20px; font-weight: 600; }
.resource-card ul { list-style: none; padding: 0; margin: 0; }
.resource-card ul li { border-bottom: 1px solid var(--border-color); padding: 12px 0; }
.resource-card ul li:last-child { border-bottom: none; }
.resource-card ul a { text-decoration: none; color: var(--primary-color); font-weight: 500; font-size: 16px; }
.resource-card ul a:hover { text-decoration: underline; }
.resource-card ul a i { margin-right: 8px; }

/* --- Main Content ve Analiz Animasyonları --- */
.main-content { padding: 80px 0; display: none; }
#analysis-container { min-height: 400px; }
.module { max-width: 960px; background-color: var(--light-color); margin: 0 auto; border-radius: 10px; overflow: hidden; box-shadow: var(--box-shadow); border: 1px solid var(--border-color); }
.module-body { padding: 30px; overflow: hidden; position: relative; }
.question-wrapper { position: relative; width: 100%; }
.slide-in { animation: slideInRight 0.6s forwards cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.slide-out { animation: slideOutLeft 0.6s forwards cubic-bezier(0.55, 0.085, 0.68, 0.53); }
@keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideOutLeft { from { transform: translateX(0); opacity: 1; } to { transform: translateX(-100%); opacity: 0; } }
.module-header { color: var(--light-color); padding: 20px; display: flex; justify-content: space-between; align-items: center; }
#module1 .module-header { background-color: var(--module-color-1); } #module2 .module-header { background-color: var(--module-color-2); } #module3 .module-header { background-color: var(--module-color-3); } #module4 .module-header { background-color: var(--module-color-4); } #module5 .module-header { background-color: var(--module-color-5); }
.module-header h2 { margin: 0; font-size: 22px; display: flex; align-items: center; }
.module-header h2 i { margin-right: 15px; font-size: 24px; width: 30px; text-align: center; }
.module-progress { font-size: 18px; font-weight: 600; background-color: rgba(255,255,255,0.2); padding: 5px 15px; border-radius: 20px; }
.question p { font-size: 18px; margin: 0 0 20px 0; font-weight: 500; }
.rating { display: flex; justify-content: space-around; align-items: center; }
.rating-item { display: flex; flex-direction: column; align-items: center; cursor: pointer; }
.rating-item span { font-size: 13px; font-weight: 500; color: var(--muted-color); transition: color 0.3s ease; }
.rating-item input[type="radio"] { display: none; }
.rating-item .radio-dot { width: 24px; height: 24px; border: 2px solid #ccc; border-radius: 50%; margin-bottom: 8px; display: grid; place-content: center; transition: all 0.3s ease; }
.rating-item .radio-dot::before { content: ""; width: 12px; height: 12px; border-radius: 50%; transition: transform 0.3s ease; }
.rating-item:hover .radio-dot, .rating-item input[type="radio"]:checked + .radio-dot { border-color: var(--active-color, var(--primary-color)); }
.rating-item:hover span, .rating-item input[type="radio"]:checked ~ span { color: var(--active-color, var(--primary-color)); }
.rating-item input[type="radio"]:checked + .radio-dot::before { transform: scale(1); background-color: var(--active-color, var(--primary-color)); }

.note-container { margin-top: 40px; }
.note-container p { font-family: 'Georgia', serif; font-style: italic; font-size: 15px; color: var(--muted-color); font-weight: 500; margin: 0 0 15px 0; text-align: left; }
.note-area { animation: fadeIn 0.5s; text-align: right; }
.note-area textarea { width: 100%; box-sizing: border-box; height: 60px; border-radius: 8px; border: 2px solid var(--border-color); padding: 10px; font-family: 'Poppins', sans-serif; font-size: 14px; margin-bottom: 10px; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.note-area textarea:focus { border-color: var(--primary-color); box-shadow: 0 0 8px rgba(13, 110, 253, 0.25); outline: none; }
.note-container.hidden { display: none; }

/* --- YENİ SONUÇ SAYFASI STİLLERİ --- */
.results-card { text-align: center; background-color: var(--light-color); padding: 40px; border-radius: 15px; box-shadow: var(--box-shadow); border: 1px solid var(--border-color); }
.results-card .lead { font-size: 18px; color: var(--muted-color); margin-bottom: 30px; max-width: 700px; margin-left: auto; margin-right: auto; }
.results-header-icon { font-size: 4em; display: inline-block; margin-bottom: 20px; color: var(--primary-color); }
.total-score-wrapper { color: var(--dark-color); padding: 25px; border-radius: 10px; margin-bottom: 30px; transition: background-color 0.5s ease; }
.total-score-wrapper.danger { background-color: var(--danger-bg); } .total-score-wrapper.warning { background-color: var(--warning-bg); } .total-score-wrapper.success { background-color: var(--success-bg); }
.total-score-wrapper h3 { margin: 0 0 10px 0; font-size: 20px; font-weight: 400; }
.total-score-wrapper .total-score { font-size: 48px; font-weight: 700; }
.badge-wrapper { margin-top: 20px; } .badge-wrapper .badge-icon { font-size: 60px; margin-bottom: 10px; line-height: 1; text-shadow: 0 4px 10px rgba(0,0,0,0.1); } .badge-wrapper .badge-title { font-size: 24px; font-weight: 700; }

.general-assessment { text-align: left; margin: 40px 0; padding: 25px; background-color: #f8f9fa; border-left: 5px solid var(--primary-color); border-radius: 5px; }
.general-assessment h3 { margin-top: 0; }
.general-assessment p { font-size: 16px; line-height: 1.8; }

.cta-section { margin: 40px 0; padding: 30px; background-color: var(--dark-color); color: var(--light-color); border-radius: 10px; text-align: center; }
.cta-section h3 { font-size: 24px; }
.cta-section p { color: #ced4da; }

.email-status { margin-top: 30px; font-size: 15px; color: var(--muted-color); height: 20px; }

.results-summary { list-style: none; padding: 0; margin: 40px 0 0 0; text-align: left; }
.results-summary h3 { margin-bottom: 20px; }
.results-summary li { display: flex; justify-content: space-between; align-items: flex-start; padding: 20px; border-radius: 8px; margin-bottom: 15px; background-color: var(--secondary-color); border-left: 5px solid; }
.module-details { flex: 1; }
.module-details .module-info { font-size: 18px; font-weight: 600; display: flex; align-items: center; margin-bottom: 10px; }
.module-details .module-info i { margin-right: 15px; font-size: 20px; width: 25px; }
.module-advice { font-size: 15px; color: var(--muted-color); padding-top: 10px; border-top: 1px solid var(--border-color); margin-top: 10px; }
.results-summary .module-final-score { font-size: 28px; font-weight: 700; }

#result-module1 { border-color: var(--module-color-1); } #result-module1 i, #result-module1 .module-final-score { color: var(--module-color-1); }
#result-module2 { border-color: var(--module-color-2); } #result-module2 i, #result-module2 .module-final-score { color: var(--module-color-2); }
#result-module3 { border-color: var(--module-color-3); } #result-module3 i, #result-module3 .module-final-score { color: var(--module-color-3); }
#result-module4 { border-color: var(--module-color-4); } #result-module4 i, #result-module4 .module-final-score { color: var(--module-color-4); }
#result-module5 { border-color: var(--module-color-5); } #result-module5 i, #result-module5 .module-final-score { color: var(--module-color-5); }

.footer { background-color: var(--dark-color); color: #adb5bd; padding: 40px 0; font-size: 14px; text-align: center; }
.footer .social-icons { margin-bottom: 20px; }
.footer .social-icons a { color: var(--light-color); font-size: 22px; margin: 0 10px; text-decoration: none; transition: color 0.3s ease; }
.footer .social-icons a:hover { color: var(--primary-color); }
.footer p { margin: 5px 0; } 
.footer .contact-links a { color: var(--light-color); text-decoration: none; } 
.footer .contact-links a:hover { text-decoration: underline; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* --- Modal Stilleri --- */
.modal-backdrop { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); display: none; justify-content: center; align-items: center; z-index: 2000; padding: 20px; box-sizing: border-box; }
#kvkk-modal { z-index: 2001; }
.modal-content { background-color: var(--light-color); padding: 40px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); max-width: 550px; width: 100%; position: relative; animation: fadeIn 0.4s; max-height: 90vh; overflow-y: auto; }
.modal-content.modal-lg { max-width: 800px; }
.modal-content h2 { margin-top: 0; color: var(--primary-color); }
.modal-intro { font-size: 15px; color: var(--muted-color); margin-bottom: 25px; line-height: 1.6; }
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 28px; font-weight: bold; color: #aaa; cursor: pointer; }
.close-modal:hover { color: var(--dark-color); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 500; font-size: 14px; }
.form-group input { width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: 5px; font-size: 16px; box-sizing: border-box; }
.form-group input:focus { border-color: var(--primary-color); box-shadow: 0 0 8px rgba(13, 110, 253, 0.25); outline: none; }
.form-group-checkbox { display: flex; align-items: center; margin-top: 20px; }
.form-group-checkbox input[type="checkbox"] { width: 1.2em; height: 1.2em; margin-right: 10px; }
.form-group-checkbox label { margin-bottom: 0; font-size: 14px; }
.form-group-checkbox a { color: var(--primary-color); text-decoration: underline; font-weight: 600; }
.kvkk-text { text-align: left; font-size: 14px; }
.kvkk-text h4 { margin-top: 20px; margin-bottom: 5px; }

@media (max-width: 992px) {
    .purpose-container, .resources-container { grid-template-columns: 1fr; }
    .header .brand { flex-direction: row; }
    .header .brand .logo-img { height: 40px; margin-right: 10px; margin-bottom: 0; }
    .header .brand .main-title-wrapper { margin-top: 0; }
    .header .brand .logo-text, .header .brand .version-text { font-size: 18px; }
    .header .brand .compass-icon { font-size: 22px; }
    .time-info { font-size: 18px; margin-top: 20px; }
    .time-info i { font-size: 22px; }
}
@media (max-width: 768px) {
    .hero h1 { font-size: 36px; } .hero p { font-size: 16px; } .steps-container { flex-direction: column; align-items: center; }
    .step-item { flex-basis: 90%; max-width: 100%; }
}