/* Puan Hesaplama Sayfası Stilleri */
/* Renkler: Mavi #121b7e, Turuncu #FF9800, Gri #f5f5f5 */
/* Font: Inter 500, Inter 700 */

.calculator-main {
    max-width: 1400px;
    margin: 1.5rem auto;
    padding: 0 1.5rem;
    font-family: 'Inter', 'Inter Fallback', sans-serif;
    font-weight: 500;
}

/* Ana Başlık */
.main-header {
    background: #121b7e;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    color: white;
    text-align: center;
    margin-bottom: 2rem;
    border: 3px solid #121b7e;
}

.main-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.main-header i {
    margin-right: 0.5rem;
    font-size: 2rem;
}

.main-header p {
    font-size: 1rem;
    font-weight: 500;
}

/* Calculator Sections */
.calculator-section {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 2px solid #e0e0e0;
}

/* Section Headers */
.section-header-calc {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f5f5f5;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    color: #121b7e;
    margin-bottom: 1.5rem;
    border-left: 4px solid #121b7e;
}

.section-header-calc i {
    font-size: 1.2rem;
}

.section-header-calc h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.tyt-header {
    border-left-color: #121b7e;
}

.ayt-header {
    border-left-color: #121b7e;
}

.results-header {
    background: #fff8f0;
    border-left-color: #FF9800;
    color: #FF9800;
}

/* Diploma Input - Compact Version */
.diploma-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.diploma-input-compact {
    flex: 0 0 auto;
}

.diploma-input-compact label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
    text-align: center;
}

.input-field-compact {
    width: 150px;
    padding: 0.6rem;
    font-size: 1.2rem;
    border: 2px solid #121b7e;
    border-radius: 6px;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: 700;
    background: white;
}

.input-field-compact:focus {
    outline: none;
    border-color: #FF9800;
    background: white;
}

/* Previous Placement Toggle */
.previous-placement {
    flex: 0 0 auto;
    text-align: center;
}

.switch-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.switch-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: #121b7e;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #e0e0e0;
    transition: 0.3s;
    border-radius: 30px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background: #FF9800;
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(30px);
}

.info-text {
    margin-top: 0.3rem;
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
}

/* Test Grid */
.test-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.test-grid.single-item {
    grid-template-columns: minmax(200px, 300px);
    justify-content: center;
}

/* Test Cards */
.test-card {
    background: white;
    border: 2px solid #121b7e;
    border-radius: 6px;
    padding: 1rem;
}

.test-card h3 {
    color: #121b7e;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    text-align: center;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.input-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.input-group label {
    font-weight: 500;
    color: #333;
    font-size: 0.85rem;
}

.input-mini {
    width: 50px;
    padding: 0.3rem;
    font-size: 0.9rem;
    border: 1px solid #121b7e;
    border-radius: 4px;
    text-align: center;
    font-weight: 700;
}

.input-mini:focus {
    outline: none;
    border-color: #FF9800;
}

/* Net Display */
.net-display {
    background: #f5f5f5;
    padding: 0.5rem;
    border-radius: 4px;
    text-align: center;
    margin-top: 0.5rem;
    font-weight: 700;
    color: #121b7e;
    font-size: 0.9rem;
}

.net-value {
    font-size: 1rem;
    color: #121b7e;
}

/* Subsections */
.subsection {
    margin-bottom: 1.2rem;
}

.subsection-title {
    color: #121b7e;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid #121b7e;
}

/* Calculate Button */
.calculate-btn-container {
    text-align: center;
    margin: 2rem 0;
}

.calculate-btn {
    background: #121b7e;
    color: white;
    border: 3px solid #121b7e;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.calculate-btn:hover {
    background: #FF9800;
    border-color: #FF9800;
}

.calculate-btn:active {
    transform: scale(0.98);
}

.calculate-btn i {
    font-size: 1.2rem;
}

/* Results Section */
.results-section {
    margin-top: 2rem;
}

.info-box {
    background: #fff8f0;
    border-left: 4px solid #FF9800;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.info-box p {
    color: #333;
    line-height: 1.4;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
}

.info-box strong {
    color: #FF9800;
    font-weight: 700;
}

/* Results Container */
.results-container {
    margin-top: 1.5rem;
}

.year-result {
    background: white;
    border-radius: 6px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 2px solid #e0e0e0;
}

