/* Yapı Marketim — statik pazarlama/araç sayfaları ortak stili (SEO Faz 2).
   Landing v3 paletiyle uyumlu: stone zemin + turuncu vurgu. Bu dosya yalnız
   public/*.html sayfaları içindir; uygulama (Tailwind) bundan etkilenmez. */

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

/* hidden attribute'u, display:grid/flex tanımlı sınıflar tarafından ezilmesin
   (hesaplayıcı sonuç blokları hidden ile açılıp kapanır). */
[hidden] { display: none !important; }

:root {
  --bg: #faf9f7;
  --panel: #ffffff;
  --band: #f7f5f2;
  --ink: #1c1917;
  --muted: #57534e;
  --soft: #78716c;
  --faint: #a8a29e;
  --line: #e7e3dd;
  --accent: #ea580c;
  --accent-dark: #c2410c;
  --accent-soft: #fff7ed;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, .brand { font-family: 'Space Grotesk', 'Inter', sans-serif; letter-spacing: -0.02em; }

/* ---------- Üst çubuk ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15.5px; text-decoration: none; }
.brand-badge {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 16px;
}
.nav-links { display: flex; gap: 20px; font-size: 14px; font-weight: 500; color: var(--soft); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-block; text-decoration: none; text-align: center; cursor: pointer;
  font-family: inherit; font-weight: 700; border: none; border-radius: 12px;
  transition: background .2s, transform .15s;
}
.btn-primary {
  background: var(--accent); color: #fff; font-size: 15px; padding: 13px 24px;
  box-shadow: 0 10px 26px -8px rgba(234, 88, 12, 0.5);
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-dark { background: var(--ink); color: #fff; font-size: 15px; padding: 13px 24px; }
.btn-dark:hover { background: #292524; }
.btn-sm { font-size: 13.5px; padding: 9px 16px; border-radius: 10px; box-shadow: none; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 48px; text-align: left; }
.hero .kicker {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent); background: var(--accent-soft);
  border: 1px solid #fed7aa; border-radius: 999px; padding: 4px 12px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(30px, 5vw, 44px); font-weight: 700; line-height: 1.15; max-width: 720px; }
.hero .lead { font-size: 17px; color: var(--muted); max-width: 640px; margin: 18px 0 28px; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .trust { margin-top: 16px; font-size: 13.5px; color: var(--faint); }

/* ---------- Bölümler ---------- */
section { padding: 48px 0; }
.section-title { font-size: clamp(22px, 3.4vw, 30px); font-weight: 700; margin-bottom: 10px; }
.section-sub { color: var(--muted); font-size: 15.5px; max-width: 640px; margin-bottom: 32px; }

.band { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Özellik kartları */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px;
}
.card .icon {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent); font-size: 18px; font-weight: 700; margin-bottom: 14px;
}
.card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.card p { font-size: 14px; color: var(--muted); }

/* Vurgu şeridi (segment özel bölümü) */
.spotlight {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center;
}
@media (max-width: 820px) { .spotlight { grid-template-columns: 1fr; } }
.spotlight ul { list-style: none; display: grid; gap: 12px; }
.spotlight li { display: flex; gap: 10px; font-size: 15px; color: var(--muted); }
.spotlight li::before { content: '✓'; color: var(--accent); font-weight: 800; flex-shrink: 0; }
.spotlight .panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 26px;
  box-shadow: 0 20px 44px -24px rgba(28, 25, 23, 0.18);
}

/* ---------- Fiyat ---------- */
.price-box {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
  padding: 32px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between;
}
.price-box .amount { font-family: 'Space Grotesk', sans-serif; font-size: 38px; font-weight: 700; }
.price-box .amount span { font-size: 15px; font-weight: 500; color: var(--soft); }
.price-box .note { font-size: 14px; color: var(--muted); max-width: 380px; }
.price-box .badge {
  display: inline-block; font-size: 12.5px; font-weight: 700; color: #166534;
  background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 999px; padding: 3px 10px; margin-top: 6px;
}

/* ---------- SSS ---------- */
.faq details {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 20px; margin-bottom: 10px;
}
.faq summary { font-weight: 700; font-size: 15px; cursor: pointer; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 0; color: var(--accent); font-size: 20px; font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 10px; font-size: 14.5px; color: var(--muted); }

/* ---------- Kapanış CTA ---------- */
.cta-final { text-align: center; padding: 64px 0; }
.cta-final h2 { font-size: clamp(24px, 3.6vw, 32px); font-weight: 700; margin-bottom: 12px; }
.cta-final p { color: var(--muted); margin-bottom: 26px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--band); padding: 40px 0 52px; }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 28px 48px; justify-content: space-between; }
.site-footer h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--soft); margin-bottom: 12px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; font-size: 14px; }
.site-footer a { text-decoration: none; color: var(--muted); }
.site-footer a:hover { color: var(--ink); }
.site-footer .copyright { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }

