/* ============================================================
   RESTORA — restorasoftware.com tasarım sistemi
   Logo çizgisi: koyu orman yeşili #003F2F + kırık beyaz, squircle.
   Neon yok, gradyan yok. Başlık: Manrope, gövde: Inter.
   ============================================================ */

:root {
  --green:       #003F2F;   /* logodan — ana marka */
  --green-deep:  #00291F;   /* footer / koyu bantlar */
  --green-soft:  #1B7A55;   /* link / hover vurgusu */
  --green-tint:  #E7F0EB;   /* açık yeşil yüzey */
  --bg:          #FAFAF7;   /* kırık beyaz zemin */
  --surface:     #FFFFFF;
  --sage:        #F0F3EF;   /* ikincil yüzey */
  --ink:         #14211C;
  --muted:       #5B6B63;
  --faint:       #8C9992;
  --line:        #E4E9E5;
  --wa:          #25D366;
  --wa-dark:     #1DA851;
  --r-lg: 20px; --r-md: 14px; --r-sm: 10px;
  --shadow-1: 0 1px 2px rgba(10,30,22,.05), 0 4px 16px rgba(10,30,22,.06);
  --shadow-2: 0 2px 4px rgba(10,30,22,.06), 0 12px 32px rgba(10,30,22,.10);
  --font-h: "Manrope", "Avenir Next", system-ui, sans-serif;
  --font-b: "Inter", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-b); color: var(--ink); background: var(--bg);
  line-height: 1.65; font-size: 16px;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-soft); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--font-h); color: var(--ink); line-height: 1.18; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.14rem; font-weight: 700; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
section { padding: 72px 0; }
.section-tight { padding: 48px 0; }

.kicker {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--green-soft); margin-bottom: 12px;
}
.lead { font-size: 1.13rem; color: var(--muted); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ── Navbar ─────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(250,250,247,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none !important; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand-name {
  font-family: var(--font-h); font-weight: 800; font-size: 1.12rem;
  letter-spacing: .14em; color: var(--green);
}
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav-links a {
  color: var(--ink); font-size: .93rem; font-weight: 500; text-decoration: none;
  padding: 6px 2px; border-bottom: 2px solid transparent; transition: color .15s;
}
.nav-links a:hover { color: var(--green-soft); }
.nav-links a.active { color: var(--green); border-bottom-color: var(--green); font-weight: 700; }
.nav-cta {
  background: var(--green); color: #fff !important; font-weight: 600; font-size: .9rem;
  padding: 9px 18px; border-radius: 12px; border-bottom: none !important;
}
.nav-cta:hover { background: var(--green-deep); color: #fff; }
.nav-burger {
  display: none; margin-left: auto; background: none; border: none; cursor: pointer;
  width: 42px; height: 42px; border-radius: 10px;
}
.nav-burger:hover { background: var(--sage); }
.nav-burger span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; }

.mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0; z-index: 49;
  background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px 22px 18px;
  box-shadow: var(--shadow-2);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 12px 6px; color: var(--ink); font-weight: 500;
  text-decoration: none; border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--green-soft); }

main { padding-top: 68px; }

/* ── Butonlar ───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-b); font-weight: 600; font-size: .98rem;
  padding: 13px 26px; border-radius: 13px; text-decoration: none !important;
  cursor: pointer; border: none; transition: background .15s, transform .1s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: var(--shadow-1); }
.btn-primary:hover { background: var(--green-deep); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: var(--shadow-1); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-ghost { background: transparent; color: var(--green); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--green); background: var(--surface); }
.btn-light { background: #fff; color: var(--green); }
.btn-light:hover { background: var(--green-tint); }
.btn svg { flex-shrink: 0; }

/* ── Kartlar ────────────────────────────────────────── */
.card {
  background: var(--surface); border-radius: var(--r-lg); padding: 28px;
  box-shadow: var(--shadow-1); transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.card-static:hover { box-shadow: var(--shadow-1); transform: none; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; }
.card-icon {
  width: 46px; height: 46px; border-radius: 13px; background: var(--green-tint);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  color: var(--green); font-size: 1.25rem;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* ── Hero ───────────────────────────────────────────── */
.hero { padding: 84px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero .lead { margin: 18px 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: .88rem; color: var(--faint); }
.hero-shot {
  border-radius: var(--r-lg); box-shadow: var(--shadow-2);
  border: 1px solid var(--line); overflow: hidden; background: var(--surface);
}
.hero-shot img { width: 100%; }

/* ── Güven şeridi ───────────────────────────────────── */
.trust {
  display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center;
  justify-content: center; padding: 22px 0; border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); background: var(--surface);
}
.trust span { font-size: .9rem; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 7px; }
.trust .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-soft); display: inline-block; }

