/* ==========================================================================
   Farm Finance — Tanıtım Sitesi
   Agro-Modernist stil. Uygulamanın Theme.swift renk paleti temel alınmıştır.
   ========================================================================== */

:root {
  /* Marka renkleri (logodaki adaçayı yeşiline göre) */
  --agro-primary: #4a9560;
  --agro-primary-dark: #3a7a4c;
  --agro-primary-container: #8ed09e;
  --agro-secondary-container: #d7efdd;
  --agro-accent: #007aff;
  --agro-success: #3f9e5d;
  --agro-warning: #ff9500;
  --agro-error: #ba1a1a;

  /* Yüzey & metin */
  --bg: #faf9fe;
  --surface: #ffffff;
  --surface-low: #f4f3f8;
  --surface-container: #eeedf3;
  --on-bg: #1a1b1f;
  --on-variant: #3d4a3c;
  --outline: #6d7b6a;
  --outline-variant: #d5ddd1;

  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 32px;
  --shadow-sm: 0 2px 8px rgba(16, 40, 20, 0.06);
  --shadow: 0 12px 40px rgba(16, 40, 20, 0.10);
  --shadow-lg: 0 30px 80px rgba(16, 40, 20, 0.16);

  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter",
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--on-bg);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- Tipografi ---------- */
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 750; font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.28rem); color: var(--on-variant); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--agro-primary-dark);
  background: var(--agro-secondary-container);
  padding: 7px 14px; border-radius: 999px;
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-size: 1rem; font-weight: 650; font-weight: 700;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--agro-primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--agro-primary-dark); box-shadow: var(--shadow); transform: translateY(-2px); }
.btn-ghost { background: transparent; border-color: var(--outline-variant); color: var(--on-bg); }
.btn-ghost:hover { background: var(--surface); border-color: var(--agro-primary); }

/* App Store rozeti */
.appstore {
  display: inline-flex; align-items: center; gap: 12px;
  background: #111214; color: #fff;
  padding: 12px 22px 12px 20px; border-radius: 16px;
  transition: transform .15s ease, box-shadow .2s ease;
  box-shadow: var(--shadow-sm);
}
.appstore:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.appstore svg { width: 26px; height: 26px; flex: none; }
.appstore .small { font-size: 0.68rem; opacity: .82; line-height: 1; }
.appstore .big { font-size: 1.22rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(18px);
  background: rgba(250, 249, 254, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--outline-variant); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.12rem; letter-spacing: -0.02em; }
