/* ============================================================
   PERTEV — Emlak Asistanı | Pazarlama Sitesi
   Palet: Emerald + Slate (panel ile birebir aynı marka teması)
   ============================================================ */

/* Inter — kendi sunucumuzdan servis edilir (Google Fonts'a istek yok: KVKK + hız) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Koyu/nötr yüzeyler — panelin slate tonlarıyla birebir (header/hero/footer) */
  --navy-950: #0f172a;
  --navy-900: #1e293b;
  --navy-800: #334155;
  --navy-700: #1e293b;
  --navy-600: #475569;
  /* Marka vurgusu — panelin brand-600/400/100 (emerald) tonları */
  --gold: #059669;
  --gold-light: #34d399;
  --gold-pale: #d1fae5;
  --ivory: #f8fafc;
  --cream: #f1f5f9;
  --white: #ffffff;
  --mint: #10b981;
  --teal: #059669;
  --teal-dark: #047857;
  --ink: #1e293b;
  --muted: #64748b;
  --line: #e2e8f0;
  --radius: 16px;
  --shadow-lg: 0 24px 60px -20px rgba(15, 23, 42, 0.35);
  --shadow-md: 0 12px 32px -12px rgba(15, 23, 42, 0.18);
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* scroll-padding: sabit header çapa hedeflerinin üstünü kapatmasın */
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1160px, 92%); margin-inline: auto; }

/* ---------- Tipografi ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.18rem; font-family: var(--font-body); font-weight: 700; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }

.section { padding: clamp(4rem, 8vw, 6.5rem) 0; scroll-margin-top: 60px; }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head p { color: var(--muted); margin-top: .9rem; font-size: 1.05rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.7rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; cursor: pointer;
  border: 1.5px solid transparent; transition: all .22s ease;
}
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(5,150,105,.45); }
.btn-outline-light { border-color: rgba(255,255,255,.4); color: var(--white); }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-navy { background: var(--navy-800); color: var(--white); }
.btn-navy:hover { background: var(--navy-600); transform: translateY(-2px); }
.btn-lg { padding: 1.05rem 2.2rem; font-size: 1.02rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248,250,252,.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 6px 24px -12px rgba(15,23,42,.18); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: .8rem; }
.brand img { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 0 0 2px var(--gold-pale); }
.brand-name {
  font-family: var(--font-display); font-size: 1.45rem; font-weight: 700;
  letter-spacing: .14em; color: var(--navy-700);
}
.brand-sub { display: block; font-family: var(--font-body); font-size: .58rem; font-weight: 600; letter-spacing: .34em; color: var(--gold); text-transform: uppercase; margin-top: -3px; }
.nav-links { display: flex; align-items: center; gap: 2rem; font-size: .93rem; font-weight: 500; }
.nav-links a:not(.btn) { color: var(--ink); opacity: .82; transition: opacity .2s, color .2s; }
.nav-links a:not(.btn):hover { opacity: 1; color: var(--gold); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy-700); margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white); overflow: hidden;
  background: var(--navy-950);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/hero-building.webp") center/cover no-repeat;
  opacity: .5;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(15,23,42,.96) 32%, rgba(15,23,42,.55) 70%, rgba(15,23,42,.75));
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: center;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}
.hero .eyebrow { color: var(--gold-light); }
.hero h1 { margin: 1.1rem 0 1.3rem; }
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero-lead { font-size: 1.12rem; color: rgba(255,255,255,.85); max-width: 34rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero-note { margin-top: 1rem; font-size: .84rem; color: rgba(255,255,255,.55); }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  padding: 1.6rem 0 3.5rem; position: relative; z-index: 2;
  border-top: 1px solid rgba(255,255,255,.14);
}
.stat { text-align: left; }
.stat b { display: block; font-family: var(--font-display); font-size: 1.9rem; color: var(--gold-light); }
.stat span { font-size: .84rem; color: rgba(255,255,255,.65); }

/* ---------- WhatsApp sohbet kartı ---------- */
.chat-card {
  background: #0f172a; border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px; box-shadow: var(--shadow-lg);
  overflow: hidden; max-width: 400px; margin-left: auto;
}
.chat-head {
  display: flex; align-items: center; gap: .75rem;
  padding: .9rem 1.1rem; background: rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.chat-head img { width: 38px; height: 38px; border-radius: 50%; background: var(--ivory); }
.chat-head b { font-size: .92rem; color: var(--white); display: block; line-height: 1.2; }
.chat-head span { font-size: .74rem; color: var(--mint); }
.chat-body { padding: 1.2rem 1rem 1.4rem; display: flex; flex-direction: column; gap: .65rem; min-height: 320px; }
.msg {
  max-width: 84%; padding: .68rem .95rem; border-radius: 14px;
  font-size: .86rem; line-height: 1.45;
  transition: opacity .5s ease, transform .5s ease;
}
html.js .msg { opacity: 0; transform: translateY(12px); }
html.js .msg.show { opacity: 1; transform: none; }
.msg.bot { background: #1e293b; color: #e2e8f0; border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.user { background: #047857; color: #ecfdf5; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg time { display: block; font-size: .62rem; opacity: .55; margin-top: .3rem; text-align: right; }
.chat-result {
  margin: .5rem .4rem 0; padding: .7rem 1rem; border-radius: 12px;
  background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.4);
  color: var(--mint); font-size: .8rem; font-weight: 600; text-align: center;
  transition: opacity .5s, transform .5s;
}
html.js .chat-result { opacity: 0; transform: translateY(12px); }
html.js .chat-result.show { opacity: 1; transform: none; }

/* ---------- Kaynak / kanal şeridi ---------- */
.sources { background: var(--navy-900); padding: 1.4rem 0; }
.sources .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .8rem 2.4rem; }
.sources span { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); font-weight: 600; }
.sources b { font-size: .95rem; color: rgba(255,255,255,.8); font-weight: 600; letter-spacing: .02em; }

