/* AgroProje — renkler agroproje.com kurumsal paletinden alınmıştır */
:root {
  --deep: #103a29;
  --deep-2: #0b2b1e;
  --green: #276a37;
  --green-2: #4b8739;
  --soft: #edf5e7;
  --gold: #d2a422;
  --gold-dark: #a97a0b;
  --gold-soft: #fbf3d6;
  --gold-grad: linear-gradient(100deg, #b8860b, #d9a925 55%, #b98a14);
  --dark-grad: linear-gradient(110deg, #0d3728, #184e34 70%, #285c39);
  --light-grad: linear-gradient(114deg, #f2f9ec 0%, #fffef9 34%, #f6faed 72%, #e3f2d7 100%);
  --ink: #173428;
  --muted: #46594e;
  --line: #dce9d7;
  --paper: #f8faf6;
  --white: #fff;
  --radius: 20px;
  --shadow-sm: 0 4px 14px rgba(16, 58, 41, .06);
  --shadow: 0 18px 44px rgba(16, 58, 41, .10);
}

/* ===== Temel ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--ink); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; color: var(--deep); letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 900; letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 800; }
h4 { font-size: 1rem; font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.gold { color: var(--gold-dark); background: linear-gradient(180deg, #e0b232, #a97a0b); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.muted { color: var(--muted); }

/* ===== Butonlar ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.7em; border-radius: 999px; border: 1px solid transparent; white-space: nowrap;
  font: inherit; font-weight: 800; text-decoration: none; cursor: pointer;
  transition: transform .15s, filter .15s, box-shadow .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--gold-grad); color: #fff; text-shadow: 0 1px 1px rgba(90, 60, 0, .35);
  box-shadow: 0 10px 24px rgba(180, 132, 15, .30), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn--primary:hover { filter: brightness(1.05); }
.btn--white { background: #fff; color: var(--deep); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--white:hover { border-color: var(--green-2); }
.btn--whatsapp { background: #25d366; color: #fff; }
.btn--block { width: 100%; }
.link-arrow { font-weight: 800; color: var(--green); text-decoration: none; }
.link-arrow:hover { color: var(--gold-dark); }

/* ===== Bölüm düzeni ===== */
.section { padding: 96px 0; }
.section--paper { background: var(--light-grad); }
.section--dark { background: var(--dark-grad); color: #fff; }
.section--dark h2 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section--dark .section-head p { color: rgba(255, 255, 255, .78); }
.eyebrow {
  display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px;
  background: var(--gold-soft); color: var(--gold-dark);
  font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.section--dark .eyebrow { background: rgba(210, 164, 34, .16); color: #f0cd63; }

/* ===== Üst menü ===== */
.header { position: sticky; top: 0; z-index: 50; background: rgba(247, 251, 241, .9); backdrop-filter: blur(12px); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 10px; padding-bottom: 10px; }
.logo { flex: none; }
.logo img { height: 84px; width: auto; }
.nav {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 22px; padding: 8px 8px 8px 18px; box-shadow: 0 12px 34px rgba(16, 58, 41, .10);
}
.nav__links { display: flex; align-items: center; }
.nav__links a {
  position: relative; padding: 10px 13px; white-space: nowrap; text-decoration: none;
  color: var(--deep); font-weight: 600; font-size: .93rem;
}
.nav__links a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--gold); transform: scaleX(0); transition: transform .2s;
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--green); }
.nav-toggle { display: none; background: #fff; border: 0; border-radius: 12px; padding: 11px; cursor: pointer; box-shadow: var(--shadow-sm); }
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 5px 0; background: var(--deep); }

/* ===== Ana sayfa girişi ===== */
.hero {
  padding: 40px 0 80px; overflow: hidden;
  background:
    radial-gradient(900px 520px at 88% 18%, rgba(75, 135, 57, .16), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(210, 164, 34, .10), transparent 60%),
    linear-gradient(180deg, #f7fbf1, #eef6e6);
}
.hero__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.hero h1 .gold { display: block; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 8px 16px;
  border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm);
  font-size: .9rem; font-weight: 700; color: var(--deep);
}
.badge svg { width: 18px; height: 18px; color: var(--green-2); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); font-weight: 500; font-size: .93rem; }
.ticks li::before { content: "✓"; margin-right: 6px; color: var(--gold); font-weight: 900; }
.hero__visual { margin: 0 -48px 0 0; }
.hero__visual img { width: 100%; height: auto; }
.caption { margin: 8px 0 0; font-size: .78rem; color: var(--muted); text-align: right; }

/* ===== Alt sayfa girişi ===== */
.page-hero { padding: 48px 0 72px; background: var(--light-grad); }
.page-hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
.page-hero__media img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.page-hero__media--plain img { border-radius: 0; box-shadow: none; }
.crumb { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--green); }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.jump a {
  padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  color: var(--deep); font-weight: 600; font-size: .9rem; text-decoration: none;
}
.jump a:hover { border-color: var(--gold); }

/* ===== Hizmet sütunları (ana sayfa) ===== */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.pillar__media img { width: 100%; height: 100%; object-fit: cover; }
.pillar__media--fit { display: grid; place-items: center; padding: 14px; background: #f4f7f3; }
.pillar__media--fit img { height: auto; object-fit: contain; border-radius: 10px; box-shadow: var(--shadow-sm); }
.pillar__body { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 28px; }
.pillar__num { font-size: .8rem; font-weight: 800; color: var(--gold-dark); letter-spacing: .1em; margin-bottom: 6px; }
.pillar__body > p { color: var(--muted); }
.pillar .link-arrow { margin-top: auto; padding-top: 8px; }

.checklist { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; font-weight: 500; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; background: var(--soft); color: var(--green); font-size: .7rem; font-weight: 900;
}

/* ===== Adımlar ===== */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.step { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); }
.step::before {
  content: counter(s); display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px;
  border-radius: 14px; background: var(--deep); color: #f0cd63; font-size: 1.2rem; font-weight: 900;
}
.step p { color: var(--muted); margin: 0; }
.step__meta { display: inline-block; margin-top: 14px; font-size: .82rem; font-weight: 700; color: var(--gold-dark); }

/* ===== Detay satırları (alt sayfalar) ===== */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature + .feature { margin-top: 112px; }
.feature--flip .feature__media { order: 2; }
.feature__media img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.feature__tag { display: block; margin-bottom: 10px; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); }
.feature__text > p { color: var(--muted); font-size: 1.05rem; }
.modules { list-style: none; margin: 24px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; counter-reset: m; }
.modules li { counter-increment: m; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: .88rem; color: var(--muted); }
.modules li::before { content: counter(m, decimal-leading-zero); display: block; font-size: .72rem; font-weight: 800; color: var(--gold-dark); margin-bottom: 2px; }
.modules b { display: block; color: var(--deep); font-size: .95rem; margin-bottom: 2px; }
.who { background: var(--soft); border-radius: 14px; padding: 14px 18px; font-size: .92rem; margin-bottom: 24px; }
.who b { color: var(--deep); }
.note { max-width: 820px; margin: 72px auto 0; text-align: center; font-size: .84rem; color: var(--muted); }

