/* =====================================================================
   AwaTranslate Web Sitesi - ana stil dosyası
   Mobil öncelikli, sade ve hızlı. Harici font/ikon yok.
   ===================================================================== */

:root {
    --brand: #2563eb;
    --brand-dark: #1e3a8a;
    --brand-soft: #eff6ff;
    --ink: #0f172a;
    --ink-2: #334155;
    --muted: #64748b;
    --line: #e2e8f0;
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --ok: #059669;
    --warn: #d97706;
    --no: #dc2626;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
    --wrap: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section--soft { background: var(--bg-soft); }
.section--alt { background: var(--brand-soft); }
.center { text-align: center; }
.lead { font-size: 1.1rem; color: var(--ink-2); }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

.skip-link {
    position: absolute; left: -999px; top: 0; background: #fff; color: var(--brand);
    padding: 10px 16px; z-index: 999;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ------------------------------------------------ üst bar */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: saturate(180%) blur(8px);
}
.header-inner { display: flex; align-items: center; gap: 16px; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo-mark {
    width: 34px; height: 34px; border-radius: 9px; background: var(--brand);
    color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .95rem;
}
.nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav a { color: var(--ink-2); font-size: .95rem; padding: 8px 12px; border-radius: 9px; }
.nav a:hover { background: var(--brand-soft); color: var(--brand); text-decoration: none; }
.nav a.is-active { color: var(--brand); font-weight: 600; }

.btn {
    display: inline-flex; align-items: center; gap: 8px; justify-content: center;
    padding: 11px 18px; border-radius: 10px; font-weight: 600; font-size: .95rem;
    border: 1px solid transparent; cursor: pointer; transition: .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: #1d4ed8; }
.btn--ghost { background: #fff; color: var(--brand); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); }
.btn--light { background: #fff; color: var(--brand-dark); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.nav-toggle {
    display: none; margin-left: auto; background: none; border: 1px solid var(--line);
    border-radius: 9px; padding: 7px 10px; color: var(--ink); cursor: pointer;
}

/* ------------------------------------------------ hero */
.hero { padding: 72px 0 56px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: 40px; grid-template-columns: 1.05fr .95fr; align-items: center; }
.badge {
    display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line);
    color: var(--brand-dark); font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 999px;
}
.hero p.lead { margin: 18px 0 0; font-size: 1.08rem; }
.hero-shot { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 26px; padding: 0; list-style: none; }
.hero-facts li { font-size: .9rem; color: var(--ink-2); }
.hero-facts strong { display: block; font-size: 1.35rem; color: var(--ink); }

/* ------------------------------------------------ özellik kartları */
.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 22px; box-shadow: var(--shadow);
}
.feature .ic { color: var(--brand); margin-bottom: 10px; }
.feature h3 { margin-bottom: 6px; }
.feature p { margin: 0; color: var(--ink-2); font-size: .95rem; }

/* ------------------------------------------------ ekran görüntüleri */
.shots { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.shot { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.shot img { width: 100%; }
.shot figcaption { padding: 12px 14px; font-size: .9rem; color: var(--ink-2); border-top: 1px solid var(--line); }

/* ------------------------------------------------ karşılaştırma */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 720px; }
table.cmp th, table.cmp td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: .92rem; }
table.cmp thead th { background: var(--brand-dark); color: #fff; font-weight: 600; position: sticky; top: 0; }
table.cmp thead th.own { background: var(--brand); }
table.cmp tbody th { font-weight: 600; color: var(--ink); background: #fff; }
table.cmp td.own { background: var(--brand-soft); font-weight: 600; }
table.cmp tbody tr:hover td, table.cmp tbody tr:hover th { background: #f1f5f9; }
table.cmp tbody tr:hover td.own { background: #dbeafe; }
.mark-yes { color: var(--ok); }
.mark-part { color: var(--warn); }
.mark-no { color: var(--no); }
.mark-note { display: block; font-size: .8rem; color: var(--muted); font-weight: 400; }

/* ------------------------------------------------ SSS */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 12px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 16px 18px; font-weight: 600; list-style: none; display: flex; gap: 10px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; margin-left: auto; color: var(--brand); font-size: 1.3rem; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .answer { padding: 0 18px 16px; color: var(--ink-2); }

/* ------------------------------------------------ indirme formu */
.download-wrap { display: grid; gap: 36px; grid-template-columns: 1fr 1fr; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
input[type=text], input[type=email], select, textarea {
    width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px;
    font-size: .95rem; font-family: inherit; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.field { margin-bottom: 14px; }
.field-row { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.checkline { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); font-weight: 400; }
.checkline input { width: 18px; height: 18px; margin-top: 2px; }
.alert { padding: 12px 14px; border-radius: 10px; font-size: .9rem; margin-bottom: 14px; }
.alert--err { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.alert--ok { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.alert--info { background: var(--brand-soft); border: 1px solid #bfdbfe; color: #1e40af; }

.thanks-box { text-align: center; padding: 20px 0; }
.thanks-box .ic { color: var(--ok); }

/* ------------------------------------------------ dosya listesi */
.file-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.file-row:last-child { border-bottom: 0; }
.file-row .ic { color: var(--brand-dark); flex: none; }
.file-meta { margin-left: auto; text-align: right; font-size: .86rem; color: var(--muted); }

/* ------------------------------------------------ alt bilgi */
.site-footer { background: var(--ink); color: #cbd5e1; padding: 44px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1.4fr 1fr 1fr; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 10px; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; font-size: .9rem; }
.footer-bottom { border-top: 1px solid #1e293b; margin-top: 26px; padding-top: 18px; font-size: .85rem; color: #94a3b8; }

/* ------------------------------------------------ duyuru */
.notice { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; padding: 12px 16px; border-radius: 10px; font-size: .9rem; margin-bottom: 18px; }

/* ------------------------------------------------ duyarlı */
@media (max-width: 940px) {
    .hero-grid, .download-wrap { grid-template-columns: 1fr; }
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    .nav {
        display: none; position: absolute; top: 66px; left: 0; right: 0; background: #fff;
        flex-direction: column; align-items: stretch; padding: 10px 16px 18px;
        border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    }
    .nav.is-open { display: flex; }
    .nav a { padding: 11px 8px; }
    .nav-toggle { display: inline-flex; }
    .grid--3, .grid--2, .shots, .footer-grid { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; }
    .section { padding: 46px 0; }
    .hero { padding: 48px 0 36px; }
}