/* ── Koyu yeşil bant (mali fiş / CTA) ───────────────── */
.band {
  background: var(--green); border-radius: var(--r-lg); color: #fff;
  padding: 52px 48px; box-shadow: var(--shadow-2);
}
.band h2, .band h3 { color: #fff; }
.band p { color: rgba(255,255,255,.82); }
.band .kicker { color: #9FD6BC; }
.band-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.band ul { list-style: none; margin-top: 18px; }
.band ul li { padding: 7px 0 7px 30px; position: relative; color: rgba(255,255,255,.92); font-size: .97rem; }
.band ul li::before {
  content: "✓"; position: absolute; left: 0; top: 7px; width: 20px; height: 20px;
  border-radius: 50%; background: rgba(255,255,255,.15); color: #9FD6BC;
  font-size: .75rem; display: flex; align-items: center; justify-content: center; font-weight: 700;
}

/* ── Özellik listesi (✓) ────────────────────────────── */
.checks { list-style: none; }
.checks li { padding: 8px 0 8px 32px; position: relative; color: var(--ink); font-size: .98rem; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 8px; width: 21px; height: 21px;
  border-radius: 50%; background: var(--green-tint); color: var(--green);
  font-size: .78rem; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.checks li b { font-weight: 600; }

/* ── Adımlar ────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--surface); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-1); }
.step::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px; background: var(--green); color: #fff;
  font-family: var(--font-h); font-weight: 800; font-size: 1.05rem; margin-bottom: 16px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .94rem; }

/* ── Fiyat kartları ─────────────────────────────────── */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-grid-5 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.price-card {
  background: var(--surface); border-radius: var(--r-lg); padding: 30px 26px;
  box-shadow: var(--shadow-1); display: flex; flex-direction: column; position: relative;
  border: 1.5px solid transparent;
}
.price-card.featured { border-color: var(--green); box-shadow: var(--shadow-2); }
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: #fff; font-size: .74rem; font-weight: 700;
  padding: 5px 14px; border-radius: 99px; white-space: nowrap; letter-spacing: .04em;
}
.price-name { font-family: var(--font-h); font-weight: 800; font-size: 1.05rem; color: var(--green); letter-spacing: .06em; text-transform: uppercase; }
.price-amount { font-family: var(--font-h); font-weight: 800; font-size: 1.9rem; margin-top: 10px; }
.price-amount small { font-size: .85rem; font-weight: 600; color: var(--muted); }
.price-per { font-size: .84rem; color: var(--faint); margin-bottom: 4px; }
.price-device { font-size: .82rem; color: var(--green-soft); font-weight: 600; margin-top: 4px; }
.price-card .checks { margin: 18px 0 22px; flex: 1; }
.price-card .checks li { font-size: .9rem; padding: 6px 0 6px 30px; }
.price-card .btn { width: 100%; }
.price-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 26px; }

/* ── Karşılaştırma tablosu ──────────────────────────── */
.compare-wrap { overflow-x: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-1); background: var(--surface); }
table.compare { width: 100%; border-collapse: collapse; min-width: 760px; font-size: .92rem; }
.compare th, .compare td { padding: 13px 16px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th { background: var(--sage); font-family: var(--font-h); font-weight: 800; color: var(--green); }
.compare td:first-child, .compare th:first-child { text-align: left; font-weight: 500; }
.compare tr:last-child td { border-bottom: none; }
.compare .yes { color: var(--green-soft); font-weight: 800; }
.compare .no { color: var(--faint); }

/* ── SSS (native details) ───────────────────────────── */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  background: var(--surface); border-radius: var(--r-md); margin-bottom: 12px;
  box-shadow: var(--shadow-1); overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 1rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--green-soft); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 18px; color: var(--muted); font-size: .95rem; }