.year-title {
    font-size: 1.2rem;
    color: #121b7e;
    margin-bottom: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.year-title i {
    color: #FF9800;
    font-size: 1.2rem;
}

/* Table Wrapper - Mobil için yatay scroll */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1rem 0;
    border-radius: 6px;
}

/* Results Table */
.results-table {
    width: 100%;
    min-width: 600px; /* Minimum genişlik - mobilde scroll edilebilir */
    border-collapse: collapse;
    border: 2px solid #121b7e;
    border-radius: 6px;
    overflow: hidden;
}

.results-table thead {
    background: #121b7e;
    color: white;
}

.results-table th {
    padding: 0.8rem;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.results-table tbody tr {
    background: white;
}

.results-table tbody tr:nth-child(even) {
    background: #f5f5f5;
}

.results-table td {
    padding: 0.8rem;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
}

.results-table td:first-child {
    font-weight: 700;
    color: #121b7e;
    font-size: 0.95rem;
}

/* Info Section */
.info-section {
    margin: 2rem 0;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 6px;
    border: 2px solid #e0e0e0;
    text-align: center;
}

.info-card i {
    font-size: 2rem;
    color: #121b7e;
    margin-bottom: 0.5rem;
}

.info-card h3 {
    color: #121b7e;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.info-card p {
    color: #666;
    line-height: 1.4;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .calculator-main {
        padding: 0 1rem;
    }

    .main-header {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }

    .main-header h1 {
        font-size: 1.5rem;
    }

    .main-header i {
        font-size: 1.5rem;
    }

    .main-header p {
        font-size: 0.9rem;
    }

    .calculator-section {
        padding: 1rem;
    }

    .section-header-calc {
        padding: 0.8rem 1rem;
    }

    .section-header-calc h2 {
        font-size: 1rem;
    }

    /* Diploma container responsive */
    .diploma-container {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }

    .diploma-input-compact {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .input-field-compact {
        width: 100%;
        max-width: 200px;
    }

    .switch-text {
        font-size: 0.85rem;
    }

    .test-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .test-card {
        padding: 0.8rem;
    }

    .test-card h3 {
        font-size: 0.8rem;
    }

    .input-mini {
        width: 40px;
        padding: 0.2rem;
        font-size: 0.8rem;
    }

    .calculate-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .year-title {
        font-size: 1rem;
    }

    .table-wrapper {
        margin: 0.5rem 0;
    }

    .results-table {
        font-size: 0.75rem;
        min-width: 550px; /* Tablet için optimize */
    }

    .results-table th,
    .results-table td {
        padding: 0.5rem 0.4rem;
        white-space: nowrap; /* Metinleri kırma */
    }

    .info-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .main-header h1 {
        font-size: 1.3rem;
    }

    .main-header i {
        font-size: 1.3rem;
    }

    .main-header p {
        font-size: 0.85rem;
    }

    .calculator-section {
        padding: 0.8rem;
    }

    .section-header-calc {
        padding: 0.6rem 0.8rem;
    }

    .section-header-calc h2 {
        font-size: 0.9rem;
    }

    .section-header-calc i {
        font-size: 0.9rem;
    }

    /* Diploma container mobile */
    .diploma-container {
        gap: 1rem;
        width: 100%;
    }

    .diploma-input-compact {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .input-field-compact {
        width: 100%;
        max-width: 150px;
        font-size: 1.1rem;
        padding: 0.5rem;
    }

    .switch-text {
        font-size: 0.8rem;
    }

    .toggle-switch {
        width: 50px;
        height: 26px;
    }

    .toggle-slider:before {
        height: 18px;
        width: 18px;
    }

    .toggle-switch input:checked + .toggle-slider:before {
        transform: translateX(24px);
    }

    .info-text {
        font-size: 0.7rem;
    }

    /* 4 ders tek satırda mobilde */
    .test-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }

    .test-card {
        padding: 0.5rem;
    }

    .test-card h3 {
        font-size: 0.65rem;
        margin-bottom: 0.5rem;
        padding-bottom: 0.3rem;
    }

    .input-group {
        margin-bottom: 0.3rem;
    }

    .input-group label {
        font-size: 0.65rem;
    }

    .input-mini {
        width: 30px;
        padding: 0.15rem;
        font-size: 0.7rem;
    }

    .net-display {
        font-size: 0.65rem;
        padding: 0.3rem;
        margin-top: 0.3rem;
    }

    .net-value {
        font-size: 0.75rem;
    }

    .calculate-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .calculate-btn i {
        font-size: 0.95rem;
    }

    .table-wrapper {
        margin: 0.5rem -0.8rem; /* Negatif margin ile tam genişlik */
        padding: 0 0.8rem;
    }

    .results-table {
        font-size: 0.65rem;
        min-width: 500px; /* Mobil için optimize */
    }

    .results-table th,
    .results-table td {
        padding: 0.4rem 0.25rem;
        white-space: nowrap;
    }
    
    .results-table th {
        font-size: 0.6rem;
    }
    
    .year-result {
        padding: 0.8rem;
    }
    
    .year-title {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #121b7e;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0d1557;
}

/* === Minimal override: tek çizgi sistemi & net hiyerarşi === */

/* 0) İnce, tutarlı çizgi rengi */
:root{
  --line:#e5e7eb;         /* açık gri */
  --brand:#121b7e;        /* mavi */
  --accent:#FF9800;       /* turuncu */
  --bg-soft:#f9fafb;      /* yumuşak arkaplan */
  --text:#111827;         /* metin */
}

/* 1) Ana başlık: çerçeveyi incelt, dolgunluk kalsın */
.main-header{
  border: 1px solid var(--brand);
  margin-bottom: 1.25rem;
}
.main-header h1{ font-size: 1.9rem; }
.main-header p{ opacity: .95; }

/* 2) Section header: kutu arkaplanı kaldır, tek alt çizgi bırak */
.section-header-calc{
  background: transparent;
  color: var(--brand);
  padding: .75rem 0;
  border-radius: 0;
  margin-bottom: 1rem;
  border: none;
  border-bottom: 1px solid var(--line); /* sadece alt çizgi */
  gap: .5rem;
}
.section-header-calc i{ font-size: 1rem; }
.section-header-calc h2{ font-size: 1.1rem; font-weight: 700; }

/* TYT/AYT/Results özel renk vurgusu yerine tek sistem */
.tyt-header, .ayt-header{ border-left: none; }
.results-header{
  background: transparent;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}

/* 3) Bölüm kapsayıcı: kenarı incelt, padding’i hafif kıs */
.calculator-section{
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

/* 4) Kart başlıkları: alt çizgiyi kaldır (çizgi kalabalığını azalt) */
.test-card{
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .9rem;
}
.test-card h3{
  border-bottom: 0;
  margin-bottom: .5rem;
  padding-bottom: 0;
  font-size: .9rem;
  color: var(--text);
  font-weight: 600;
}

/* 5) Alt başlık (subsection): kısa vurgu çizgisi */
.subsection{ margin-bottom: 1rem; }
.subsection-title{
  border: none;
  position: relative;
  padding-bottom: .35rem;
  margin-bottom: .75rem;
  font-size: .95rem;
}
.subsection-title::after{
  content:"";
  display:block;
  width: 56px; height: 2px;
  background: var(--brand);
  margin-top: .35rem;
}

/* 6) Form elemanları: mavi 2px kenar → 1px nötr; focus’ta renkli */
.input-field-compact{
  border: 1px solid var(--line);
}
.input-field-compact:focus{
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgb(18 27 126 / 12%);
}
.input-mini{
  border: 1px solid var(--line);
}
.input-mini:focus{
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgb(255 152 0 / 15%);
}

/* 7) Net alanı: daha sessiz */
.net-display{
  background: var(--bg-soft);
  color: var(--text);
  font-weight: 600;
}

/* 8) Bilgi kutusu: ince şerit, yumuşak arka plan */
.info-box{
  background: #fffaf3;
  border-left: 3px solid var(--accent);
  border-radius: 4px;
}

/* 9) Sonuç kartı & tablo: çift kenarı engelle, 1px çizgi kullan */
.year-result{
  border: 1px solid var(--line);
  padding: 1.25rem;
}
.results-table{
  border: 1px solid var(--line);
  border-radius: 6px;
}
.results-table thead{
  background: var(--bg-soft);
  color: var(--text);
}
.results-table th{
  font-weight: 700;
}
.results-table td{
  border-bottom: 1px solid var(--line);
}
.results-table tbody tr:nth-child(even){
  background: #fff; /* zebra yerine tek ton */
}

/* 10) Buton: çerçeveyi incelt, hover’da sadece renk değişimi */
.calculate-btn{
  border: 1px solid var(--brand);
  padding: .9rem 2.2rem;
  font-size: 1.05rem;
}
.calculate-btn:hover{
  background: var(--accent);
  border-color: var(--accent);
}

/* 11) Izgara: küçük ekranlarda aşırı sütunları azalt */
.test-grid{ gap: .8rem; }
@media (max-width: 768px){
  .section-header-calc{ margin-bottom: .85rem; }
  .calculator-section{ padding: 1rem; }
  .test-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px){
  /* 4 dersin tek satıra zorlanması yerine 2'li ızgara daha okunur */
  .test-grid{ grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .test-card{ padding: .6rem; }
  .input-mini{ width: 38px; }
}

/* ========================================
   SEO Content Section Styles
   ======================================== */

.seo-content-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.content-article {
    background: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    line-height: 1.8;
}

.content-article:last-child {
    margin-bottom: 0;
}

.content-main-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #121b7e;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.content-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #121b7e;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.content-intro {
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.content-article p {
    color: #444;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.content-article p:last-child {
    margin-bottom: 0;
}

/* Formula Box */
.formula-box {
    background: #f5f7fa;
    border-left: 4px solid #121b7e;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
}

.formula-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #121b7e;
    margin-bottom: 1rem;
}

.formula-code {
    display: block;
    background: white;
    padding: 1rem;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #333;
    overflow-x: auto;
    white-space: pre;
    border: 1px solid #e0e0e0;
}

.content-note {
    background: #fff3cd;
    border-left: 4px solid #ff9800;
    padding: 1rem;
    margin-top: 1.5rem;
    border-radius: 6px;
    font-size: 0.95rem;
}

.content-note i {
    color: #ff9800;
    margin-right: 0.5rem;
}

/* Puan Türü Cards */
.puan-turu-card {
    background: #f8f9fa;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 4px solid #121b7e;
    transition: all 0.3s ease;
}

.puan-turu-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(18, 27, 126, 0.1);
}

.puan-turu-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #121b7e;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.puan-turu-card h3 i {
    font-size: 1.3rem;
}

.puan-turu-card p {
    color: #555;
    margin: 0;
}

/* FAQ Section */
.faq-item-custom {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.faq-item-custom:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #121b7e;
}

.faq-item-custom.active {
    border-color: #121b7e;
}

.faq-question {
    font-size: 1.15rem;
    font-weight: 600;
    color: #121b7e;
    margin-bottom: 0;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.faq-question i {
    color: #ff9800;
    margin-top: 0.2rem;
}

/* Açılır/kapanır göstergesi — öğenin tıklanabilir olduğunu görünür kılar */
.faq-question .faq-icon {
    color: #121b7e;
    margin-left: auto;
    padding-left: 0.75rem;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item-custom.active .faq-icon {
    transform: rotate(180deg);
}

/* Kapalıyken max-height: 0 — metin DOM'da kalır, SEO etkilenmez */
.faq-answer {
    color: #555;
    line-height: 1.7;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin-top 0.3s ease;
}

.faq-item-custom.active .faq-answer {
    max-height: 500px;
    margin-top: 0.8rem;
}

/* CTA Content Box */
.cta-content-box {
    background: linear-gradient(135deg, #121b7e 0%, #1e2a9e 100%);
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    color: white;
    margin-top: 2rem;
    box-shadow: 0 8px 24px rgba(18, 27, 126, 0.2);
}

.cta-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.cta-content-box h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cta-content-box p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: white;
}

.cta-content-button {
    background: #ff9800;
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

.cta-content-button:hover {
    background: #f57c00;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 152, 0, 0.4);
}

.cta-content-button i {
    margin-right: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .seo-content-section {
        padding: 1rem;
        margin: 2rem auto;
    }

    .content-article {
        padding: 1.5rem;
    }

    .content-main-title {
        font-size: 1.5rem;
    }

    .content-title {
        font-size: 1.3rem;
    }

    .formula-code {
        font-size: 0.8rem;
    }

    .puan-turu-card {
        padding: 1rem;
    }

    .cta-content-box {
        padding: 2rem 1.5rem;
    }

    .cta-content-box h3 {
        font-size: 1.5rem;
    }

    .cta-content-box p {
        font-size: 1rem;
    }

    .cta-content-button {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .content-main-title {
        font-size: 1.3rem;
    }

    .content-title {
        font-size: 1.15rem;
    }

    .content-article {
        padding: 1rem;
    }

    .formula-box {
        padding: 1rem;
    }

    .puan-turu-card {
        padding: 0.8rem;
    }

    .faq-item-custom {
        padding: 1rem;
    }

    .faq-question {
        font-size: 1rem;
    }

    .cta-content-box {
        padding: 1.5rem 1rem;
    }

    .cta-icon {
        font-size: 2.5rem;
    }

    .cta-content-box h3 {
        font-size: 1.3rem;
    }

    .cta-content-button {
        width: 100%;
        padding: 1rem;
    }
}

/* ========================================
   Ad Slider Styles (Reklam Slider)
   ======================================== */

.ad-slider-container {
    position: relative;
    max-width: 1400px;
    max-height: 400px;
    margin: 2rem auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.ad-slider {
    display: flex;
    width: 100%;
    height: auto;
    position: relative;
    max-height: 500px;
}

.ad-slide {
    width: 100%;
    flex-shrink: 0;
    display: none;
    transition: opacity 0.5s ease;
}

.ad-slide.active {
    display: block;
}

.ad-slide a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.ad-slide img {
    width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: all 0.3s ease;
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: white;
}

.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.slider-prev:hover, .slider-next:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.slider-prev {
    left: 15px;
}

.slider-next {
    right: 15px;
}

/* Responsive Slider */
@media (max-width: 768px) {
    .ad-slider-container {
        max-height: 250px;
        margin: 1.5rem auto;
        border-radius: 10px;
    }
    
    .ad-slider, .ad-slide img {
        max-height: 180px;
    }
    
    .ad-slide img {
        object-fit: cover;
        object-position: center;
    }
    
    .slider-prev, .slider-next {
        padding: 10px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .slider-dots {
        bottom: 10px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .ad-slider-container {
        max-height: 200px;
        margin: 1rem auto;
        border-radius: 8px;
        width: 100%;
    }
    
    .ad-slider, .ad-slide img {
        max-height: 150px;
        object-fit: cover;
    }
    
    .ad-slide img {
        object-position: center;
    }
    
    .slider-prev, .slider-next {
        padding: 8px;
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .slider-dots {
        bottom: 5px;
        gap: 5px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
}

/* ========================================
   SEO Info Section (Footer Üstü)
   ======================================== */

.seo-info {
    background: #f8f9fa;
    padding: 3rem 2rem;
    margin: 2rem 0 0 0;
}

.seo-info-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.seo-info h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #121b7e;
    margin-bottom: 1.5rem;
}

.seo-info p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .seo-info {
        padding: 2rem 1.5rem;
    }

    .seo-info h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .seo-info p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .seo-info {
        padding: 1.5rem 1rem;
    }

    .seo-info h2 {
        font-size: 1.3rem;
    }

    .seo-info p {
        font-size: 0.95rem;
    }
}

/* ========================================
   2026 SONUÇ KARTI STİLLERİ
   ======================================== */

/* 2026 en güncel yıl: yalnızca hafif turuncu bir stroke ile vurgulanır. */
.year-2026 {
    border: 2px solid #FFB74D !important;
}

/* 2026 Başlık */
.year-title-2026 {
    color: #FF9800 !important;
    font-size: 1.3rem !important;
    padding-top: 0.5rem;
}

.year-title-2026 i {
    color: #FF9800 !important;
}

/* TAHMİN Badge */
.tahmin-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FF9800, #f57c00);
    color: white;
    padding: 0.2rem 0.7rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    vertical-align: middle;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Tahmin Alt Bölümleri */
.tahmin-section {
    margin-bottom: 1.5rem;
}

.tahmin-subtitle {
    font-size: 1.05rem;
    font-weight: 700;
    color: #121b7e;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.tahmin-subtitle i {
    color: #FF9800;
    font-size: 1rem;
}

.tahmin-info {
    font-size: 0.8rem;
    font-weight: 500;
    color: #888;
    font-style: italic;
}

/* Tahmin Tablosu */
.tahmin-table thead {
    background: linear-gradient(135deg, #121b7e, #1e2a9e) !important;
    color: white !important;
}

.tahmin-table th {
    color: white !important;
    font-size: 0.85rem !important;
}

/* Aralık Tablosu */
.aralik-section {
    margin-top: 1rem;
}

.aralik-table thead {
    background: linear-gradient(135deg, #e65100, #FF9800) !important;
    color: white !important;
}

.aralik-table th {
    color: white !important;
}

/* Aralık Hücre Stili */
.aralik-cell {
    font-weight: 600 !important;
    white-space: nowrap;
}

.aralik-value {
    color: #121b7e;
    font-weight: 700;
}

.aralik-separator {
    color: #FF9800;
    font-weight: 700;
    margin: 0 0.3rem;
    font-size: 1rem;
}

/* Tahmin Notu */
.tahmin-note {
    background: #f0f4ff;
    border-left: 3px solid #121b7e;
    padding: 0.8rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #555;
    margin-top: 1rem;
    line-height: 1.5;
}

.tahmin-note i {
    color: #121b7e;
    margin-right: 0.4rem;
}

/* Responsive 2026 */
@media (max-width: 768px) {
    .year-title-2026 {
        font-size: 1.1rem !important;
    }

    .tahmin-badge {
        font-size: 0.6rem;
        padding: 0.15rem 0.5rem;
    }

    .tahmin-subtitle {
        font-size: 0.95rem;
    }

    .tahmin-info {
        font-size: 0.7rem;
    }

    .aralik-table {
        min-width: 400px;
    }
}

@media (max-width: 480px) {
    .year-title-2026 {
        font-size: 0.95rem !important;
        flex-wrap: wrap;
    }

    .tahmin-badge {
        font-size: 0.55rem;
        padding: 0.12rem 0.4rem;
    }

    .tahmin-subtitle {
        font-size: 0.85rem;
        flex-wrap: wrap;
    }

    .tahmin-info {
        font-size: 0.65rem;
        display: block;
        width: 100%;
    }

    .tahmin-note {
        font-size: 0.75rem;
        padding: 0.6rem 0.8rem;
    }

    .aralik-table {
        min-width: 350px;
        font-size: 0.7rem;
    }

    .aralik-separator {
        margin: 0 0.15rem;
        font-size: 0.8rem;
    }
}

/* ============================================================
   MOBİL SONUÇ TABLOLARI — yatay kaydırmayı kaldır
   ============================================================
   Ölçüm (360px telefon, bu blok yokken): tablolara kalan yer
   sadece 156px, yani ekranın %43'ü. Kolonları daraltmak tek
   başına yetmiyordu çünkü sorun kolonlar değil, çerçeveydi:

     360  ekran
     -32  main.calculator-main yan padding
    -128  section { padding: 4rem 4rem }  (css/style.css:764, global)
     -40  .year-result padding
     ----
     156  tabloya kalan

   Üstüne .results-table { min-width: 500px } + white-space:nowrap
   binince tablo 500px'e kilitleniyor ve 344px'i ekran dışında
   kalıyordu. Aşağıdaki blok önce genişliği geri alıyor, sonra
   kolonların gerçekten daralmasına izin veriyor.

   Bu blok dosyanın SONUNDA: yukarıdaki 480px bloğunun
   .year-result kuralı, 881. satırdaki media query'siz
   .year-result{padding:1.25rem} tarafından eziliyordu (eşit
   özgüllük + sonra gelme). Aynı tuzağa düşmemek için en sonda. */
@media (max-width: 768px) {
    /* 1) Genişliği geri al. Yan boşluğu main zaten veriyor,
          section'ın 4rem'i mobilde sadece ekranı yiyor.
          Üstüne .calculator-main'in kendi 1rem yan paddingi de
          sonuç kartlarını sıkıştırıyordu (16px + 9.6px = 25.6px
          her kenarda) — negatif margin ile onu da iptal edip
          sonuç alanını tam genişliğe çekiyoruz. İçerik kendi
          padding'ini (year-result, info-box, section-header-calc)
          zaten koruyor. */
    .calculator-main .results-section {
        padding-left: 0;
        padding-right: 0;
        margin-left: -1rem;
        margin-right: -1rem;
    }

    .results-container .year-result {
        padding: 0.75rem 0.6rem;
    }

    /* 2) Kolonlar artık daralabilsin: min-width kalksın, başlıklar
          iki satıra sarabilsin, kolonlar eşit bölünsün. */
    .table-wrapper {
        margin: 0.75rem 0;
        padding: 0;
        /* auto kalıyor: ölçümde taşma yok, ama ileride beklenmedik
           genişlikte bir değer gelirse sessizce kırpılmak yerine
           kaydırılabilir kalsın. */
        overflow-x: auto;
    }

    .results-table {
        min-width: 0;
        width: 100%;
        table-layout: fixed;
    }

    /* Başlıklar metin, sarabilir. */
    .results-table th {
        white-space: normal;
        padding: 0.45rem 0.15rem;
        font-size: clamp(0.6rem, 0.06rem + 2.55vw, 0.74rem);
        line-height: 1.2;
        hyphens: none;
    }

    /* 3) Sayı hücreleri ASLA sarmaz. Sarmaya izin verilince
          "487.123" hücrede "487.12 / 3" diye bölünüyor — dar
          ekran uğruna veriyi yanlış göstermek olur.
          Bunun yerine punto ölçüyle küçülüyor: 320px'te 0.65rem,
          360px'te 0.72rem tam sığıyor (en geniş değer 9 karakter,
          "3.210.987"). clamp() ikisinin arasını akıcı geçiriyor. */
    .results-table td {
        white-space: nowrap;
        overflow-wrap: normal;
        padding: 0.45rem 0.15rem;
        font-size: clamp(0.63rem, 0.08rem + 2.7vw, 0.78rem);
        font-variant-numeric: tabular-nums;
        font-feature-settings: "tnum" 1;
        line-height: 1.35;
    }

    /* 4) Uzun etiketleri kısa olanlarla değiştir — kolon
          genişliğini asıl bunlar belirliyordu. */
    .results-table .th-full,
    .results-table .tur-full {
        display: none;
    }

    .results-table .th-short,
    .results-table .tur-short {
        display: inline;
    }

    /* Puan türü kolonu kısaldığı için dar kalabilir; kalan yeri
       sayı kolonları eşit paylaşır (table-layout: fixed). */
    /* Tür kolonu: taban .results-table td:first-child kuralı 0.95rem
       veriyor; mobilde ezilmezse tek başına son kolonu ekran dışına
       itiyor. Veri hücreleriyle aynı ölçüye çekiliyor. */
    .results-table th:first-child,
    .results-table td:first-child {
        width: 3.2rem;
        font-size: clamp(0.63rem, 0.08rem + 2.7vw, 0.78rem);
    }

    /* 5) Aralık hücresi: "1.234.567 – 1.876.543" tek satıra sığmaz.
          Hücre sarabilir ama iki uç değerin KENDİSİ bölünemez —
          inline-block + nowrap ile her biri bütün kalır, satır
          kırılması yalnızca tirenin çevresindeki boşlukta olur. */
    .aralik-table .aralik-cell {
        white-space: normal;
    }

    .aralik-table .aralik-value {
        display: inline-block;
        white-space: nowrap;
        overflow-wrap: normal;
    }

    .aralik-table th:first-child,
    .aralik-table td:first-child {
        width: 3.4rem;
    }
}

/* Masaüstünde kısa etiketler görünmez (mobil blok bunu tersine çevirir) */
.th-short,
.tur-short {
    display: none;
}

/* =========================================================
   SONUÇ CTA'SI  (hesaplama sonrası açılan popup)
   =========================================================
   Sayfanın geri kalanı laciverttir (--brand:#121b7e) — o renk
   hesap makinesi kromu. Bu blok bir iş teklifi olduğu için marka
   yeşili + turuncu kullanır: hem hesaplayıcıdan görsel olarak
   ayrışır hem de gittiği /ucretsiz-on-gorusme sayfasıyla ve
   anasayfadaki CTA'yla süreklilik kurar.

   Önce sonuç tablolarının altında duruyordu; sayfanın dibinde kaldığı
   için görülmüyordu. Artık HESAPLA'dan ~1.2 sn sonra modal olarak açılır
   (js/puan-hesaplama.js -> sonucCtaModalAc).

   Ölçüler media query yerine clamp() ile akışkan — anasayfadaki
   CTA section'ı da (index.html) aynı yaklaşımı kullanıyor. */
.sonuc-cta-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    /* Sitedeki diğer modallarla (auth-ui.css .modal-overlay) aynı katman. */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.sonuc-cta-modal[hidden] {
    display: none;
}

.sonuc-cta-modal.active {
    opacity: 1;
}

.sonuc-cta-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 14, 45, 0.68);
}

.sonuc-cta-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 560px;
    /* Kısa ekranda (yatay telefon) kutu taşarsa kendi içinde kaysın;
       arka plandaki sayfa değil. */
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    transform: translateY(16px) scale(0.98);
    transition: transform 0.28s ease;
}

.sonuc-cta-modal.active .sonuc-cta-modal__dialog {
    transform: none;
}

/* Kapatma: kutunun kendi köşesinde, kartın üst dolgusunun içinde durur. */
.sonuc-cta-modal__close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: rgba(255, 255, 255, 0.14);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.05rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}

.sonuc-cta-modal__close:hover {
    background: rgba(255, 255, 255, 0.28);
}

.sonuc-cta-modal__close:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

/* Popup açıkken arkadaki sayfa kaymasın. */
body.sonuc-cta-modal-acik {
    overflow: hidden;
}

.sonuc-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: clamp(1.5rem, 5vw, 2.5rem) clamp(1.15rem, 4vw, 2rem);
    background: linear-gradient(135deg, #00746c 0%, #005a54 100%);
    color: #fff;
    border-radius: 16px;
}

/* display:flex, hidden attribute'unu ezer — bu satır olmazsa
   seçilmeyen varyant da ekranda görünür. */
.sonuc-cta[hidden] {
    display: none;
}

.sonuc-cta__icon {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
    line-height: 1;
    margin-bottom: 0.85rem;
    opacity: 0.9;
}

.sonuc-cta__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.15rem, 4vw, 1.75rem);
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    /* Başlıklar iki cümle; satırlar dengeli kırılsın, tek kelime
       sarkmasın. Desteklemeyen tarayıcıda sessizce yok sayılır. */
    text-wrap: balance;
}

.sonuc-cta__text {
    margin: 0 0 1.5rem;
    max-width: 52ch;
    font-size: clamp(0.9rem, 2.6vw, 1.05rem);
    line-height: 1.6;
    opacity: 0.95;
}

.sonuc-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: clamp(0.85rem, 2.5vw, 1rem) clamp(1.5rem, 5vw, 2.25rem);
    background: #ff7500;
    color: #fff;
    font-size: clamp(0.92rem, 2.6vw, 1.05rem);
    font-weight: 700;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(255, 117, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.sonuc-cta__btn:hover {
    background: #e66800;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(255, 117, 0, 0.45);
}

.sonuc-cta__micro {
    margin: 0.75rem 0 0;
    font-size: clamp(0.72rem, 2.2vw, 0.82rem);
    letter-spacing: 0.02em;
    opacity: 0.8;
}

/* İkincil hedef (/kocluk): kasten zayıf hiyerarşi. Dolgu ve gölge
   yok, daha küçük ve soluk — turuncu butonla rekabet etmesin,
   seçenek felci yaratmasın. Yine de 44px dokunma alanı korunuyor. */
.sonuc-cta__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(0.82rem, 2.4vw, 0.92rem);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.sonuc-cta__link:hover {
    color: #fff;
}

/* Koyu yeşil zeminde varsayılan focus halkası kayboluyor. */
.sonuc-cta__btn:focus-visible,
.sonuc-cta__link:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

/* ===== VARYANT B (TYT kamp): "Kampın içeriği" + yatay gün önizlemeleri ===== */
.sonuc-cta__gunler-baslik {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
    width: 100%;
    margin: 0 0 0.9rem;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
    font-size: clamp(0.9rem, 2.6vw, 1.05rem);
    white-space: nowrap;
}

.sonuc-cta__gunler-baslik::before,
.sonuc-cta__gunler-baslik::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.22);
}

/* Günler yatayda; sığmazsa dikey değil, yatay kaydırma. */
.sonuc-cta__gunler {
    display: flex;
    gap: 0.55rem;
    justify-content: center;
    width: 100%;
    margin: 0 0 1.5rem;
    padding-bottom: 0.35rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}

.sonuc-cta__gunler img {
    flex: 0 0 auto;
    width: clamp(58px, 17vw, 84px);
    height: auto;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}

.sonuc-cta__gunler::-webkit-scrollbar {
    height: 5px;
}

.sonuc-cta__gunler::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {

    .sonuc-cta-modal,
    .sonuc-cta-modal__dialog {
        transition: none;
    }

    .sonuc-cta-modal__dialog {
        transform: none;
    }

    .sonuc-cta__btn:hover {
        transform: none;
    }
}

@media (max-width: 480px) {

    /* Sitedeki .apply-now ile aynı mobil davranış: tam genişlik buton. */
    .sonuc-cta__btn {
        width: 100%;
    }
}
