/* ==========================================================================
   WishNote — Paylaşılan Stil Dosyası
   index.html, privacy/, support/, term/ sayfalarının HEPSİ bu dosyayı
   kullanır (bkz. her sayfanın <head>'indeki <link rel="stylesheet">).
   Renk paletini/tipografiyi TEK yerden değiştirmek için buraya dokun —
   sayfalara ayrı ayrı gitmene gerek yok.
   ========================================================================== */

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

:root {
    --bg: #FAF9F5;
    --card: #EEEDE6;
    --ink: #21201c;
    --ink-secondary: #6b6a60;
    --border: #e6e3d8;
    --action: #F25940;
    --action-tint: rgba(242, 89, 64, 0.12);
}

/* ÖNEMLİ — Karanlık mod: aynı değişken isimleri html.dark altında YENİDEN
   tanımlanıyor, geri kalan TÜM kurallar zaten var(--bg) vb. kullandığı için
   ekstra hiçbir kural yazmaya gerek yok — script.js sadece <html> etiketine
   .dark class'ı ekleyip çıkarıyor, kademe (cascade) gerisini hallediyor. */
html.dark {
    --bg: #1c1b17;
    --card: #26241f;
    --ink: #f3f1ea;
    --ink-secondary: #a8a496;
    --border: #3a3730;
    --action-tint: rgba(242, 89, 64, 0.18);
}

a { color: inherit; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    background-color: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    transition: background-color 0.2s, color 0.2s;
}

/* ==========================================================================
   Dil değiştirme (TÜM sayfalarda ortak) — script.js localStorage'a yazıp
   sayfa geçişlerinde de dil seçimini hatırlıyor.
   ÖNEMLİ — SADE METİN: eskiden dolgulu bir "pill" kutusuydu (İngilizce
   yazıyordu, hep göze çarpıyordu) — kullanıcı isteğiyle arka plan kaldırıldı,
   sadece "EN / TR" kısa kodları kaldı, aktif olan action renginde/kalın.
   ========================================================================== */
.language-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}
.lang-btn {
    padding: 4px 2px;
    border: none;
    background: transparent;
    color: var(--ink-secondary);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.2px;
    transition: color 0.2s;
}
.lang-btn.active {
    color: var(--action);
    font-weight: 700;
}
.lang-btn:hover:not(.active) { color: var(--ink); }
.lang-sep {
    color: var(--border);
    font-size: 12px;
}

.content { display: none; }
.content.active { display: block; }

/* ==========================================================================
   Üst gezinme — TÜM sayfalarda ortak, sticky (kaydırınca üstte sabit kalır)
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: var(--bg);
    border-bottom: 1px solid var(--border);
    transition: background-color 0.2s, border-color 0.2s;
}
.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.3px;
    text-decoration: none;
    color: var(--ink);
}
.logo-mark {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    display: block;
}
.nav-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Tema (açık/koyu) toggle — güneş/ay ikonu, tek buton.
   ÖNEMLİ — İKİ İKON DA HTML'DE VAR, CSS SEÇİYOR: JS'in class değiştirmesine
   gerek yok, sadece html.dark class'ı eklenince görünürlük CSS'te dönüyor —
   daha az JS, daha az hata ihtimali. */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    color: var(--ink-secondary);
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s, color 0.2s;
}
.theme-toggle:hover {
    background-color: var(--card);
    color: var(--ink);
}
.theme-toggle .fa-moon { display: none; }
html.dark .theme-toggle .fa-sun { display: none; }
html.dark .theme-toggle .fa-moon { display: inline-block; }

/* ==========================================================================
   Hero — SADECE index.html
   ========================================================================== */
.hero {
    max-width: 1100px;
    margin: 0 auto;
    padding: 64px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
}
.hero h1 {
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -1px;
    max-width: 680px;
    line-height: 1.18;
}
.hero .subhead {
    font-size: 18px;
    color: var(--ink-secondary);
    max-width: 560px;
}
.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}
.app-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background-color: var(--action);
    color: #ffffff;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}
.app-store-badge:hover { opacity: 0.88; }
.trust-line {
    font-size: 13px;
    color: var(--ink-secondary);
}
.hero-image {
    margin-top: 44px;
    width: 100%;
    display: flex;
    justify-content: center;
}
.hero-image img {
    max-width: 880px;
    width: 100%;
    height: auto;
}
/* ÖNEMLİ — Açık/koyu mockup görseli: tema toggle'ıyla AYNI desen (bkz.
   .theme-toggle .fa-sun/.fa-moon). İkisi de DOM'da hazır duruyor, sadece
   html.dark class'ına göre CSS hangisinin görüneceğine karar veriyor —
   JS'in resim değiştirmesine gerek yok. */
.hero-image .hero-image-dark { display: none; }
html.dark .hero-image .hero-image-light { display: none; }
html.dark .hero-image .hero-image-dark { display: block; }

/* Bölüm başlıkları — features + pricing ortak */
.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
}
.section-subtitle {
    text-align: center;
    color: var(--ink-secondary);
    font-size: 15px;
    max-width: 480px;
    margin: 10px auto 0;
}

/* Özellik kartları — SADECE index.html
   ÖNEMLİ — emoji yerine Font Awesome: emoji'lerin platforma göre değişen,
   birbiriyle uyumsuz renkleri ("dağınık" duruyordu) yerine artık tek marka
   rengiyle (action) çizilen ikonlar, yumuşak bir action-tonu rozet
   (.feature-icon-badge) içinde. */
