/* Kurumsal tarz (Layout.php her sayfaya yükler; 20.11.2026): ana sayfa, tanıtım, referans, iletişim. Pastel zeminler kalır; kalın kenar ve sert gölge yerine ince kenar,
   kart içinde kalın düğme yerine "İnceleyin →" yazısı, alt bölümler sayfanın kendi yazı düzeninde. app.css'ten sonra yüklenir. */
html body { --pv-line: rgba(16, 35, 49, .10); --pv-shadow: 0 1px 2px rgba(16,21,34,.04), 0 10px 30px rgba(16,21,34,.06); }

/* Kartlar: önceki pastel renkler, düz; ince kenar, gölge yok (üstüne gelince hafif). */
html body .wi-boxes { gap: 18px; padding: 0; }
html body .wi-boxes .wi-box { border: 1px solid var(--pv-line); border-radius: 20px; box-shadow: none; color: #102331; transition: box-shadow .15s ease, transform .15s ease; }
html body .wi-boxes a.wi-box:hover { transform: translateY(-2px); box-shadow: var(--pv-shadow); border-color: var(--pv-line); }
html body .wi-boxes .wi-box.wi-blue   { background: #dbf1ff; }
html body .wi-boxes .wi-box.wi-purple { background: #ebe5ff; }
html body .wi-boxes .wi-box.wi-yellow { background: #fff3cc; }
html body .wi-boxes .wi-box.wi-green  { background: #d9f7e8; }
html body .wi-boxes .wi-box.wi-pink   { background: #fbe1ee; }
html body .wi-boxes .wi-box.wi-peach  { background: #ffe4d4; }
html body .wi-boxes .wi-box.wi-lilac  { background: #eee9ff; }
html body .wi-copy small { font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; color: rgba(16,35,49,.6); }
html body .wi-copy b { letter-spacing: -.025em; }
html body .wi-copy > span { color: rgba(16,35,49,.82); font-weight: 500; }
html body .wi-chips i, html body .wi-list i { border: 1px solid var(--pv-line); background: rgba(255,255,255,.75); font-weight: 600; }
html body :is(.wi-note, .wi-stats i) { border: 1px solid var(--pv-line); box-shadow: none; background: #fff; }

/* Kart içindeki düğme: kartın tamamı bağlantı; içinde yalnız yazı + ok. (Moya kutusundaki gerçek düğmeler olduğu gibi.) */
html body a.wi-box .wi-btn { min-height: 0; padding: 0; background: none; color: #102331; font-size: 15px; font-weight: 700; border-radius: 0; }
html body a.wi-box .wi-btn span { transition: transform .15s ease; }
html body a.wi-box:hover .wi-btn span { transform: translateX(3px); }

/* Üst kısım: görüşme görseli */
.pv-call { width: 100%; max-width: 560px; margin: 40px auto 0; padding: 18px 20px 20px; text-align: left; background: #fff; border: 1px solid var(--pv-line); border-radius: 20px; box-shadow: var(--pv-shadow); }
.pv-call-head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--muted); font-size: 13px; font-weight: 600; }
.pv-dot { width: 8px; height: 8px; border-radius: 50%; background: #12a84a; box-shadow: 0 0 0 4px rgba(18,168,74,.15); }
.pv-live { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: #d9f7e8; color: #0d6b32; font-size: 12px; }
.pv-msg { width: fit-content; max-width: 82%; margin: 0 0 8px; padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.4; }
.pv-in { background: var(--surface-2); color: var(--ink); border-bottom-left-radius: 4px; }
.pv-ai { margin-left: auto; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.pv-call-done { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 12px; border-radius: 12px; background: #d9f7e8; color: #0d6b32; font-size: 14px; font-weight: 700; }

/* Referanslar üstte: kartlar ince kenarlı */
html body .rf-card { border: 1px solid var(--line); box-shadow: none; }
html body .rf-section { margin-top: 56px; }

/* Alt bölümler (deneme kutusu sitenin ortak dosyasından): aynı düz kart tarzı, yazı tipi sayfanınki */
html body .dj-site-wrap .dj-site .hero { background: #d9f7e8; border: 1px solid var(--pv-line); border-radius: 20px; box-shadow: none; }
html body .dj-site-wrap .dj-site :is(input, textarea, .form input) { border: 1px solid rgba(16,35,49,.2); border-radius: 12px; background: #fff; }
html body .dj-site-wrap .dj-site .btn { border-radius: 12px; text-transform: none; font-family: inherit; }
html body .dj-site-wrap .dj-site main { padding-right: 0; }

/* Güvenlik: ElevenLabs gibi üç sade sütun */
.pv-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.pv-cols > div { display: grid; gap: 8px; align-content: start; }
.pv-cols i { font-size: 22px; color: var(--ink); }
.pv-cols b { font-size: 17px; font-weight: 800; color: var(--ink); }
.pv-cols span { color: var(--text); line-height: 1.55; }

/* Entegrasyonlar: sade etiketler */
.pv-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.pv-tags span { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; color: var(--ink); }

@media (max-width: 760px) { .pv-cols { grid-template-columns: 1fr; gap: 20px; } .pv-msg { max-width: 92%; } }
@media (prefers-reduced-motion: reduce) { html body .wi-boxes a.wi-box:hover { transform: none; } html body a.wi-box:hover .wi-btn span { transform: none; } }

/* Güvenlik ve Entegrasyonlar da kutuda: Güvenlik koyu (sayfanın tek koyu kutusu), Entegrasyonlar pastel mavi. */
.pv-panel { padding: clamp(24px, 3.4vw, 36px); border: 1px solid var(--pv-line); border-radius: 20px; }
.pv-blue { background: #dbf1ff; }
.pv-dark { background: #101522; border-color: #101522; }
.pv-dark .pv-cols { padding-top: 0; border-top: 0; }
.pv-dark .pv-cols i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.08); color: #30ff7a; font-size: 20px; }
.pv-dark .pv-cols b { color: #fff; }
.pv-dark .pv-cols span { color: rgba(255,255,255,.72); }
.pv-blue .pv-tags span { border-color: var(--pv-line); }
.pv-panel-lead { margin: 0 0 26px; font-size: clamp(17px, 1.7vw, 20px); font-weight: 600; line-height: 1.45; color: #102331; }
.pv-dark .pv-panel-lead { color: #fff; max-width: 680px; }
.pv-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.pv-split .pv-panel-lead { margin: 0; }
@media (max-width: 760px) { .pv-split { grid-template-columns: 1fr; } }

/* Moya (önizleme): başlıkta logo; kutuda tam genişlikte başlık ve metin, altında model sayıları. */
.pv-moya-title { display: flex; align-items: center; gap: 12px; }
.pv-moya-title img { width: 64px; height: auto; }
.pv-lilac { background: #eee9ff; }
.pv-moya { display: grid; gap: 18px; }
.pv-moya-head { display: block; font-size: clamp(26px, 3.2vw, 38px); font-weight: 900; letter-spacing: -.03em; line-height: 1.1; color: #102331; }
.pv-moya > p { margin: 0; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.5; font-weight: 500; color: rgba(16,35,49,.82); }
.pv-moya-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pv-moya-stats span { display: grid; gap: 4px; padding: 16px; border: 1px solid var(--pv-line); border-radius: 16px; background: #fff; text-align: center; font-size: 14px; font-weight: 700; color: #102331; }
.pv-moya-stats b { font-size: clamp(28px, 3vw, 36px); font-weight: 900; line-height: 1; letter-spacing: -.03em; }
.pv-moya .wi-actions { margin-top: 4px; }

/* ── Tanıtım, referans, referanslar, iletişim sayfaları (.rp): aynı tarz — pastel zemin, ince kenar, sert gölge yok. ── */
html body .rp :is(.rp-hero, .rp-tile, .rp-steps > div, .rp-ref-row, .rp-cta, .ct-card, .ct-form, .rp-logo-card) { border: 1px solid var(--pv-line); box-shadow: none; }
html body .rp .rp-hero { background: color-mix(in srgb, var(--rp-bg) 55%, #ffffff); border-radius: 24px; }
html body .rp .rp-tile, html body .rp .rp-steps > div { background: color-mix(in srgb, var(--rp-tile) 45%, #ffffff); border-radius: 20px; }
html body .rp .rp-ref-row { background: color-mix(in srgb, var(--rp-tile) 50%, #ffffff); border-radius: 20px; }
html body .rp .rp-ref-row:hover { transform: translateY(-2px); box-shadow: var(--pv-shadow); }
html body .rp .rp-cta { background: #eee9ff; border-radius: 24px; }
html body .rp .ct-card { background: #dbf1ff; border-radius: 20px; }
html body .rp .ct-form { background: #fff; border-radius: 20px; }
html body .rp .ct-form :is(input, textarea) { border: 1px solid rgba(16,35,49,.2); border-radius: 12px; }
html body .rp .rp-logo-card { background: #fff; border-radius: 20px; }
html body .rp .rp-icon-card i { background: color-mix(in srgb, var(--c) 40%, #ffffff); border: 0; color: #102331; }
html body .rp .rp-steps em { color: #102331; }
html body .rp-trust li::before { background: #12a84a; }
html body .rp .ct-grid, html body .wi-boxes { padding-right: 0; }

/* ── Restoran sipariş sistemi sayfası (restoran-siparis-sistemi.php): üstteki ve en alttaki büyük panel (.os-panel) koyu, çizgili zemin
   yerine sitenin tarzında — ana sayfadaki "Hazır sipariş sistemi" kartının pastel sarısı, ince kenar, gölge yok, koyu yazı. ── */
html body .os-panel { background: radial-gradient(circle at 18% 22%, rgba(255,255,255,.6), transparent 45%), #fff3cc; color: #102331;
  border: 1px solid var(--pv-line); border-radius: 24px; box-shadow: none; }
html body .os-panel :is(h1, h2), html body .os-page .os-panel h2 { color: #102331; }
html body .os-hero h1 em { color: #12813f; }
html body .os-panel p, html body .os-panel-head p, html body .os-hero p { color: rgba(16,35,49,.82); }
html body .os-panel p a { color: #12813f; }
html body .os-chip { background: rgba(255,255,255,.75); border: 1px solid var(--pv-line); color: #102331; }
html body .os-ico-chip { color: #12813f; }
html body .os-btn-main { background: #000; border-color: #000; color: #fff; box-shadow: none; border-radius: 12px; }
html body .os-btn-main:hover { background: #1b2230; }
html body .os-btn-ghost { background: rgba(255,255,255,.6); border: 1px solid rgba(16,35,49,.25); color: #102331; border-radius: 12px; }
html body .os-btn-ghost:hover { background: #fff; }
html body .os-ticket { border: 1px solid var(--pv-line); box-shadow: 0 10px 30px rgba(16,21,34,.08); }
/* Alttaki paneldeki davet satırı sayfada satır içi beyaz renkle yazılı; açık zeminde okunsun. */
html body .os-panel p[style] { color: rgba(16,35,49,.7) !important; }
html body .os-panel p[style] a { color: #12813f !important; }

/* Başlık ile altındaki kutu arası yarıya (20.11.2026): açıklamalı başlıkta 70 → 35 px, açıklamasızda 22 → 11 px. Bütün bölümlerde aynı. */
html body .wi-section h2, html body .pv-moya-title { margin-bottom: 11px; }
html body .wi-lead { margin: 0 0 11px; }
html body .dj-demo-head + .dj-site-wrap { margin-top: 11px; }
html body .rf-head { margin-bottom: 9px; }
html body .rf-head p { margin-top: 2px; }
/* İletişim kutusu: başlık dışarıda; içinde metin, bağlantı ve balon. */
html body #iletisim .wi-copy > span { font-size: clamp(17px, 1.7vw, 20px); }
html body .wi-section h2:has(+ .wi-lead) { margin-bottom: 4px; }
html body .wi-lead { margin-bottom: 5px; }
html body .rf-head { margin-bottom: 0; }
html body .rf-head p { margin-top: 0; }

/* Restoran sipariş sayfası: başlıktaki "yapay zekâ" diğer kelimelerle aynı renk; "Sistemin parçaları" lego tuğlası yerine sitenin kart tarzı —
   kendi renginin pastel tonu, ince kenar, gölge ve üst çıkıntı yok. */
html body .os-hero h1 em { color: inherit; }
html body .os-bricks { gap: 16px; padding-top: 0; }
html body .os-brick { background: color-mix(in srgb, var(--c) 22%, #ffffff); border: 1px solid var(--pv-line); border-radius: 20px; box-shadow: none; padding: 22px; }
html body .os-brick::before { display: none; }
html body .os-brick .os-ico .gf { fill: color-mix(in srgb, var(--c) 45%, #ffffff); }
html body .os-brick p, html body .os-brick ul { color: rgba(16,35,49,.82); }
html body .js-reveal .os-brick { transform: translateY(12px); }
html body .js-reveal .os-brick.in { transform: none; }
html body .os-brick:target { outline: 2px solid rgba(16,35,49,.45); outline-offset: 3px; }

/* Referans şeridi kenarları: kartlar birden kesilmesin, geniş ve yumuşak bir geçişle solsun (iki yanda 140 px; dar ekranda 60 px). */
html body .rf-marquee { -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.25) 40px, #000 140px, #000 calc(100% - 140px), rgba(0,0,0,.25) calc(100% - 40px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.25) 40px, #000 140px, #000 calc(100% - 140px), rgba(0,0,0,.25) calc(100% - 40px), transparent 100%); }
@media (max-width: 560px) {
  html body .rf-marquee { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%); }
}

/* Ana sayfa alt bilgisi: bağlantılar + telif satırı. */
html body .wi-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); }
html body .wi-foot a { color: var(--text); font-size: 14px; font-weight: 600; text-decoration: none; }
html body .wi-foot a:hover { color: var(--ink); text-decoration: underline; }
html body .ds-section > .wi-copyright { margin-top: 14px; }
/* Ana sayfa: telif satırının altında 50 px boşluk. */
html body .ds-section > .wi-copyright { margin-bottom: 50px; }

/* Çözüm kutularında "İnceleyin" yazısı yerine siyah daire içinde beyaz ok (kutunun tamamı bağlantı). */
html body .wi-arrow { justify-self: start; display: grid; place-items: center; width: 44px; height: 44px; margin-top: 6px; border-radius: 50%; background: #000; color: #fff; font-style: normal; font-size: 18px; transition: transform .15s ease; }
html body a.wi-box:hover .wi-arrow { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { html body a.wi-box:hover .wi-arrow { transform: none; } }

/* Referanslar: kayan şerit yerine alt alta dizilen ızgara (lib/References.php .rf-grid). Kartlar satırı eşit paylaşır. */
html body .rf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-top: 11px; }
html body .rf-grid .rf-card { width: auto; min-width: 0; }
@media (max-width: 560px) { html body .rf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } html body .rf-grid .rf-logo img { max-width: 100%; } html body .rf-grid .rf-card { padding: 12px 10px; } html body .rf-grid .rf-card b { font-size: 17px; } }

/* Yazılımlarımız (index.php #yazilimlar): Moya paneli + altında Fully ve AYNA kutuları. */
html body .sw-name { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 22px; font-weight: 900; color: #102331; }
html body .sw-name img { width: 48px; height: auto; }
html body .sw-name small { font-size: 15px; font-weight: 600; color: rgba(16,35,49,.7); }
html body .sw-boxes { margin-top: 16px; }
html body .sw-logo { display: inline-block; height: 1em; width: auto; max-width: 2.4em; margin-right: 10px; vertical-align: -0.12em; object-fit: contain; }

/* Menü daraltılınca D işareti biraz küçük (44 → 34 px). */
html body .collapsed .ds-brand-mark { width: 34px; height: 34px; border-radius: 10px; }
html body .collapsed .ds-brand-mark svg { width: 34px; height: 34px; }

/* Referanslar başlığı da /referanslar'a gider. */
html body .rf-title { color: inherit; text-decoration: none; }
html body .rf-title:hover { text-decoration: underline; text-underline-offset: .12em; }

/* Referans logoları biraz yüksek olabilir (iki satırlı restoran logoları). */
html body .rf-logo img { max-width: 150px; max-height: 52px; }
