/* =========================================================
   makinecevirisi.com — tasarım sistemi
   Marka: lacivert (#0f2147) + turkuaz/mavi degrade
   Tipografi: Inter (gövde) + Fraunces (display, yalnız büyük başlıklar)
   ========================================================= */

/* ---- Token'lar ---- */
:root {
  /* ===== KONSEPT B — "Ferah Atölye" paleti: mürekkep & kâğıt ===== */
  --navy:        #1c2433;   /* mürekkep — eski --navy kullanan her yer otomatik uyar */
  --navy-deep:   #111827;
  --blue:        #1d4ed8;
  --turq:        #1d4ed8;   /* turkuaz vurgu tek mürekkep mavisine sadeleşti */
  --ink:         #1c2433;
  --gray:        #6b7280;
  --line:        #e5e7eb;
  --bg:          #fcfcfa;   /* kâğıt beyazı */
  --bg-soft:     #eef2ff;   /* açık mavi dolgu */

  --radius:      16px;
  --radius-sm:   10px;

  --shadow-xs:   0 1px 2px rgba(28, 36, 51, .05);
  --shadow:      0 10px 30px -12px rgba(28, 36, 51, .18);
  --shadow-lg:   0 24px 60px -30px rgba(28, 36, 51, .28);

  --font:        'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display:'Source Serif 4', Georgia, serif;

  --grad:        linear-gradient(120deg, #1d4ed8 0%, #3b6cf0 100%);
  --grad-navy:   linear-gradient(160deg, #1c2433 0%, #111827 70%);
}

/* ---- Sıfırlama / taban ---- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

img, svg { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

::selection { background: var(--turq); color: #fff; }

:focus-visible {
  outline: 3px solid var(--turq);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ---- Tipografi ---- */
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; color: var(--navy); }

h1.display, h2.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(1.9rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }

.lead { font-size: 1.12rem; color: var(--gray); }
.muted { color: var(--gray); }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--turq);
}

/* ---- Yerleşim ---- */
.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.section { padding: 4.5rem 0; }
.section-soft { background: var(--bg-soft); }
.grid-3 { display: grid; gap: 1.4rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .grid-3 { grid-template-columns: 1fr; } }

/* ---- Butonlar ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .7rem 1.4rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  font: 600 .95rem/1.2 var(--font);
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-xs);
}
.btn-primary:hover { box-shadow: var(--shadow); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover { background: rgba(255,255,255,.2); }

.btn-lg { padding: .95rem 1.9rem; font-size: 1.05rem; }
.btn-sm { padding: .45rem .95rem; font-size: .85rem; }
.btn-block { width: 100%; }

/* ---- Formlar ---- */
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; color: var(--navy); }

.input, input[type="text"], input[type="email"], input[type="password"],
input[type="tel"], input[type="number"], select, textarea {
  width: 100%;
  padding: .68rem .9rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font: 400 1rem/1.4 var(--font);
  color: var(--ink);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .18); /* odak halkası */
}
textarea { min-height: 130px; resize: vertical; }

.form-group { margin-bottom: 1.1rem; }
.form-hint { font-size: .82rem; color: var(--gray); margin-top: .3rem; }

/* ---- Kartlar ---- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-xs);
}
.card-hover { transition: box-shadow .2s ease, transform .2s ease; }
.card-hover:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

/* Cam (glass) panel — koyu zemin üstünde */
.glass {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
}

