/* RestoSaaS pazarlama sitesi — derleme adımı yok, tek dosya.
   Panelle aynı marka paleti kullanılır (derin yeşil aksan, nötr griler). */

:root {
  --brand-50: #f0fdfa;
  --brand-100: #ccfbf1;
  --brand-600: #0d9488;
  --brand-700: #0f766e;
  --brand-800: #115e59;
  --brand-900: #134e4a;

  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --surface: #ffffff;
  --border: #e4e4e7;
  --text: #18181b;
  --text-muted: #52525b;

  --radius: 14px;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 6%);
  --shadow: 0 4px 16px rgb(0 0 0 / 8%);
  --container: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-700); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; font-weight: 650; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--text-muted); }
.center { text-align: center; }
.lead { font-size: 1.12rem; color: var(--text-muted); max-width: 62ch; }
.center .lead { margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brand-700); color: #fff; padding: 10px 16px;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------------------------------------------------------------- Header */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgb(255 255 255 / 88%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 16px; height: 68px; }

.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); text-decoration: none; }
.logo-mark {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--brand-700); color: #fff; font-weight: 800;
}
.logo-text { font-size: 1.05rem; letter-spacing: -0.02em; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--text-muted); font-size: .95rem; text-decoration: none; }
.site-nav a:hover { color: var(--text); }

.nav-toggle, .nav-toggle-label { display: none; }

/* ---------------------------------------------------------------- Buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background .15s, border-color .15s, transform .05s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-800); }
.btn-ghost { color: var(--text); border-color: var(--border); background: #fff; }
.btn-ghost:hover { background: var(--bg-alt); }
.btn-light { background: #fff; color: var(--brand-900); }
.btn-light:hover { background: var(--brand-50); }
/* Açık zeminde çerçeveli düğme — /demo, /cerez-politikasi ve nasıl-çalışır
   sayfalarında kullanılıyordu ama tanımı yoktu; düğmeler düz bağlantı gibi
   görünüyordu. */
.btn-outline { border-color: var(--brand-600); color: var(--brand-700); background: #fff; }
.btn-outline:hover { background: var(--brand-50); }
.btn-outline-light { border-color: rgb(255 255 255 / 45%); color: #fff; }
.btn-outline-light:hover { background: rgb(255 255 255 / 12%); }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------- Sections */

section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 64ch; margin: 0 auto 40px; text-align: center; }

.eyebrow {
  display: inline-block; margin-bottom: 14px; padding: 5px 13px;
  background: var(--brand-50); color: var(--brand-800);
  border-radius: 999px; font-size: .8rem; font-weight: 600;
}

/* ---------------------------------------------------------------- Hero */

.hero { padding: 76px 0 64px; }
.hero-grid { display: grid; gap: 44px; align-items: center; grid-template-columns: 1fr; }
.hero h1 { margin-bottom: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 16px; }
.hero-note { font-size: .88rem; color: var(--text-muted); }

.hero-stats { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--border); }
.hero-stats div strong { display: block; font-size: 1.5rem; letter-spacing: -0.02em; }
.hero-stats div span { font-size: .85rem; color: var(--text-muted); }

.hero-visual {
  background: linear-gradient(140deg, var(--brand-900), var(--brand-700));
  border-radius: 20px; padding: 26px; color: #fff; box-shadow: var(--shadow);
}
.hero-visual h3 { color: #fff; font-size: 1rem; opacity: .85; margin-bottom: 16px; }
.hero-card { background: rgb(255 255 255 / 12%); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
.hero-card:last-child { margin-bottom: 0; }
.hero-card strong { display: block; font-size: 1.35rem; }
.hero-card span { font-size: .82rem; opacity: .8; }

/* ---------------------------------------------------------------- Cards */

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
}
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--text-muted); font-size: .95rem; }
.card-icon {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 10px; background: var(--brand-50); color: var(--brand-700);
  font-size: 1.15rem; margin-bottom: 14px;
}

/* ---------------------------------------------------------------- Pricing */

