/* ── FugaSoft Restaurant — tanıtım sitesi ─────────────────────────────────
   Bağımsız statik site; framework yok. Renk sistemi CSS değişkenleriyle. */

:root {
  --bg: #0d0f14;
  --bg-soft: #131722;
  --surface: #ffffff;
  --surface-alt: #f6f7f9;
  --ink: #16181d;
  --ink-soft: #5b6472;
  --line: #e6e8ec;
  --accent: #e8590c;          /* restoran sıcaklığı — turuncu */
  --accent-soft: #fff0e6;
  --accent-2: #12b886;        /* onay/başarı yeşili */
  --gold: #f5b83d;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(13, 15, 20, .08);
  --maxw: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 15, 20, .92);
  backdrop-filter: blur(10px);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { display: flex; align-items: baseline; gap: 8px; font-weight: 800; font-size: 20px; letter-spacing: -.3px; }
.brand em { font-style: normal; color: var(--accent); }
.brand small { font-weight: 600; font-size: 12px; color: rgba(255,255,255,.55); letter-spacing: .5px; }
.main-nav { display: flex; gap: 22px; margin-left: auto; }
.main-nav a { font-size: 14.5px; color: rgba(255,255,255,.78); transition: color .15s; }
.main-nav a:hover { color: #fff; }
.lang-switch {
  display: flex; gap: 2px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 3px;
}
.lang-switch a {
  font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; color: rgba(255,255,255,.7);
}
.lang-switch a.active { background: var(--accent); color: #fff; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 12px; font-weight: 700; font-size: 15px;
  border: none; cursor: pointer; transition: transform .12s, box-shadow .12s, background .15s;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(232, 89, 12, .35); }
.btn-primary:hover { transform: translateY(-1px); background: #f06614; }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-sm { padding: 8px 16px; font-size: 13.5px; border-radius: 10px; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; }

/* ── Hero ── */
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(232, 89, 12, .28), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(18, 184, 134, .16), transparent 60%),
    var(--bg);
  color: #fff;
  padding: 84px 0 96px;
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.hero h1 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.12; letter-spacing: -1px; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: 18px; color: rgba(255,255,255,.75); max-width: 34em; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85);
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); }

/* Saf CSS POS ekranı mockup'ı */
.pos-mock {
  background: #1a1f2b; border: 1px solid rgba(255,255,255,.1); border-radius: 20px;
  padding: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.5);
  transform: rotate(1.2deg);
}
.pos-mock .bar { display: flex; align-items: center; gap: 8px; padding: 2px 6px 12px; }
.pos-mock .bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a4152; display: inline-block; }
.pos-mock .bar i:first-child { background: var(--accent); }
.pos-mock .bar span { margin-left: auto; font-size: 11px; color: rgba(255,255,255,.4); }
.pos-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 12px; }
.pos-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pos-item {
  background: #232a3a; border-radius: 10px; padding: 12px 10px 10px;
  font-size: 11.5px; color: rgba(255,255,255,.85); font-weight: 600; line-height: 1.3;
}
.pos-item b { display: block; font-size: 17px; margin-bottom: 6px; }
.pos-item small { color: rgba(255,255,255,.45); font-weight: 500; }
.pos-ticket { background: #ffffff; color: var(--ink); border-radius: 12px; padding: 14px; font-size: 12px; }
.pos-ticket h4 { font-size: 12.5px; display: flex; justify-content: space-between; margin-bottom: 10px; }
.pos-ticket h4 span { color: var(--accent); }
.pos-ticket ul li { display: flex; justify-content: space-between; padding: 4.5px 0; border-bottom: 1px dashed var(--line); }
.pos-ticket ul li small { color: var(--ink-soft); }
.pos-ticket .sum { display: flex; justify-content: space-between; font-weight: 800; padding-top: 10px; font-size: 14px; }
.pos-ticket .pay { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pos-ticket .pay i {
  font-style: normal; text-align: center; padding: 7px 4px; border-radius: 8px; font-size: 11px; font-weight: 700;
}
.pos-ticket .pay i.cash { background: var(--accent-soft); color: var(--accent); }
.pos-ticket .pay i.card { background: #e7f9f2; color: #0c8a63; }

/* ── İstatistik şeridi ── */
.stats { background: var(--bg-soft); color: #fff; padding: 26px 0; border-top: 1px solid rgba(255,255,255,.06); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.stats b { display: block; font-size: 26px; letter-spacing: -.5px; color: var(--gold); }
.stats span { font-size: 13px; color: rgba(255,255,255,.65); }

/* ── Bölümler ── */
section { padding: 84px 0; }
section.alt { background: var(--surface-alt); }
.sec-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.sec-kicker { font-size: 13px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--accent); }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.8px; margin: 10px 0 14px; }
.sec-head p { color: var(--ink-soft); font-size: 16.5px; }

/* Özellik kartları */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s;
}
.feature:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(13,15,20,.12); }
.feature .ico {
  width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.feature .ico svg { width: 24px; height: 24px; stroke: var(--accent); }
.feature h3 { font-size: 17px; margin-bottom: 8px; letter-spacing: -.2px; }
.feature p { font-size: 14.5px; color: var(--ink-soft); }

.more-list { max-width: 880px; margin: 40px auto 0; }
.more-list details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0; overflow: hidden;
}
.more-list summary {
  cursor: pointer; list-style: none; padding: 18px 24px; font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: space-between;
}
.more-list summary::after { content: "+"; font-size: 22px; color: var(--accent); }
.more-list details[open] summary::after { content: "–"; }
.more-list .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 32px; padding: 0 24px 22px; }
.more-list .cols li {
  font-size: 14px; color: var(--ink-soft); padding: 6px 0 6px 24px; position: relative;
}
.more-list .cols li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-2); font-weight: 800; }

