/* Cashly Landing — ortak stil (Faz 0 Smoke Test) */

:root {
  --ink: #0b2230;          /* koyu lacivert-teal, ana metin */
  --ink-soft: #47606d;     /* ikincil metin */
  --brand: #0e7c5a;        /* koyu yeşil, marka */
  --brand-dark: #0a5c43;
  --brand-light: #13a374;
  --bg: #ffffff;
  --soft: #f4f8f6;         /* açık yeşilimsi zemin */
  --line: #e3ebe8;
  --wa-green: #25d366;     /* WhatsApp yeşili */
  --wa-bg: #e7ded4;        /* WhatsApp sohbet zemini */
  --wa-out: #d9fdd3;       /* giden balon */
  --ok: #16a34a;
  --warn: #f59e0b;
  --bad: #dc2626;
  --shadow: 0 10px 30px rgba(11, 34, 48, 0.10);
  --radius: 16px;
  --maxw: 720px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* ---------- Üst çubuk ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; max-width: var(--maxw); margin: 0 auto;
}
.logo { font-weight: 800; font-size: 20px; letter-spacing: -0.5px; color: var(--ink); text-decoration: none; }
.logo span { color: var(--brand); }
.topbar .switch { font-size: 13px; color: var(--ink-soft); text-decoration: none; }
.topbar .switch:hover { color: var(--brand); }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 28px; text-align: center; }
.hero h1 {
  font-size: clamp(28px, 7vw, 42px);
  line-height: 1.12; letter-spacing: -1px; font-weight: 800;
  margin-bottom: 16px;
}
.hero p.sub {
  font-size: clamp(16px, 4.2vw, 19px);
  color: var(--ink-soft); max-width: 560px; margin: 0 auto 26px;
}

/* ---------- Buton ---------- */
.btn {
  display: inline-block; background: var(--brand); color: #fff;
  font-size: 17px; font-weight: 700; text-decoration: none;
  padding: 15px 28px; border-radius: 999px; border: none; cursor: pointer;
  box-shadow: var(--shadow); transition: transform .12s ease, background .2s ease;
}
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn.block { display: block; width: 100%; text-align: center; }
.btn-note { display: block; margin-top: 10px; font-size: 13px; color: var(--ink-soft); }

/* ---------- Bölümler ---------- */
section { padding: 34px 0; }
section.alt { background: var(--soft); }
h2 {
  font-size: clamp(22px, 5.5vw, 28px); line-height: 1.2; letter-spacing: -0.5px;
  font-weight: 800; margin-bottom: 18px; text-align: center;
}
.lead { text-align: center; color: var(--ink-soft); max-width: 560px; margin: 0 auto 8px; }

/* Sorun listesi */
ul.pain { list-style: none; max-width: 540px; margin: 0 auto; }
ul.pain li {
  position: relative; padding: 12px 12px 12px 40px; margin-bottom: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 16px;
}
section.alt ul.pain li { background: #fff; }
ul.pain li::before {
  content: "✕"; position: absolute; left: 14px; top: 12px;
  color: var(--bad); font-weight: 700;
}
.pain-close { text-align: center; font-size: 17px; font-weight: 600; margin-top: 18px; color: var(--ink); }

/* Adımlar */
.steps { display: grid; gap: 16px; max-width: 560px; margin: 0 auto; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow);
}
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 999px; background: var(--brand);
  color: #fff; font-weight: 800; font-size: 16px; margin-bottom: 10px;
}
.step h3 { font-size: 16px; letter-spacing: .3px; text-transform: uppercase; margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: 15px; }

/* Fark / güven blokları */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; max-width: 560px; margin: 0 auto; box-shadow: var(--shadow);
}
.card p { color: var(--ink-soft); }
ul.checks { list-style: none; max-width: 560px; margin: 0 auto; }
ul.checks li {
  position: relative; padding: 10px 10px 10px 34px; font-size: 15px; color: var(--ink-soft);
}
ul.checks li strong { color: var(--ink); }
ul.checks li::before {
  content: "✓"; position: absolute; left: 8px; top: 10px; color: var(--brand); font-weight: 800;
}

/* Fiyat */
.prices { display: grid; gap: 14px; max-width: 480px; margin: 0 auto; }
.price {
  display: flex; align-items: baseline; justify-content: space-between;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px;
}
.price .name { font-weight: 700; }
.price .amt { font-weight: 800; font-size: 18px; color: var(--brand); }
.price small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 13px; }
.price-note { text-align: center; font-size: 13px; color: var(--ink-soft); margin-top: 12px; }
.free-badge {
  text-align: center; background: var(--brand); color: #fff; font-weight: 700;
  padding: 12px; border-radius: 12px; max-width: 480px; margin: 0 auto 14px;
}