.faq summary:hover { color: var(--green-soft); }

/* ── Ekran görüntüsü çerçevesi ──────────────────────── */
.shot {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2);
  border: 1px solid var(--line); background: var(--surface);
}
.shot img { width: 100%; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.rev > .split-media { order: 2; }

/* ── İletişim ───────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; }
.contact-info .card { margin-bottom: 16px; }
.contact-line { display: flex; align-items: center; gap: 12px; font-size: .97rem; }
.contact-line b { font-weight: 600; }
form label { display: block; font-size: .87rem; font-weight: 600; margin: 14px 0 6px; }
form input, form textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  font-family: var(--font-b); font-size: .95rem; background: var(--surface); color: var(--ink);
  transition: border-color .15s;
}
form input:focus, form textarea:focus { outline: none; border-color: var(--green-soft); }
.form-msg { margin-top: 14px; padding: 12px 16px; border-radius: var(--r-sm); font-size: .92rem; display: none; }
.form-msg.ok { display: block; background: var(--green-tint); color: var(--green); }
.form-msg.err { display: block; background: #FDECEC; color: #B4232C; }
.form-msg a { font-weight: 700; }

/* ── Footer ─────────────────────────────────────────── */
footer { background: var(--green-deep); color: rgba(255,255,255,.78); margin-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding: 56px 0 40px; }
.footer-grid h4 { color: #fff; font-size: .92rem; margin-bottom: 14px; letter-spacing: .05em; }
.footer-grid a { display: block; color: rgba(255,255,255,.72); font-size: .9rem; padding: 4px 0; text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { width: 36px; height: 36px; border-radius: 9px; }
.footer-brand span { font-family: var(--font-h); font-weight: 800; letter-spacing: .14em; color: #fff; }
.footer-desc { font-size: .9rem; max-width: 300px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; font-size: .84rem;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255,255,255,.72); }

/* ── Sabit WhatsApp butonu ──────────────────────────── */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.4); transition: transform .15s, background .15s;
}
.wa-float:hover { transform: scale(1.07); background: var(--wa-dark); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ── Sayfa hero (alt sayfalar) ──────────────────────── */
.page-hero { padding: 72px 0 48px; }
.page-hero .lead { margin-top: 14px; }
.breadcrumb { font-size: .84rem; color: var(--faint); margin-bottom: 18px; }
.breadcrumb a { color: var(--faint); }
.breadcrumb a:hover { color: var(--green-soft); }

/* ── Platform logoları ──────────────────────────────── */
.plat-logo { height: 30px; width: auto; max-width: 150px; object-fit: contain; }
.card .plat-logo { margin-bottom: 14px; }
.trust img { height: 20px; width: auto; max-width: 110px; }
.hero-plat { height: 36px; width: auto; max-width: 190px; margin-bottom: 16px; }

/* ── İkonlar (inline SVG) ───────────────────────────── */
.card-icon svg { width: 22px; height: 22px; }

/* ── Panel mockup (stilize, canlı HTML) ─────────────── */
.mockup-frame {
  background: var(--green-tint); border-radius: var(--r-lg); padding: 24px;
  box-shadow: var(--shadow-2);
}
.mockup { background: #fff; border-radius: 14px; box-shadow: var(--shadow-1); overflow: hidden; }
.mock-head {
  display: flex; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line);
  align-items: center; flex-wrap: wrap;
}
.mock-title { font-family: var(--font-h); font-weight: 800; font-size: .8rem; color: var(--green); margin-right: auto; }
.mock-chip {
  font-size: .68rem; font-weight: 700; padding: 4px 10px; border-radius: 99px;
  background: var(--sage); color: var(--muted); display: inline-flex; align-items: center; gap: 5px;
}
.mock-chip.on { background: var(--green); color: #fff; }
.mock-row {
  display: flex; align-items: center; gap: 12px; padding: 11px 16px;
  border-bottom: 1px solid var(--sage);
}
.mock-row:last-child { border-bottom: none; }
.mock-row img { height: 18px; width: auto; max-width: 68px; flex-shrink: 0; }
.mock-id { font-weight: 700; color: var(--faint); font-size: .7rem; min-width: 58px; }
.mock-main { flex: 1; min-width: 0; }
.mock-cust { font-weight: 600; font-size: .8rem; color: var(--ink); }
.mock-items { color: var(--faint); font-size: .71rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-price { font-weight: 800; font-family: var(--font-h); font-size: .82rem; color: var(--ink); white-space: nowrap; }
.mock-btn {
  background: var(--green); color: #fff; font-size: .68rem; font-weight: 700;
  padding: 6px 12px; border-radius: 8px; white-space: nowrap;
}
.mock-btn.ghost { background: var(--sage); color: var(--muted); }
.mock-status { font-size: .69rem; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.mock-status i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
/* masa grid */
.mock-tables { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 16px; }
.mock-table {
  border-radius: 12px; padding: 13px 6px; text-align: center; font-size: .72rem;
  font-weight: 700; background: var(--sage); color: var(--faint);
}
.mock-table.full { background: var(--green); color: #fff; }
.mock-table small { display: block; font-weight: 500; font-size: .62rem; opacity: .8; margin-top: 2px; }
/* kpi + bar grafik */
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px; }
.mock-kpi { background: var(--sage); border-radius: 12px; padding: 12px; }
.mock-kpi b { font-family: var(--font-h); font-size: 1.02rem; display: block; color: var(--green); }
.mock-kpi span { font-size: .65rem; color: var(--muted); }
.mock-bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; padding: 0 16px 16px; }
.mock-bars i { flex: 1; background: var(--green-tint); border-radius: 6px 6px 0 0; }
.mock-bars i.hi { background: var(--green-soft); }
/* telefon & kurye mini bileşenler */
.mock-field { background: var(--sage); border-radius: 8px; height: 30px; margin: 8px 16px; }
.mock-field.short { width: 45%; }
.mock-avatar {
  width: 30px; height: 30px; border-radius: 50%; background: var(--green-tint);
  color: var(--green); display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .7rem; flex-shrink: 0;
}
.mock-badge {
  background: var(--green-tint); color: var(--green); font-size: .67rem;
  font-weight: 700; padding: 3px 9px; border-radius: 99px; white-space: nowrap;
}
@media (max-width: 560px) {
  .mock-status, .mock-id { display: none; }
  .mockup-frame { padding: 14px; }
}

/* ── Legal / uzun metin (prose) ─────────────────────── */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.22rem; margin: 2rem 0 .7rem; }
.prose h3 { font-size: 1.05rem; margin: 1.4rem 0 .5rem; }
.prose p, .prose li { color: var(--muted); font-size: .95rem; }
.prose ul { padding-left: 1.4rem; margin: .7rem 0; }
.prose li { margin-bottom: .35rem; }
.prose strong { color: var(--ink); }
.prose a { font-weight: 600; }

/* ── Scroll reveal ──────────────────────────────────── */
.sr { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.sr.vis { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .sr { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .price-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .hero-grid, .band-grid, .split { grid-template-columns: 1fr; }
  .split.rev > .split-media { order: 0; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  section { padding: 52px 0; }
  .grid-2, .grid-3, .steps, .price-grid, .contact-grid { grid-template-columns: 1fr; }
  .price-grid-5 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .band { padding: 36px 26px; }
  .hero { padding: 56px 0 44px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}