/* ---- Uyarılar ---- */
.alert {
  padding: .85rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  margin-bottom: 1rem;
  font-size: .93rem;
}
.alert-success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.alert-error   { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert-info    { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.alert-warning { background: #fffbeb; border-color: #fde68a; color: #92400e; }

/* ---- Tablolar ---- */
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th, .table td { padding: .75rem .9rem; text-align: start; border-bottom: 1px solid var(--line); }
.table th { color: var(--navy); font-weight: 600; background: var(--bg-soft); }
.table tbody tr:hover { background: var(--bg-soft); }

/* =========================================================
   ÜST BİLGİ / NAV
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; gap: 1.4rem; min-height: 66px; }

.brand {
  display: flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: 1.15rem; color: var(--navy);
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--grad);
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: .95rem;
}

.main-nav { display: flex; gap: .2rem; margin-inline-start: auto; flex-wrap: wrap; }
.main-nav a {
  padding: .45rem .75rem;
  border-radius: 8px;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 500;
}
.main-nav a:hover { background: var(--bg-soft); text-decoration: none; }
.main-nav a.active { color: var(--blue); background: #eff6ff; }

.nav-actions { display: flex; align-items: center; gap: .6rem; }
.lang-select {
  width: auto; padding: .4rem .6rem; font-size: .85rem;
  border-radius: 8px; border: 1.5px solid var(--line); background: #fff;
}

.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; color: var(--navy); cursor: pointer; padding: .3rem .5rem; }

@media (max-width: 960px) {
  .nav-toggle { display: block; margin-inline-start: auto; }
  .main-nav {
    display: none;
    position: absolute; inset-inline: 0; top: 100%;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: .8rem 1.2rem 1.2rem;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .nav-actions { margin-inline-start: 0; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  background: var(--grad-navy);
  color: #fff;
  overflow: hidden;
  padding: 5.5rem 0 6rem;
}
/* Degrade ışıma — turkuaz nefes */
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  pointer-events: none;
}
.hero::before { width: 480px; height: 480px; background: var(--turq); top: -180px; inset-inline-end: -120px; }
.hero::after  { width: 420px; height: 420px; background: var(--blue); bottom: -200px; inset-inline-start: -140px; }

.hero-inner { position: relative; z-index: 1; max-width: 720px; }
.hero .eyebrow { color: #7dd3fc; }
.hero h1 { color: #fff; margin-bottom: .6rem; }
.hero .lead { color: rgba(255,255,255,.78); margin-bottom: 2rem; }

.hero-ctas { display: flex; gap: .8rem; flex-wrap: wrap; }

/* Cam bilgi şeridi (hero altı) */
.hero-strip {
  position: relative; z-index: 1;
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.1rem 1.4rem;
}
.hero-strip .strip-item { font-size: .9rem; color: rgba(255,255,255,.85); }
.hero-strip .strip-item strong { display: block; color: #fff; font-size: 1.05rem; }
@media (max-width: 720px) { .hero-strip { grid-template-columns: 1fr; } }

/* =========================================================
   SAYFA BAŞLIĞI / İSKELET
   ========================================================= */
.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 3rem 0 2.2rem; }
.placeholder-box {
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--gray);
  background: #fff;
}

/* =========================================================
   ALT BİLGİ
   ========================================================= */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.72);
  padding: 3.5rem 0 2rem;
  margin-top: 4rem;
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: .8rem; }
.site-footer a { color: rgba(255,255,255,.72); display: block; padding: .2rem 0; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 1.4rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}

/* ---- RTL ince ayar ---- */
[dir="rtl"] .main-nav { margin-inline-start: auto; }

/* =========================================================
   ÇEVİRİ WIDGET'I (.tr-widget)
   Hem açık sayfada hem koyu hero içinde kullanılır;
   sonuç kutusu HER ZAMAN açık zemin + koyu metin (var(--ink)).
   ========================================================= */
.tr-widget { text-align: start; }

.tr-langs {
  display: grid;
  grid-template-columns: 1fr auto 1fr 1fr;
  gap: .7rem;
  align-items: end;
}
@media (max-width: 720px) {
  .tr-langs { grid-template-columns: 1fr auto 1fr; }
  .tr-langs .tr-lang-col:last-child { grid-column: 1 / -1; }
}

.tr-swap {
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--navy);
  border-radius: var(--radius-sm);
  width: 42px; height: 42px;
  font-size: 1.15rem;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, transform .15s ease;
}
.tr-swap:hover { border-color: var(--blue); color: var(--blue); transform: rotate(180deg); }

.tr-text { min-height: 120px; }

.tr-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.tr-compare-label {
  display: flex; align-items: center; gap: .45rem;
  font-weight: 500; font-size: .9rem; color: var(--ink);
  margin: 0; cursor: pointer;
}

/* ---- Sonuç ---- */
.tr-result { margin-top: 1.4rem; border-top: 1px solid var(--line); padding-top: 1.4rem; }

/* Önerilen en iyi çeviri: açık zemin + AÇIKÇA koyu metin
   (koyu hero içinde beyaz-üstüne-beyaz olmaması için color sabitlenir) */
.tr-best {
  background: #f0fbfa;
  border: 1.5px solid var(--turq);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  color: var(--ink);
}
.tr-best-title {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
}
.tr-best-text {
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 1.02rem;
}