/* CTA / form bölümü */
.cta { text-align: center; }
.cta ul.checks { display: inline-block; text-align: left; margin: 14px auto 22px; }
.form-slot {
  max-width: 460px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); text-align: left;
}
.form-slot label { display: block; font-size: 14px; font-weight: 600; margin: 12px 0 6px; }
.form-slot input, .form-slot select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: inherit; background: #fbfdfc;
}
.form-slot .btn { margin-top: 18px; }
.embed-hint {
  font-size: 12px; color: var(--ink-soft); text-align: center; margin-top: 12px;
  padding: 8px; background: #fff7ed; border: 1px dashed #f59e0b; border-radius: 8px;
}

/* ---------- WhatsApp telefon mockup ---------- */
.phone {
  width: 300px; max-width: 88vw; margin: 0 auto;
  background: #0b141a; border-radius: 34px; padding: 12px; box-shadow: var(--shadow);
}
.phone .screen { background: var(--wa-bg); border-radius: 24px; overflow: hidden; }
.wa-head {
  background: #075e54; color: #fff; padding: 12px 14px; display: flex; align-items: center; gap: 10px;
}
.wa-head .av { width: 34px; height: 34px; border-radius: 999px; background: var(--wa-green); display: flex; align-items: center; justify-content: center; font-weight: 800; color:#075e54; }
.wa-head .who { font-size: 15px; font-weight: 700; }
.wa-head .who small { display: block; font-size: 11px; font-weight: 400; opacity: .85; }
.wa-body { padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; min-height: 240px; }
.bubble {
  max-width: 82%; padding: 8px 11px; border-radius: 12px; font-size: 13.5px; line-height: 1.4;
  box-shadow: 0 1px 1px rgba(0,0,0,.06); position: relative;
}
.bubble.in { background: #fff; align-self: flex-start; border-top-left-radius: 3px; }
.bubble.out { background: var(--wa-out); align-self: flex-end; border-top-right-radius: 3px; }
.bubble .time { display: block; text-align: right; font-size: 10px; color: #667781; margin-top: 3px; }
.bubble.photo { padding: 6px; }
.photo-box {
  width: 150px; height: 96px; border-radius: 8px; background: linear-gradient(135deg,#c9d6cf,#aebfb6);
  display: flex; align-items: center; justify-content: center; color: #4a5b53; font-size: 12px; font-weight: 600;
}

/* ---------- Kanal rozetleri (WhatsApp + Telegram) ---------- */
.channels { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 16px 0 2px; }
.chan {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700;
  padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.chan .dot { width: 11px; height: 11px; }
.chan.wa .dot { background: var(--wa-green); }
.chan.tg .dot { background: #29a9eb; }

/* ---------- Dashboard mockup ---------- */
.dash {
  max-width: 520px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.dash-top {
  background: var(--ink); color: #fff; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between;
}
.dash-top .t { font-weight: 700; font-size: 15px; }
.dash-top .t span { color: var(--brand-light); }
.dash-top .pill { font-size: 12px; background: rgba(255,255,255,.14); padding: 4px 10px; border-radius: 999px; }
.dash-legend { display: flex; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--ink-soft); flex-wrap: wrap; }
.dash-legend span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 999px; display: inline-block; }
.dot.ok { background: var(--ok); } .dot.warn { background: var(--warn); } .dot.bad { background: var(--bad); }
.dash-row {
  display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--line);
}
.dash-row:last-child { border-bottom: none; }
.dash-row .name { font-weight: 600; font-size: 14px; min-width: 96px; }
.dash-row .status { font-size: 12.5px; color: var(--ink-soft); flex: 1; }
.dash-row .amt { font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; }
.dash-foot { padding: 12px 18px; font-size: 12px; color: var(--ink-soft); background: var(--soft); text-align: center; }

/* ---------- Footer ---------- */
footer {
  padding: 30px 20px 40px; text-align: center; border-top: 1px solid var(--line);
  color: var(--ink-soft); font-size: 13px;
}
footer .brand { font-weight: 700; color: var(--ink); margin-bottom: 8px; }
footer p { max-width: 520px; margin: 0 auto; }

/* ---------- Root yönlendirici ---------- */
.router { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 20px; }
.router .logo-lg { font-size: 40px; font-weight: 800; letter-spacing: -1px; margin-bottom: 10px; }
.router .logo-lg span { color: var(--brand); }
.router .tag { color: var(--ink-soft); font-size: 17px; max-width: 420px; margin-bottom: 34px; }
.router .choices { display: grid; gap: 14px; width: 100%; max-width: 380px; }
.router .choice {
  display: block; text-decoration: none; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); transition: transform .12s ease, border-color .2s;
}
.router .choice:hover { transform: translateY(-2px); border-color: var(--brand); }
.router .choice .big { font-size: 18px; font-weight: 700; color: var(--ink); }
.router .choice .small { font-size: 14px; color: var(--ink-soft); margin-top: 4px; }
.router .choice .arrow { color: var(--brand); font-weight: 800; }

.center { text-align: center; }
.mt { margin-top: 22px; }
