/* ==========================================================================
   LeafyGrade — landing site
   Tasarım dili uygulamayla birebir: krem zemin, koyu yeşil, yaprak motifi.
   Bağımlılık yok; saf HTML/CSS/JS. SF/Inter yerine sistem yazı yığını (iOS
   görünümüyle tutarlı).
   ========================================================================== */

:root {
  --bg: #FBFAF7;
  --surface: #FFFFFF;
  --green: #33502E;
  --green-dark: #213A1F;
  --green-soft: #EAEFE3;
  --green-tint: #F1F5EC;
  --text: #151713;
  --muted: #73766F;
  --line: #E8E7E1;
  --amber: #E68A18;
  --red: #D3392F;
  --shadow-sm: 0 1px 2px rgba(39, 50, 33, .04), 0 4px 16px rgba(39, 50, 33, .06);
  --shadow-md: 0 8px 30px rgba(39, 50, 33, .10);
  --shadow-lg: 0 30px 70px rgba(33, 58, 31, .22);
  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
section { position: relative; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--green); background: var(--green-soft);
  padding: 7px 14px; border-radius: 100px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

h1, h2, h3 { line-height: 1.08; letter-spacing: -.02em; color: var(--text); font-weight: 800; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.22rem; letter-spacing: -.01em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--muted); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { margin: 16px 0 14px; }
.section-head .lead { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 650; font-size: 16px; border-radius: 100px; padding: 14px 26px;
  cursor: pointer; border: 1px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary { background: var(--green); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background: var(--green-dark); }
.btn-ghost { background: transparent; color: var(--green); border-color: rgba(51,80,46,.22); }
.btn-ghost:hover { background: var(--green-soft); }

/* ---------- Store badges (SVG içi) ---------- */
.store-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #111; color: #fff; border-radius: 14px; padding: 11px 18px;
  transition: transform .15s ease, box-shadow .2s ease; box-shadow: var(--shadow-sm);
  min-width: 190px;
}
.store-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.store-badge svg { flex: 0 0 auto; }
.store-badge .sb-text { display: flex; flex-direction: column; line-height: 1.15; }
.store-badge .sb-small { font-size: 11px; opacity: .82; letter-spacing: .02em; }
.store-badge .sb-big { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.store-note { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; width: 100%;
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: rgba(251, 250, 247, .72);
  border-bottom: 1px solid transparent; transition: border-color .25s ease, background .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(251, 250, 247, .9); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.brand .mark { width: 34px; height: 34px; border-radius: 10px; background: var(--green); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.brand .mark svg { width: 20px; height: 20px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; color: var(--muted); font-weight: 550; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: inline-flex; background: var(--green-soft); border-radius: 100px; padding: 3px; }
.lang-switch a { font-size: 13px; font-weight: 700; color: var(--green); padding: 5px 12px; border-radius: 100px; }
.lang-switch a.active { background: var(--green); color: #fff; }
.nav-cta { padding: 9px 20px; font-size: 15px; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; margin: 4px 0; transition: .2s; }

/* ---------- Hero ---------- */
.hero { padding: 76px 0 40px; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(1200px 520px at 78% -8%, var(--green-tint) 0%, rgba(241,245,236,0) 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-copy h1 { margin: 20px 0 18px; }
.hero-copy .lead { max-width: 520px; }
.hero-actions { margin: 30px 0 16px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; font-size: 14px; color: var(--muted); }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { color: var(--green); flex: 0 0 auto; }

/* ---------- Phone frame (CSS, ekran görüntüsü ham) ---------- */
.phone {
  position: relative; width: 300px; max-width: 74vw; aspect-ratio: 923 / 2000;
  background: #0c0d0b; border-radius: 46px; padding: 11px;
  box-shadow: var(--shadow-lg); margin: 0 auto;
}
.phone::after { /* dynamic island */
  content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 26px; background: #0c0d0b; border-radius: 20px; z-index: 3;
}
.phone .screen { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: var(--bg); }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; }
.hero-phones { position: relative; display: grid; place-items: center; }
.hero-phones .phone { transform: rotate(2.2deg); }
.hero-phones .phone.back {
  position: absolute; width: 250px; transform: rotate(-6deg) translate(-58%, 6%);
  filter: saturate(.98); opacity: .96; z-index: -1;
}
/* Yüzen skor rozeti */
.float-badge {
  position: absolute; z-index: 4; background: #fff; border-radius: 16px;
  box-shadow: var(--shadow-md); padding: 12px 15px; display: flex; align-items: center; gap: 11px;
}
.float-badge .ring { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 15px; }
.float-badge .fb-t { font-size: 12px; color: var(--muted); font-weight: 600; }
.float-badge .fb-s { font-size: 14px; font-weight: 700; }
.float-badge.top { top: 12%; left: -6%; }
.float-badge.bot { bottom: 15%; right: -8%; }

/* ---------- Trust strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; padding: 22px 24px; }
.strip .item { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--green-dark); }
.strip .item svg { color: var(--green); }

/* ---------- Value cards ---------- */
.section { padding: 92px 0; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .ico { width: 46px; height: 46px; border-radius: 13px; background: var(--green-soft); display: grid; place-items: center; margin-bottom: 16px; }
.card .ico svg { color: var(--green); }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--muted); }

/* ---------- Feature rows ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature + .feature { margin-top: 96px; }
.feature.reverse .feature-media { order: 2; }
.feature-media { display: grid; place-items: center; }
.feature-copy .eyebrow { margin-bottom: 16px; }
.feature-copy h2 { margin-bottom: 16px; }
.feature-copy p { color: var(--muted); margin-bottom: 18px; }
.feature-list { list-style: none; display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.feature-list .tick { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: var(--green-soft); display: grid; place-items: center; margin-top: 2px; }
.feature-list .tick svg { color: var(--green); }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); position: relative; }
.step .num { width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 16px; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); }

/* ---------- Halal band ---------- */
.band { background: linear-gradient(155deg, #223B20 0%, #33502E 60%, #223B20 100%); color: #fff; border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.band-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 56px; }
.band .eyebrow { background: rgba(255,255,255,.14); color: #EAEFE3; }
.band h2 { color: #fff; margin: 16px 0 14px; }
.band p { color: #CFE0C4; }
.band .band-media { display: grid; place-items: center; }
.band .band-media .phone { width: 240px; }
.leaf-deco { position: absolute; opacity: .08; pointer-events: none; }
.leaf-deco.a { top: -40px; right: -30px; width: 220px; }
.leaf-deco.b { bottom: -60px; left: -40px; width: 260px; }

/* ---------- Privacy band ---------- */
.privacy-band { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 48px; text-align: center; box-shadow: var(--shadow-sm); }
.privacy-band .ico { width: 58px; height: 58px; border-radius: 16px; background: var(--green-soft); display: grid; place-items: center; margin: 0 auto 20px; }
.privacy-band .ico svg { color: var(--green); }
.privacy-band h2 { margin-bottom: 12px; }
.privacy-band p { color: var(--muted); max-width: 640px; margin: 0 auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 17px; font-weight: 650; color: var(--text); font-family: inherit; }
.faq-q .pm { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--green-soft); display: grid; place-items: center; transition: transform .25s; }
.faq-q .pm svg { color: var(--green); }
.faq-item.open .faq-q .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 0 22px; color: var(--muted); font-size: 15.5px; }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta-inner { background: var(--green-soft); border-radius: var(--radius-lg); padding: 64px 40px; position: relative; overflow: hidden; }
.cta-inner h2 { margin-bottom: 14px; }
.cta-inner .lead { max-width: 560px; margin: 0 auto 28px; color: var(--green-dark); opacity: .82; }
.cta-inner .store-row { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--green-dark); color: #D7E2CE; padding: 64px 0 34px; margin-top: 92px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .brand .mark { background: rgba(255,255,255,.12); }
.footer-about { font-size: 14.5px; color: #A9BCA0; max-width: 300px; }
.footer h4 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #8FA585; margin-bottom: 16px; font-weight: 700; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { font-size: 14.5px; color: #C9D6BF; transition: color .15s; }
.footer ul a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; font-size: 13.5px; color: #93A889; }
.footer-bottom .lang-switch { background: rgba(255,255,255,.1); }
.footer-bottom .lang-switch a { color: #D7E2CE; }
.footer-bottom .lang-switch a.active { background: #fff; color: var(--green-dark); }
.disclaimer { font-size: 12.5px; color: #7E947A; max-width: 720px; margin-top: 8px; }

/* ---------- Legal pages ---------- */
.legal { padding: 60px 0 40px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 10px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 36px; }
.legal h2 { font-size: 1.4rem; margin: 34px 0 12px; }
.legal p, .legal li { color: #33352F; font-size: 16px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal a { color: var(--green); text-decoration: underline; }
.legal .note { background: var(--green-tint); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; font-size: 14.5px; color: var(--green-dark); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .hero-copy .lead { margin-left: auto; margin-right: auto; }
  .hero-actions .store-row { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-phones { margin-top: 24px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature.reverse .feature-media { order: 0; }
  .feature-copy { text-align: center; }
  .feature-copy .feature-list { text-align: left; max-width: 400px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .band-inner { grid-template-columns: 1fr; text-align: center; padding: 44px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 66px 0; }
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .band .leaf-deco, .float-badge { display: none; }
  .store-badge { min-width: 0; flex: 1; }
}

.store-row.soon .store-badge{opacity:.68;pointer-events:none}