.tr-scores {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
  margin-top: 1rem;
}
@media (max-width: 560px) { .tr-scores { grid-template-columns: 1fr; } }

.tr-score {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .8rem;
  text-align: center;
}
.tr-score-val {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}
.tr-score-label { font-size: .8rem; color: var(--gray); }

.tr-warnings { margin-top: 1rem; font-size: .9rem; color: var(--ink); }
.tr-warnings ul { margin: .4rem 0 0; padding-inline-start: 1.2rem; }
.tr-warnings li { color: #92400e; }

.tr-alts { margin-top: 1rem; font-size: .92rem; color: var(--ink); }
.tr-alt {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .8rem 1rem;
  margin-top: .6rem;
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-word;
}
.tr-alt .tr-alt-provider { display: block; font-weight: 600; color: var(--navy); margin-bottom: .25rem; }

.tr-downloads { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }

.tr-pro {
  margin-top: 1.1rem;
  background: var(--grad-navy);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: .8rem 1.1rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  font-size: .92rem;
}

/* Hero içinde widget genişliği */
.hero .tr-widget { margin-top: 2.2rem; }

/* =========================================================
   İŞLENİYOR OVERLAY'İ (.proc-overlay)
   form[data-processing] gönderiminde açılır (assets/app.js)
   ========================================================= */
.proc-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: rgba(10, 23, 48, .72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 1.5rem;
}
.proc-overlay[hidden] { display: none; }

.proc-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 2rem 2.2rem;
  max-width: 380px;
  width: 100%;
  text-align: center;
  color: var(--ink);
}
.proc-title { margin: .9rem 0 .2rem; font-size: 1.15rem; }
.proc-step  { min-height: 1.4em; color: var(--gray); font-size: .93rem; margin: .2rem 0 .9rem; }
.proc-note  { color: var(--gray); font-size: .82rem; margin: .9rem 0 0; }

.proc-spinner {
  width: 46px; height: 46px;
  margin: 0 auto;
  border-radius: 50%;
  border: 4px solid var(--line);
  border-top-color: var(--turq);
  animation: proc-spin 0.9s linear infinite;
}
@keyframes proc-spin { to { transform: rotate(360deg); } }

/* Kayan (indeterminate) ilerleme çubuğu */
.proc-bar {
  height: 6px;
  border-radius: 999px;
  background: var(--bg-soft);
  overflow: hidden;
  position: relative;
}
.proc-bar span {
  position: absolute;
  inset-block: 0;
  width: 38%;
  border-radius: 999px;
  background: var(--grad);
  animation: proc-slide 1.6s ease-in-out infinite;
}
@keyframes proc-slide {
  0%   { inset-inline-start: -40%; }
  100% { inset-inline-start: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .proc-spinner { animation: none; border-top-color: var(--line); }
  .proc-bar span { animation: none; width: 100%; inset-inline-start: 0; opacity: .5; }
}

/* =========================================================
   BELGE KONTROL (.check-*)
   ========================================================= */
.check-tabs {
  display: flex;
  gap: .4rem;
  border-bottom: 1.5px solid var(--line);
  margin-bottom: 1.2rem;
}
.check-tab {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: .6rem 1rem;
  font: 600 .95rem var(--font);
  color: var(--gray);
  cursor: pointer;
}
.check-tab.active { color: var(--blue); border-bottom-color: var(--blue); }
.check-tab:hover { color: var(--navy); }

.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 720px) { .check-grid { grid-template-columns: 1fr; } }
.check-grid textarea { min-height: 170px; }

/* Rapor başlığı */
.check-report-head {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  flex-wrap: wrap;
}
.check-score-big {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: #f0fbfa;
  border: 3px solid var(--turq);
  display: grid;
  place-items: center;
  align-content: center;
  color: var(--navy);
  flex: 0 0 auto;
}
.check-score-big span  { font-size: 1.9rem; font-weight: 700; line-height: 1; }
.check-score-big small { font-size: .6rem; color: var(--gray); text-transform: uppercase; letter-spacing: .05em; }
.check-score-big.low   { background: #fef2f2; border-color: #ef4444; }

.check-badge {
  display: inline-block;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .25rem .8rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--navy);
}

