/* --- GENEL AYARLAR --- */
* {
    box-sizing: border-box; /* Tüm kutu hesaplamalarını sabitler */
}

html {
    scroll-behavior: smooth; /* Menü linklerine tıklayınca yumuşak kayar */
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a { text-decoration: none; }

/* --- HEADER --- */
header {
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
}

.xyz { color: #e74c3c; } /* XYZ vurgusu */

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

nav a {
    color: #555;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover { color: #3498db; }

/* --- HERO SECTION --- */
.hero {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #4ca1af 100%);
    color: white;
}

.hero h1 { font-size: 48px; margin-bottom: 10px; margin-top: 0; }
.hero p { font-size: 18px; opacity: 0.9; margin-bottom: 40px; }

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 300px;
    color: #333;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.card:hover { transform: translateY(-5px); }

/* Butonlar */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #3498db;
    color: white;
}
.btn-primary:hover { background-color: #2980b9; }

.btn-secondary {
    background-color: #27ae60;
    color: white;
}
.btn-secondary:hover { background-color: #219150; }

.full-width {
    width: 100%;
    font-size: 16px;
}

/* --- NASIL ÇALIŞIR --- */
#nasil-calisir {
    padding: 60px 0;
    text-align: center;
}

.steps {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
    flex-wrap: wrap;
}

.step {
    width: 30%;
    min-width: 250px;
    margin-bottom: 20px;
}

.icon {
    width: 50px;
    height: 50px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 20px;
    font-weight: bold;
}

/* --- FOOTER --- */
footer {
    background: #2c3e50;
    color: #bdc3c7;
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
}

/* --- FORM ORTAK STİLLERİ --- */
.form-container {
    background: white;
    max-width: 600px;
    margin: 40px auto;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.highlight {
    color: #27ae60;
    font-weight: bold;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

/* INPUT STİLLERİ (URL Tipi Eklendi) */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="url"], /* EKLENDİ: Link kutusu düzgün görünsün */
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    background-color: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.2);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #7f8c8d;
    font-size: 12px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.half {
    width: 50%;
}

/* Checkbox Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
}

.checkbox-grid label {
    font-weight: normal;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.iban-box input {
    font-family: monospace;
    letter-spacing: 1px;
    background-color: #fcfcfc;
}

/* --- GELİŞTİRİCİ ÖDEME DÜZENİ --- */
.checkout-layout {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 60px;
    align-items: flex-start;
}

.form-section {
    flex: 2;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.summary-section {
    flex: 1;
    position: sticky;
    top: 20px;
}

.sub-title {
    font-size: 18px;
    color: #3498db;
    border-bottom: 2px solid #f0f2f5;
    padding-bottom: 10px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.credit-card-box {
    background: #f8f9fa;
    padding: 20px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

.summary-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-top: 5px solid #3498db;
}

.summary-card h3 {
    margin-top: 0;
    color: #2c3e50;
}

.summary-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.summary-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #555;
    font-size: 15px;
}

.summary-card hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 20px 0;
}

.total-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    color: #2c3e50;
}

.total-price .price {
    color: #27ae60;
    font-size: 24px;
}

.info-box {
    background: #eafaf1;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    font-size: 13px;
    color: #27ae60;
}

.info-box p {
    margin: 5px 0;
}

/* --- MEDYA SORGULARI (MOBİL UYUMLULUK) --- */
@media (max-width: 768px) {
    .checkout-layout {
        flex-direction: column;
    }
    .summary-section {
        width: 100%;
        position: static;
        order: -1; /* Özet mobilde üste çıkar */
        margin-bottom: 20px;
    }
    .form-section {
        width: 100%;
        padding: 20px;
    }
    .hero h1 { font-size: 32px; }
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
    }
    .half {
        width: 100%;
    }
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    .form-container {
        padding: 20px;
        width: 90%;
    }
}
/* --- PANEL (DASHBOARD) STİLLERİ --- */

.dashboard-container {
    padding-top: 40px;
    padding-bottom: 60px;
}

.section-title {
    color: #2c3e50;
    margin-bottom: 20px;
    border-left: 5px solid #3498db;
    padding-left: 15px;
}

.user-welcome {
    font-weight: bold;
    color: #2c3e50;
}

/* İstatistik Kartları (Tester) */
.stats-row {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    flex: 1;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    text-align: center;
}

.stat-card h3 {
    margin: 0;
    font-size: 14px;
    color: #7f8c8d;
}

.stat-card .value {
    font-size: 28px;
    font-weight: bold;
    color: #27ae60;
    margin-top: 10px;
}

.stat-card .value.pending { color: #f39c12; }

/* Görev Kartları (Tester) */
.task-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    border-left: 5px solid #3498db;
}

.task-card.completed {
    border-left-color: #bdc3c7;
    opacity: 0.7;
}

.task-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.task-icon {
    font-size: 30px;
    background: #f0f2f5;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.task-info h4 { margin: 0; font-size: 18px; }
.status { font-size: 13px; margin: 5px 0 0; }
.status.warning { color: #e67e22; font-weight: bold; }
.status.success { color: #27ae60; font-weight: bold; }

.task-reward {
    margin-left: auto;
    font-size: 20px;
    font-weight: bold;
    color: #27ae60;
}

.task-body {
    background: #fafafa;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 14px;
}

.progress-bar {
    background: #e0e0e0;
    height: 8px;
    border-radius: 4px;
    margin-top: 10px;
    overflow: hidden;
}

.progress-bar .fill {
    background: #3498db;
    height: 100%;
}

.task-actions {
    display: flex;
    gap: 10px;
}

.btn-sm {
    padding: 8px 15px;
    font-size: 13px;
    margin-top: 0;
}

/* Tablo Stilleri (Developer) */
.app-table-container {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow-x: auto;
}

.app-table {
    width: 100%;
    border-collapse: collapse;
}

.app-table th {
    text-align: left;
    padding: 15px;
    color: #7f8c8d;
    font-weight: 500;
    border-bottom: 1px solid #eee;
}

.app-table td {
    padding: 15px;
    border-bottom: 1px solid #f9f9f9;
    vertical-align: middle;
}

.app-name-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.badge.active { background: #e8f8f5; color: #27ae60; }
.badge.pending { background: #fef9e7; color: #f39c12; }

.btn-text {
    background: none;
    border: none;
    color: #3498db;
    cursor: pointer;
    font-weight: bold;
    text-decoration: underline;
}

/* Rapor Kartları */
.reports-section { margin-top: 40px; }

.report-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.report-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.report-meta {
    font-size: 12px;
    color: #95a5a6;
    margin-bottom: 10px;
}

/* Mobil Uyum */
@media (max-width: 600px) {
    .stats-row { flex-direction: column; }
    .task-header { flex-wrap: wrap; }
    .task-reward { margin-left: 0; margin-top: 10px; width: 100%; }
}
/* --- YENİ EKLENEN DETAY BÖLÜMLERİ --- */

.details-section {
    padding: 80px 0;
    background-color: #fff;
}

.details-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: #2c3e50;
}

.split-layout {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.info-box {
    flex: 1;
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    min-width: 300px;
    position: relative;
    overflow: hidden;
}

/* Geliştirici Kutusu Tasarımı */
.dev-box {
    border-top: 5px solid #3498db;
}

/* Tester Kutusu Tasarımı */
.test-box {
    border-top: 5px solid #27ae60;
}

.box-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.info-box h3 {
    margin-top: 0;
    font-size: 24px;
    color: #2c3e50;
}

.check-list, .rule-list {
    list-style: none;
    padding: 0;
    margin-top: 25px;
}

.check-list li, .rule-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    line-height: 1.5;
}

/* Tik İşareti */
.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
    font-size: 18px;
}

/* Ünlem İşareti (Kurallar için) */
.rule-list li::before {
    content: '⚠️';
    position: absolute;
    left: 0;
    font-size: 14px;
    top: 3px;
}

/* --- SSS (FAQ) BÖLÜMÜ --- */
#sss {
    padding: 80px 0;
    background-color: #eef2f3;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.faq-item {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.faq-item h4 {
    margin-top: 0;
    color: #2c3e50;
    margin-bottom: 10px;
}

.faq-item p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* Mobil Uyumluluk Güncellemesi */
@media (max-width: 768px) {
    .split-layout {
        flex-direction: column;
    }
    .hero h1 {
        font-size: 32px;
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
}