@import url('/assets/fonts/fonts.css');

:root {
  --ground: #f2f5f3;
  --surface: #ffffff;
  --ink: #10231c;
  --muted: #5b6b65;
  --line: #e3eae6;
  --primary: #0f6e56;
  --primary-soft: #ddefe8;
  --hero: #0f3d33;
  --hero-text: #b9e2d3;
  --due-soft: #fdf0e1;
  --due-text: #b45309;
  --radius: 20px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 17px/1.6 Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
}
h1, h2, h3 { font-family: Manrope, Inter, system-ui, sans-serif; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; margin: 0 0 0.5em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 800; margin: 0 0 0.6em; }
h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 0.4em; }
a { color: var(--primary); }
a:hover { color: #0b5442; }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Üst menü */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; flex-wrap: wrap; }
.logo { font: 800 1.35rem Manrope, sans-serif; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.logo span { color: var(--primary); }
.site-header nav { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
.site-header nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 10px 0; }
.site-header nav a:hover { color: var(--primary); }

/* Düğmeler */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px; border-radius: 16px;
  background: var(--primary); color: #fff; font-weight: 600; text-decoration: none;
}
.button:hover { background: #0b5442; color: #fff; }
.button.light { background: #fff; color: var(--hero); }
.button.outline { background: transparent; color: var(--ink); border: 1px solid #c9d3ce; }
.button.outline.on-dark { color: #fff; border-color: #2a6455; }
.button.outline.on-dark:hover { background: #164a3e; }

/* Ana sayfa */
.hero { background: var(--hero); color: #fff; padding: 56px 0 0; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: end; }
.hero h1 { color: #fff; }
.hero .lead { color: var(--hero-text); font-size: 1.15rem; max-width: 34em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 56px; }
.hero .badge { display: inline-block; background: var(--hero-text); color: var(--hero); font-weight: 600; font-size: 0.85rem; padding: 4px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero .phone { justify-self: center; width: min(320px, 100%); border-radius: 36px 36px 0 0; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); display: block; }
.section { padding: 64px 0; }
.section.alt { background: var(--surface); }
.section .intro { color: var(--muted); max-width: 40em; margin: 0 0 32px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 22px; }
.section.alt .card { background: var(--ground); }
.card p { margin: 0; color: var(--muted); }
.icon { width: 44px; height: 44px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; font-weight: 800; }
.steps { counter-reset: step; }
.steps .card::before { counter-increment: step; content: counter(step); display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; margin-bottom: 12px; }

/* Örnek hesap */
.example { background: var(--hero); color: #fff; border-radius: 24px; padding: 28px; max-width: 560px; }
.example h3 { color: #fff; }
.example dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 16px 0; }
.example dt { color: var(--hero-text); }
.example dd { margin: 0; font-weight: 700; text-align: right; }
.example .total { font: 800 2rem Manrope, sans-serif; }
.example small { color: var(--hero-text); }

/* Premium */
.badge-soft { display: inline-block; background: var(--due-soft); color: var(--due-text); font-weight: 700; font-size: 0.85rem; padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }
.feature-row { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; margin-top: 56px; }
.feature-row:nth-of-type(even) { grid-template-columns: 1fr 300px; }
.feature-row:nth-of-type(even) .shot { order: 2; }
.feature-row h3 { font-size: 1.5rem; }
.feature-row p { color: var(--muted); max-width: 34em; }
.feature-row .proof { color: var(--ink); background: var(--surface); border-left: 4px solid var(--primary); border-radius: 0 12px 12px 0; padding: 12px 16px; }
.shot { width: 100%; max-width: 300px; justify-self: center; border-radius: 32px; border: 6px solid var(--ink); box-shadow: 0 24px 48px rgba(16, 35, 28, 0.18); background: var(--ground); }
.compare { width: 100%; max-width: 760px; border-collapse: collapse; margin-top: 28px; background: var(--surface); border-radius: 20px; overflow: hidden; }
.compare th, .compare td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare td:last-child { color: var(--primary); font-weight: 700; }
.compare tr:last-child td { border-bottom: 0; }

/* Fiyat */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.plan { background: var(--surface); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.plan.featured { border: 2px solid var(--primary); }
.plan .price { font: 800 2rem Manrope, sans-serif; margin: 8px 0; }
.plan ul { padding-left: 1.1em; color: var(--muted); }
.tag { display: inline-block; background: var(--due-soft); color: var(--due-text); font-weight: 600; font-size: 0.8rem; padding: 3px 10px; border-radius: 999px; }

/* Rehber kartları */
.guides { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 24px; }
.card.guide { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 8px; }
.card.guide:hover { outline: 2px solid var(--primary); }
.card.guide .more { color: var(--primary); font-weight: 600; margin-top: auto; }

/* SSS */
details { background: var(--surface); border-radius: 16px; padding: 18px 20px; margin-bottom: 10px; }
summary { font-weight: 600; cursor: pointer; }
details p { color: var(--muted); margin: 10px 0 0; }

/* İçerik sayfaları */
main.page { padding: 40px 0 64px; }
.prose { background: var(--surface); border-radius: 24px; padding: clamp(22px, 4vw, 48px); max-width: 820px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: 0.95rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--ground); }
.prose blockquote { margin: 1.2em 0; padding: 14px 18px; background: var(--due-soft); border-radius: 14px; color: #5c3d07; }
.prose blockquote p { margin: 0; }
.prose > :first-child { margin-top: 0; }
.updated { color: var(--muted); font-size: 0.9rem; }

/* Alt bilgi */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 36px 0; font-size: 0.92rem; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 16px; }
.site-footer nav a { color: var(--ink); text-decoration: none; padding: 6px 0; }
.disclaimer { max-width: 52em; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { padding-top: 36px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .actions { margin-bottom: 32px; }
  .section { padding: 48px 0; }
  .site-header nav { margin-left: 0; gap: 14px; }
  .feature-row, .feature-row:nth-of-type(even) { grid-template-columns: 1fr; gap: 20px; margin-top: 44px; }
  .feature-row:nth-of-type(even) .shot { order: 0; }
  .shot { max-width: 260px; }
  .compare th, .compare td { padding: 10px; font-size: 0.92rem; }
}

/* Hesaplayıcı */
.calc { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; align-items: start; margin: 20px 0 28px; }
.calc-intro { margin-bottom: 0; }
.calc-form { background: var(--surface); border-radius: 24px; padding: clamp(18px, 3vw, 28px); display: flex; flex-direction: column; gap: 18px; }
.calc-form fieldset { border: 0; margin: 0; padding: 0; }
.calc-form legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.calc-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.92rem; color: var(--muted); }
.calc-form input:not([type=radio]) { font: 600 1.15rem Inter, sans-serif; color: var(--ink); padding: 12px 14px; border: 1px solid #c9d3ce; border-radius: 14px; background: #fff; width: 100%; min-height: 52px; }
.calc-form select { font: 600 1.05rem Inter, sans-serif; color: var(--ink); padding: 12px 14px; border: 1px solid #c9d3ce; border-radius: 14px; background: #fff; width: 100%; min-height: 52px; }
.calc-form input:focus, .calc-form select:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: var(--primary); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hint { margin: 8px 0 0; font-size: 0.88rem; color: var(--muted); }
.choices { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; }
.choices label { flex-direction: row; align-items: center; gap: 8px; color: var(--ink); font-size: 0.98rem; min-height: 32px; }
.choices input { width: 18px; height: 18px; accent-color: var(--primary); }
.calc-more { background: var(--ground); border-radius: 16px; padding: 14px 16px; margin: 0; }
.calc-more[open] summary { margin-bottom: 12px; }
.calc-side { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 16px; }
.calc-result { background: var(--hero); color: #fff; border-radius: 24px; padding: 24px; min-height: 160px; }
.result-label { color: var(--hero-text); margin: 0; }
.result-total { font: 800 clamp(1.7rem, 4vw, 2.3rem) Manrope, sans-serif; margin: 6px 0; line-height: 1.15; }
.result-sub { color: var(--hero-text); margin: 4px 0 0; font-size: 0.95rem; }
.result-empty, .result-error { margin: 0; color: var(--hero-text); }
.result-error { color: #ffd7cf; }
.breakdown { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid #2a6455; font-size: 0.95rem; }
.breakdown dt { color: var(--hero-text); }
.breakdown dd { margin: 0; text-align: right; font-weight: 600; }
.result-compare { margin: 14px 0 0; padding: 12px 14px; background: #164a3e; border-radius: 14px; font-size: 0.92rem; color: var(--hero-text); }
.result-compare strong { color: #fff; display: block; }
.result-notes { margin: 14px 0 0; padding-left: 1.1em; font-size: 0.9rem; color: var(--hero-text); }
.result-disclaimer { margin: 14px 0 0; font-size: 0.82rem; color: var(--hero-text); }
.rate-table td:nth-child(2) { font-weight: 700; }
.privacy-note { margin: 0; font-size: 0.88rem; color: var(--muted); }
.calc-cta h3 { margin-top: 0; }
.calc-cta p { margin-bottom: 14px; }
.calc-sticky { display: none; }
@media (max-width: 860px) {
  .calc { grid-template-columns: 1fr; }
  .calc-side { position: static; }
  .calc-sticky:not([hidden]) {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 10;
    padding: 14px 18px; border-radius: 18px; background: var(--hero); color: #fff;
    font-weight: 700; text-decoration: none; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  }
  .calc-sticky span:last-child { color: var(--hero-text); font-weight: 600; white-space: nowrap; }
}
@media (max-width: 420px) {
  .pair { grid-template-columns: 1fr; }
}
