/* ============================================================
   SMARTBAHIS — Tasarım Sistemi
   Saf CSS, harici bağımlılık yok.
   Marka paleti: Turkuaz yeşil (#1ABB97) + koyu lacivert (#111620)
   ============================================================ */

:root {
  --primary: #1abb97;
  --primary-dark: #149b7d;
  --primary-light: #2fd8b2;
  --primary-glow: rgba(26, 187, 151, 0.28);
  --gold: #f5b93b;
  --bg: #0c1118;
  --surface: #131a24;
  --surface-2: #1b2430;
  --border: #26313f;
  --text: #e9eef4;
  --muted: #9aa8b8;
  --danger: #e05252;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--primary); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--primary-light); }

.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ---------- Erişilebilirlik ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--primary); color: #06251d;
  padding: 10px 18px; border-radius: 0 0 8px 0; z-index: 1000; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---------- Üst duyuru çubuğu ---------- */
.topbar {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  color: #06251d;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  padding: 7px 16px;
}
.topbar a { color: #06251d; text-decoration: underline; font-weight: 800; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: #111620;
  border-bottom: 1px solid var(--border);
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 0;
}
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo svg { height: 38px; width: auto; }

.main-nav ul { display: flex; list-style: none; gap: 4px; }
.main-nav a {
  color: var(--text); font-weight: 600; font-size: 0.95rem;
  padding: 8px 13px; border-radius: var(--radius-sm); display: block;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--primary); background: var(--surface-2); }

.header-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--border);
  border-radius: var(--radius-sm); cursor: pointer; padding: 9px 11px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--text);
  margin: 5px 0; transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-block; font-weight: 800; text-align: center;
  border-radius: var(--radius-sm); cursor: pointer; border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-size: 1rem; line-height: 1.3;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #06251d; padding: 13px 28px;
  box-shadow: 0 6px 18px var(--primary-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px var(--primary-glow); color: #06251d; }
.btn-outline {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary); padding: 11px 26px;
}
.btn-outline:hover { background: var(--primary); color: #06251d; transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-lg { padding: 16px 38px; font-size: 1.12rem; }

.pulse { animation: pulse 1.8s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--primary-glow); }
  70% { box-shadow: 0 0 0 14px rgba(26, 187, 151, 0); }
  100% { box-shadow: 0 0 0 0 rgba(26, 187, 151, 0); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 80% 10%, rgba(26, 187, 151, 0.16), transparent),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(26, 187, 151, 0.10), transparent),
    linear-gradient(180deg, #111620, var(--bg));
  padding: 68px 0 56px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  line-height: 1.2; font-weight: 800; margin-bottom: 18px;
}
.hero h1 .accent { color: var(--primary); }
.hero .sub {
  color: var(--muted); font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 720px; margin: 0 auto 30px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }

.trust-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px;
  color: var(--muted); font-size: 0.88rem; font-weight: 600;
}
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row svg { width: 17px; height: 17px; fill: var(--primary); }

/* ---------- Bölümler ---------- */
.section { padding: 58px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 740px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 12px; }
.section-head p { color: var(--muted); }

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

.card {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--primary); }
.card .icon {
  width: 46px; height: 46px; border-radius: 10px;
  background: rgba(26, 187, 151, 0.12);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.card .icon svg { width: 24px; height: 24px; fill: var(--primary); }
.card h3 { font-size: 1.1rem; margin-bottom: 9px; }
.card p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Bonus kartları ---------- */
.bonus-card {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--surface-2), #0f2a23);
  border: 1px solid var(--primary-dark);
  border-radius: var(--radius); padding: 28px; text-align: center;
}
.bonus-card .ribbon {
  position: absolute; top: 14px; right: -32px; transform: rotate(38deg);
  background: var(--gold); color: #3a2a00; font-size: 0.7rem; font-weight: 800;
  padding: 4px 38px; letter-spacing: 0.4px;
}
.bonus-card .amount {
  font-size: 2rem; font-weight: 800; color: var(--primary);
  margin: 8px 0 4px; line-height: 1.15;
}
.bonus-card .desc { color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; }
.bonus-card .terms { font-size: 0.76rem; color: var(--muted); margin-top: 14px; }

/* ---------- Adımlar ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }
.step {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 20px; position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--primary); color: #06251d;
  font-weight: 800; font-size: 1.05rem; margin-bottom: 14px;
}
.step h3 { font-size: 1rem; margin-bottom: 7px; }
.step p { color: var(--muted); font-size: 0.9rem; }

/* ---------- İçerik / makale ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.55rem; margin: 42px 0 14px; color: var(--primary-light); scroll-margin-top: 90px; }
.prose h3 { font-size: 1.2rem; margin: 30px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 18px 24px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text); }
.prose blockquote {
  border-left: 4px solid var(--primary); background: var(--surface-2);
  padding: 14px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0; color: var(--muted); font-style: italic;
}

.info-box, .warning-box {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px; margin: 22px 0; font-size: 0.95rem;
}
.info-box { background: rgba(26, 187, 151, 0.08); border-left: 4px solid var(--primary); }
.warning-box { background: rgba(245, 185, 59, 0.08); border-left: 4px solid var(--gold); }

/* ---------- Tablolar ---------- */
.table-wrap { overflow-x: auto; margin: 22px 0; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; background: var(--surface-2); font-size: 0.94rem; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--border); }
th { background: var(--surface); color: var(--primary); font-weight: 700; white-space: nowrap; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(26, 187, 151, 0.04); }