/* ---------- Nasıl Çalışır ---------- */
.how-img { border-radius: var(--radius); box-shadow: var(--shadow-md); margin-bottom: 3rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; counter-reset: step; }
.step {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.6rem; position: relative; transition: transform .25s, box-shadow .25s;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 700;
  color: var(--gold-pale); position: absolute; top: .9rem; right: 1.2rem; line-height: 1;
}
.step h3 { margin-bottom: .6rem; color: var(--navy-700); }
.step p { font-size: .93rem; color: var(--muted); }
.step .tag {
  display: inline-block; margin-top: 1rem; font-size: .72rem; font-weight: 700;
  color: var(--teal-dark); background: rgba(5,150,105,.1); border-radius: 999px; padding: .25rem .7rem;
}

/* ---------- Özellikler ---------- */
.features { background: var(--white); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.feature {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.4rem;
  background: var(--ivory); transition: transform .25s, box-shadow .25s;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature img { width: 78px; height: 78px; margin-bottom: 1.1rem; }
.feature h3 { font-size: 1.04rem; color: var(--navy-700); margin-bottom: .5rem; }
.feature p { font-size: .88rem; color: var(--muted); }

.mini-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 1.4rem; }
.mini {
  display: flex; gap: .9rem; align-items: flex-start;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; background: var(--white);
}
.mini .dot {
  flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: var(--navy-800); color: var(--gold-light); font-size: 1.05rem;
}
.mini b { display: block; font-size: .95rem; color: var(--navy-700); }
.mini p { font-size: .84rem; color: var(--muted); margin-top: .15rem; }

/* ---------- Kampanya bandı ---------- */
.band {
  background: var(--navy-900); color: var(--white); border-radius: 22px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center;
  padding: clamp(1.8rem, 4vw, 3.2rem); margin-top: 3.4rem; overflow: hidden;
}
.band img { border-radius: 14px; box-shadow: var(--shadow-lg); }
.band h3 { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: .8rem; color: var(--gold-light); }
.band p { color: rgba(255,255,255,.78); font-size: .96rem; }
.band ul { margin-top: 1.1rem; display: grid; gap: .55rem; }
.band li { display: flex; gap: .6rem; font-size: .92rem; color: rgba(255,255,255,.85); }
.band li::before { content: "✦"; color: var(--gold); }

/* ---------- Panel (dark) ---------- */
.panel { background: var(--navy-950); color: var(--white); }
.panel .section-head p { color: rgba(255,255,255,.65); }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.panel-img { border-radius: var(--radius); box-shadow: 0 30px 80px -25px rgba(0,0,0,.7); }
.panel-list { display: grid; gap: 1.3rem; }
.panel-item { display: flex; gap: 1rem; }
.panel-item .dot {
  flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.35); color: var(--mint);
}
.panel-item b { display: block; margin-bottom: .2rem; }
.panel-item p { font-size: .9rem; color: rgba(255,255,255,.65); }

/* ---------- Devir (handoff) ---------- */
.handoff-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.handoff-img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.handoff-quote {
  border-left: 3px solid var(--gold); padding-left: 1.2rem; margin-top: 1.6rem;
  font-family: var(--font-display); font-size: 1.25rem; color: var(--navy-700); font-style: italic;
}
.checklist { margin-top: 1.6rem; display: grid; gap: .7rem; }
.checklist li { display: flex; gap: .7rem; font-size: .95rem; color: var(--ink); }
.checklist li::before { content: "✓"; font-weight: 800; color: var(--teal); }