.pricing-grid { display: grid; gap: 20px; grid-template-columns: 1fr; align-items: start; }
.plan { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.plan.featured { border-color: var(--brand-600); box-shadow: 0 8px 30px rgb(15 118 110 / 14%); }
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brand-700); color: #fff; font-size: .74rem; font-weight: 700;
  padding: 4px 12px; border-radius: 999px; white-space: nowrap;
}
.plan h3 { font-size: 1.2rem; margin-bottom: 4px; }
.plan-price { font-size: 2.2rem; font-weight: 700; letter-spacing: -0.03em; margin: 12px 0 2px; }
.plan-price small { font-size: .95rem; font-weight: 500; color: var(--text-muted); }
.plan-yearly { font-size: .85rem; color: var(--text-muted); margin-bottom: 18px; }
.plan ul { list-style: none; margin: 18px 0; padding: 0; }
.plan li { padding: 6px 0 6px 26px; position: relative; font-size: .93rem; }
.plan li::before {
  content: '✓'; position: absolute; left: 0; top: 6px;
  color: var(--brand-600); font-weight: 700;
}
.plan li.off { color: #a1a1aa; }
.plan li.off::before { content: '—'; color: #d4d4d8; }

/* ---------------------------------------------------------------- Table */

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
table.compare { width: 100%; border-collapse: collapse; min-width: 720px; }
table.compare th, table.compare td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); }
table.compare thead th { background: var(--bg-alt); font-size: .84rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); }
table.compare thead th.us { background: var(--brand-50); color: var(--brand-800); }
table.compare td.mark { text-align: center; font-size: 1.05rem; }
table.compare tbody tr:last-child td { border-bottom: 0; }
.yes { color: #059669; font-weight: 700; }
.no { color: #d4d4d8; }
.partial { color: #d97706; font-weight: 700; }

/* ---------------------------------------------------------------- FAQ */

.faq-list { max-width: 76ch; margin: 0 auto; }
details.faq-item {
  border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 18px; margin-bottom: 10px; background: #fff;
}
details.faq-item[open] { border-color: var(--brand-600); }
details.faq-item summary {
  cursor: pointer; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; gap: 14px; align-items: center;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--brand-700); }
details.faq-item[open] summary::after { content: '−'; }
details.faq-item p { margin: 12px 0 0; color: var(--text-muted); }

/* ---------------------------------------------------------------- CTA */

.cta {
  background: linear-gradient(140deg, var(--brand-900), var(--brand-700));
  color: #fff; border-radius: 20px; padding: 48px 32px; text-align: center;
}
.cta h2 { color: #fff; }
.cta p { color: rgb(255 255 255 / 82%); max-width: 58ch; margin-inline: auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }

/* ---------------------------------------------------------------- Blog */

.post-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.post-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; height: 100%; transition: border-color .15s, transform .15s;
}
.post-card:hover { border-color: var(--brand-600); transform: translateY(-2px); text-decoration: none; }
.post-card h3 { font-size: 1.08rem; margin-bottom: 8px; color: var(--text); }
.post-card p { color: var(--text-muted); font-size: .93rem; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: .8rem; color: var(--text-muted); margin-top: 14px; }
.tag {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: var(--brand-50); color: var(--brand-800); font-size: .76rem; font-weight: 600;
}

.blog-layout { display: grid; gap: 34px; grid-template-columns: 1fr; }
.blog-sidebar .card { position: sticky; top: 90px; }
.category-list { list-style: none; margin: 0; padding: 0; }
.category-list li { margin-bottom: 4px; }
.category-list a {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 7px 10px; border-radius: 8px; color: var(--text-muted); font-size: .92rem;
}
.category-list a:hover, .category-list a.active { background: var(--brand-50); color: var(--brand-800); text-decoration: none; }

.article { max-width: 76ch; margin: 0 auto; }
.article h2 { margin-top: 1.7em; font-size: 1.45rem; }
.article h3 { margin-top: 1.4em; font-size: 1.15rem; }
.article ul, .article ol { padding-left: 1.3em; margin-bottom: 1.2em; }
.article li { margin-bottom: .45em; }
/* Geniş tablolar sayfayı yana kaydırmasın; kendi içinde kaysın */
.article table {
  display: block; width: 100%; max-width: 100%; overflow-x: auto;
  border-collapse: collapse; margin: 1.4em 0; font-size: .93rem;
  -webkit-overflow-scrolling: touch;
}
.article table thead, .article table tbody { display: table; width: 100%; }
.article table th, .article table td { white-space: nowrap; }
@media (min-width: 720px) {
  .article table th, .article table td { white-space: normal; }
}
.article table th, .article table td { border: 1px solid var(--border); padding: 9px 12px; text-align: left; }
.article table th { background: var(--bg-alt); }
.article blockquote {
  margin: 1.4em 0; padding: 14px 20px;
  border-left: 3px solid var(--brand-600); background: var(--brand-50);
  border-radius: 0 10px 10px 0; color: var(--brand-900);
}
.article blockquote p:last-child { margin-bottom: 0; }

.answer-box {
  background: var(--brand-50); border: 1px solid var(--brand-100);
  border-radius: 12px; padding: 18px 20px; margin-bottom: 26px;
}
.answer-box strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--brand-800); margin-bottom: 6px; }
.answer-box p { margin: 0; color: var(--brand-900); }

