:root {
  --accent: #4A7C5A;
  --accent-soft: rgba(74, 124, 90, 0.12);
  --accent-text: #4A7C5A;
  --bg: #F2F5EE;
  --card: #FFFFFF;
  --card-2: #E8EDE3;
  --text: #1E2A18;
  --text-dim: #5A7050;
  --border: rgba(74, 124, 90, 0.16);
  --shadow: 0 1px 2px rgba(30, 42, 24, 0.04), 0 8px 24px rgba(30, 42, 24, 0.06);
  --hero-bg: linear-gradient(165deg, #2F5A3C 0%, #24472F 55%, #1C3824 100%);
  --warn: #C49040;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #79C48D;
    --accent-soft: rgba(121, 196, 141, 0.12);
    --accent-text: #79C48D;
    --bg: #0A0C09;
    --card: #121611;
    --card-2: #1A201A;
    --text: #E7ECE5;
    --text-dim: #8E9C88;
    --border: rgba(122, 158, 124, 0.20);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35);
    --hero-bg: linear-gradient(165deg, #1A3022 0%, #13241A 55%, #0D1A12 100%);
    --warn: #D7A75B;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a { color: var(--accent-text); }

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

/* ── Top bar ───────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(180%) blur(12px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--border);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  text-decoration: none;
  margin-inline-end: auto;
}
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.navlinks { display: flex; gap: 22px; }
.navlinks a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.navlinks a:hover { color: var(--accent-text); }
@media (max-width: 760px) { .navlinks { display: none; } }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { filter: brightness(1.07); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-text); }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.btn-onhero { background: #fff; color: #1C3824; }
.btn-onhero:hover { filter: brightness(0.94); }
.btn-onhero-ghost {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  background: var(--hero-bg);
  color: #fff;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: end;
  padding-top: 76px;
  padding-bottom: 0;
}
.hero-copy { padding-bottom: 76px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: #BFE0C8;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  font-weight: 750;
}
.hero p.lead {
  font-size: 18px;
  color: #CFE3D4;
  margin: 0 0 30px;
  max-width: 34em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note {
  margin-top: 18px;
  font-size: 13.5px;
  color: #A9C6B1;
}
/* The store screenshots carry their own baked-in headline band at the top;
   the hero crops it away so only the device remains. Offsets are fractions of
   the 1080x1920 source: device box is x 135..945, y 430..1920. */
.hero-shot {
  --sw: 410px;
  align-self: end;
  justify-self: center;
  width: calc(var(--sw) * 0.75);
  height: calc(var(--sw) * 1.38);
  background-repeat: no-repeat;
  background-size: var(--sw) auto;
  background-position: calc(var(--sw) * -0.125) calc(var(--sw) * -0.398);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -2px 44px rgba(0, 0, 0, 0.34);
}
.hero-shot-tr { background-image: url("tr-2-anasayfa.jpg"); }
.hero-shot-en { background-image: url("en-2-home.jpg"); }

@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; }
  .hero-copy { padding-bottom: 0; }
  .hero-shot { --sw: 340px; }
}

/* ── Strip ─────────────────────────────────────────────────── */
.strip {
  border-bottom: 1px solid var(--border);
  background: var(--card);
}
.strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  padding-top: 20px;
  padding-bottom: 20px;
  justify-content: center;
}
.strip span {
  font-size: 14px;
  color: var(--text-dim);
  font-weight: 600;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

/* ── Sections ──────────────────────────────────────────────── */
section { padding: 88px 0; }
section.tight { padding: 64px 0; }
.sec-head { max-width: 46em; margin-bottom: 44px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  font-weight: 720;
}
.sec-head p { font-size: 17px; color: var(--text-dim); margin: 0; }

/* ── Feature grid ──────────────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.card .ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  font-size: 21px;
  margin-bottom: 14px;
}
.card h3 { font-size: 16px; margin: 0 0 7px; font-weight: 680; }
.card p { font-size: 14.5px; color: var(--text-dim); margin: 0; }

/* ── Shots ─────────────────────────────────────────────────── */
.shots {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-snap-type: x mandatory;
}
.shots img {
  flex: 0 0 auto;
  width: 220px;
  border-radius: 16px;
  border: 1px solid var(--border);
  scroll-snap-align: center;
}

/* ── Pricing ───────────────────────────────────────────────── */
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: start;
}
@media (max-width: 980px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }

.plan {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: var(--shadow);
  position: relative;
}
.plan.featured { border-color: var(--accent); }
.plan .tag {
  position: absolute;
  top: -11px;
  inset-inline-start: 22px;
  background: var(--accent);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 4px 11px;
  border-radius: 999px;
}
.plan h3 { font-size: 18px; margin: 0 0 4px; font-weight: 700; }
.plan .sub { font-size: 13.5px; color: var(--text-dim); margin: 0 0 18px; }
.plan .cap {
  background: var(--card-2);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 18px;
}
.plan .cap b { font-size: 21px; font-weight: 720; }
.plan .cap div { font-size: 13px; color: var(--text-dim); }
.plan ul { list-style: none; margin: 0; padding: 0; }
.plan li {
  font-size: 14px;
  color: var(--text-dim);
  padding: 6px 0 6px 24px;
  position: relative;
}
.plan li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  color: var(--accent-text);
  font-weight: 700;
}
.price-note {
  margin-top: 26px;
  font-size: 14px;
  color: var(--text-dim);
  text-align: center;
}

/* ── FAQ ───────────────────────────────────────────────────── */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2px 20px;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 15.5px;
  padding: 16px 0;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: inline-end;
  color: var(--accent-text);
  font-size: 20px;
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0 0 18px; font-size: 14.5px; color: var(--text-dim); }

/* ── CTA ───────────────────────────────────────────────────── */
.cta {
  background: var(--hero-bg);
  color: #fff;
  text-align: center;
  border-radius: 24px;
  padding: 60px 28px;
}
.cta h2 { font-size: clamp(25px, 3vw, 34px); margin: 0 0 12px; font-weight: 720; }
.cta p { color: #CFE3D4; margin: 0 0 26px; font-size: 17px; }
.cta .hero-actions { justify-content: center; }

/* ── Footer ────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 56px;
  margin-top: 88px;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  align-items: center;
}
footer .brand { margin-inline-end: auto; font-size: 15px; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { color: var(--text-dim); text-decoration: none; font-size: 14px; }
footer a:hover { color: var(--accent-text); }
.copyright {
  width: 100%;
  font-size: 13px;
  color: var(--text-dim);
  padding-top: 8px;
}