/* Bulgu kartları */
.finding {
  border: 1.5px solid var(--line);
  border-inline-start-width: 5px;
  border-radius: var(--radius-sm);
  padding: .9rem 1.1rem;
  margin-top: .8rem;
  font-size: .93rem;
  color: var(--ink);
}
.finding-critical { border-inline-start-color: #ef4444; background: #fef7f7; }
.finding-warning  { border-inline-start-color: #f59e0b; background: #fffdf5; }

.finding-head { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.finding-sev  { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.finding-critical .finding-sev { color: #b91c1c; }
.finding-warning  .finding-sev { color: #92400e; }

.finding-issue { margin: .35rem 0; }
.finding-vals  { margin: .35rem 0; display: flex; gap: .6rem; flex-wrap: wrap; color: var(--gray); }
.finding-vals code {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: .1rem .4rem;
  color: var(--ink);
  word-break: break-all;
}
.finding-suggestion { margin: .35rem 0 0; color: #065f46; }

/* =========================================================
   PAKET KARTLARI (.pkg-*)
   ========================================================= */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
  align-items: stretch;
}
.pkg-card { position: relative; display: flex; flex-direction: column; }
.pkg-card .btn { margin-top: auto; }

.pkg-popular { border-color: var(--blue); box-shadow: var(--shadow); }

.pkg-badge {
  position: absolute;
  top: -12px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .28rem .9rem;
  border-radius: 999px;
  white-space: nowrap;
}
[dir="rtl"] .pkg-badge { transform: translateX(50%); }

.pkg-price {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums; /* tabular rakam */
  margin: .4rem 0 .8rem;
}
.pkg-price small { font-size: .85rem; color: var(--gray); font-weight: 500; }
.pkg-price-custom { font-size: 1.2rem; }

.pkg-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  font-size: .9rem;
  color: var(--ink);
}
.pkg-features li {
  padding: .34rem 0 .34rem 1.4rem;
  position: relative;
  border-bottom: 1px dashed var(--line);
}
.pkg-features li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  color: var(--turq);
  font-weight: 700;
}
[dir="rtl"] .pkg-features li { padding: .34rem 1.4rem .34rem 0; }

/* =========================================================
   CHECKOUT KREDİ SEÇENEKLERİ (.co-*)
   ========================================================= */
.co-credits { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: .6rem; }
@media (max-width: 520px) { .co-credits { grid-template-columns: 1fr; } }

.co-credit {
  display: flex;
  align-items: center;
  gap: .6rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .7rem .9rem;
  cursor: pointer;
  font-weight: 500;
  margin: 0;
}
.co-credit:has(input:checked) { border-color: var(--blue); background: #eff6ff; }
.co-credit input { width: auto; }
.co-credit-amt { flex: 1; }
.co-credit-price { font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }

/* =========================================================
   MAKBUZ (.inv-*) + YAZDIRMA
   ========================================================= */
.inv-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--navy);
  padding-bottom: 1rem;
}
.inv-parties {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-top: 1.2rem;
  font-size: .92rem;
}
@media (max-width: 560px) { .inv-parties { grid-template-columns: 1fr; } }
.inv-parties h4 { margin-bottom: .3rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gray); }
.inv-parties p { margin: 0; }

@media print {
  .site-header, .site-footer, .proc-overlay, .no-print { display: none !important; }
  body { background: #fff; }
  .section { padding: 0; }
  .card { border: none; box-shadow: none; padding: 0; }
  a { color: inherit; text-decoration: none; }
}

/* =========================================================
   API DOKÜMANTASYON KOD BLOKLARI
   ========================================================= */
.api-code {
  background: var(--navy-deep);
  color: #d7e4f7;
  border-radius: var(--radius-sm);
  padding: .8rem 1rem;
  font-size: .82rem;
  line-height: 1.5;
  overflow-x: auto;
  white-space: pre;
  margin: .4rem 0 0;
}
.api-code + .api-code { margin-top: .5rem; }

/* =========================================================
   BLOG — liste (.blog-*) ve yazı detayı (.post-*)
   ========================================================= */

/* Kategori çipleri */
.blog-chips { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.blog-chip {
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: .35rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray);
  background: #fff;
}
.blog-chip:hover { color: var(--navy); border-color: var(--blue); text-decoration: none; }
.blog-chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Izgara: 3 sütun; 900px altı 2, 600px altı 1 */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

/* Kart */
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
}
.blog-card:hover { text-decoration: none; }
.blog-card-body { padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; flex: 1; }

.blog-tag {
  display: inline-block;
  align-self: flex-start;
  background: #eff6ff;
  color: var(--blue);
  border-radius: 999px;
  padding: .18rem .7rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
a.blog-tag:hover { text-decoration: none; background: var(--blue); color: #fff; }

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--navy);
  margin: 0 0 .45rem;
}
.blog-card-excerpt { color: var(--gray); font-size: .9rem; line-height: 1.55; margin: 0 0 .8rem; flex: 1; }
.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .6rem;
  color: var(--gray);
  font-size: .8rem;
  margin: 0;
}
.blog-read-more { color: var(--blue); font-weight: 600; white-space: nowrap; }

/* Kapak alanı: görsel VEYA markalı degrade + ikon (asla boş değil) */
.blog-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.blog-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-cover-icon { font-size: 2.6rem; filter: drop-shadow(0 2px 6px rgba(10,23,48,.35)); }

/* 5 degrade varyantı — crc32(slug)%5 ile seçilir */
.blog-cover-g0 { background: linear-gradient(135deg, #0f2147 0%, #1d4ed8 100%); }
.blog-cover-g1 { background: linear-gradient(135deg, #123e5c 0%, #14b8a6 100%); }
.blog-cover-g2 { background: linear-gradient(135deg, #1e1b4b 0%, #6366f1 100%); }
.blog-cover-g3 { background: linear-gradient(135deg, #0c4a6e 0%, #0ea5e9 100%); }
.blog-cover-g4 { background: linear-gradient(135deg, #14532d 0%, #10b981 100%); }

/* Öne çıkan kart (yatay) */
.blog-featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
  margin-bottom: 1.6rem;
}
.blog-featured:hover { text-decoration: none; }
@media (max-width: 760px) { .blog-featured { grid-template-columns: 1fr; } }
.blog-featured .blog-cover { aspect-ratio: auto; min-height: 240px; height: 100%; }
@media (max-width: 760px) { .blog-featured .blog-cover { aspect-ratio: 16/9; min-height: 0; height: auto; } }
.blog-featured-body { padding: 1.6rem 1.8rem; display: flex; flex-direction: column; justify-content: center; }
.blog-featured-badge {
  position: absolute;
  top: .8rem;
  inset-inline-start: .8rem;
  background: rgba(255,255,255,.92);
  color: var(--navy);
  border-radius: 999px;
  padding: .25rem .8rem;
  font-size: .74rem;
  font-weight: 700;
}

/* ---- Yazı detayı ---- */
.post-hero {
  position: relative;
  height: clamp(220px, 34vw, 380px);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.post-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-hero-icon { font-size: 4rem; filter: drop-shadow(0 3px 8px rgba(10,23,48,.4)); }
.post-hero.blog-cover-g0 { background: linear-gradient(135deg, #0f2147 0%, #1d4ed8 100%); }
.post-hero.blog-cover-g1 { background: linear-gradient(135deg, #123e5c 0%, #14b8a6 100%); }
.post-hero.blog-cover-g2 { background: linear-gradient(135deg, #1e1b4b 0%, #6366f1 100%); }
.post-hero.blog-cover-g3 { background: linear-gradient(135deg, #0c4a6e 0%, #0ea5e9 100%); }
.post-hero.blog-cover-g4 { background: linear-gradient(135deg, #14532d 0%, #10b981 100%); }

.post-head { padding: 2rem 0 .4rem; }
.post-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.2;
  color: var(--navy);
  margin: .4rem 0 .5rem;
}
.post-meta { color: var(--gray); font-size: .9rem; margin: 0 0 1rem; }
.post-back { font-weight: 600; }

/* İçerik tipografisi */
.post-content { font-size: 1.02rem; line-height: 1.75; color: var(--ink); }
.post-content h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--navy);
  margin: 2rem 0 .7rem;
}
.post-content h3 { font-size: 1.15rem; color: var(--navy); margin: 1.6rem 0 .5rem; }
.post-content p { margin: 0 0 1.1rem; }
.post-content ul, .post-content ol { margin: 0 0 1.1rem; padding-inline-start: 1.4rem; }
.post-content li { margin-bottom: .4rem; }
.post-content a { text-decoration: underline; }
.post-content blockquote {
  border-inline-start: 4px solid var(--turq);
  background: var(--bg-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: .9rem 1.2rem;
  margin: 1.4rem 0;
  color: var(--navy);
  font-style: italic;
}
.post-content img {
  max-width: 100%;
  border-radius: var(--radius-sm);
  margin: 1.2rem 0;
  display: block;
}
.post-content code {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: .1rem .35rem;
  font-size: .88em;
}
.post-content table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .92rem; }
.post-content table th, .post-content table td { border: 1px solid var(--line); padding: .5rem .7rem; text-align: start; }
.post-content table th { background: var(--bg-soft); color: var(--navy); }

/* =========================================================
   ANA SAYFA — nasıl çalışır, CTA bandı
   ========================================================= */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--navy);
  text-align: center;
  margin: 0 0 1.8rem;
}

.how-step { position: relative; padding-top: 2.6rem; }
.how-num {
  position: absolute;
  top: -18px;
  inset-inline-start: 1.4rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: var(--shadow);
}

.cta-band {
  background: var(--grad-hero, linear-gradient(120deg, #0f2147 0%, #1d4ed8 60%, #14b8a6 100%));
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  flex-wrap: wrap;
}

/* İletişim ızgarası mobil */
@media (max-width: 760px) {
  .ct-grid { grid-template-columns: 1fr !important; }
  .ct-two  { grid-template-columns: 1fr !important; }
}

/* =========================================================
   SON RÖTUŞLAR — cila
   ========================================================= */
.display, .section-title, .post-title, .blog-card-title { text-wrap: balance; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid rgba(29, 78, 216, .4); outline-offset: 2px; }
.table td { font-variant-numeric: tabular-nums; }
.card-hover { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(29, 78, 216, .25);
  outline-offset: 1px;
}
::selection { background: rgba(20, 184, 166, .25); }

/* =========================================================
   2026 MODERNİZASYON KATMANI
   Mevcut bileşenlerin üstüne gelir; işaretleme değişmeden
   görünümü tazeler + mobil davranışı sertleştirir.
   ========================================================= */

/* ---- Genel zemin ---- */
html { scroll-behavior: smooth; }
img, svg, video { max-width: 100%; height: auto; }
::selection { background: rgba(37, 99, 235, .18); }

/* İnce, markalı kaydırma çubuğu (webkit) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: #c4cfdf; border-radius: 8px; border: 2px solid var(--bg-soft); }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* Erişilebilir odak halkası (tüm etkileşimliler) */
:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .45);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---- Yapışkan buzlu-cam üst bar ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(227, 232, 240, .8);
}

/* ---- Akışkan tipografi: telefonda taşma biter ---- */
.display   { font-size: clamp(1.9rem, 1.2rem + 3.2vw, 3.4rem); line-height: 1.12; letter-spacing: -0.015em; }
.lead      { font-size: clamp(1rem, .92rem + .5vw, 1.2rem); }
h2         { letter-spacing: -0.01em; }
.section   { padding-block: clamp(2.6rem, 5vw, 5rem); }

/* ---- Butonlar: degrade birincil + mikro etkileşim ---- */
.btn { transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.btn-primary {
  background: var(--grad);
  border: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, .30);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(37, 99, 235, .38); }
.btn:active { transform: translateY(0) scale(.98); }

/* ---- Kartlar: yumuşak kalkış (yalnız vitrin ızgaralarında) ---- */
.card { transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease; }
.grid-3 > .card:hover,
.blog-grid .card:hover,
.pkg-grid .card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, .25);
}

/* ---- Hero: derinlik (ışık küreleri + ince ızgara dokusu) ---- */
.hero { position: relative; overflow: hidden; }
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
  opacity: .5;
}
.hero::before { width: 480px; height: 480px; background: rgba(6, 182, 212, .35); top: -180px; inset-inline-end: -120px; }
.hero::after  { width: 380px; height: 380px; background: rgba(37, 99, 235, .40); bottom: -160px; inset-inline-start: -100px; }
.hero > .container { position: relative; z-index: 1; }

.hero-strip {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* ---- Tablolar: mobilde yatay kaydırma (kırpılma biter) ---- */
@media (max-width: 780px) {
  table.table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
}

/* ---- Mobil form konforu ---- */
@media (max-width: 760px) {
  /* iOS'un odakta sayfayı yakınlaştırmasını engeller (16px kuralı) */
  input, select, textarea { font-size: 16px !important; }

  .container { padding-inline: 1rem; }

  /* Buton grupları tam genişlik akar */
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { text-align: center; }

  /* Mobil menü: parmak dostu hedefler */
  .main-nav a { padding: .85rem .4rem; font-size: 1.05rem; border-bottom: 1px solid var(--bg-soft); }
  .main-nav a:last-child { border-bottom: none; }

  /* Kart iç boşlukları nefes alsın ama yer yemesin */
  .card { padding: 1.1rem; }
}

/* Çok küçük ekranlar */
@media (max-width: 400px) {
  .brand span:last-child { font-size: .95rem; }
  .nav-actions .lang-select { max-width: 84px; }
}

/* =========================================================
   KONSEPT B KATMANI — "Ferah Atölye"
   Mürekkep-kâğıt: aydınlık hero, hap butonlar, cetvel
   çizgileri, editoryal serif başlıklar. Önceki koyu-hero
   kurallarını ve modernizasyon degrade butonunu geçersiz
   kılar; işaretleme aynı kalır.
   ========================================================= */

body { background: var(--bg); }

/* ---- Butonlar: hap formu, mürekkep mavisi ---- */
.btn { border-radius: 999px; padding: .75rem 1.6rem; }
.btn-sm { padding: .5rem 1.1rem; }
.btn-primary {
  background: var(--blue);
  border: none;
  box-shadow: 0 4px 14px rgba(29, 78, 216, .22);
}
.btn-primary:hover {
  background: #1e40af;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(29, 78, 216, .30);
}
.btn-outline { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

/* .btn-ghost-light artık AYDINLIK hero üzerinde durur */
.btn-ghost-light { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost-light:hover { background: #fff; border-color: var(--blue); color: var(--blue); }

/* ---- HERO: koyu laciverti bırak, kâğıda dön ---- */
.hero {
  background: var(--bg);
  color: var(--ink);
  padding: 4.5rem 0 4rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.hero::before, .hero::after { display: none; } /* ışık küreleri bu konseptte yok */
.hero-inner { max-width: 780px; margin-inline: auto; }
.hero .eyebrow {
  color: var(--blue);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .8rem;
}
.hero h1 { color: var(--ink); font-family: var(--font-display); font-weight: 600; }
.hero h1 em, .hero h1 .accent { font-style: italic; color: var(--blue); }
.hero .lead { color: var(--gray); max-width: 580px; margin-inline: auto; }
.hero-ctas { justify-content: center; }

/* İMZA: dizgi provası — aynı cümle beş dilde */
.proof {
  margin: 2.8rem auto 0;
  max-width: 620px;
  text-align: start;
  border-block: 1px solid var(--line);
  padding-block: 1.2rem;
}
.proof-row { display: flex; gap: 1.2rem; padding-block: .55rem; align-items: baseline; }
.proof-row + .proof-row { border-top: 1px dashed var(--line); }
.proof-lang {
  width: 78px; flex: none;
  font-size: .72rem; letter-spacing: .12em;
  color: var(--gray); text-transform: uppercase; font-weight: 700;
}
.proof-txt { font-family: var(--font-display); font-size: 1.06rem; color: var(--ink); }
.proof-row.hl .proof-txt, .proof-row.hl .proof-lang { color: var(--blue); }

/* Cam şerit → kâğıt üstü cetvelli kutular */
.hero-strip, .glass {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.hero-strip .strip-item { color: var(--gray); }
.hero-strip .strip-item b, .hero-strip .strip-item strong { color: var(--ink); }

/* ---- Çeviri masası: beyaz kart + mavi sonuç sütunu ---- */
.hero .tr-widget, .tr-widget {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.tr-widget label { color: var(--gray); }
.tr-widget select, .tr-widget textarea, .tr-widget input {
  background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.tr-widget select:focus, .tr-widget textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, .12);
  outline: none;
}
.tr-result { background: var(--bg-soft); border-radius: 0 0 var(--radius) var(--radius); margin: 1.2rem -1px -1px; padding: 1.4rem; border-top: 1px solid var(--line); }
.tr-best-text { font-family: var(--font-display); font-size: 1.08rem; color: #172554; }

/* ---- Başlıklar: editoryal serif ---- */
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.012em; }
.section-title, .sec-title { font-family: var(--font-display); }

/* ---- Kartlar: beyaz, cetvelli, nazik kalkış ---- */
.card { background: #fff; border: 1px solid var(--line); }
.grid-3 > .card:hover,
.blog-grid .card:hover,
.pkg-grid .card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
}

/* Popüler paket: mavi çerçeve + rozet hap ---- */
.pkg-card.popular, .pkg-popular { border-color: var(--blue) !important; }
.pkg-badge, .popular-badge {
  background: var(--blue); color: #fff;
  border-radius: 999px; font-weight: 700;
}

/* ---- Üst bar: kâğıt üstü, ince alt cetvel ---- */
.site-header {
  background: rgba(252, 252, 250, .88);
  border-bottom: 1px solid var(--line);
}
.main-nav a { color: var(--gray); font-weight: 500; }
.main-nav a:hover, .main-nav a.active { color: var(--blue); }
.brand { font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.brand-mark {
  background: var(--blue);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(29, 78, 216, .25);
}

/* ---- Formlar ---- */
input, select, textarea {
  border-radius: var(--radius-sm);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, .12);
}

/* ---- Uyarı kutuları: sol mürekkep şeridi ---- */
.alert { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; border-inline-start-width: 3px; }

/* ---- Footer: aydınlık, cetvelli ---- */
.site-footer, footer.site-footer {
  background: var(--bg);
  color: var(--gray);
  border-top: 1px solid var(--line);
}
.site-footer a { color: var(--gray); }
.site-footer a:hover { color: var(--blue); }
.site-footer h4, .site-footer .foot-title { color: var(--ink); font-family: var(--font-display); }

/* ---- İçerik tipografisi (yasal sayfalar, blog) ---- */
.post-content h1, .post-content h2, .post-content h3 { font-family: var(--font-display); }
.post-content blockquote {
  border-inline-start: 3px solid var(--blue);
  background: var(--bg-soft);
}

/* ---- Mobil: prova satırları ---- */
@media (max-width: 560px) {
  .proof-lang { width: 64px; font-size: .66rem; }
  .proof-txt { font-size: .96rem; }
  .hero { padding-top: 3rem; }
}

/* ---- Dosya seçme girişi: yerel düğme → Konsept B hap düğmesi ---- */
input[type="file"] {
  width: 100%;
  padding: .9rem;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--gray);
  font: 500 .92rem/1.4 var(--font);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
input[type="file"]:hover { border-color: var(--blue); background: var(--bg-soft); }
input[type="file"]:focus { border-style: solid; }

input[type="file"]::file-selector-button {
  font: 600 .9rem/1.2 var(--font);
  color: #fff;
  background: var(--blue);
  border: none;
  border-radius: 999px;
  padding: .6rem 1.3rem;
  margin-inline-end: 1rem;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
  box-shadow: 0 3px 10px rgba(29, 78, 216, .22);
}
input[type="file"]::file-selector-button:hover {
  background: #1e40af;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(29, 78, 216, .30);
}
/* Eski WebKit adlandırması (Safari uyumu) */
input[type="file"]::-webkit-file-upload-button {
  font: 600 .9rem/1.2 var(--font);
  color: #fff;
  background: var(--blue);
  border: none;
  border-radius: 999px;
  padding: .6rem 1.3rem;
  margin-inline-end: 1rem;
  cursor: pointer;
}

/* ==== Sürükle-bırak dosya alanı ==== */
.file-drop{position:relative;border:2px dashed var(--border,#c8d2e0);border-radius:12px;padding:2rem 1.2rem;text-align:center;background:rgba(0,0,0,.015);transition:border-color .15s,background .15s;cursor:pointer}
.file-drop:hover{border-color:var(--primary,#1f6feb)}
.file-drop.dragover{border-color:var(--primary,#1f6feb);background:rgba(31,111,235,.06)}
.file-drop input[type="file"]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.file-drop .file-drop-icon{font-size:1.8rem;display:block;margin-bottom:.4rem}
.file-drop .file-drop-name{display:block;margin-top:.3rem;font-weight:600;word-break:break-all}

/* ==== İndirme kaynak seçimi (çeviri widget'ı) ==== */
.tr-dl-pick{display:flex;align-items:center;gap:.6rem;margin-top:1rem;flex-wrap:wrap}
.tr-dl-pick .tr-dl-source{max-width:320px}