/* ===== Özellik ızgarası ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.tile p { color: var(--muted); margin: 0; }
.icon {
  width: 52px; height: 52px; margin-bottom: 18px; border-radius: 14px;
  display: grid; place-items: center; background: var(--soft); color: var(--green);
}
.icon--gold { background: var(--gold-soft); color: var(--gold-dark); }
.icon svg { width: 26px; height: 26px; }

/* ===== Çağrı bandı ===== */
.cta {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 48px 56px;
  border-radius: 28px; color: #fff;
  background: radial-gradient(600px 300px at 90% 0%, rgba(210, 164, 34, .22), transparent 70%), var(--dark-grad);
}
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { color: rgba(255, 255, 255, .82); margin: 0; max-width: 36em; }

/* ===== Cihaz çerçeveleri ve örnek ekranlar ===== */
.tablet { background: #1a1f1c; border-radius: 30px; padding: 16px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35), inset 0 0 0 2px #2c332f; }
.tablet__screen { background: #f4f7f3; border-radius: 16px; padding: 20px; color: var(--ink); overflow: hidden; }
.browser { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef2ec; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3dbd0; }
.browser__bar span { margin-left: 10px; flex: 1; padding: 3px 12px; border-radius: 8px; background: #fff; font-size: .75rem; color: var(--muted); }
.browser img { width: 100%; height: auto; }
.phone { max-width: 340px; margin: 0 auto; background: #1a1f1c; border-radius: 40px; padding: 12px; box-shadow: var(--shadow), inset 0 0 0 2px #2c332f; }
.phone__screen { background: #fff; color: var(--ink); border-radius: 30px; padding: 18px 14px; display: grid; gap: 10px; font-size: .88rem; }
.phone__head { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-weight: 800; color: var(--deep); }
.phone__head img { width: 28px; height: 28px; }

.app-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 14px; }
.app-bar__title { font-weight: 800; color: var(--deep); }
.app-bar__tag { font-size: .7rem; font-weight: 600; color: var(--muted); background: #fff; border: 1px solid var(--line); padding: .15em .6em; border-radius: 999px; white-space: nowrap; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
.kpis--3 { grid-template-columns: repeat(3, 1fr); }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.kpi small { display: block; color: var(--muted); font-size: .72rem; }
.kpi strong { display: block; font-size: 1.15rem; color: var(--deep); line-height: 1.3; }
.kpi__delta { font-size: .72rem; font-weight: 600; color: var(--muted); }
.kpi__delta.up { color: #1f7a45; }
.kpi__delta.down { color: #b4541a; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.panel__head { font-size: .78rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ai-note {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 12px; padding: 12px 14px;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px;
}
.ai-note p { margin: 0; font-size: .88rem; }
.ai-note__badge { flex: none; padding: .25em .6em; border-radius: 6px; background: var(--deep); color: #f0cd63; font-size: .7rem; font-weight: 800; }
.ai-note--compact { flex-direction: column; gap: 6px; }

.chart { position: relative; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart text { font-family: inherit; font-size: 11px; fill: #6b7a70; }
.chart .grid { stroke: #e7ece8; stroke-width: 1; }
.chart .line { fill: none; stroke: var(--green-2); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .area { fill: var(--green-2); fill-opacity: .1; }
.chart .pt { fill: var(--green-2); stroke: #fff; stroke-width: 2; }
.chart .bar { fill: var(--green-2); }
.chart .bar.is-high { fill: #c98a1a; }
.chart .hit { fill: transparent; cursor: pointer; }
.chart .label { font-weight: 700; fill: var(--deep); }
.tooltip {
  position: absolute; z-index: 5; pointer-events: none; transform: translate(-50%, calc(-100% - 10px));
  padding: 5px 9px; border-radius: 6px; background: var(--deep); color: #fff; font-size: .75rem; white-space: nowrap;
  opacity: 0; transition: opacity .12s;
}
.tooltip.is-visible { opacity: 1; }

.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tab {
  padding: .65em 1.3em; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25);
  background: transparent; color: rgba(255, 255, 255, .85); font: inherit; font-weight: 600; cursor: pointer;
}
.tab:hover { background: rgba(255, 255, 255, .08); }
.tab.is-active { background: var(--gold-grad); border-color: transparent; color: #fff; }
.showcase { max-width: 1000px; margin: 0 auto; }
.showcase .tablet__screen { min-height: 470px; }
.screen[hidden] { display: none; }
.screen.is-active { animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.showcase-note { margin: 20px 0 0; text-align: center; font-size: .82rem; color: rgba(255, 255, 255, .65); }

.map-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; }
.map { position: relative; aspect-ratio: 3 / 2; border-radius: 12px; overflow: hidden; }
.map img { width: 100%; height: 100%; object-fit: cover; }
.map__overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.parcel { stroke-width: 4; fill-opacity: .28; cursor: pointer; transition: fill-opacity .15s; }
.parcel:hover { fill-opacity: .5; }
.parcel--ok { fill: #2e9e5b; stroke: #2e9e5b; }
.parcel--warn { fill: #e3a417; stroke: #e3a417; }
.parcel--risk { fill: #d64545; stroke: #d64545; }
.map-side { display: flex; flex-direction: column; gap: 10px; }
.legend-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.legend-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.legend-list b { display: block; font-size: .88rem; color: var(--deep); }
.legend-list small { color: var(--muted); font-size: .78rem; }
.status { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 800; color: #fff; }
.status--ok { background: #2e9e5b; }
.status--warn { background: #e3a417; color: #3a2a00; }
.status--risk { background: #d64545; }
.audit__progress { margin-bottom: 12px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.audit__progress-head { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: .85rem; color: var(--muted); }
.audit__progress-head b { color: var(--deep); }
.progress { height: 10px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: 999px; background: var(--green-2); }
.audit-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.audit-list li {
  display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center;
  padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: .88rem; font-weight: 600; color: var(--deep);
}
.audit-list .status { grid-row: span 2; }
.audit-list small { font-weight: 400; color: var(--muted); font-size: .78rem; }

/* Mesaj balonları (telefon örneği ve asistan) */
.msg { padding: 9px 12px; border-radius: 14px; line-height: 1.45; }
.msg--user { justify-self: end; max-width: 85%; background: var(--green); color: #fff; border-bottom-right-radius: 4px; }
.msg--ai { background: var(--soft); border-bottom-left-radius: 4px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #25a55f; box-shadow: 0 0 0 3px rgba(37, 165, 95, .2); }

/* ===== İletişim ===== */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.contact__info > p { color: var(--muted); font-size: 1.05rem; }
.offer-box { margin: 28px 0; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.offer-box h4 { margin-bottom: 14px; }
.offer-box .checklist { margin: 0; }
.contact__list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 6px; }
.contact__list b { color: var(--deep); }
.form { display: grid; gap: 16px; padding: 36px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.form h3 { margin-bottom: 0; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--deep); }
.form input, .form select, .form textarea {
  width: 100%; padding: .8em .95em; border: 1px solid var(--line); border-radius: 12px;
  background: #fbfcfa; color: var(--ink); font: inherit; font-weight: 400;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--green-2); outline-offset: 1px; border-color: transparent; }
.form .form__check { display: flex; gap: .6em; align-items: flex-start; font-weight: 400; color: var(--muted); }
.form__check input { width: auto; margin-top: .3em; }
.form__error { min-height: 1em; margin: 0; color: #b42318; font-size: .9rem; }

/* ===== Alt bilgi ===== */
.footer { padding: 64px 0 28px; background: #09291e; color: rgba(255, 255, 255, .72); font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__brand img { height: 64px; width: auto; padding: 8px 12px; background: #fff; border-radius: 14px; margin-bottom: 16px; }
.footer h4 { color: #fff; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.footer a:hover { color: #f0cd63; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 24px; font-size: .82rem; }

/* ===== Yüzen butonlar ve AI asistan ===== */
.wa-float {
  position: fixed; right: 20px; bottom: 92px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 8px 24px rgba(37, 211, 102, .4);
}
.wa-float svg { width: 30px; height: 30px; }
.chat-launcher {
  position: fixed; right: 20px; bottom: 20px; z-index: 61; display: flex; align-items: center; gap: 8px;
  padding: 8px 18px 8px 10px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--deep); color: #fff; font: inherit; font-weight: 700; box-shadow: 0 10px 28px rgba(16, 58, 41, .35);
}
.chat-launcher img { width: 32px; height: 32px; padding: 3px; border-radius: 50%; background: #fff; object-fit: contain; }
.chat-launcher[aria-expanded="true"] { display: none; }
.chat {
  position: fixed; right: 20px; bottom: 20px; z-index: 70; width: 380px; height: min(600px, calc(100vh - 40px));
  display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: 20px; box-shadow: 0 24px 60px rgba(16, 58, 41, .3);
}
.chat[hidden] { display: none; }
.chat__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--deep); color: #fff; }
.chat__head img { width: 36px; height: 36px; padding: 3px; border-radius: 50%; background: #fff; object-fit: contain; }
.chat__head div { flex: 1; display: grid; line-height: 1.3; }
.chat__head small { display: flex; align-items: center; gap: 6px; font-size: .78rem; opacity: .85; }
.chat__close { padding: 0 4px; border: 0; background: none; color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; opacity: .8; }
.chat__close:hover { opacity: 1; }
.chat__body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 14px; background: var(--paper); font-size: .92rem; }
.chat__body .msg { max-width: 88%; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat__body .msg--ai { align-self: flex-start; background: #fff; border: 1px solid var(--line); }
.chat__body .msg--user { align-self: flex-end; }
.msg--typing::after { content: "●●●"; letter-spacing: 2px; color: var(--muted); animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.chat__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chat__chips button {
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--green-2); background: #fff; color: var(--green);
  font: inherit; font-size: .82rem; text-align: left; cursor: pointer;
}
.chat__chips button:hover { background: var(--soft); }
.chat__form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.chat__form textarea {
  flex: 1; max-height: 120px; resize: none; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px;
  background: #fbfcfa; font: inherit; font-size: .92rem;
}
.chat__form textarea:focus { outline: 2px solid var(--green-2); outline-offset: 1px; border-color: transparent; }
.chat__form button { flex: none; width: 44px; display: grid; place-items: center; border: 0; border-radius: 12px; background: var(--green); color: #fff; cursor: pointer; }
.chat__form button:disabled { opacity: .5; cursor: default; }
.chat__form button svg { width: 20px; height: 20px; }
.chat__note { margin: 0; padding: 0 12px 10px; text-align: center; font-size: .72rem; color: var(--muted); }

/* ===== Sahneli giriş bölümü (agroproje.com arka planı) ===== */
.hero--scene {
  position: relative; padding: 56px 0 28px; overflow: hidden;
  background:
    linear-gradient(90deg, #f6faef 0%, rgba(246, 250, 239, .97) 38%, rgba(246, 250, 239, .7) 49%, rgba(246, 250, 239, 0) 62%),
    url("../img/hero-sahne.webp") right top / auto 650px no-repeat,
    var(--light-grad);
}
.hero--scene .hero__inner { grid-template-columns: 1fr 1fr; min-height: 470px; align-items: start; }

/* ===== Sık sorulan sorular ===== */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.faq summary { position: relative; padding: 20px 60px 20px 24px; font-weight: 700; color: var(--deep); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 600; color: var(--gold-dark); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 16px; }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }


/* ===== Yasal metinler (KVKK) ===== */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.3rem; margin: 2em 0 .6em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: .4em; }
.legal b { color: var(--ink); }
.legal__date { margin-top: 2.5em; font-size: .9rem; }
@media (max-width: 1320px) and (min-width: 1025px) {
  .hero--scene { background-size: auto, auto 560px, auto; }
  .hero__text { max-width: 520px; }
}
.hero--scene h1 { font-size: clamp(2.3rem, 4.4vw, 3.9rem); }
.hero__text { max-width: 600px; }
.hero__scene-img { display: none; }
.rotator { display: block; min-height: 2.3em; }
.shine {
  background: linear-gradient(90deg, #c99a18, #a97a0b 30%, #e8c457 50%, #a97a0b 70%, #c99a18);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: -250% 0; } }
/* İmleç, kelimenin hemen arkasında kalsın diye aynı öğeye bağlı */
.shine[data-rotate]::after {
  content: ""; display: inline-block; width: 4px; height: .85em; margin-left: 6px; vertical-align: -.04em;
  border-radius: 2px; background: var(--gold); animation: caret 1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.btn--lg { padding: 1.05em 2em; font-size: 1.02rem; }

.scene { position: relative; min-height: 470px; }
.stack__code {
  position: absolute; top: -18px; right: -12px; z-index: 2; margin: 0; padding: 14px 18px;
  background: rgba(13, 31, 22, .94); color: #d4e4d8; border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
  font: 500 .78rem/1.7 ui-monospace, "Cascadia Code", Consolas, monospace; white-space: pre;
}
.stack__code .c { color: #7f9a88; }
.stack__code .k { color: #f0cd63; }
.stack__code .s { color: #9bd5a4; }
.stack__code .ok { color: #6fd18a; }
.scene__chat {
  position: absolute; left: -6%; bottom: 8px; z-index: 2; width: 290px; display: grid; gap: 8px; padding: 12px;
  background: rgba(255, 255, 255, .97); color: var(--ink); border-radius: 18px; font-size: .8rem;
  box-shadow: 0 24px 50px rgba(16, 58, 41, .25);
}
.scene__chat .phone__head img { width: 22px; height: 22px; }
.phone__head .dot { margin-left: auto; }
.float { animation: float 6s ease-in-out infinite; }
.float--slow { animation-duration: 8s; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }
.msg.pop { animation: pop .35s ease both; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } }

.highlights { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.highlights li {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px;
  background: rgba(255, 255, 255, .9); border-radius: 18px; backdrop-filter: blur(8px);
  box-shadow: 0 14px 34px rgba(16, 58, 41, .12); color: var(--muted); font-size: .88rem; line-height: 1.35;
}
.highlights strong { display: block; font-size: 1.35rem; font-weight: 900; letter-spacing: -.02em; color: var(--deep); }
.highlights__icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--soft); color: var(--green); }
.highlights__icon--gold { background: var(--gold-soft); color: var(--gold-dark); }
.highlights__icon svg { width: 24px; height: 24px; }
.hero--scene .caption { margin-top: 12px; }

/* Kartlarda parlama */
.pillar:hover, .tile:hover { border-color: rgba(210, 164, 34, .55); box-shadow: 0 24px 60px rgba(16, 58, 41, .16), 0 0 0 4px rgba(210, 164, 34, .12); }
.tile { transition: transform .2s, box-shadow .2s, border-color .2s; }
.tile:hover { transform: translateY(-4px); }
.tile:hover .icon { background: var(--gold-grad); color: #fff; }
.icon { transition: background .2s, color .2s; }

/* Kaydırınca belirme */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Çerez onay bandı ===== */
.cookie {
  position: fixed; left: 20px; bottom: 20px; z-index: 80; max-width: 440px;
  display: grid; gap: 14px; padding: 20px 22px; border-radius: 20px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(16, 58, 41, .25);
  font-size: .88rem; color: var(--muted);
}
.cookie p { margin: 0; }
.cookie b { display: block; margin-bottom: 4px; color: var(--deep); font-size: .95rem; }
.cookie__actions { display: flex; gap: 10px; justify-content: flex-end; }
.cookie .btn { padding: .65em 1.3em; font-size: .9rem; }
.footer__bottom a[hidden] { display: none; }

/* ===== Duyarlı düzen ===== */
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: calc(100% - 4px); left: 20px; right: 20px; display: none;
    flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 16px 16px;
  }
  .nav.is-open { display: flex; }
  .nav__links { flex-direction: column; align-items: stretch; }
  .nav__links a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
}
@media (max-width: 1024px) {
  .hero__inner, .page-hero__inner, .feature, .contact { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 700px; margin: 0 auto; width: 100%; }
  .hero--scene { background: var(--light-grad); padding-top: 40px; }
  .hero--scene .hero__inner { min-height: 0; grid-template-columns: 1fr; }
  .scene { display: none; }
  .hero__scene-img { display: block; width: 100%; height: auto; margin-top: 24px; }
  .highlights { grid-template-columns: 1fr 1fr; margin-top: -8px; }
  .feature--flip .feature__media { order: 0; }
  .feature + .feature { margin-top: 80px; }
  .pillars, .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps--4 { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta { flex-direction: column; align-items: flex-start; padding: 40px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 96px; }
  .logo img { height: 64px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .pillars, .grid-3, .steps, .steps--4, .modules, .form__row { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .grid-2, .map-layout, .audit-list { grid-template-columns: 1fr; }
  .tablet { padding: 8px; border-radius: 20px; }
  .tablet__screen, .showcase .tablet__screen { padding: 12px; min-height: 0; }
  .ai-note { flex-direction: column; gap: 6px; }
  .footer__grid { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .cta { padding: 32px 24px; }
  .caption { text-align: left; }
  .highlights { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .chat { inset: 0; width: auto; height: auto; border-radius: 0; }
  .chat-launcher span { display: none; }
  .chat-launcher { padding: 10px; }
  .wa-float { bottom: 84px; }
}
@media (max-width: 400px) {
  .logo img { height: 52px; }
}
