/* v9 sayfaları (ana sayfa, ürün detayı, hizmetler) için eski düzenden taşınan ortak parçalar:
   ikon sprite'ı, tanıtım mailinden gelen firmaya demo çubuğu (_DemoBar) ve AI asistan (_Assistant).
   Kurallar site.css'ten kopyadır; değişkenler yalnız bu parçaların kökünde tanımlıdır, v9 tasarımını etkilemez. */
.dbar, .asst, .vgate, .toast {
  --c1:#E3122D; --c2:#B30E24; --c1-rgb:227,18,45; --hi:#FF5D6E; --bg-2:#111724;
  --tx:#F3F5F9; --tx-2:#C9C9D1; --tx-3:#7A8296; --ln:rgba(255,255,255,.08); --ln-2:rgba(255,255,255,.14);
  --glass-2:rgba(255,255,255,.08); --ok:#3DD68C; --bad:#FF8A7A; --grad:linear-gradient(135deg,var(--c1),var(--c2));
  --f:Onest,system-ui,-apple-system,'Segoe UI',Roboto,sans-serif; --e-out:cubic-bezier(.23,1,.32,1);
  --r:clamp(14px,1.3vw,22px); --r-l:clamp(20px,2.2vw,36px);
}
.dbar { font-family:var(--f); color:var(--tx); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: clamp(50px, 3.7vw, 58px); padding: 0 clamp(24px, 2.2vw, 34px); border-radius: 999px; font-size: clamp(.92rem, 1vw, 1rem); font-weight: 600; letter-spacing: -.01em; white-space: nowrap; transition: transform .16s ease-out, background-color .2s ease, box-shadow .25s ease, color .2s ease; }
.btn .i { transition: transform .25s var(--e-out); } .btn:active { transform: scale(.97); }
.btn-g { background: var(--c1); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 0 0 1px rgba(255,255,255,.08), 0 12px 26px -14px rgba(var(--c1-rgb), .85); }
.btn-d { background: #141925; color: #fff; box-shadow: inset 0 0 0 1px var(--ln-2); }
.btn-w { background: #fff; color: #0A0D14; }
.btn-o { color: #fff; box-shadow: inset 0 0 0 1px var(--ln-2); }
.btn-sm { height: 44px; padding: 0 22px; font-size: .9rem; } .btn-block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; } .btn.loading .i { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.f-demo { display: grid; gap: 22px; animation: fdIn .6s var(--e-out) both; } @keyframes fdIn { from { opacity: 0; transform: translateY(10px); } }
.fd-h { display: flex; align-items: center; gap: 18px; } .fd-h .ic { width: 58px; height: 58px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--grad); font-size: 1.35rem; box-shadow: 0 14px 30px -14px rgba(var(--c1-rgb), .9); }
.fd-h b { display: block; font-size: clamp(1.25rem, 1.6vw, 1.5rem); font-weight: 600; letter-spacing: -.03em; } .fd-h p { margin-top: 4px; color: var(--tx-2); font-weight: 500; }
.fd-rows { margin: 0; border-radius: var(--r); background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px var(--ln-2); }
.fd-r { display: grid; grid-template-columns: 140px minmax(0, 1fr); align-items: center; gap: 14px; padding: 12px 12px 12px 24px; } .fd-r + .fd-r { border-top: 1px solid var(--ln); }
.fd-r dt { font-size: .84rem; font-weight: 600; color: var(--tx-3); } .fd-r dd { margin: 0; display: flex; align-items: center; gap: 12px; min-width: 0; }
.fd-r code, .fd-r dd > a { flex: 1; min-width: 0; overflow-wrap: anywhere; font-family: var(--f-m); font-size: 1rem; font-weight: 600; color: #fff; }
.fd-r dd > a { text-decoration: underline; text-decoration-color: var(--dim); text-underline-offset: 4px; transition: text-decoration-color .2s; } .fd-r dd > a:hover { text-decoration-color: #fff; }
.fd-cp { flex: none; width: 42px; height: 42px; border: 0; border-radius: 999px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: var(--tx-2); cursor: pointer; transition: background .2s, color .2s, transform .16s var(--e-out); }
.fd-cp:hover { background: rgba(255,255,255,.13); color: #fff; } .fd-cp:active { transform: scale(.94); } .fd-cp.ok { color: var(--ok); }
.fd-f { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; } .fd-f small { color: var(--tx-3); font-size: .86rem; font-weight: 500; }
@media (max-width: 560px) { .fd-r { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 12px 10px 12px 18px; } .fd-h { align-items: flex-start; } .fd-h .ic { width: 46px; height: 46px; font-size: 1.1rem; } .fd-f .btn { width: 100%; justify-content: center; } }
.toast { position: fixed; left: 50%; bottom: 30px; z-index: 200; transform: translate(-50%, 24px); display: flex; align-items: center; gap: 12px; padding: 16px 26px; border-radius: 999px; background: #fff; color: #0A0B10; font-size: .92rem; font-weight: 600; box-shadow: 0 30px 70px -20px rgba(0,0,0,.8); opacity: 0; pointer-events: none; transition: opacity .35s, transform .5s var(--e-out); } .toast.show { opacity: 1; transform: translate(-50%, 0); } .toast .i { color: #16A34A; stroke-width: 2.6; }

/* Tanıtım mailinden gelen firmaya tek tıkla demo çubuğu */
.dbar { position: fixed; left: clamp(16px, 2vw, 36px); bottom: clamp(16px, 2vw, 36px); z-index: 61; width: min(560px, calc(100% - 32px)); display: grid; gap: 14px; padding: 20px 22px; border-radius: var(--r); background: #10141E; box-shadow: inset 0 0 0 1px var(--ln-2), inset 3px 0 0 var(--c1), 0 30px 70px -24px rgba(0,0,0,.95); animation: dbar-in .5s var(--e-out) both; }
.dbar[hidden] { display: none; }
@keyframes dbar-in { from { opacity: 0; transform: translateY(16px); } }
.dbar-t { display: grid; gap: 4px; padding-right: 30px; } .dbar-t small { color: var(--hi); font-size: .8rem; font-weight: 600; } .dbar-t b { font-size: 1.02rem; font-weight: 600; line-height: 1.35; } .dbar-t span { color: var(--tx-2); font-size: .86rem; }
.dbar-f { display: flex; gap: 10px; } .dbar-f input { flex: 1; min-width: 0; height: 48px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--glass-2); color: var(--tx); font: inherit; font-size: 16px; box-shadow: inset 0 0 0 1px var(--ln-2); } .dbar-f input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--c1); } .dbar-f input.err { box-shadow: inset 0 0 0 1px var(--bad); } .dbar-f .btn { height: 48px; flex: none; }
.dbar-x { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--tx-3); } .dbar-x:hover { background: var(--glass-2); color: var(--tx); }
.dbar-ok:empty { display: none; } .dbar-ok { margin: 0; font-size: .9rem; color: var(--tx-2); } .dbar.sent .dbar-f { display: none; } .dbar.sent .dbar-ok { color: var(--ok); font-weight: 600; }
.dbar-or { display: flex; align-items: center; gap: 12px; margin: -2px 0; color: var(--tx-3); font-size: .8rem; } .dbar-or::before, .dbar-or::after { content: ""; flex: 1; height: 1px; background: var(--ln); }
.dbar-demo { width: 100%; justify-content: center; height: 48px; }
.dbar.done .dbar-or, .dbar.done .dbar-demo, .dbar.done .dbar-t span { display: none; } .dbar.done { max-height: calc(100vh - 32px); overflow-y: auto; } .dbar.done .f-demo { gap: 16px; } .dbar.done .fd-h .ic { width: 44px; height: 44px; font-size: 1.05rem; } .dbar.done .fd-r { grid-template-columns: 110px minmax(0, 1fr); padding: 8px 8px 8px 18px; }
@media (max-width: 640px) { .dbar { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 16px; } .dbar-f { flex-direction: column; } .dbar-f input { flex: none; } .dbar-f .btn { width: 100%; justify-content: center; } body:has(.dbar:not([hidden])) .fab { bottom: 292px; } }