/* ── Gastronomi sekmeleri ── */
.tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.tab-btn {
  border: 1px solid var(--line); background: var(--surface); border-radius: 999px;
  padding: 10px 20px; font-size: 14.5px; font-weight: 700; cursor: pointer; color: var(--ink-soft);
  transition: all .15s;
}
.tab-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(232,89,12,.3); }
.tab-panel { display: none; }
.tab-panel.active { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.tab-panel ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.tab-panel ul li {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px 12px 40px; font-size: 14px; position: relative; font-weight: 500;
}
.tab-panel ul li::before {
  content: "✓"; position: absolute; left: 15px; color: var(--accent); font-weight: 800;
}
.spotlight {
  background: linear-gradient(145deg, #1a1f2b, #10131b); color: #fff; border-radius: var(--radius);
  padding: 30px 28px; position: sticky; top: 96px;
}
.spotlight .tag { color: var(--gold); font-size: 12.5px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.spotlight h3 { font-size: 20px; margin: 10px 0 12px; letter-spacing: -.3px; }
.spotlight p { color: rgba(255,255,255,.72); font-size: 15px; }

/* ── Sipariş akışı ── */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.flow-step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; position: relative; box-shadow: var(--shadow);
}
.flow-step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -14px; left: 20px;
  width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px;
  box-shadow: 0 4px 10px rgba(232,89,12,.4);
}
.flow-step h4 { font-size: 15.5px; margin: 6px 0 6px; }
.flow-step p { font-size: 13.5px; color: var(--ink-soft); }

/* ── Compliance ── */
.law-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.law {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px;
}
.law b { display: flex; align-items: center; gap: 8px; font-size: 15px; margin-bottom: 7px; }
.law b::before { content: "§"; color: var(--accent); font-size: 18px; }
.law.tse b::before { content: "🔐"; font-size: 15px; }
.law p { font-size: 13.5px; color: var(--ink-soft); }

/* ── Kiosk ── */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo-card {
  border-radius: var(--radius); padding: 34px 30px; color: #fff; position: relative; overflow: hidden;
}
.duo-card.k1 { background: linear-gradient(150deg, #e8590c, #b93c00); }
.duo-card.k2 { background: linear-gradient(150deg, #12805e, #0a5a41); }
.duo-card h3 { font-size: 21px; margin-bottom: 12px; letter-spacing: -.3px; }
.duo-card ul li { font-size: 14.5px; padding: 5px 0 5px 24px; position: relative; color: rgba(255,255,255,.92); }
.duo-card ul li::before { content: "→"; position: absolute; left: 0; font-weight: 800; }
.duo-card .fit { margin-top: 16px; font-size: 13px; color: rgba(255,255,255,.75); font-style: italic; }

/* ── Neden FugaSoft ── */
.why { background: var(--bg); color: #fff; }
.why .sec-head h2, .why .sec-head p { color: inherit; }
.why .sec-head p { color: rgba(255,255,255,.7); }
.why-quote {
  max-width: 860px; margin: 0 auto; text-align: center; font-size: clamp(19px, 2.6vw, 26px);
  font-weight: 600; line-height: 1.5; letter-spacing: -.3px;
}
.why-quote em { color: var(--accent); font-style: normal; }
.sector-strip {
  margin-top: 44px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.sector-strip span {
  border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 7px 16px;
  font-size: 13px; color: rgba(255,255,255,.75);
}

/* ── CTA ── */
.cta-final { text-align: center; }
.cta-final .box {
  background: linear-gradient(140deg, var(--accent), #c2410c); color: #fff; border-radius: 24px;
  padding: 60px 40px; box-shadow: 0 24px 60px rgba(232,89,12,.35);
}
.cta-final h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.8px; margin-bottom: 14px; }
.cta-final p { font-size: 17px; color: rgba(255,255,255,.85); margin-bottom: 28px; }
.cta-final .btn-ghost { border-color: rgba(255,255,255,.5); }
.cta-final .contact-line { margin-top: 26px; font-size: 15px; color: rgba(255,255,255,.85); }
.cta-final .contact-line a { font-weight: 800; text-decoration: underline; }

/* ── Footer (gelişmiş, çok sütunlu) ── */
.site-footer { background: var(--bg); color: rgba(255,255,255,.62); padding: 52px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1.2fr; gap: 40px; align-items: start; }
.footer-col h4 { color: #fff; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .7px; margin: 0 0 15px; }
.site-footer .brand { font-size: 19px; color: #fff; }
.footer-tag { margin: 13px 0 16px; max-width: 34ch; line-height: 1.65; color: rgba(255,255,255,.55); }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,.62); }
.footer-links a:hover, .site-footer a:hover { color: #fff; }
.footer-contact .contact-line { margin: 0 0 9px; display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.7); }
.footer-contact .contact-line a { color: rgba(255,255,255,.78); }
.footer-bar { margin-top: 44px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 0; font-size: 13px; color: rgba(255,255,255,.5); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── Admin'den yönetilen dinamik bileşenler ── */
.brand-logo { height: 34px; width: auto; display: inline-block; vertical-align: middle; }
.site-footer .brand-logo { height: 26px; }

.social-icons { display: flex; gap: 10px; align-items: center; }
.social-icons a {
  width: 36px; height: 36px; border-radius: 10px; display: inline-flex;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.8); transition: all .15s;
}
.social-icons a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.social-icons svg { width: 18px; height: 18px; }
.footer-social { margin: 6px 0 0; }

.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .45); transition: transform .15s;
}
.wa-fab:hover { transform: scale(1.08); }
.wa-fab svg { width: 30px; height: 30px; }

.video-frame {
  position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 24px 60px rgba(13,15,20,.25); background: #000; max-width: 920px; margin: 0 auto;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: var(--surface); box-shadow: var(--shadow); margin: 0;
}
.gallery img { width: 100%; height: 220px; object-fit: cover; transition: transform .25s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { padding: 10px 14px; font-size: 13.5px; color: var(--ink-soft); }
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery img { height: 160px; } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }

/* ── Blok sistemi ekleri ── */
.checklist-sec { padding: 0 0 64px; }        /* özellik listesi bir üst bölüme yaslanır */
.checklist-sec.alt { padding-top: 64px; }
.hero-visual img { border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.text-block { max-width: 800px; margin: 0 auto; }
.text-block h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.6px; margin-bottom: 16px; }
.text-block p { color: var(--ink-soft); font-size: 16px; margin-bottom: 14px; }
.image-block { max-width: 920px; margin: 0 auto; }
.image-block img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.image-block figcaption { text-align: center; font-size: 13.5px; color: var(--ink-soft); padding-top: 10px; }

/* ── Özellik bileşenleri: duyuru, çerez, scroll-top, AI, FAQ, lightbox ── */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--accent); color: #fff; padding: 10px 18px; z-index: 200; border-radius: 0 0 10px 0; }
.skip-link:focus { left: 0; }

.announce-bar { font-size: 13.5px; font-weight: 600; }
.announce-bar .wrap { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 9px 22px; }
.announce-bar.pos-alt { position: fixed; bottom: 0; left: 0; right: 0; z-index: 70; }
.announce-bar .bar-close { background: none; border: 0; color: inherit; font-size: 14px; cursor: pointer; opacity: .8; }

.header-phone { font-size: 13.5px; font-weight: 700; color: rgba(255,255,255,.85); white-space: nowrap; }

.scrolltop {
  position: fixed; right: 20px; bottom: 90px; z-index: 60; width: 44px; height: 44px;
  border-radius: 12px; border: none; background: var(--bg-soft); color: #fff; font-size: 20px;
  cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.3); transition: transform .15s;
}
.scrolltop:hover { transform: translateY(-3px); background: var(--accent); }

.cookie-bar {
  position: fixed; left: 16px; right: 16px; z-index: 90; background: var(--bg); color: #fff;
  border-radius: 14px; padding: 16px 20px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  box-shadow: 0 16px 50px rgba(0,0,0,.4); font-size: 14px; max-width: 860px; margin: 0 auto;
}
.cookie-bar.pos-alt { bottom: 16px; }
.cookie-bar.pos-ust { top: 16px; }
.cookie-bar p { flex: 1; min-width: 220px; margin: 0; color: rgba(255,255,255,.85); }
.cookie-btns { display: flex; gap: 8px; }
.cookie-ok { background: var(--accent); color: #fff; border: 0; border-radius: 9px; padding: 9px 18px; font-weight: 700; cursor: pointer; }
.cookie-no { background: none; color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.3); border-radius: 9px; padding: 9px 14px; cursor: pointer; }

/* ── AI Soru-Cevap (modern sohbet balonu) ── */
.ai-root { position: fixed; bottom: 22px; z-index: 80; }
.ai-root.pos-sol { left: 22px; }
.ai-root.pos-sag { right: 22px; }

/* Yüzen düğme (FAB) */
.ai-fab {
  position: relative; width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--accent), #f08c00); color: #fff;
  box-shadow: 0 12px 30px rgba(232,89,12,.45); display: grid; place-items: center;
  transition: transform .2s, box-shadow .2s; margin-left: auto;
}
.ai-fab:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 16px 40px rgba(232,89,12,.55); }
.ai-fab .ic { width: 28px; height: 28px; }
.ai-fab .ai-fab-ic, .ai-fab .ai-fab-x { grid-area: 1 / 1; display: grid; place-items: center; transition: opacity .2s, transform .25s; }
.ai-fab .ai-fab-x { opacity: 0; transform: rotate(-90deg) scale(.5); }
.ai-root.open .ai-fab .ai-fab-ic { opacity: 0; transform: rotate(90deg) scale(.5); }
.ai-root.open .ai-fab .ai-fab-x { opacity: 1; transform: none; }
.ai-fab::after { content: ""; position: absolute; top: 3px; right: 3px; width: 14px; height: 14px; border-radius: 50%; background: #12b886; border: 3px solid #fff; transition: opacity .2s; }
.ai-root.open .ai-fab::after { opacity: 0; }
.ai-fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(232,89,12,.45); animation: aiPulse 2.6s infinite; }
.ai-root.open .ai-fab::before, .ai-fab:hover::before { animation: none; }
@keyframes aiPulse { 0% { box-shadow: 0 0 0 0 rgba(232,89,12,.45) } 70% { box-shadow: 0 0 0 18px rgba(232,89,12,0) } 100% { box-shadow: 0 0 0 0 rgba(232,89,12,0) } }

/* Panel — varsayılan KAPALI (CSS ile gizli; hidden attribute'una güvenmez) */
.ai-panel {
  position: absolute; bottom: 76px; width: min(374px, calc(100vw - 34px));
  background: #fff; color: var(--ink); border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(13,15,20,.32), 0 2px 10px rgba(13,15,20,.12);
  display: flex; flex-direction: column; max-height: min(72vh, 560px);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.96); pointer-events: none;
  transform-origin: bottom right; transition: opacity .22s ease, transform .24s cubic-bezier(.2,.9,.3,1.2), visibility .24s;
}
.ai-root.pos-sol .ai-panel { left: 0; transform-origin: bottom left; }
.ai-root.pos-sag .ai-panel { right: 0; }
.ai-root.open .ai-panel { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }

