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

: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; }
html { scroll-behavior: smooth; }
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(--navy-950); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(193,154,46,.55); }
.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-whatsapp { background: #25d366; color: #06301b; }
.btn-whatsapp:hover { background: #3fe07c; 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(250, 247, 240, .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(10,20,36,.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(10,20,36,.96) 32%, rgba(10,20,36,.55) 70%, rgba(10,20,36,.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: #0d1a2e; 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: #1d3050; color: #eef3fb; border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.user { background: #128c5e; color: #eafff4; 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(124, 227, 177, .12); border: 1px solid rgba(124, 227, 177, .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(39,181,140,.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(124,227,177,.12); border: 1px solid rgba(124,227,177,.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); }

/* ---------- Bölge münhasırlığı ---------- */
.exclusive {
  background: linear-gradient(120deg, var(--navy-800), var(--navy-950));
  color: var(--white); border-radius: 22px; padding: clamp(2rem, 5vw, 3.4rem);
  display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center;
  border: 1px solid rgba(193,154,46,.35);
}
.exclusive .crest {
  width: 84px; height: 84px; border-radius: 50%; background: var(--gold);
  display: grid; place-items: center; font-size: 2rem; color: var(--navy-950);
}
.exclusive h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-light); margin-bottom: .4rem; }
.exclusive p { color: rgba(255,255,255,.78); font-size: .95rem; max-width: 48rem; }

/* ---------- 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(--navy-950); 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: #b3aa97; }
.plan li.off::before { content: "—"; color: #cfc7b4; }
.trial-note { text-align: center; margin-top: 2rem; font-size: .92rem; color: var(--muted); }
.trial-note b { color: var(--teal-dark); }

/* ---------- Referanslar ---------- */
.testimonials {
  position: relative; color: var(--white);
  background: var(--navy-900) url("../img/testimonial-bg.webp") center/cover no-repeat;
}
.testimonials::before { content: ""; position: absolute; inset: 0; background: rgba(10,20,36,.72); }
.testimonials .container { position: relative; z-index: 2; }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.quote {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(6px); border-radius: var(--radius); padding: 2rem;
}
.quote p { font-family: var(--font-display); font-style: italic; font-size: 1.12rem; line-height: 1.6; }
.quote footer { margin-top: 1.4rem; display: flex; align-items: center; gap: .9rem; }
.quote .avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--gold);
  display: grid; place-items: center; font-weight: 800; color: var(--navy-950);
}
.quote b { display: block; font-size: .92rem; }
.quote span { font-size: .78rem; color: rgba(255,255,255,.6); }
.quote .stars { color: var(--gold-light); letter-spacing: .15em; margin-bottom: .8rem; font-size: .85rem; }

/* ---------- 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; }

/* ---------- 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; }

/* ---------- 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; }
  .quote-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .exclusive { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .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; }
}
