/* ─── Yasal / bilgi sayfaları ortak stili ────────────────────────────────────
   /pricing, /terms, /privacy, /refunds sayfaları bu dosyayı paylaşır.
   Renkler theme.css'teki marka token'larından türer; burada yalnız bu dört
   sayfanın ihtiyaç duyduğu tipografi ve yerleşim tanımlıdır. */

:root {
    --lg-bg: #06080F;
    --lg-surface: rgba(17, 20, 40, 0.55);
    --lg-surface2: rgba(24, 29, 53, 0.7);
    --lg-border: rgba(255, 255, 255, 0.08);
    --lg-border-hover: rgba(255, 255, 255, 0.16);
    --lg-text: #f0f0f0;
    --lg-text-sec: #b6c0d0;
    --lg-muted: #7c899c;
    --lg-accent: #E23636;
    --lg-accent2: #1565C0;
    --lg-green: #22c55e;
    --lg-radius: 18px;
    --lg-radius-sm: 12px;
    --lg-measure: 68ch;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    background: var(--lg-bg);
    color: var(--lg-text);
    font-size: 15px;
    line-height: 1.75;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Sayfanın üstünde duran sabit ışıma — index.html ile aynı atmosfer. */
.lg-glow {
    position: fixed; top: -30vh; left: 50%; transform: translateX(-50%);
    width: 120vw; height: 90vh; z-index: 0; pointer-events: none;
    background:
        radial-gradient(ellipse at 38% 45%, rgba(226, 54, 54, 0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 62% 55%, rgba(21, 101, 192, 0.10) 0%, transparent 55%);
}

a { color: #7fb0ff; text-decoration: none; }
a:hover { color: #a8c9ff; text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible {
    outline: 2px solid #7fb0ff; outline-offset: 3px; border-radius: 6px;
}

/* ── Üst bar ── */
.lg-nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(6, 8, 15, 0.72);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--lg-border);
}
.lg-nav-inner {
    max-width: 1100px; margin: 0 auto; padding: 0 24px; height: 64px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.lg-logo { display: flex; align-items: center; gap: 10px; }
.lg-logo img { width: 26px; height: 26px; object-fit: contain; }
.lg-logo span {
    font-size: 1.05rem; font-weight: 800; letter-spacing: -0.4px; color: #fff;
}
.lg-logo:hover { text-decoration: none; }
.lg-nav-links { display: flex; gap: 4px; flex-wrap: wrap; }
.lg-nav-links a {
    color: var(--lg-muted); font-size: 0.8rem; font-weight: 600;
    padding: 7px 12px; border-radius: 99px; transition: background .2s, color .2s;
    white-space: nowrap;
}
.lg-nav-links a:hover { color: var(--lg-text); background: rgba(255,255,255,0.06); text-decoration: none; }
.lg-nav-links a[aria-current="page"] { color: #fff; background: rgba(255,255,255,0.10); }

/* ── Sayfa iskeleti ── */
.lg-wrap { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding: 0 24px 96px; }

.lg-hero { padding: 64px 0 40px; max-width: var(--lg-measure); }
.lg-eyebrow {
    display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--lg-muted);
    border: 1px solid var(--lg-border); border-radius: 99px; padding: 5px 13px; margin-bottom: 20px;
}
.lg-hero h1 {
    font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; letter-spacing: -0.035em;
    line-height: 1.12;
    background: linear-gradient(135deg, #fff 0%, #ffd7d7 45%, #a8c9ff 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.lg-hero p.lead {
    margin-top: 18px; font-size: 1.03rem; color: var(--lg-text-sec); line-height: 1.7;
}
.lg-meta {
    margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 20px;
    font-size: 0.8rem; color: var(--lg-muted);
}
.lg-meta b { color: var(--lg-text-sec); font-weight: 600; }

/* ── Uzun belge yerleşimi: içindekiler + gövde ── */
.lg-doc { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 56px; align-items: start; }
/* minmax(0, 1fr) + min-width:0 zorunlu: grid item'ın otomatik minimum boyutu
   içeriğin min-content'i kadardır, bu da geniş tabloyu (min-width: 520px)
   sütuna dayatıp sayfayı yatay kaydırır. */
@media (max-width: 900px) { .lg-doc { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

.lg-toc { position: sticky; top: 90px; }
@media (max-width: 900px) {
    .lg-toc {
        position: static; background: var(--lg-surface); border: 1px solid var(--lg-border);
        border-radius: var(--lg-radius-sm); padding: 18px 20px;
    }
}
.lg-toc h2 {
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--lg-muted); margin-bottom: 14px;
}
.lg-toc ol { list-style: none; counter-reset: toc; }
.lg-toc li { counter-increment: toc; margin-bottom: 2px; }
.lg-toc a {
    display: block; padding: 6px 10px; border-radius: 8px; font-size: 0.82rem;
    color: var(--lg-text-sec); border-left: 2px solid transparent; line-height: 1.4;
}
.lg-toc a::before { content: counter(toc) ". "; color: var(--lg-muted); }
.lg-toc a:hover {
    color: #fff; background: rgba(255,255,255,0.05); border-left-color: var(--lg-accent);
    text-decoration: none;
}

.lg-body { max-width: var(--lg-measure); min-width: 0; }
.lg-body section { padding-top: 44px; }
.lg-body section:first-child { padding-top: 8px; }
.lg-body h2 {
    font-size: 1.32rem; font-weight: 700; letter-spacing: -0.02em; color: #fff;
    margin-bottom: 14px; line-height: 1.3;
}
.lg-body h3 {
    font-size: 1rem; font-weight: 700; color: var(--lg-text); margin: 26px 0 8px;
}
.lg-body p { color: var(--lg-text-sec); margin-bottom: 14px; }
.lg-body ul, .lg-body ol { color: var(--lg-text-sec); margin: 0 0 16px 22px; }
.lg-body li { margin-bottom: 8px; }
.lg-body li::marker { color: var(--lg-muted); }
.lg-body strong, .lg-body b { color: var(--lg-text); font-weight: 650; }
.lg-body code {
    font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.86em;
    background: rgba(255,255,255,0.06); border: 1px solid var(--lg-border);
    padding: 1px 6px; border-radius: 6px; color: #ffd7d7;
}

/* Vurgu kutusu — bir kuralın sonucunu okuyucunun kaçırmaması gerektiğinde. */
.lg-callout {
    background: var(--lg-surface); border: 1px solid var(--lg-border);
    border-left: 3px solid var(--lg-accent2);
    border-radius: var(--lg-radius-sm); padding: 16px 20px; margin: 20px 0;
}
.lg-callout.warn { border-left-color: var(--lg-accent); }
.lg-callout.ok { border-left-color: var(--lg-green); }
.lg-callout p:last-child { margin-bottom: 0; }
.lg-callout .lg-callout-title {
    font-weight: 700; color: #fff; font-size: 0.88rem; margin-bottom: 6px;
    display: flex; align-items: center; gap: 8px;
}

/* Satıcı / iletişim künyesi */
.lg-facts {
    display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 10px 18px;
    background: var(--lg-surface); border: 1px solid var(--lg-border);
    border-radius: var(--lg-radius-sm); padding: 20px 22px; margin: 20px 0;
    font-size: 0.88rem;
}
@media (max-width: 560px) { .lg-facts { grid-template-columns: 1fr; gap: 2px 0; } }
.lg-facts dt { color: var(--lg-muted); font-weight: 600; }
.lg-facts dd { color: var(--lg-text-sec); }
@media (max-width: 560px) { .lg-facts dd { margin-bottom: 12px; } }

/* Tablolar — dar ekranda kendi içinde kayar, sayfa yatay kaymaz. */
.lg-table-scroll {
    overflow-x: auto; margin: 20px 0;
    border-radius: var(--lg-radius-sm); border: 1px solid var(--lg-border);
}
table.lg-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; min-width: 520px; }
table.lg-table th, table.lg-table td {
    text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--lg-border);
    vertical-align: top;
}
table.lg-table thead th {
    background: rgba(255,255,255,0.04); color: #fff; font-weight: 700;
    font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase;
}
table.lg-table tbody tr:last-child td { border-bottom: none; }
table.lg-table td { color: var(--lg-text-sec); }
table.lg-table td.yes { color: var(--lg-green); font-weight: 700; }
table.lg-table td.no { color: var(--lg-muted); }

/* ── Fiyat kartları ── */
.lg-plans {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 18px; margin: 8px 0 12px;
}
.lg-plan {
    background: linear-gradient(160deg, var(--lg-surface), var(--lg-surface2));
    border: 1px solid var(--lg-border); border-radius: var(--lg-radius);
    padding: 28px 26px; display: flex; flex-direction: column;
    transition: border-color .25s, transform .25s;
}
.lg-plan:hover { border-color: var(--lg-border-hover); transform: translateY(-3px); }
.lg-plan.featured {
    border-color: rgba(226, 54, 54, 0.42);
    box-shadow: 0 0 0 1px rgba(226,54,54,0.10), 0 22px 60px -30px rgba(226, 54, 54, 0.55);
}
.lg-plan-badge {
    align-self: flex-start; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.12em;
    text-transform: uppercase; padding: 4px 10px; border-radius: 99px; margin-bottom: 14px;
    background: linear-gradient(135deg, #E23636, #1565C0); color: #fff;
}
.lg-plan-badge.ghost {
    background: none; border: 1px solid var(--lg-border); color: var(--lg-muted);
}
.lg-plan h3 { font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.lg-plan .lg-plan-sub { font-size: 0.82rem; color: var(--lg-muted); margin-bottom: 20px; }
.lg-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.lg-price .amount { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.04em; color: #fff; line-height: 1; }
.lg-price .period { font-size: 0.9rem; color: var(--lg-muted); font-weight: 600; }
.lg-price-note { font-size: 0.78rem; color: var(--lg-muted); min-height: 20px; margin-bottom: 22px; }
.lg-price-note .save { color: var(--lg-green); font-weight: 700; }
.lg-plan ul { list-style: none; margin: 0 0 24px; font-size: 0.86rem; }
.lg-plan ul li {
    color: var(--lg-text-sec); padding: 6px 0 6px 24px; position: relative; line-height: 1.5;
}
.lg-plan ul li::before {
    content: "\2713"; position: absolute; left: 0; top: 6px;
    color: var(--lg-green); font-weight: 800; font-size: 0.85rem;
}
.lg-plan ul li.off { color: var(--lg-muted); }
.lg-plan ul li.off::before { content: "\2014"; color: var(--lg-muted); }
.lg-btn {
    margin-top: auto; display: block; text-align: center; padding: 12px 20px;
    border-radius: 99px; font-size: 0.88rem; font-weight: 700; transition: all .25s;
    border: 1px solid var(--lg-border-hover); color: var(--lg-text); background: rgba(255,255,255,0.04);
}
.lg-btn:hover { background: rgba(255,255,255,0.10); color: #fff; text-decoration: none; }
.lg-btn.primary {
    background: linear-gradient(135deg, #E23636, #1565C0); border-color: transparent; color: #fff;
}
.lg-btn.primary:hover { filter: brightness(1.12); color: #fff; }

/* ── SSS ── */
.lg-faq { border-top: 1px solid var(--lg-border); }
.lg-faq details { border-bottom: 1px solid var(--lg-border); }
.lg-faq summary {
    cursor: pointer; padding: 18px 36px 18px 0; font-weight: 650; color: var(--lg-text);
    font-size: 0.95rem; list-style: none; position: relative;
}
.lg-faq summary::-webkit-details-marker { display: none; }
.lg-faq summary::after {
    content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    color: var(--lg-muted); font-size: 1.25rem; font-weight: 400; line-height: 1;
}
.lg-faq details[open] summary::after { content: "\2212"; }
.lg-faq summary:hover { color: #fff; }
.lg-faq .lg-faq-body { padding: 0 0 20px; color: var(--lg-text-sec); font-size: 0.9rem; }
.lg-faq .lg-faq-body p { margin-bottom: 12px; }
.lg-faq .lg-faq-body p:last-child { margin-bottom: 0; }

/* ── Alt bilgi ── */
.lg-footer {
    position: relative; z-index: 1; border-top: 1px solid var(--lg-border);
    margin-top: 24px; padding: 32px 24px 48px;
}
.lg-footer-inner {
    max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap;
    gap: 14px 28px; align-items: center; justify-content: space-between;
}
.lg-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.lg-footer nav a { color: var(--lg-text-sec); font-size: 0.83rem; font-weight: 600; }
.lg-footer .lg-copy { color: var(--lg-muted); font-size: 0.78rem; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .lg-plan:hover { transform: none; }
    * { transition-duration: 0.01ms !important; }
}
