/* Bütçe Takip — tanıtım (landing) sayfası stili.
   Yasal sayfalardan (style.css) bağımsızdır; metinlere dokunmaz. */

:root {
  --bg: #F4F7F4;
  --surface: #FFFFFF;
  --surface-2: #EEF3EE;
  --text: #15201A;
  --text-2: #51605A;
  --text-3: #5C6B63;       /* AA-uyumlu ikincil metin (açık tema) */
  --border: #E2EAE3;

  --brand: #2E7D32;        /* uygulama ana yeşili */
  --brand-strong: #1B5E20;
  --teal: #0E9DAB;         /* logo turkuazı (dekoratif) */
  --teal-ink: #0A707A;     /* metin için koyu turkuaz (AA) */
  --gold: #E0A012;         /* logo altın ₺ (aksan) */
  --pro: #F57C00;          /* Pro turuncusu (kenar/rozet) */
  --pro-deep: #B45309;     /* beyaz metinli Pro yüzeyleri (AA) */

  --income: #2E7D32;
  --expense: #C62828;
  --transfer: #1976D2;

  --hero-from: #114B2A;
  --hero-mid: #1B6E3C;
  --hero-to: #0C7A85;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(16, 40, 28, .06), 0 2px 8px rgba(16, 40, 28, .05);
  --shadow-md: 0 10px 30px rgba(16, 40, 28, .10);
  --shadow-lg: 0 30px 60px rgba(10, 30, 20, .22);
  --maxw: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E1412;
    --surface: #161E1A;
    --surface-2: #1E2823;
    --text: #E8EEEA;
    --text-2: #A8B4AD;
    --text-3: #8C9B93;
    --border: #28332D;

    --brand: #81C784;
    --brand-strong: #A5D6A7;
    --teal: #4DD0DE;
    --teal-ink: #4DD0DE;
    --gold: #F2C14E;
    --pro: #FFA726;
    --pro-deep: #B45309;

    --income: #81C784;
    --expense: #EF5350;
    --transfer: #64B5F6;

    --hero-from: #0C2E1E;
    --hero-mid: #103B27;
    --hero-to: #0A4750;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, .45);
    --shadow-lg: 0 30px 60px rgba(0, 0, 0, .6);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

/* Klavye odak halkası (WCAG 2.4.7) */
:where(a, button, .btn, .store-badge):focus-visible {
  outline: 3px solid var(--teal-ink);
  outline-offset: 2px;
  border-radius: 12px;
}
.hero :where(a, .btn):focus-visible,
.cta-box :where(a, .btn):focus-visible { outline-color: #fff; }

/* ---------- Üst menü ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg); /* color-mix desteklenmezse opak yedek */
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
@supports not (backdrop-filter: blur(1px)) {
  .site-header { background: var(--bg); }
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -.3px;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--text-2);
  font-size: 14.5px;
  font-weight: 500;
  padding: 10px 12px;
  border-radius: 9px;
}
.nav a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.nav .nav-cta {
  margin-left: 6px;
  color: #fff;
  background: #2E7D32;       /* iki temada da AA: beyaz metin */
  font-weight: 600;
}
.nav .nav-cta:hover { background: #1B5E20; color: #fff; }
@media (max-width: 720px) {
  .nav a.nav-hide { display: none; }  /* gizlilik linki ve CTA mobilde kalır */
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: var(--r-sm);
  font-size: 15.5px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: #2E7D32; color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #1B5E20; color: #fff; }
.btn-light { background: #fff; color: #1B5E20; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.btn-light:hover { background: #f1f6f1; color: #1B5E20; }
.btn-outline { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, .12); }
.btn-brand-outline { background: transparent; border-color: var(--brand); color: var(--brand); }
.btn-brand-outline:hover { background: color-mix(in srgb, var(--brand) 10%, transparent); color: var(--brand); }
.btn-pro { background: var(--pro-deep); color: #fff; }
.btn-pro:hover { background: #97450a; color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 500px at 88% -10%, rgba(224, 160, 18, .24), transparent 60%),
    radial-gradient(640px 560px at -5% 115%, rgba(14, 130, 145, .26), transparent 55%),
    linear-gradient(135deg, var(--hero-from), var(--hero-mid) 48%, var(--hero-to));
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
  mask-image: linear-gradient(180deg, #000, transparent 70%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 84px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .26);
  color: #effaf2;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: #8CFFBC; box-shadow: 0 0 0 4px rgba(140, 255, 188, .25); }
.hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.07;
  font-weight: 800;
  letter-spacing: -1.2px;
  margin: 0 0 18px;
}
.hero h1 .accent {
  color: #FFD86B; /* clip desteklenmezse görünür yedek */
  background: linear-gradient(90deg, #FFD058, #F0A800);
  -webkit-background-clip: text;
  background-clip: text;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 .accent { -webkit-text-fill-color: transparent; color: transparent; }
}
.hero .lead {
  font-size: clamp(16px, 2vw, 19px);
  color: #fff;
  max-width: 30em;
  margin: 0 0 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: rgba(255, 255, 255, .92); display: flex; align-items: center; gap: 8px; }

/* ---------- Telefon maketi ---------- */
.hero-visual { display: flex; justify-content: center; }
.phone {
  position: relative;
  width: min(280px, 100%);
  background: linear-gradient(160deg, #20282b, #11171a);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, .06);
  transform: rotate(-2deg);
}
.phone::before {
  content: "";
  position: absolute;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 22px;
  background: #0c1113;
  border-radius: 0 0 14px 14px;
  z-index: 3;
}
.phone-screen {
  background: var(--bg);
  border-radius: 30px;
  padding: 38px 14px 16px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
}
.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 12px;
}
.app-top b { font-size: 15px; color: var(--text); }
.app-top span { font-size: 12px; color: var(--text-3); font-weight: 600; }

.balance-card {
  background: linear-gradient(145deg, var(--income), #2f9c52 60%, var(--teal));
  color: #fff;
  border-radius: var(--r-md);
  padding: 15px 16px;
  box-shadow: 0 8px 18px rgba(14, 120, 80, .28);
}
.balance-card .bc-label { font-size: 11.5px; opacity: .9; }
.balance-card .bc-amount { font-size: 25px; font-weight: 800; letter-spacing: -.5px; margin-top: 1px; }
.bc-pills { display: flex; gap: 7px; margin-top: 12px; }
.bc-pills .pill {
  flex: 1;
  background: rgba(255, 255, 255, .18);
  border-radius: 10px;
  padding: 7px 9px;
  line-height: 1.25;
}
.bc-pills .pill small { display: block; opacity: .9; font-size: 9.5px; font-weight: 600; }
.bc-pills .pill b { font-size: 12.5px; }

.mini-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  margin-top: 12px;
  box-shadow: var(--shadow-sm);
}
.mc-head { display: flex; justify-content: space-between; align-items: baseline; }
.mc-head b { font-size: 12px; color: var(--text); }
.mc-head span { font-size: 10px; color: var(--text-3); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 56px; margin-top: 12px; }
.bars i {
  flex: 1;
  height: var(--h);
  min-height: 6px;
  background: linear-gradient(180deg, rgba(14, 157, 171, .55), rgba(46, 125, 50, .35));
  border-radius: 5px 5px 3px 3px;
}
.bars i.hot { background: linear-gradient(180deg, var(--teal), var(--income)); }

.budget-row {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 11px 12px;
  margin-top: 10px;
  box-shadow: var(--shadow-sm);
}
.br-top { display: flex; justify-content: space-between; font-size: 11.5px; }
.br-top b { color: var(--text); }
.br-top span { color: var(--text-2); }
.br-bar { height: 7px; border-radius: 5px; background: var(--surface-2); margin-top: 8px; overflow: hidden; }
.br-bar i { display: block; height: 100%; width: 80%; border-radius: 5px; background: linear-gradient(90deg, var(--gold), #f1b73c); }

.tx-list { margin-top: 10px; display: grid; gap: 2px; }
.tx { display: flex; align-items: center; gap: 10px; padding: 8px 4px; }
.tx + .tx { border-top: 1px solid var(--border); }
.tx-ic {
  width: 30px; height: 30px;
  border-radius: 9px;
  display: grid; place-items: center;
  font-size: 14px; font-weight: 700;
  flex: none;
}
.tx-ic.in { background: rgba(46, 125, 50, .16); background: color-mix(in srgb, var(--income) 16%, transparent); color: var(--income); }
.tx-ic.out { background: rgba(198, 40, 40, .14); background: color-mix(in srgb, var(--expense) 14%, transparent); color: var(--expense); }
.tx-main { flex: 1; min-width: 0; }
.tx-main b { display: block; font-size: 12.5px; color: var(--text); }
.tx-main small { font-size: 10.5px; color: var(--text-3); }
.tx .amt { font-size: 12.5px; font-weight: 700; }
.tx .amt.in { color: var(--income); }
.tx .amt.out { color: var(--expense); }

/* Koyu temada maket kartları arka plandan ayrışsın */
@media (prefers-color-scheme: dark) {
  .mini-card, .budget-row { background: var(--surface-2); }
}

/* ---------- Güven şeridi ---------- */
.trust { border-bottom: 1px solid var(--border); background: var(--surface); }
.trust .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 34px;
  justify-content: center;
  padding: 26px 24px;
}
.trust span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
}
.trust svg { width: 19px; height: 19px; color: var(--brand); flex: none; }

/* ---------- Bölüm başlığı ---------- */
.section { padding: 80px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--teal-ink);
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  letter-spacing: -.7px;
  margin: 0 0 12px;
  color: var(--text);
}
.section-head p { font-size: 17px; color: var(--text-2); margin: 0; }

/* ---------- Özellik kartları ---------- */
.features { background: var(--surface-2); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 16px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); }
.feature-ic {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: rgba(46, 125, 50, .12);
  background: linear-gradient(140deg, color-mix(in srgb, var(--brand) 16%, transparent), color-mix(in srgb, var(--teal) 14%, transparent));
  color: var(--brand);
  margin-bottom: 15px;
}
.feature-ic svg { width: 24px; height: 24px; }
.feature h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; color: var(--text); min-height: 1.3em; }
.feature p { margin: 0; font-size: 14.5px; color: var(--text-2); }
.feature .tag-pro {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .4px;
  color: #2b1500;
  background: var(--pro);
  border-radius: 6px;
  padding: 2px 7px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ---------- Veri / gizlilik bölümü ---------- */
.data .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.data .copy h2 { font-size: clamp(25px, 3.2vw, 34px); font-weight: 800; letter-spacing: -.6px; margin: 12px 0 16px; color: var(--text); }
.data .copy p { font-size: 16.5px; color: var(--text-2); margin: 0 0 24px; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; }
.check-list .ck {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(46, 125, 50, .15);
  background: color-mix(in srgb, var(--brand) 15%, transparent);
  color: var(--brand);
  margin-top: 1px;
}
.check-list .ck svg { width: 15px; height: 15px; }
.check-list b { display: block; font-size: 15.5px; color: var(--text); }
.check-list span { font-size: 14px; color: var(--text-2); }

.data-card {
  background: linear-gradient(150deg, var(--hero-from), var(--hero-mid) 55%, var(--hero-to));
  color: #fff;
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.data-card .dc-row { display: flex; align-items: center; gap: 14px; padding: 15px 0; }
.data-card .dc-row + .dc-row { border-top: 1px solid rgba(255, 255, 255, .16); }
.data-card .dc-ic {
  width: 42px; height: 42px; flex: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, .16);
  display: grid; place-items: center;
}
.data-card .dc-ic svg { width: 22px; height: 22px; color: #fff; }
.data-card b { font-size: 15.5px; display: block; }
.data-card small { font-size: 13px; color: rgba(255, 255, 255, .92); }

/* ---------- Free / Pro ---------- */
.plans { background: var(--surface-2); }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 860px; margin: 0 auto; }
.plan {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.plan.pro { border-color: var(--pro); box-shadow: 0 16px 40px rgba(245, 124, 0, .16); }
.plan .badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--pro);
  color: #2b1500;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .5px;
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(245, 124, 0, .35);
}
.plan h3 { margin: 0; font-size: 15px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--text-2); }
.plan.pro h3 { color: var(--pro-deep); }
.plan .price { font-size: 30px; font-weight: 800; color: var(--text); margin: 10px 0 4px; letter-spacing: -.5px; }
.plan .price small { font-size: 14px; font-weight: 500; color: var(--text-3); }
.plan .plan-sub { font-size: 14px; color: var(--text-2); margin: 0 0 20px; }
.plan ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 11px; }
.plan li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text); }
.plan li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--brand); }
.plan .note-ads { font-size: 12.5px; color: var(--text-3); margin: -10px 0 20px; }
.plan .btn { width: 100%; }