.ai-head { background: linear-gradient(135deg, var(--accent), #f08c00); color: #fff; padding: 15px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ai-head-id { display: flex; align-items: center; gap: 11px; min-width: 0; }
.ai-avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.22); display: grid; place-items: center; flex: none; }
.ai-avatar .ic { width: 22px; height: 22px; }
.ai-head-txt { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.ai-head-txt b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-head-txt small { font-size: 11.5px; opacity: .92; display: flex; align-items: center; gap: 6px; }
.ai-head-txt small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #b2f2bb; animation: aiBlink 1.6s infinite; }
@keyframes aiBlink { 0%, 100% { opacity: 1 } 50% { opacity: .3 } }
.ai-close { background: rgba(255,255,255,.16); border: 0; color: #fff; cursor: pointer; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; transition: background .15s; }
.ai-close:hover { background: rgba(255,255,255,.3); }
.ai-close .ic { width: 16px; height: 16px; }

.ai-msgs { padding: 16px; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 10px; min-height: 150px; background: var(--surface-alt, #f7f8fa); }
.ai-msg { max-width: 82%; padding: 10px 14px; border-radius: 16px; font-size: 13.5px; line-height: 1.55; white-space: pre-wrap; box-shadow: 0 1px 2px rgba(0,0,0,.05); animation: aiMsgIn .22s ease; }
@keyframes aiMsgIn { from { opacity: 0; transform: translateY(7px) } to { opacity: 1; transform: none } }
.ai-msg.bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; align-self: flex-start; }
.ai-msg.user { background: linear-gradient(135deg, var(--accent), #f08c00); color: #fff; border-bottom-right-radius: 5px; align-self: flex-end; box-shadow: 0 4px 12px rgba(232,89,12,.3); }
.ai-msg.typing { color: var(--ink-soft); font-style: italic; }

.ai-form { display: flex; align-items: center; gap: 8px; padding: 11px 12px; border-top: 1px solid var(--line); background: #fff; }
.ai-input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 22px; padding: 10px 16px; font-size: 14px; outline: none; background: var(--surface-alt, #f7f8fa); transition: border-color .15s, background .15s; }
.ai-input:focus { border-color: var(--accent); background: #fff; }
.ai-form button { border: 0; background: linear-gradient(135deg, var(--accent), #f08c00); color: #fff; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; flex: none; transition: transform .15s, box-shadow .15s; }
.ai-form button:hover { transform: scale(1.08); box-shadow: 0 6px 16px rgba(232,89,12,.4); }
.ai-form button .ic { width: 18px; height: 18px; }

@media (max-width: 480px) {
  .ai-panel, .ai-root.pos-sag .ai-panel, .ai-root.pos-sol .ai-panel { width: calc(100vw - 24px); right: 0; left: auto; }
}

/* FAQ */
.faq-list { margin: 0 auto; display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 700; font-size: 15px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--accent); flex-shrink: 0; }
.faq-item[open] summary::after { content: "–"; }
.faq-a { padding: 0 20px 16px; font-size: 14.5px; color: var(--ink-soft); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 150; background: rgba(10, 12, 16, .92);
  display: flex; align-items: center; justify-content: center; padding: 30px; cursor: zoom-out;
}
.lightbox img { max-width: 94vw; max-height: 88vh; border-radius: 10px; box-shadow: 0 30px 90px rgba(0,0,0,.6); }
.lightbox figcaption { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.8); font-size: 14px; }

/* ── Hesap (üyelik) sayfası ── */
.account-sec { padding: 60px 0 80px; min-height: 60vh; }
.acc-card {
  background: var(--surface, #fff); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 34px 36px; max-width: 720px; margin: 0 auto;
}
.acc-card.slim { max-width: 440px; }
.acc-card h1 { font-size: 26px; letter-spacing: -.5px; margin-bottom: 18px; }
.acc-card h2 { font-size: 17px; margin: 26px 0 12px; }
.acc-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.acc-head h1 { margin-bottom: 2px; }
.acc-head p { color: var(--ink-soft); font-size: 13.5px; }
.acc-avatar {
  width: 58px; height: 58px; border-radius: 50%; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800; flex-shrink: 0;
}
.acc-pending { color: #b45309; font-weight: 600; margin-top: 4px; }
.acc-logout {
  margin-left: auto; font-size: 13.5px; font-weight: 700; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 9px; padding: 8px 16px; text-decoration: none;
}
.acc-logout:hover { color: var(--accent); border-color: var(--accent); }
.acc-form label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 14px; }
.acc-form input, .acc-form select {
  width: 100%; margin-top: 5px; padding: 11px 14px; border: 1px solid var(--line);
  border-radius: 10px; font-size: 14.5px; font-family: inherit; background: #fff;
}
.acc-form .acc-chk { display: flex; align-items: center; gap: 9px; font-weight: 500; }
.acc-form .acc-chk input { width: auto; margin: 0; }
.acc-form .btn { margin-top: 6px; }
.acc-switch { margin-top: 18px; font-size: 14px; color: var(--ink-soft); }
.acc-switch a { color: var(--accent); font-weight: 700; }
.acc-delete { margin-top: 22px; border-top: 1px dashed var(--line); padding-top: 16px; }
.acc-delete button {
  background: none; border: 1px solid #e03131; color: #e03131; border-radius: 9px;
  padding: 8px 16px; font-size: 13px; font-weight: 700; cursor: pointer;
}
.acc-alert { max-width: 720px; margin: 0 auto 16px; border-radius: 12px; padding: 12px 18px; font-size: 14.5px; }
.acc-alert.ok { background: #e7f9f2; color: #0c8a63; }
.acc-alert.err { background: #ffe8e8; color: #c92a2a; }
.acc-back { text-align: center; margin-top: 22px; }
.acc-back a { color: var(--ink-soft); font-size: 14px; }
.header-account {
  font-size: 13.5px; font-weight: 700; color: rgba(255,255,255,.85); text-decoration: none;
  border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 7px 14px; white-space: nowrap;
}
.header-account:hover { border-color: var(--accent); color: #fff; }

/* ── Reveal animasyonu ── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .pos-mock { transform: none; max-width: 560px; margin: 0 auto; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .law-grid { grid-template-columns: 1fr 1fr; }
  .tab-panel.active { grid-template-columns: 1fr; }
  .spotlight { position: static; }
  .stats .wrap { grid-template-columns: 1fr 1fr; row-gap: 22px; }
}
@media (max-width: 700px) {
  .main-nav {
    display: none; position: absolute; top: 66px; left: 0; right: 0;
    background: var(--bg); flex-direction: column; padding: 18px 22px; gap: 14px;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; margin-left: auto; }
  .site-header .cta-header { display: none; }
  .lang-select { margin-left: auto; }
  .nav-toggle { margin-left: 6px; }
  .feature-grid { grid-template-columns: 1fr; }
  .tab-panel ul { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  .more-list .cols { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
}

/* ── SVG ikonlar (emoji yerine) ── */
.ic { width: 1.05em; height: 1.05em; vertical-align: -.16em; flex: none; }
.header-phone, .header-account { display: inline-flex; align-items: center; gap: 6px; }
.header-phone .ic, .header-account .ic { width: 15px; height: 15px; }
.nav-toggle .ic { width: 24px; height: 24px; }
.scrolltop .ic { width: 22px; height: 22px; }
.ai-fab .ic { width: 27px; height: 27px; }
.ai-head .ic { width: 18px; height: 18px; vertical-align: -.25em; }
.ai-close .ic, .bar-close .ic { width: 16px; height: 16px; }
.ai-form button .ic { width: 18px; height: 18px; }
.contact-line .ic { width: 15px; height: 15px; color: var(--accent); }
/* İçerik ikonları (emoji yerine — sektör sekmeleri, başlıklar) */
.ci { display: inline-flex; align-items: center; vertical-align: -.16em; }
.ci .ic { width: 1.15em; height: 1.15em; }
.tab-btn .ci { margin-right: 4px; }
.sec-kicker .ci .ic, .hero-kicker .ci .ic { color: var(--accent); width: 1.05em; height: 1.05em; }
.pos-item b .ic { width: 24px; height: 24px; color: var(--accent); }

/* ── Header dil combobox ── */
.lang-select {
  appearance: none; -webkit-appearance: none;
  background-color: rgba(255,255,255,.08); color: #fff;
  border: 1px solid rgba(255,255,255,.2); border-radius: 9px;
  padding: 7px 30px 7px 12px; font: inherit; font-size: 13px; font-weight: 700;
  line-height: 1; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 9px center; background-size: 13px;
}
.lang-select:hover { border-color: var(--accent); }
.lang-select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.lang-select option { color: #111; }