.brand .logo {
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(140deg, var(--agro-primary), var(--agro-primary-container));
  display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-sm);
}
.brand .logo svg { width: 22px; height: 22px; }
.brand .logo.img-logo { background: none; padding: 0; overflow: hidden; }
.brand .logo.img-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* App Store buton görseli */
.appstore-img { display: inline-flex; transition: transform .15s ease, box-shadow .2s ease; border-radius: 12px; }
.appstore-img img { height: 52px; width: auto; display: block; border-radius: 12px; }
.appstore-img:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.appstore-img.sm img { height: 42px; }
.appstore-img.lg img { height: 60px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-weight: 550; font-weight: 600; color: var(--on-variant); font-size: 0.96rem; transition: color .15s ease; }
.nav-links a:hover { color: var(--agro-primary); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--on-bg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 96px) 0 clamp(60px, 9vw, 110px); }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 620px; z-index: -1;
  background:
    radial-gradient(60% 60% at 80% 10%, rgba(90, 172, 112, 0.22), transparent 70%),
    radial-gradient(50% 50% at 10% 0%, rgba(0, 122, 255, 0.10), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-copy h1 { margin: 20px 0 18px; }
.hero-copy .lead { max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 34px; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 0.9rem; color: var(--on-variant); }
.hero-note svg { width: 18px; height: 18px; color: var(--agro-success); flex: none; }

/* ---------- Telefon maketi ---------- */
.phone-wrap { display: flex; justify-content: center; perspective: 1600px; }
.phone {
  position: relative; width: 300px; height: 610px; border-radius: 46px;
  background: #0e0f12; padding: 12px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.06);
  transform: rotateY(-14deg) rotateX(4deg) rotateZ(1deg);
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.phone:hover { transform: rotateY(-6deg) rotateX(2deg); }
.phone .notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 130px; height: 28px; background: #0e0f12; border-radius: 0 0 18px 18px; z-index: 3;
}
.screen {
  width: 100%; height: 100%; border-radius: 36px; background: var(--bg);
  overflow: hidden; position: relative; display: flex; flex-direction: column;
}
.screen-top { padding: 30px 20px 8px; }
.screen-top .greet { font-size: 0.78rem; color: var(--on-variant); }
.screen-top .farm { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.profit-card {
  margin: 12px 20px 0; padding: 18px; border-radius: 20px; color: #fff;
  background: linear-gradient(135deg, var(--agro-primary), #57a86b);
  box-shadow: 0 10px 24px rgba(0,110,36,.28);
}
.profit-card .label { font-size: 0.74rem; opacity: .9; }
.profit-card .value { font-size: 1.85rem; font-weight: 800; letter-spacing: -0.02em; margin-top: 2px; }
.profit-card .delta { font-size: 0.74rem; opacity: .92; margin-top: 4px; }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 20px 0; }
.mini-stat { background: var(--surface); border-radius: 16px; padding: 12px; box-shadow: var(--shadow-sm); }
.mini-stat .t { font-size: 0.66rem; color: var(--on-variant); }
.mini-stat .v { font-weight: 700; font-size: 0.98rem; margin-top: 2px; }
.mini-stat .v.inc { color: var(--agro-success); }
.mini-stat .v.exp { color: var(--agro-warning); }
.chart { display: flex; align-items: flex-end; gap: 8px; height: 96px; padding: 20px 22px 0; }
.chart .bar { flex: 1; border-radius: 6px 6px 3px 3px; background: var(--agro-primary-container); opacity: .55; }
.chart .bar.hi { background: var(--agro-primary); opacity: 1; }
.tabbar {
  margin-top: auto; display: flex; justify-content: space-around; padding: 12px 8px 22px;
  background: var(--surface); border-top: 1px solid var(--outline-variant);
}
.tabbar .tab { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--outline); font-size: 0.58rem; }
.tabbar .tab svg { width: 20px; height: 20px; }
.tabbar .tab.active { color: var(--agro-primary); font-weight: 700; }

/* ---------- Marka güven şeridi / istatistik ---------- */
.stats { background: var(--surface); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 40px 0; text-align: center; }
.stat .num { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; color: var(--agro-primary); letter-spacing: -0.02em; }
.stat .cap { font-size: 0.9rem; color: var(--on-variant); margin-top: 2px; }

/* ---------- Bölümler ---------- */
section { scroll-margin-top: 90px; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { margin: 16px 0 14px; }

/* ---------- Özellik kartları ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--surface); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow-sm); border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--outline-variant); }
.feature .ic {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  color: #fff; margin-bottom: 18px; box-shadow: var(--shadow-sm);
}
.feature .ic svg { width: 26px; height: 26px; }
.ic.green { background: linear-gradient(140deg, var(--agro-primary), var(--agro-primary-container)); }
.ic.leaf  { background: linear-gradient(140deg, #3f8f57, #8ed09e); }
.ic.ai    { background: linear-gradient(140deg, #007aff, #63b3ff); }
.ic.bank  { background: linear-gradient(140deg, #3a7a4c, #6bbd82); }
.ic.prof  { background: linear-gradient(140deg, #3d4a3c, #6d7b6a); }
.feature h3 { margin-bottom: 8px; }
.feature p { margin: 0; color: var(--on-variant); font-size: 0.97rem; }
.feature.wide { grid-column: span 3; display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; }
.feature.wide .ic { margin-bottom: 0; }

/* ---------- Öne çıkan / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-copy h2 { margin-bottom: 18px; }
.check-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .ck {
  flex: none; width: 24px; height: 24px; border-radius: 8px; margin-top: 2px;
  background: var(--agro-secondary-container); color: var(--agro-primary);
  display: grid; place-items: center;
}
.check-list .ck svg { width: 15px; height: 15px; }
.split-media {
  background: linear-gradient(160deg, var(--surface), var(--surface-low));
  border: 1px solid var(--outline-variant); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow); min-height: 320px;
  display: flex; flex-direction: column; gap: 16px; justify-content: center;
}

/* Sohbet balonları (AI) */
.chat { display: flex; flex-direction: column; gap: 12px; }
.bubble { max-width: 82%; padding: 13px 16px; border-radius: 18px; font-size: 0.95rem; box-shadow: var(--shadow-sm); }
.bubble.user { align-self: flex-end; background: var(--agro-primary); color: #fff; border-bottom-right-radius: 6px; }
.bubble.bot { align-self: flex-start; background: var(--surface); border-bottom-left-radius: 6px; }
.bubble .who { font-size: 0.68rem; opacity: .7; margin-bottom: 3px; font-weight: 700; }

/* ---------- Nihai CTA ---------- */
.cta {
  margin: 0 24px; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(140deg, var(--agro-primary), #57a86b 55%, #59ab7f);
  color: #fff; text-align: center; position: relative;
}
.cta::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(50% 80% at 100% 0%, rgba(255,255,255,.18), transparent 60%),
              radial-gradient(40% 70% at 0% 100%, rgba(0,0,0,.14), transparent 60%);
}
.cta-inner { position: relative; z-index: 1; padding: clamp(48px, 8vw, 84px) 24px; }
.cta h2 { color: #fff; margin-bottom: 14px; }
.cta p { color: rgba(255,255,255,.9); max-width: 44ch; margin: 0 auto 30px; font-size: 1.1rem; }
.cta .appstore { background: #fff; color: #111; }

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 40px; border-top: 1px solid var(--outline-variant); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-brand p { color: var(--on-variant); max-width: 32ch; font-size: 0.95rem; margin: 14px 0 0; }
.footer-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--outline); margin: 0 0 16px; }
.footer-col a { display: block; color: var(--on-variant); font-size: 0.95rem; margin-bottom: 11px; transition: color .15s ease; }
.footer-col a:hover { color: var(--agro-primary); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-top: 26px; border-top: 1px solid var(--outline-variant);
  font-size: 0.88rem; color: var(--on-variant); flex-wrap: wrap;
}

/* ---------- Yasal sayfalar ---------- */
.legal { padding: clamp(40px, 6vw, 72px) 0 80px; }
.legal-wrap { max-width: 760px; margin-inline: auto; }
.legal .back { display: flex; width: fit-content; align-items: center; gap: 7px; color: var(--agro-primary); font-weight: 600; margin-bottom: 28px; }
.legal .eyebrow { margin-bottom: 16px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-top: 0; }
.legal .updated { color: var(--on-variant); font-size: 0.92rem; margin: 10px 0 0; }
.legal-body { margin-top: 40px; }
.legal-body h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.legal-body h3 { font-size: 1.08rem; margin: 24px 0 8px; }
.legal-body p, .legal-body li { color: #2c2f28; font-size: 1rem; }
.legal-body ul { padding-left: 22px; }
.legal-body li { margin-bottom: 8px; }
.legal-body a { color: var(--agro-primary); text-decoration: underline; text-underline-offset: 3px; }
.legal-toc {
  background: var(--surface); border: 1px solid var(--outline-variant);
  border-radius: var(--radius); padding: 22px 26px; margin-top: 32px;
}
.legal-toc strong { font-size: 0.8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--outline); }
.legal-toc ol { margin: 12px 0 0; padding-left: 20px; }
.legal-toc li { margin-bottom: 6px; }
.legal-toc a { color: var(--agro-primary); }
.callout {
  background: var(--agro-secondary-container); border-radius: var(--radius-sm);
  padding: 16px 20px; margin: 24px 0; font-size: 0.96rem; color: #0c3d18;
}

/* ==========================================================================
   dock.cool tarzı bölümler (widget cluster, kategoriler, yorumlar, SSS)
   ========================================================================== */

/* ---------- Hero widget kümesi ---------- */
.hero-widgets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-content: center;
}
.widget {
  background: var(--surface);
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease;
}
.widget:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.widget .wtop { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.widget .wchip {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  display: grid; place-items: center; color: #fff;
}
.widget .wchip svg { width: 17px; height: 17px; }
.widget .wname { font-size: 0.78rem; font-weight: 700; color: var(--on-variant); letter-spacing: -0.01em; }

.widget.tall { grid-row: span 2; }
.widget.profit {
  background: linear-gradient(140deg, var(--agro-primary), #57a86b);
  border: none; color: #fff;
}
.widget.profit .wname { color: rgba(255,255,255,.85); }
.widget.profit .wchip { background: rgba(255,255,255,.2); }
.widget.profit .big-val { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; margin: 2px 0 4px; }
.widget.profit .sub { font-size: 0.8rem; opacity: .9; }
.widget.profit.tall { display: flex; flex-direction: column; }
.widget.profit .wsplit { display: flex; gap: 10px; margin-top: 14px; }
.widget.profit .wsplit > div { flex: 1; background: rgba(255,255,255,.16); border-radius: 12px; padding: 9px 11px; }
.widget.profit .wsplit span { display: block; font-size: 0.68rem; opacity: .85; }
.widget.profit .wsplit b { font-size: 0.95rem; letter-spacing: -0.01em; }
.widget.profit .bars { margin-top: auto; }
.widget.profit .bars .b { background: rgba(255,255,255,.35); opacity: 1; }
.widget.profit .bars .b.on { background: rgba(255,255,255,.9); }
.widget.profit .months { display: flex; margin-top: 7px; }
.widget.profit .months span { flex: 1; text-align: center; font-size: 0.6rem; opacity: .7; }

.widget .bars { display: flex; align-items: flex-end; gap: 6px; height: 70px; margin-top: 8px; }
.widget .bars .b { flex: 1; border-radius: 5px 5px 2px 2px; background: var(--agro-primary-container); opacity: .5; }
.widget .bars .b.on { background: var(--agro-primary); opacity: 1; }
.widget .crop-row { display: flex; justify-content: space-between; font-size: 0.82rem; padding: 5px 0; border-bottom: 1px solid var(--surface-low); }
.widget .crop-row:last-child { border: none; }
.widget .crop-row b { color: var(--agro-primary); }

.widget.ai .qbubble {
  background: var(--surface-low); border-radius: 12px; padding: 9px 12px;
  font-size: 0.82rem; margin-bottom: 8px;
}
.widget.ai .abubble {
  background: var(--agro-primary); color: #fff; border-radius: 12px; padding: 9px 12px;
  font-size: 0.82rem;
}
.widget .loan-line { display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; margin-top: 6px; }
.widget .progress { height: 7px; border-radius: 99px; background: var(--surface-container); overflow: hidden; margin-top: 8px; }
.widget .progress span { display: block; height: 100%; border-radius: 99px; background: var(--agro-success); }

/* ---------- Değer önerisi şeridi ---------- */
.valueprop { text-align: center; padding: clamp(56px,8vw,90px) 0; }
.valueprop h2 { max-width: 18ch; margin: 0 auto 16px; }
.valueprop p { max-width: 52ch; margin: 0 auto; }

/* ---------- Kategori bölümleri ---------- */
.cat { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; padding: clamp(40px,6vw,64px) 0; }
.cat.flip .cat-media { order: -1; }
.cat-label { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.9rem; color: var(--agro-primary); }
.cat-label .dot { width: 8px; height: 8px; border-radius: 99px; background: var(--agro-primary); }
.cat h3 { font-size: clamp(1.5rem,3vw,2rem); margin: 14px 0 12px; letter-spacing: -0.02em; }
.cat p { color: var(--on-variant); margin: 0; }
.cat-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.cat-tags span {
  font-size: 0.85rem; font-weight: 600; padding: 7px 14px; border-radius: 99px;
  background: var(--surface); border: 1px solid var(--outline-variant); color: var(--on-variant);
}
.cat-media {
  background: linear-gradient(160deg, var(--surface-low), var(--surface));
  border: 1px solid var(--outline-variant); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow); display: grid; gap: 14px;
}

/* ---------- Yorumlar ---------- */
.testimonials { background: var(--surface); border-block: 1px solid var(--outline-variant); }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.quote {
  background: var(--bg); border: 1px solid var(--outline-variant);
  border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 16px;
}
.quote .stars { color: var(--agro-warning); font-size: 0.95rem; letter-spacing: 2px; }
.quote p { margin: 0; font-size: 1rem; color: var(--on-bg); flex: 1; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .av {
  width: 40px; height: 40px; border-radius: 99px; flex: none; color: #fff; font-weight: 700;
  display: grid; place-items: center; background: linear-gradient(140deg, var(--agro-primary), var(--agro-primary-container));
}
.quote .who .n { font-weight: 700; font-size: 0.92rem; }
.quote .who .r { font-size: 0.82rem; color: var(--on-variant); }

/* ---------- SSS (FAQ) ---------- */
.faq-wrap { max-width: 760px; margin: 48px auto 0; }
.faq {
  background: var(--surface); border: 1px solid var(--outline-variant);
  border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 24px;
  font-weight: 700; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus {
  flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--surface-low);
  display: grid; place-items: center; transition: transform .2s ease, background .2s ease;
  color: var(--agro-primary); font-size: 1.2rem; line-height: 1;
}
.faq[open] summary .plus { transform: rotate(45deg); background: var(--agro-secondary-container); }
.faq .faq-body { padding: 0 24px 22px; color: var(--on-variant); }
.faq .faq-body p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .phone-wrap { order: -1; }
  .phone { transform: none; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split.reverse .split-media { order: 0; }
  .features { grid-template-columns: 1fr 1fr; }
  .feature.wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .cat { grid-template-columns: 1fr; gap: 28px; }
  .cat.flip .cat-media { order: 0; }
  .quote-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 8px; position: absolute;
    top: 72px; left: 0; right: 0; background: var(--surface);
    padding: 16px 24px 24px; box-shadow: var(--shadow); border-top: 1px solid var(--outline-variant);
  }
  .nav.open .nav-links a { padding: 10px 0; }
  .features { grid-template-columns: 1fr; }
  .feature.wide { grid-column: span 1; grid-template-columns: 1fr; text-align: left; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .container { padding-inline: 20px; }
  .hero-widgets { grid-template-columns: 1fr 1fr; gap: 12px; }
  .widget.tall { grid-row: span 1; }
}

/* ==========================================================================
   Profesyonel dokunuşlar (HubX tarzı)
   ========================================================================== */

/* ---- Hero başlık gradyan aksanı ---- */
.grad-text {
  background: linear-gradient(115deg, var(--agro-primary) 0%, #63b97e 45%, #2f8a51 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ---- Kaydırınca beliren (reveal) animasyonlar ---- */
@media (prefers-reduced-motion: no-preference) {
  .anim-ready [data-reveal] {
    opacity: 0; transform: translateY(22px);
    transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
    will-change: opacity, transform;
  }
  .anim-ready [data-reveal].in { opacity: 1; transform: none; }
}

/* ---- Yumuşak arka plan ışıması (bölümlere derinlik) ---- */
.section, .testimonials, .valueprop { position: relative; }
.glow-top::before {
  content: ""; position: absolute; z-index: -1; inset: -10% 0 auto 0; height: 420px;
  pointer-events: none;
  background: radial-gradient(50% 60% at 50% 0%, rgba(74, 149, 96, 0.12), transparent 70%);
}

/* ---- Premium kart parlaması / kenar ---- */
.feature, .widget, .quote, .cat-media, .faq {
  position: relative;
}
.feature::after, .quote::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, rgba(255,255,255,.6), transparent 40%);
  opacity: 0; transition: opacity .3s ease;
}
.feature:hover::after, .quote:hover::after { opacity: .5; }

/* Özellik ikonuna yumuşak canlanma */
.feature .ic { transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.feature:hover .ic { transform: translateY(-3px) scale(1.05); }

/* App Store rozetine premium his */
.appstore-img img { box-shadow: 0 8px 22px rgba(16,40,20,.18); }
.appstore-img:hover { transform: translateY(-3px); }

/* Butonlara odak halkası (erişilebilirlik + cila) */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(74,149,96,.45); outline-offset: 3px; border-radius: 8px;
}

/* ---- Bölüm başlığı üstü ince aksan çizgisi ---- */
.section-head .eyebrow { position: relative; }

/* ---- Mobil sabit indirme çubuğu (dock bar) ---- */
.dockbar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 10px 12px 10px 14px;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--outline-variant); border-radius: 20px;
  box-shadow: var(--shadow-lg);
  transform: translateY(160%); opacity: 0;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .35s ease;
}
.dockbar.show { transform: none; opacity: 1; }
.dockbar .db-info { display: flex; align-items: center; gap: 12px; min-width: 0; }
.dockbar .db-info img { width: 42px; height: 42px; border-radius: 11px; flex: none; }
.dockbar .db-t { font-weight: 800; font-size: 0.98rem; line-height: 1.15; letter-spacing: -0.02em; }
.dockbar .db-s { font-size: 0.76rem; color: var(--on-variant); white-space: nowrap; }
.dockbar .appstore-img img { height: 40px; box-shadow: none; }
@media (min-width: 860px) { .dockbar { display: none; } }

/* ---- İnce kaydırma davranışı & seçim rengi ---- */
::selection { background: var(--agro-secondary-container); color: var(--agro-primary-dark); }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(16,40,20,.05); }

/* ---- App Store künye şeridi (HubX tarzı gerçek metadata) ---- */
.appmeta { background: var(--surface); }
.appmeta-row {
  list-style: none; margin: 0; padding: 34px 0; display: flex; align-items: stretch;
  justify-content: center; flex-wrap: wrap; gap: 0;
}
.appmeta-row li {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; padding: 4px 34px; position: relative; min-width: 120px;
}
.appmeta-row li + li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 34px; background: var(--outline-variant);
}
.appmeta-row .v {
  font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; color: var(--on-bg);
  display: flex; align-items: center; gap: 6px; line-height: 1;
}
.appmeta-row .cap {
  font-size: 0.78rem; color: var(--on-variant); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600;
}
.appmeta-row .stars { color: var(--agro-warning); font-size: 0.95rem; letter-spacing: 1px; }
.appmeta-row .age {
  border: 2px solid var(--on-variant); border-radius: 7px; padding: 1px 7px; font-size: 1.05rem;
}
.appmeta-row .apple { color: var(--on-bg); }

@media (max-width: 860px) {
  .appmeta-row { padding: 26px 0; gap: 8px 0; }
  .appmeta-row li { min-width: 33%; padding: 12px 10px; flex: 0 0 33%; }
  .appmeta-row li + li::before { display: none; }
}
@media (max-width: 480px) {
  .appmeta-row li { min-width: 50%; flex: 0 0 50%; }
}

/* Sabit indirme çubuğu: iOS güvenli alan (çentik/ana çubuk) boşluğu */
.dockbar { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