/* ---------- Fiyatlandırma ---------- */
.pricing { background: var(--cream); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 1rem; }
.plan {
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  padding: 2.2rem 1.9rem; display: flex; flex-direction: column; position: relative;
  transition: transform .25s, box-shadow .25s;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan.featured { border: 2px solid var(--gold); box-shadow: var(--shadow-md); }
.plan .flag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--white); font-size: .72rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; padding: .3rem 1rem; border-radius: 999px; white-space: nowrap;
}
.plan h3 { font-family: var(--font-display); font-size: 1.4rem; color: var(--navy-700); }
.plan .plan-desc { font-size: .86rem; color: var(--muted); margin: .5rem 0 1.2rem; min-height: 3.2em; }
.plan .price { font-family: var(--font-display); font-size: 1.7rem; color: var(--navy-700); }
.plan .price span { font-family: var(--font-body); font-size: .8rem; color: var(--muted); font-weight: 500; }
.plan ul { margin: 1.4rem 0 1.8rem; display: grid; gap: .6rem; flex: 1; }
.plan li { display: flex; gap: .6rem; font-size: .89rem; }
.plan li::before { content: "✓"; color: var(--teal); font-weight: 800; }
.plan li.off { color: #94a3b8; }
.plan li.off::before { content: "—"; color: #cbd5e1; }
.trial-note { text-align: center; margin-top: 2rem; font-size: .92rem; color: var(--muted); }
.trial-note b { color: var(--teal-dark); }

/* ---------- SSS ---------- */
.faq-list { max-width: 760px; margin-inline: auto; display: grid; gap: .8rem; }
.faq {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; padding: 1.15rem 1.4rem; font-weight: 600; font-size: .98rem; color: var(--navy-700);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--gold); transition: transform .25s; flex: none; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 1.4rem 1.3rem; font-size: .92rem; color: var(--muted); }

/* ---------- Son CTA ---------- */
.final-cta { background: var(--navy-950); color: var(--white); text-align: center; position: relative; overflow: hidden; }
.final-cta::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/ai-illustration.webp") center/cover no-repeat; opacity: .16;
}
.final-cta .container { position: relative; z-index: 2; max-width: 720px; }
.final-cta h2 { color: var(--white); }
.final-cta h2 em { font-style: normal; color: var(--gold-light); }
.final-cta p { color: rgba(255,255,255,.72); margin: 1.2rem 0 2.2rem; font-size: 1.05rem; }
.final-cta .hero-ctas { justify-content: center; }
.contact-mail { margin-top: 1.7rem; font-size: .95rem; color: rgba(255,255,255,.6); }
.contact-mail a { color: var(--gold-light); font-weight: 600; transition: color .2s; }
.contact-mail a:hover { color: var(--white); text-decoration: underline; }

/* ---------- İletişim modalı ---------- */
.modal[hidden] { display: none; }
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; padding: 1rem;
}
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(15,23,42,.78); backdrop-filter: blur(4px);
  animation: cmFade .2s ease;
}
.modal-dialog {
  position: relative; z-index: 1; width: min(640px, 100%);
  max-height: 92vh; overflow-y: auto;
  background: var(--navy-950); color: var(--white);
  border: 1px solid rgba(255,255,255,.12); border-radius: 20px;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-lg);
  animation: cmRise .25s cubic-bezier(.16,1,.3,1);
}
.modal-dialog h3 { font-size: 1.5rem; color: var(--white); }
.modal-sub { color: rgba(255,255,255,.65); font-size: .93rem; margin: .35rem 0 1.4rem; }
.modal-close {
  position: absolute; top: .8rem; right: 1rem;
  background: none; border: none; cursor: pointer;
  font-size: 1.9rem; line-height: 1; color: rgba(255,255,255,.5);
  padding: .2rem .5rem; border-radius: 8px; transition: color .2s, background .2s;
}
.modal-close:hover { color: var(--white); background: rgba(255,255,255,.08); }
.modal-mail { margin-top: 1rem; text-align: center; font-size: .86rem; color: rgba(255,255,255,.5); }
.modal-mail a { color: var(--gold-light); font-weight: 600; }
.modal-mail a:hover { text-decoration: underline; }
body.modal-open { overflow: hidden; }

@keyframes cmFade { from { opacity: 0; } }
@keyframes cmRise { from { opacity: 0; transform: translateY(18px) scale(.98); } }
@media (prefers-reduced-motion: reduce) {
  .modal-backdrop, .modal-dialog { animation: none; }
}