.takeaways { background: var(--bg-alt); border-radius: 12px; padding: 20px 22px; margin: 26px 0; }
.takeaways h3 { margin-bottom: 10px; font-size: 1rem; }
.takeaways ul { margin: 0; padding-left: 1.2em; }
.takeaways li { margin-bottom: .4em; color: var(--text-muted); }

.breadcrumbs { font-size: .85rem; color: var(--text-muted); margin-bottom: 18px; }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs span { margin: 0 6px; opacity: .5; }

/* ---------------------------------------------------------------- Forms */

.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
label.field { display: block; margin-bottom: 14px; }
label.field span { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=tel], textarea, select {
  width: 100%; padding: 11px 13px; font: inherit; font-size: .95rem;
  border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--text);
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--brand-600); outline-offset: 0; border-color: transparent; }
textarea { min-height: 130px; resize: vertical; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* Ekran okuyucular görsün, göz görmesin */
.sr-only, label.field span.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.alert { padding: 12px 16px; border-radius: 10px; margin: 20px 0 0; font-size: .95rem; }
.alert-success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.error-text { color: #dc2626; font-size: .85rem; margin-top: 4px; display: block; }

/* ---------------------------------------------------------------- Footer */

.site-footer { background: #0b1220; color: #cbd5e1; padding: 54px 0 26px; margin-top: 20px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
.footer-grid h3 { color: #fff; font-size: .92rem; margin-bottom: 12px; }
.footer-grid a { display: block; color: #94a3b8; font-size: .9rem; margin-bottom: 7px; }
.footer-grid a:hover { color: #fff; }
.logo-light .logo-text { color: #fff; }
.footer-tagline { color: #e2e8f0; margin: 14px 0 8px; font-size: .95rem; }
.footer-muted { color: #64748b; font-size: .85rem; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  border-top: 1px solid #1e293b; margin-top: 34px; padding-top: 20px;
  font-size: .84rem; color: #64748b;
}
.footer-bottom p { margin: 0; }
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: #94a3b8; }

/* ---------------------------------------------------------------- Pagination */

.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 34px; list-style: none; padding: 0; }
.pagination li span, .pagination li a {
  display: inline-block; padding: 8px 13px; border-radius: 9px;
  border: 1px solid var(--border); color: var(--text-muted); font-size: .9rem; background: #fff;
}
.pagination li a:hover { background: var(--bg-alt); text-decoration: none; }
.pagination .active span { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }
.pagination .disabled span { opacity: .45; }

/* ---------------------------------------------------------------- Responsive */

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .post-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-layout { grid-template-columns: 1fr 280px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; }
}

@media (max-width: 899px) {
  .nav-toggle-label {
    display: flex; flex-direction: column; gap: 5px; margin-left: auto;
    cursor: pointer; padding: 8px;
  }
  .nav-toggle-label span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
  .site-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--border); padding: 14px 20px 20px;
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .site-nav a { padding: 10px 0; }
  .site-nav .btn { margin-top: 6px; }
  .cta { padding: 36px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-footer, .cta, .btn { display: none !important; }
}

/* ------------------------------------------------- Özellikler sayfası */

.feature-nav {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border);
}
.feature-nav a {
  padding: 7px 14px; font-size: .9rem; border: 1px solid var(--border);
  border-radius: 999px; color: var(--text-muted); background: var(--surface);
}
.feature-nav a:hover { border-color: var(--brand-600); color: var(--brand-700); }

.feature-block { display: grid; gap: 26px; }
.feature-text .eyebrow { font-variant-numeric: tabular-nums; }
.feature-text h2 { margin: 6px 0 8px; }

.feature-list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.feature-list li { position: relative; padding-left: 26px; }
.feature-list li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--brand-600); font-weight: 700;
}

.feature-outcome {
  margin-top: 18px; padding: 14px 16px; border-left: 3px solid var(--brand-600);
  background: var(--bg-alt); border-radius: 0 10px 10px 0; font-size: .95rem;
}

@media (min-width: 900px) {
  .feature-list { grid-template-columns: 1fr 1fr; column-gap: 26px; }
  .feature-text { max-width: 900px; margin: 0 auto; }
}

/* --------------------------------------------------- Nasıl çalışır */

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: step; }
.step {
  display: flex; gap: 18px; padding: 20px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
}
.step-number {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-600); color: #fff; font-weight: 700; font-size: 1.05rem;
}
.step-body h3 { margin: 4px 0 6px; font-size: 1.1rem; }
.step-body p { margin: 0 0 8px; }
.step-duration {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: var(--bg-alt); color: var(--text-muted); font-size: .8rem;
}

@media (min-width: 760px) {
  .steps { grid-template-columns: 1fr 1fr; }
}

/* -------------------------------------------------- Müşteri yorumları */

.testimonial { display: flex; flex-direction: column; gap: 12px; }
.testimonial .stars { color: #f59e0b; letter-spacing: 2px; font-size: 1.05rem; }
.testimonial blockquote {
  margin: 0; padding: 0; border: 0; font-size: .98rem; line-height: 1.65; flex: 1;
}
.testimonial blockquote::before { content: '“'; }
.testimonial blockquote::after { content: '”'; }
.testimonial figcaption { display: flex; flex-direction: column; gap: 2px; font-size: .88rem; }

/* ---------------------------------------------------------------------------
   Cihaz mockup'ları

   Ekran görüntüsü yerine arayüzün kendisi HTML/CSS ile kuruluyor: her
   çözünürlükte net kalıyor, sayfaya kilobayt eklemiyor ve panel tasarımı
   değiştiğinde burada da güncellenebiliyor. Çerçeveler `aria-hidden` değil —
   içindeki metin gerçek içerik, ekran okuyucu okuyabilmeli.
--------------------------------------------------------------------------- */

.devices {
  display: grid;
  gap: 28px;
  justify-items: center;
  align-items: end;
}

/* --- Ortak ekran yüzeyi ------------------------------------------------- */
.screen {
  background: #f6f7f9;
  color: #18181b;
  font-size: 11px;
  line-height: 1.45;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.screen-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  background: var(--brand-800);
  color: #fff;
  font-weight: 600;
  font-size: 10px;
  flex: none;
}
.screen-bar .dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; flex: none; }
.screen-bar .spacer { margin-left: auto; font-weight: 400; opacity: .85; }
.screen-body { padding: 8px; display: grid; gap: 6px; overflow: hidden; flex: 1; }

.screen-row {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid #e7e9ee;
  border-radius: 8px;
  padding: 6px 7px;
}
.screen-row img { width: 30px; height: 30px; border-radius: 6px; object-fit: cover; flex: none; }
.screen-row .grow { flex: 1; min-width: 0; }
.screen-row strong { display: block; font-size: 10.5px; font-weight: 600; }
.screen-row span { display: block; font-size: 9.5px; color: #6b7280; }
.screen-row .price { font-size: 10.5px; font-weight: 700; color: var(--brand-700); white-space: nowrap; }

.screen-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.screen-kpi {
  background: #fff; border: 1px solid #e7e9ee; border-radius: 8px; padding: 6px 8px;
}
.screen-kpi b { display: block; font-size: 13px; font-variant-numeric: tabular-nums; }
.screen-kpi span { font-size: 9px; color: #6b7280; }

.screen-chart { display: flex; align-items: flex-end; gap: 4px; height: 52px; padding: 0 2px; }
.screen-chart i { flex: 1; background: var(--brand-600); border-radius: 2px 2px 0 0; opacity: .85; }

.screen-ticket {
  background: #fff; border: 1px solid #e7e9ee; border-left: 3px solid var(--brand-600);
  border-radius: 6px; padding: 5px 7px;
}
.screen-ticket.late { border-left-color: #dc2626; }
.screen-ticket b { font-size: 10px; display: block; }
.screen-ticket span { font-size: 9px; color: #6b7280; }
.screen-ticket em { font-style: normal; font-size: 9px; color: #dc2626; font-weight: 600; }

.screen-nav {
  display: flex; gap: 4px; padding: 6px 8px; background: #fff;
  border-top: 1px solid #e7e9ee; flex: none;
}
.screen-nav i {
  flex: 1; height: 4px; border-radius: 2px; background: #d4d7de;
}
.screen-nav i:first-child { background: var(--brand-600); }

/* --- Telefon ------------------------------------------------------------ */
.device-phone {
  width: 232px;
  border: 9px solid #14161a;
  border-radius: 30px;
  background: #14161a;
  box-shadow: var(--shadow), 0 0 0 1px #2a2e35;
  position: relative;
  overflow: hidden;
  aspect-ratio: 232 / 470;
}
.device-phone::before {
  content: '';
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 68px; height: 15px; border-radius: 999px; background: #14161a; z-index: 2;
}
.device-phone .screen { border-radius: 22px; padding-top: 20px; }

/* --- Tablet ------------------------------------------------------------- */
.device-tablet {
  width: 330px;
  border: 11px solid #14161a;
  border-radius: 20px;
  background: #14161a;
  box-shadow: var(--shadow), 0 0 0 1px #2a2e35;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.device-tablet .screen { border-radius: 10px; }

/* --- Dizüstü ------------------------------------------------------------ */
/* Taban sarmalayıcı kadar geniş, kapak onun içinde: gerçek dizüstünde olduğu
   gibi taban dışarı taşar ama sayfada yatay kaydırma yaratmaz. */
.device-laptop { width: min(100%, 620px); }
.device-laptop .lid {
  width: 86%;
  margin: 0 auto;
  border: 10px solid #14161a;
  border-bottom-width: 12px;
  border-radius: 12px 12px 4px 4px;
  background: #14161a;
  box-shadow: var(--shadow), 0 0 0 1px #2a2e35;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.device-laptop .base {
  width: 100%;
  height: 10px;
  background: linear-gradient(#2a2e35, #16181c);
  border-radius: 0 0 10px 10px;
}
.device-laptop .base::after {
  content: '';
  display: block; width: 68px; height: 3px; margin: 0 auto;
  background: #0d0f12; border-radius: 0 0 4px 4px;
}
.device-laptop .screen { border-radius: 4px; font-size: 10px; }
.device-laptop .screen-body { grid-template-columns: 1fr 1fr; align-content: start; }
.device-laptop .screen-kpis { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
.device-laptop .screen-chart { grid-column: 1 / -1; height: 64px; }

.device-caption {
  margin: 12px 0 0;
  text-align: center;
  font-size: .85rem;
  color: var(--text-muted);
}

@media (min-width: 900px) {
  .devices {
    grid-template-columns: auto auto;
    gap: 34px 40px;
    justify-items: center;
  }
  .devices .device-laptop { grid-column: 1 / -1; }
}

/* Dar ekranda telefon+tablet yan yana sığmaz; tablet biraz küçülür. */
@media (max-width: 420px) {
  .device-phone { width: 200px; }
  .device-tablet { width: 280px; }
}

/* Dizüstü kapağı 16:10 oranını koruduğu için dar ekranda alçalıyor ve tam
   pano içeriği sığmıyor. Kırpılmış görünmesindense alt iki satırı gizleyip
   grafiği kısaltıyoruz — mockup dolu ve dengeli kalıyor. */
@media (max-width: 700px) {
  .device-laptop .screen-body > .screen-row { display: none; }
  .device-laptop .screen-chart { height: 38px; }
  .device-laptop .screen-kpi { padding: 4px 6px; }
  .device-laptop .screen-kpi b { font-size: 11px; }
  .device-laptop .screen-kpi span { font-size: 8px; }
}

/* En dar telefonlarda (320 px) grafik de kısalıyor. */
@media (max-width: 360px) {
  .device-laptop .screen-body { padding: 6px; gap: 5px; }
  .device-laptop .screen-chart { height: 22px; }
}

/* ---------------------------------------------------------------------------
   Fotoğraflı bölümler
--------------------------------------------------------------------------- */

.photo-split { display: grid; gap: 24px; align-items: center; }
.photo-split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.photo-split figure { margin: 0; }
.photo-split figcaption { margin-top: 8px; font-size: .8rem; color: var(--text-muted); }

@media (min-width: 900px) {
  .photo-split { grid-template-columns: 1fr 1fr; gap: 44px; }
  .photo-split.reverse img { order: -1; }
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.photo-strip img { border-radius: 10px; aspect-ratio: 3 / 2; object-fit: cover; }

@media (min-width: 760px) {
  .photo-strip { grid-template-columns: repeat(4, 1fr); }
}

/* Demo hesap tabloları — dar ekranda kendi içinde kayar (bkz. .article table) */
.demo-accounts { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 460px; }
.demo-accounts th, .demo-accounts td {
  text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); vertical-align: top;
}
.demo-accounts th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); }
.demo-accounts tr:last-child td { border-bottom: 0; }
.demo-accounts code {
  background: var(--bg-alt); padding: 2px 6px; border-radius: 5px; font-size: .85em;
  white-space: nowrap;
}
kbd {
  background: var(--bg-alt); border: 1px solid var(--border); border-bottom-width: 2px;
  border-radius: 5px; padding: 1px 6px; font-size: .85em; font-family: inherit;
}

/* ---------------------------------------------------------------------------
   Çerez onayı ve reklam alanları
--------------------------------------------------------------------------- */

.consent-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: #fff; border-top: 1px solid var(--border);
  box-shadow: 0 -6px 24px rgb(0 0 0 / 10%);
}
.consent-bar[hidden] { display: none; }
.consent-inner {
  max-width: var(--container); margin: 0 auto; padding: 16px 20px;
  display: grid; gap: 14px;
}
.consent-inner strong { display: block; margin-bottom: 4px; }
.consent-inner p { margin: 0; font-size: .9rem; color: var(--text-muted); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent-actions .btn { flex: 1; }

@media (min-width: 760px) {
  .consent-inner { grid-template-columns: 1fr auto; align-items: center; gap: 24px; }
  .consent-actions .btn { flex: none; }
}

/* Reklam kutusu — içerikten ayırt edilebilir olmalı (AdSense politikası) */
.ad-slot { margin: 32px 0; min-height: 100px; }
.ad-label {
  display: block; margin-bottom: 6px;
  font-size: .7rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-muted);
}

/* ---------------------------------------------------------------------------
   Yasal metinler
--------------------------------------------------------------------------- */

.legal h2 { font-size: 1.25rem; margin: 34px 0 10px; }
.legal ul { padding-left: 1.25em; }
.legal li { margin-bottom: .45em; }
.legal code { background: var(--bg-alt); padding: 2px 6px; border-radius: 5px; font-size: .88em; }
.legal .table-wrap { margin: 18px 0; }

.footer-legal {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  padding: 22px 20px 0; margin-top: 8px;
  border-top: 1px solid rgb(255 255 255 / 10%);
}
.footer-legal a { color: #94a3b8; font-size: .85rem; }
.footer-legal a:hover { color: #fff; }

/* Demo tablosundaki "Bu hesapla gir" düğmesi — satır içinde küçük kalmalı */
.btn-sm { padding: 6px 12px; font-size: .82rem; border-radius: 8px; white-space: nowrap; }
.demo-accounts td:last-child { text-align: right; }
