/* Fizyo Asistan — ortak site stilleri */
:root {
  --blue-900: #0B3D70;
  --blue-700: #10559A;
  --blue-500: #2980B9;
  --blue-400: #3498DB;
  --green: #27AE60;
  --amber: #F39C12;
  --red: #E74C3C;

  --bg: #EEF3F9;
  --bg-grad-a: #E4EDF9;
  --bg-grad-b: #CFDEF3;
  --surface: rgba(255, 255, 255, 0.68);
  --surface-solid: #FFFFFF;
  --surface-strong: rgba(255, 255, 255, 0.86);
  --border: rgba(255, 255, 255, 0.55);
  --hairline: rgba(16, 85, 154, 0.12);
  --text: #16202E;
  --text-soft: #4A5A6E;
  --text-dim: #7A8798;
  --shadow-s: 0 2px 10px rgba(19, 44, 76, 0.06);
  --shadow-m: 0 10px 30px rgba(19, 44, 76, 0.08);
  --shadow-l: 0 24px 60px rgba(19, 44, 76, 0.12);
  --radius: 20px;
  --radius-s: 12px;
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E1520;
    --bg-grad-a: #101A28;
    --bg-grad-b: #0B121C;
    --surface: rgba(255, 255, 255, 0.05);
    --surface-solid: #151E2C;
    --surface-strong: rgba(255, 255, 255, 0.09);
    --border: rgba(255, 255, 255, 0.09);
    --hairline: rgba(255, 255, 255, 0.10);
    --text: #EAF1F8;
    --text-soft: #B3C1D1;
    --text-dim: #8494A6;
    --shadow-s: 0 2px 10px rgba(0, 0, 0, 0.35);
    --shadow-m: 0 10px 30px rgba(0, 0, 0, 0.45);
    --shadow-l: 0 24px 60px rgba(0, 0, 0, 0.55);
    --blue-500: #58AEEA;
    --blue-700: #3D93D8;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  background-image:
    radial-gradient(1100px 600px at 12% -8%, rgba(52, 152, 219, 0.22), transparent 60%),
    radial-gradient(900px 520px at 92% 4%, rgba(39, 174, 96, 0.14), transparent 62%),
    linear-gradient(160deg, var(--bg-grad-a) 0%, var(--bg-grad-b) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-500); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Üst menü ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--surface-strong);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner { display: flex; align-items: center; gap: 18px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: var(--shadow-s); }
.nav-links { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav-links a {
  color: var(--text-soft); font-size: 15px; font-weight: 600;
  padding: 8px 12px; border-radius: 10px;
}
.nav-links a:hover { color: var(--text); background: var(--surface); text-decoration: none; }
.nav-cta { margin-left: 8px; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 14px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--blue-700), var(--blue-400)); color: #fff; box-shadow: 0 10px 26px rgba(41, 128, 185, 0.32); }
.btn-primary:hover { box-shadow: 0 14px 32px rgba(41, 128, 185, 0.4); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); box-shadow: var(--shadow-s); }
.btn-ghost:hover { background: var(--surface-strong); }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 11px; }

/* ---------- Kartlar ve bölümler ---------- */
.card {
  background: var(--surface);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-m);
  padding: 26px;
}
section { padding: 74px 0; }
.section-head { max-width: 720px; margin: 0 auto 42px; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue-500); margin-bottom: 12px;
}
h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.2; margin: 0 0 14px; }
h1 { font-size: clamp(34px, 5.4vw, 56px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 14px; color: var(--text-soft); }
.lead { font-size: clamp(17px, 1.7vw, 20px); color: var(--text-soft); }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  font-size: 22px; margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(52,152,219,.18), rgba(41,128,185,.10));
  border: 1px solid var(--border);
}

/* ---------- Alt bilgi ---------- */
.footer { border-top: 1px solid var(--hairline); padding: 44px 0 34px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.footer h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-dim); margin: 0 0 12px; }
.footer a { display: block; color: var(--text-soft); font-size: 15px; padding: 4px 0; }
.footer a:hover { color: var(--blue-500); }
.footer-bottom { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--hairline); font-size: 14px; color: var(--text-dim); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Belge sayfaları (gizlilik, koşullar, destek) ---------- */
.doc { max-width: 820px; margin: 0 auto; padding: 52px 20px 20px; }
.doc .card { padding: clamp(24px, 4vw, 44px); }
.doc h1 { font-size: clamp(28px, 4vw, 40px); }
.doc h2 { font-size: 20px; margin-top: 34px; }
.doc h2:first-of-type { margin-top: 10px; }
.doc ul, .doc ol { color: var(--text-soft); padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc .updated { font-size: 14px; color: var(--text-dim); margin-bottom: 26px; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0 20px; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--hairline); color: var(--text-soft); vertical-align: top; }
.doc th { color: var(--text); font-weight: 700; font-size: 14px; }

.note { border-left: 3px solid var(--blue-400); background: var(--surface-strong); padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 18px 0; }
.note p:last-child { margin-bottom: 0; }

/* ---------- SSS ---------- */
details.faq {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 4px 20px; margin-bottom: 12px; box-shadow: var(--shadow-s);
}
details.faq summary {
  cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 22px; color: var(--blue-500); font-weight: 400; }
details.faq[open] summary::after { content: "−"; }
details.faq p { padding-bottom: 14px; margin: 0; }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
}
@media (max-width: 600px) {
  section { padding: 52px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