/* ---------- İletişim formu ---------- */
.contact-form {
  max-width: 640px; margin: 0 auto; text-align: left;
}
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.cf-span { grid-column: 1 / -1; }
.cf-field { display: flex; flex-direction: column; gap: .4rem; }
.cf-field > span { font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.75); letter-spacing: .02em; }
.cf-field input, .cf-field textarea {
  width: 100%; font: inherit; font-size: .93rem; color: var(--white);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px; padding: .72rem .9rem; transition: border-color .2s, background .2s;
}
.cf-field textarea { resize: vertical; min-height: 96px; }
.cf-field input::placeholder, .cf-field textarea::placeholder { color: rgba(255,255,255,.35); }
.cf-field input:focus, .cf-field textarea:focus {
  outline: none; border-color: var(--gold-light); background: rgba(255,255,255,.1);
}
.cf-field input:user-invalid, .cf-field textarea:user-invalid { border-color: #f87171; }

/* Bal küpü — ekranda görünmez ama ekran okuyucuya da sunulmaz */
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.cf-turnstile { margin: 1.3rem 0 .2rem; display: flex; justify-content: center; min-height: 65px; }
#cfSubmit { width: 100%; margin-top: 1rem; }
#cfSubmit:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

.cf-status { margin-top: .9rem; font-size: .9rem; text-align: center; min-height: 1.2em; }
.cf-status.ok { color: var(--gold-light); font-weight: 600; }
.cf-status.err { color: #fca5a5; }

.cf-kvkk { margin-top: .8rem; text-align: center; font-size: .76rem; color: rgba(255,255,255,.45); }
.cf-kvkk a { color: rgba(255,255,255,.65); text-decoration: underline; }
.cf-kvkk a:hover { color: var(--gold-light); }

@media (max-width: 620px) {
  .cf-grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.6); border-top: 1px solid rgba(255,255,255,.08); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem;
  padding: 3.5rem 0 2.5rem;
}
.footer-brand img { width: 54px; height: 54px; border-radius: 50%; margin-bottom: 1rem; }
.footer-brand p { font-size: .87rem; max-width: 24rem; }
.site-footer h4 {
  color: var(--white); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem;
}
.site-footer li { margin-bottom: .55rem; }
.site-footer li a { font-size: .89rem; transition: color .2s; }
.site-footer li a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 1.3rem 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; font-size: .8rem;
}

/* ---------- Reveal animasyonu (yalnızca JS etkinken gizle) ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }
.notfound img { max-width: 420px; margin-inline: auto; border-radius: var(--radius); }
.notfound h1 { margin: 1.6rem 0 .6rem; color: var(--navy-700); }
.notfound p { color: var(--muted); margin-bottom: 1.8rem; }

/* ---------- Hukuki sayfalar (KVKK / gizlilik / koşullar) ---------- */
.legal { padding: 3.2rem 0 5rem; }
.legal .container { max-width: 780px; }
.legal h1 { color: var(--navy-700); font-size: clamp(1.55rem, 3vw, 2.05rem); line-height: 1.25; margin-bottom: .5rem; }
.legal-updated { color: var(--muted); font-size: .85rem; margin-bottom: 1.6rem; }
.legal h2 { color: var(--navy-700); font-size: 1.14rem; margin: 2.1rem 0 .55rem; }
.legal p { color: var(--muted); font-size: .95rem; margin-bottom: .85rem; }
.legal ul { padding-left: 1.25rem; margin: .3rem 0 1rem; }
.legal li { color: var(--muted); font-size: .95rem; margin-bottom: .4rem; }
.legal a { color: var(--teal); text-decoration: underline; }
.legal a:hover { color: var(--teal-dark); }
.legal b, .legal strong { color: var(--ink); }
.legal-note {
  background: #fffbeb; border: 1px solid #fde68a; color: #92400e;
  border-radius: 12px; padding: .75rem 1rem; font-size: .84rem; margin-bottom: 1.7rem;
}
.legal table { width: 100%; border-collapse: collapse; font-size: .89rem; margin: .5rem 0 1.2rem; }
.legal th, .legal td { border: 1px solid var(--line); padding: .5rem .75rem; text-align: left; color: var(--muted); vertical-align: top; }
.legal th { background: var(--cream); color: var(--ink); font-weight: 600; }
.legal-fine { font-size: .8rem; color: #94a3b8; margin-top: 2.2rem; }
.legal-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-bottom: 2rem; font-size: .86rem; }
.legal-back { font-weight: 600; font-size: .92rem; color: var(--ink); }
.legal-back:hover { color: var(--teal); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.6rem; }
  .chat-card { margin-inline: auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .mini-features { grid-template-columns: 1fr; }
  .panel-grid, .handoff-grid, .band { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; background: var(--ivory);
    flex-direction: column; padding: 1.6rem 5%; gap: 1.2rem; align-items: flex-start;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    visibility: hidden; transform: translateY(-115%);
    transition: transform .3s ease, visibility 0s linear .3s;
  }
  .nav-links.open { transform: none; visibility: visible; transition: transform .3s ease; }
  .nav-toggle { display: block; }
  .steps { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-name { font-size: 1.2rem; }
}