/* ---------- Son çağrı ---------- */
.cta { padding: 90px 0; }
.cta-box {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #fff;
  border-radius: var(--r-lg);
  padding: 56px 28px;
  background:
    radial-gradient(600px 300px at 80% 0%, rgba(224, 160, 18, .26), transparent 60%),
    linear-gradient(135deg, var(--hero-from), var(--hero-mid) 50%, var(--hero-to));
  box-shadow: var(--shadow-md);
}
.cta-box img { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 16px; box-shadow: var(--shadow-md); }
.cta-box h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; letter-spacing: -.6px; margin: 0 0 12px; }
.cta-box p { font-size: 17px; color: rgba(255, 255, 255, .92); margin: 0 0 28px; }
.store-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Mağaza rozetleri — uygulama yayında değil, tıklanamaz "çok yakında" durumu */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 11px 20px;
  border-radius: var(--r-sm);
  background: #14181a;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .14);
  cursor: default;
  text-align: left;
}
.store-badge svg { flex: none; }
.store-badge small { display: block; font-size: 10.5px; opacity: .8; line-height: 1.1; }
.store-badge b { display: block; font-size: 16px; font-weight: 700; line-height: 1.15; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); }
.site-footer .wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding: 52px 24px 30px;
}
.site-footer .f-brand .brand { margin-bottom: 12px; }
.site-footer .f-brand p { font-size: 14px; color: var(--text-2); margin: 0; max-width: 30ch; }
.site-footer .f-col-title { font-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: var(--text-2); font-weight: 700; margin: 4px 0 14px; }
.site-footer .f-col a { display: block; color: var(--text-2); font-size: 14.5px; padding: 7px 0; overflow-wrap: anywhere; }
.site-footer .f-col a:hover { color: var(--brand); }
.f-bottom {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 18px 24px 40px;
  font-size: 13.5px;
  color: var(--text-3);
}

/* ---------- Duyarlı ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; text-align: center; padding-top: 52px; padding-bottom: 56px; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-note { justify-content: center; }
  .data .wrap { grid-template-columns: 1fr; gap: 36px; }
  .data .copy { text-align: center; }
  .check-list li { text-align: left; }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .wrap { padding: 0 16px; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan.pro { margin-top: 8px; }
  .site-footer .wrap { grid-template-columns: 1fr; gap: 28px; }
  .site-footer .f-col a { padding: 10px 0; }
  .trust .wrap { gap: 12px 22px; padding: 18px 16px; }
  .phone { transform: none; }
}
@media (max-width: 360px) {
  .feature-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .feature:hover { transform: none; }
}
