/* ===== RxSpend landing page ===== */
:root {
  --teal: #0f766e;
  --teal-2: #0d9488;
  --teal-light: #14b8a6;
  --gold: #b45309;
  --ink: #0f172a;
  --body: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f0fdfa;
  --bg-grey: #f8fafc;
  --radius: 16px;
  --shadow: 0 20px 44px -16px rgba(15, 23, 42, 0.18);
  --shadow-sm: 0 6px 16px -8px rgba(15, 23, 42, 0.18);
}

* { 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(--body);
  line-height: 1.6;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--teal); text-decoration: none; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; cursor: pointer;
  padding: 13px 24px; border-radius: 10px; border: 0;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-2) 100%);
  color: #fff; box-shadow: 0 10px 22px -10px rgba(13, 148, 136, 0.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -10px rgba(13, 148, 136, 0.75); }
.btn-ghost { background: #fff; color: var(--teal); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--teal-light); }
.btn-lg { padding: 16px 30px; font-size: 16.5px; }

/* ---- Header / nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 32px; height: 32px; }
.brand .name { font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -0.3px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--body); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--teal); }
.nav .btn { padding: 9px 18px; font-size: 14px; }

/* ---- Hero ---- */
.hero { padding: 72px 0 56px; text-align: center; background:
  radial-gradient(1100px 420px at 50% -120px, var(--bg-soft) 0%, #fff 70%); }
.pill {
  display: inline-block; font-size: 13px; font-weight: 600; color: var(--teal);
  background: var(--bg-soft); border: 1px solid #ccfbf1;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 {
  font-size: 48px; line-height: 1.1; letter-spacing: -1.2px; color: var(--ink);
  max-width: 760px; margin: 0 auto 18px;
}
.hero h1 .grad { color: var(--teal); }
.hero p.sub { font-size: 19px; color: var(--muted); max-width: 620px; margin: 0 auto 30px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .reassure { margin-top: 16px; font-size: 13.5px; color: var(--muted); }

/* ---- Browser mockup ---- */
.mockup {
  max-width: 940px; margin: 48px auto 0;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff;
}
.mockup .bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 14px; background: #f1f5f9; border-bottom: 1px solid var(--line);
}
.mockup .bar i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.mockup .bar .r { background: #f87171; } .mockup .bar .y { background: #fbbf24; } .mockup .bar .g { background: #34d399; }
.mockup .bar .addr {
  margin-left: 10px; font-size: 12px; color: var(--muted);
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  padding: 3px 12px;
}
.mockup img, .mockup video { display: block; width: 100%; height: auto; }

/* ---- Trust strip ---- */
.trust { background: var(--ink); color: #cbd5e1; }
.trust .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px; padding: 22px 24px; }
.trust span { font-size: 14.5px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.trust b { color: #fff; }

/* ---- Sections ---- */
section.block { padding: 80px 0; }
section.alt { background: var(--bg-grey); }
.head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.head .tag { color: var(--teal); font-weight: 700; font-size: 14px; letter-spacing: 0.4px; text-transform: uppercase; }
.head h2 { font-size: 34px; letter-spacing: -0.6px; color: var(--ink); margin: 10px 0 12px; }
.head p { font-size: 17px; color: var(--muted); }

/* ---- Features grid ---- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .15s ease, box-shadow .15s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
/* Line icons (same Lucide set as the app) */
.lic { width: 20px; height: 20px; flex-shrink: 0; color: currentColor; vertical-align: -0.22em; }
.pill .lic { width: 16px; height: 16px; }
.trust .lic { width: 17px; height: 17px; opacity: .9; }
.feature .ic .lic { width: 24px; height: 24px; color: var(--teal); }

.feature .ic {
  width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 22px; background: var(--bg-soft); margin-bottom: 16px;
}
.feature h3 { font-size: 18px; color: var(--ink); margin-bottom: 6px; }
.feature p { font-size: 14.5px; color: var(--muted); }

/* ---- Showcase (text + image) ---- */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.showcase .txt h2 { font-size: 30px; color: var(--ink); letter-spacing: -0.5px; margin-bottom: 14px; }
.showcase .txt ul { list-style: none; margin-top: 18px; }
.showcase .txt li { padding-left: 30px; position: relative; margin: 12px 0; font-size: 15.5px; }
.showcase .txt li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--teal); font-weight: 800;
  width: 20px; height: 20px;
}
.showcase img {
  width: 100%; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow);
}

/* ---- Pricing / CTA ---- */
.pricing { text-align: center; }
.price-card {
  max-width: 460px; margin: 0 auto; background: #fff;
  border: 1px solid var(--line); border-radius: 20px; padding: 40px 34px;
  box-shadow: var(--shadow);
}
.price-card .amt {
  font-size: 46px; font-weight: 800; color: var(--ink); letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
}
.price-card .amt small { font-size: 17px; font-weight: 600; color: var(--muted); }
.price-card .once { color: var(--teal); font-weight: 600; margin-bottom: 22px; }
.price-card ul { list-style: none; text-align: left; margin: 24px 0; }
.price-card li { padding-left: 28px; position: relative; margin: 11px 0; font-size: 15px; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }
.price-card .btn { width: 100%; justify-content: center; }
.price-card .fine { margin-top: 14px; font-size: 12.5px; color: var(--muted); }

/* ---- FAQ ---- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 4px 20px; margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--ink); font-size: 16px;
  padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--muted); font-size: 15px; }

/* ---- Footer ---- */
footer { background: var(--ink); color: #94a3b8; padding: 46px 0 30px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
footer .brand .name { color: #fff; }
footer .tagline { font-size: 14px; margin-top: 10px; max-width: 300px; }
footer a { color: #cbd5e1; }
footer a:hover { color: #fff; }
footer .links { display: flex; gap: 40px; }
footer .links h4 { color: #fff; font-size: 14px; margin-bottom: 12px; }
footer .links a { display: block; font-size: 14px; margin: 7px 0; }
footer .disclaimer { width: 100%; border-top: 1px solid #1e293b; margin-top: 30px; padding-top: 20px; font-size: 12px; line-height: 1.7; color: #64748b; }
footer .disclaimer strong { color: #94a3b8; }
footer .copy { width: 100%; margin-top: 16px; font-size: 13px; }

/* ===== Blog / article ===== */
.post-wrap { max-width: 740px; margin: 0 auto; padding: 0 24px; }
.post-head { padding: 52px 0 6px; }
.back-link { font-size: 14px; font-weight: 600; color: var(--teal); display: inline-block; margin-bottom: 22px; }
.post-meta { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; font-weight: 700; }
.post-title { font-size: 40px; line-height: 1.14; letter-spacing: -1px; color: var(--ink); margin: 12px 0 16px; }
.post-lede { font-size: 20px; line-height: 1.5; color: var(--muted); }
.post-byline {
  display: flex; align-items: center; gap: 12px;
  margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line);
}
.post-byline .avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--teal) 0%, var(--gold) 130%);
  color: #fff; font-weight: 800; font-size: 17px;
  display: flex; align-items: center; justify-content: center; letter-spacing: -.5px;
}
.post-byline .who { line-height: 1.35; }
.post-byline .who b { color: var(--ink); font-size: 15px; }
.post-byline .who span { display: block; font-size: 13.5px; color: var(--muted); }
.post { padding: 22px 0 36px; }
.post-fig { margin: 30px 0; }
.post-fig img {
  width: 100%; display: block; border-radius: 14px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.post-fig.hero { margin: 22px 0 32px; }
.post-fig figcaption { font-size: 13.5px; color: var(--muted); text-align: center; margin-top: 11px; }
.post h2 { font-size: 26px; color: var(--ink); letter-spacing: -.4px; margin: 40px 0 6px; }
.post h3 { font-size: 19px; color: var(--ink); margin: 26px 0 4px; }
.post p { font-size: 17px; color: var(--body); margin: 14px 0; }
.post ul, .post ol { margin: 12px 0; padding-left: 24px; }
.post li { font-size: 17px; color: var(--body); margin: 9px 0; }
.post strong { color: var(--ink); }
.post blockquote {
  border-left: 3px solid var(--teal-light); background: var(--bg-soft);
  padding: 14px 22px; border-radius: 0 10px 10px 0; margin: 24px 0; color: var(--ink); font-size: 17px;
}
.post a { font-weight: 600; }
.post-cta {
  background: var(--bg-soft); border: 1px solid #ccfbf1; border-radius: var(--radius);
  padding: 32px 30px; margin: 44px 0 8px; text-align: center;
}
.post-cta h3 { font-size: 22px; color: var(--ink); margin-bottom: 8px; }
.post-cta p { color: var(--muted); margin-bottom: 20px; font-size: 16px; }

/* blog index — editorial header */
.blog-hero {
  padding: 66px 0 34px;
  background: radial-gradient(900px 360px at 16% -90px, var(--bg-soft) 0%, #fff 70%);
}
.blog-hero .eyebrow {
  color: var(--teal); font-weight: 700; font-size: 13px;
  letter-spacing: 1.6px; text-transform: uppercase;
}
.blog-hero h1 {
  font-size: 44px; line-height: 1.1; letter-spacing: -1.1px;
  color: var(--ink); margin: 14px 0 16px; max-width: 720px;
}
.blog-hero h1 .grad {
  background: linear-gradient(120deg, var(--teal) 0%, var(--gold) 130%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.blog-hero p { font-size: 18px; color: var(--muted); max-width: 580px; }

/* blog index — featured article */
.featured-wrap { padding: 8px 0 80px; }
.featured {
  display: grid; grid-template-columns: 1.05fr 1fr;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease;
}
.featured:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.featured .media { background: var(--ink); min-height: 300px; }
.featured .media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured .body { padding: 40px 38px; display: flex; flex-direction: column; justify-content: center; }
.featured .meta {
  font-size: 12.5px; font-weight: 700; letter-spacing: .6px;
  text-transform: uppercase; color: var(--teal);
}
.featured h2 { font-size: 27px; line-height: 1.22; letter-spacing: -.5px; color: var(--ink); margin: 12px 0 12px; }
.featured p { font-size: 16px; color: var(--muted); margin-bottom: 22px; }
.featured .read { font-weight: 700; color: var(--teal); font-size: 15px; }
.featured:hover .read { color: var(--teal-2); }
.more-soon { text-align: center; color: var(--muted); font-size: 14px; margin-top: 26px; }

@media (max-width: 720px) {
  .blog-hero h1 { font-size: 33px; }
  .featured { grid-template-columns: 1fr; }
  .featured .media { min-height: 200px; }
  .featured .body { padding: 28px 24px; }
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .features { grid-template-columns: 1fr 1fr; }
  .showcase { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .nav-links a:not(.btn) { display: none; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 36px; }
  .hero h1 { font-size: 30px; }
  .hero p.sub { font-size: 16px; }
  section.block { padding: 56px 0; }
  footer .wrap { flex-direction: column; }
  .post-title { font-size: 30px; }
  .post-lede { font-size: 17px; }
  .post p, .post li { font-size: 16px; }
  .post h2 { font-size: 23px; }
}

/* ================= Aşama 5: ikna bölümleri ================= */

/* Nav'daki birincil buton — yeşil zeminde yazı kontrastı */
.nav .btn-primary { color: #fff; font-weight: 600; }

/* Hero görseli artık demoya link */
.mockup a { display: block; }

/* ---- How it works ---- */
.how { padding-top: 56px; padding-bottom: 56px; }
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.how-step h3 {
  font-size: 17px; color: var(--ink); margin: 14px 0 6px; font-weight: 700;
}
.how-step p { font-size: 14.5px; color: var(--muted); line-height: 1.6; margin: 0; }
.how-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: #f0fdfa; color: var(--teal);
  font-weight: 700; font-size: 15px;
}
.how-foot {
  text-align: center; margin: 34px 0 0;
  font-size: 13.5px; color: var(--muted); font-style: italic;
}
@media (max-width: 780px) {
  .how-grid { grid-template-columns: 1fr; gap: 26px; }
}

/* ---- Founder / proof ---- */
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 44px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.founder-photo {
  position: relative;
  width: 100%; max-width: 220px;
  aspect-ratio: 1;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  display: flex; align-items: center; justify-content: center;
  justify-self: center;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Fotoğraf yoksa baş harfler görünür */
.founder-initials {
  position: absolute;
  font-size: 60px; font-weight: 800; color: #fff; letter-spacing: -1px;
  opacity: 0;
}
.founder-photo.fallback .founder-initials { opacity: 1; }

.founder-txt h2 { font-size: 27px; margin-bottom: 16px; letter-spacing: -0.6px; }
.founder-txt p { color: var(--muted); line-height: 1.7; margin-bottom: 14px; }
.founder-txt em { color: var(--ink); font-style: italic; }
.founder-sig { font-size: 14.5px; color: var(--ink) !important; margin-top: 20px !important; }
.founder-sig b { font-weight: 700; }
.founder-link { font-weight: 600; font-size: 14.5px; }

@media (max-width: 780px) {
  .founder-grid { grid-template-columns: 1fr; gap: 26px; text-align: center; }
  .founder-txt h2 { font-size: 23px; }
}

/* ---- Fiyat çıpası ---- */
.price-card .anchor {
  font-size: 13px; color: var(--muted); margin: -14px 0 4px;
}