.features {
    max-width: 1100px;
    margin: 0 auto;
    padding: 56px 24px 24px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.feature-card {
    background-color: var(--card);
    border-radius: 20px;
    padding: 28px;
}
.feature-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: var(--action-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.feature-icon-badge i {
    color: var(--action);
    font-size: 17px;
}
.feature-title { font-weight: 600; font-size: 16px; margin-bottom: 6px; }
.feature-desc { font-size: 14px; color: var(--ink-secondary); }

/* Free/Pro karşılaştırma — SADECE index.html */
.pricing {
    max-width: 900px;
    margin: 0 auto;
    padding: 56px 24px 96px;
}
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}
.pricing-card {
    background-color: var(--bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px;
}
.pricing-card.pro {
    border-color: var(--action);
    background-color: var(--card);
}
.pricing-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}
.pricing-card .price-note {
    font-size: 13px;
    color: var(--ink-secondary);
    margin-bottom: 22px;
}
.pricing-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.pricing-list li {
    font-size: 14px;
    color: var(--ink);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.pricing-list li::before {
    content: "✓";
    color: var(--action);
    font-weight: 700;
    flex-shrink: 0;
}
.pricing-footnote {
    margin-top: 22px;
    font-size: 12px;
    color: var(--ink-secondary);
}

/* ==========================================================================
   Yasal/destek sayfaları — privacy, term, support ORTAK gövde
   ÖNEMLİ — .header YOK ARTIK: eskiden "Privacy Policy" başlığı + dil
   toggle'ı burada, sayfaya özel bir satırdı. Şimdi dil toggle üstteki ortak
   .site-header'a taşındı, başlık da (.page-title) her .content bloğunun
   İÇİNE alındı — böylece TR'ye geçince başlık da "Gizlilik Politikası"
   olarak değişiyor (eskiden başlık HİÇ çevrilmiyordu, sabit İngilizceydi).
   ========================================================================== */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}
.page-title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}
h2 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}
h3 {
    font-size: 15px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
}
p {
    margin-bottom: 12px;
    color: var(--ink-secondary);
    font-size: 15px;
}
ul, ol {
    margin-left: 20px;
    margin-bottom: 12px;
}
li {
    margin-bottom: 8px;
    color: var(--ink-secondary);
    font-size: 15px;
}
.meta {
    color: var(--ink-secondary);
    font-size: 13px;
    margin-bottom: 30px;
}
strong {
    color: var(--ink);
    font-weight: 600;
}
.container a {
    color: var(--action);
    text-decoration: none;
    transition: opacity 0.2s;
}
.container a:hover { opacity: 0.7; }
.highlight {
    background-color: var(--card);
    padding: 12px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 3px solid var(--action);
    padding-left: 15px;
}

/* ==========================================================================
   Destek sayfası — SSS akordeonu (SADECE support/index.html)
   ÖNEMLİ — eski ▼ unicode karakteri KALDIRILDI: farklı sistemlerde
   tutarsız/pixelli görünüyordu. Artık .faq-chevron boş bir <span>,
   şeklini tamamen CSS ile (::before/::after, ince V çizgisi) çiziyoruz —
   her ekranda net, açılınca 180° dönerek modern bir "chevron" oluyor.
   ========================================================================== */
.faq-section { margin-bottom: 32px; }
.faq-section-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    padding-left: 4px;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.faq-item {
    background-color: var(--card);
    border-radius: 14px;
    overflow: hidden;
}
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--ink);
    font-size: 15px;
    font-weight: 500;
    gap: 12px;
    transition: background-color 0.15s;
}
.faq-question:hover { background-color: rgba(0,0,0,0.03); }
.faq-chevron {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    position: relative;
    transition: transform 0.25s ease;
}
.faq-chevron::before,
.faq-chevron::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 7px;
    height: 1.5px;
    border-radius: 1px;
    background-color: var(--ink-secondary);
}
.faq-chevron::before { left: 3px; transform: rotate(45deg); transform-origin: right center; }
.faq-chevron::after  { right: 3px; transform: rotate(-45deg); transform-origin: left center; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
    display: none;
    padding: 0 20px 18px 20px;
    color: var(--ink-secondary);
    font-size: 15px;
    line-height: 1.6;
}
.faq-item.open .faq-answer { display: block; }
.faq-answer a {
    color: var(--action);
    text-decoration: none;
}
.faq-answer a:hover { opacity: 0.7; }

.contact-box {
    background-color: var(--card);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    margin-top: 40px;
}
.contact-box p {
    color: var(--ink-secondary);
    font-size: 15px;
    margin-bottom: 16px;
}
.contact-email {
    display: inline-block;
    background-color: var(--action);
    color: #ffffff !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.2s;
}
.contact-email:hover { opacity: 0.85; }

/* ==========================================================================
   Footer — TÜM sayfalarda ortak. ÖNEMLİ — artık HER .content bloğunun
   İÇİNDE (dile göre kopyalı), böylece "Home/Anasayfa" gibi linkler de
   diğerleri gibi çevriliyor — eskiden footer .content'in DIŞINDaydı ve
   linkleri (Privacy/Terms/Support) hiç çevrilmiyordu.
   ========================================================================== */
.footer {
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--ink-secondary);
}
/* privacy/term/support kendi .container'ı içinde footer kullanıyor —
   orada max-width tekrar sınırlamasın diye sıfırlıyoruz. */
.container .footer {
    max-width: none;
    margin-top: 60px;
    padding: 20px 0 0;
}
.footer-copyright { text-align: center; flex: 1; }
.footer-links { display: flex; gap: 20px; }
.footer-links a {
    color: var(--ink-secondary);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--ink); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .hero { padding: 44px 20px 16px; }
    .hero h1 { font-size: 32px; }
    .hero .subhead { font-size: 16px; }
    .features-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .nav-inner { padding: 14px 20px; }
    .container { padding: 30px 16px; }
    .footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 28px 20px;
    }
    .footer-links { justify-content: center; width: 100%; }
}