/* ---------- Hesaplayıcı (araç sayfası) ---------- */
.calc {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start;
}
@media (max-width: 820px) { .calc { grid-template-columns: 1fr; } }
.calc .panel { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.calc label { display: block; font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.calc .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc .field { margin-bottom: 16px; }
.calc input {
  width: 100%; padding: 12px 14px; border: 1px solid #ddd7ce; border-radius: 11px;
  font-family: inherit; font-size: 15px; outline: none; background: #fdfcfb;
  transition: border-color .2s, box-shadow .2s;
}
.calc input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.12); }
.calc .hint { font-size: 12px; color: var(--faint); margin-top: 4px; }
.calc .btn { width: 100%; margin-top: 6px; padding: 14px; font-size: 16px; }
.result-empty { text-align: center; color: var(--faint); font-size: 14.5px; padding: 48px 20px; border: 2px dashed var(--line); border-radius: 16px; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.result-cell { background: var(--band); border-radius: 12px; padding: 16px; }
.result-cell .label { font-size: 13px; color: var(--soft); }
.result-cell .value { font-family: 'Space Grotesk', sans-serif; font-size: 30px; font-weight: 700; }
.result-cell .value small { font-size: 14px; font-weight: 500; color: var(--soft); }
.result-lines { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 8px; font-size: 14.5px; }
.result-lines .line { display: flex; justify-content: space-between; color: var(--muted); }
.result-lines .total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; border-top: 1px solid var(--line); }
.result-lines .total .sum { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 700; color: var(--accent); }

/* Araç sayfası içerik bölümü */
.prose { max-width: 760px; }
.prose h2 { font-size: 22px; font-weight: 700; margin: 32px 0 10px; }
.prose h3 { font-size: 17px; font-weight: 700; margin: 22px 0 8px; }
.prose p, .prose li { font-size: 15px; color: var(--muted); margin-bottom: 10px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 12px; }
.prose .tip {
  background: var(--accent-soft); border-left: 4px solid var(--accent);
  padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 16px 0; font-size: 14px; color: var(--muted);
}
.prose strong { color: var(--ink); }
.prose a { color: var(--accent); font-weight: 600; text-decoration: none; }
.prose a:hover { text-decoration: underline; }

/* ---------- Rehber (blog/makale) ---------- */
/* Makale gövdesi tek ortalanmış sütun — breadcrumb, başlık, metin, CTA ve ilgili
   rehberlerin tümü aynı sol hizada olsun (760px okunur genişlik). */
.article-wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.article-wrap .article-head,
.article-wrap .prose,
.article-wrap .article-cta,
.article-wrap .related-box { max-width: none; margin-left: 0; margin-right: 0; }
.breadcrumb { font-size: 13px; color: var(--soft); padding: 20px 0 0; }
.breadcrumb a { text-decoration: none; color: var(--soft); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--faint); }
.article-head { max-width: 760px; padding: 14px 0 22px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.article-head h1 { font-size: clamp(25px, 4vw, 36px); font-weight: 700; line-height: 1.2; }
.article-head .meta { margin-top: 12px; font-size: 13px; color: var(--faint); }
.formula {
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 16px; margin: 14px 0; font-family: 'Space Grotesk', sans-serif;
  font-size: 15px; color: var(--ink); overflow-x: auto; white-space: nowrap;
}
.article-cta {
  background: var(--accent-soft); border: 1px solid #fed7aa; border-radius: 16px;
  padding: 24px; margin: 32px 0; max-width: 760px;
}
.article-cta h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.article-cta p { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; }
.related-box { max-width: 760px; margin-top: 32px; }
.related-box h3 { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--soft); margin-bottom: 14px; }
.related-list { display: grid; gap: 12px; }
.related-list a {
  display: block; background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 16px 18px; text-decoration: none; color: var(--ink);
  font-weight: 600; font-size: 15px; transition: border-color .2s, transform .15s;
}
.related-list a:hover { border-color: var(--accent); }
.related-list a span { display: block; font-weight: 400; font-size: 13.5px; color: var(--soft); margin-top: 4px; }

/* Rehber hub kartları */
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.hub-card {
  display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line);
  border-radius: 16px; padding: 24px; text-decoration: none; color: var(--ink);
  transition: border-color .2s, transform .15s, box-shadow .2s;
}
.hub-card:hover { border-color: var(--accent); box-shadow: 0 16px 34px -22px rgba(28,25,23,0.22); }
.hub-card h2 { font-size: 18px; font-weight: 700; line-height: 1.3; margin-bottom: 10px; }
.hub-card p { font-size: 14px; color: var(--muted); flex: 1; }
.hub-card .more { margin-top: 14px; font-size: 13.5px; font-weight: 700; color: var(--accent); }