/* ---------- SSS (accordion) ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 17px 48px 17px 20px;
  font-weight: 700; position: relative; user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%); color: var(--primary);
  font-size: 1.5rem; font-weight: 400; transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item[open] summary { color: var(--primary); }
.faq-item .faq-body { padding: 0 20px 18px; color: var(--muted); font-size: 0.95rem; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 16px 0 0; font-size: 0.85rem; color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--border); }

/* ---------- Sayfa başlığı ---------- */
.page-head { padding: 42px 0 10px; text-align: center; }
.page-head h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 12px; }
.page-head .lead { color: var(--muted); max-width: 700px; margin: 0 auto; font-size: 1.05rem; }
.page-meta {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px;
  margin-top: 16px; font-size: 0.85rem; color: var(--muted);
}
.page-meta a { font-weight: 700; }

/* ---------- Blog kartları ---------- */
.post-card {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.post-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.post-card .thumb {
  height: 150px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, #0f2a23, var(--surface));
}
.post-card .thumb svg { width: 54px; height: 54px; fill: var(--primary); opacity: 0.9; }
.post-card .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-card .cat { color: var(--primary); font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 8px; }
.post-card h3 { font-size: 1.08rem; margin-bottom: 10px; line-height: 1.4; }
.post-card h3 a { color: var(--text); }
.post-card h3 a:hover { color: var(--primary); }
.post-card p { color: var(--muted); font-size: 0.9rem; flex: 1; }
.post-card .meta { margin-top: 16px; font-size: 0.8rem; color: var(--muted); display: flex; gap: 14px; }

/* ---------- Yazar kutusu ---------- */
.author-box {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; margin: 40px 0 0;
}
.avatar {
  flex-shrink: 0; width: 74px; height: 74px; border-radius: 50%;
  background: linear-gradient(140deg, var(--primary), var(--primary-dark));
  color: #06251d; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.6rem; letter-spacing: 1px;
}
.avatar-lg { width: 120px; height: 120px; font-size: 2.5rem; }
.author-box .name { font-weight: 800; font-size: 1.05rem; }
.author-box .role { color: var(--primary); font-size: 0.85rem; font-weight: 700; margin-bottom: 8px; }
.author-box p { color: var(--muted); font-size: 0.92rem; }

/* ---------- CTA bandı ---------- */
.cta-band {
  background:
    radial-gradient(ellipse 70% 100% at 50% 0%, rgba(26, 187, 151, 0.18), transparent),
    var(--surface);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  text-align: center; padding: 54px 20px;
}
.cta-band h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 12px; }
.cta-band p { color: var(--muted); margin-bottom: 26px; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.site-footer { background: #0a0e14; border-top: 1px solid var(--border); padding: 52px 0 0; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 38px; }
.footer-grid h4 { color: var(--text); font-size: 0.95rem; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: var(--primary); }
.footer-about p { color: var(--muted); margin: 14px 0 18px; }

.badge-18 {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--danger); color: var(--danger);
  font-weight: 800; font-size: 0.95rem;
}
.footer-badges { display: flex; align-items: center; gap: 14px; }
.footer-badges .note { color: var(--muted); font-size: 0.8rem; max-width: 300px; }

.footer-bottom {
  border-top: 1px solid var(--border); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  color: var(--muted); font-size: 0.82rem;
}

/* ---------- Sabit mobil CTA ---------- */
.floating-cta {
  position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%);
  z-index: 300; display: none; width: calc(100% - 32px); max-width: 420px;
}
.floating-cta .btn { width: 100%; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 6px 18px var(--primary-glow); }

/* ---------- Yardımcılar ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 32px; } .mt-4 { margin-top: 48px; }
.mb-2 { margin-bottom: 20px; }
.highlight { color: var(--primary); }
.small { font-size: 0.85rem; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .main-nav {
    position: fixed; inset: 0; top: 0; z-index: 150;
    background: #0a0e14;
    display: none; padding: 90px 24px 24px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 6px; }
  .main-nav a { font-size: 1.15rem; padding: 14px 16px; }
  .nav-toggle { display: block; position: relative; z-index: 250; }
  .header-cta .btn { display: none; }
  .floating-cta { display: block; }
  body { padding-bottom: 76px; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 40px; }
  .section { padding: 42px 0; }
  .author-box { flex-direction: column; align-items: center; text-align: center; }
}

@media print {
  .site-header, .site-footer, .floating-cta, .topbar, .cta-band { display: none; }
  body { background: #fff; color: #000; }
}
