/* =====================================================================
   Bilensoft ortak tasarım sistemi — tüm genel sayfalar (ana sayfa hariç; o anasayfa.css kullanır)
   Önek: .bo-*   ·   Davranış: assets/js/bs-ortak.js   ·   Açık tema + katmanlı 3D derinlik
   Kullanım: <body class="bo-sayfa"> ... <main class="bo-main"> ... </main>
   ===================================================================== */
:root {
  --bo-lac: #0b2150; --bo-lac-2: #16357a; --bo-lac-3: #2a54b0;
  --bo-kir: #e1251b; --bo-kir-2: #c81e15; --bo-alt: #ffd25e;
  --bo-zemin: #f4f7fc; --bo-zemin-2: #eaf0fa; --bo-kart: #fff;
  --bo-yazi: #0f1b33; --bo-yazi-2: #4a5876; --bo-yazi-3: #56637d;
  --bo-cizgi: rgba(11, 33, 80, .09); --bo-cizgi-2: rgba(11, 33, 80, .16);
  --bo-g1: 0 1px 2px rgba(11,33,80,.06), 0 4px 14px -6px rgba(11,33,80,.12);
  --bo-g2: 0 2px 4px rgba(11,33,80,.05), 0 18px 40px -18px rgba(11,33,80,.28);
  --bo-g3: 0 4px 10px rgba(11,33,80,.06), 0 40px 80px -30px rgba(11,33,80,.40);
  --bo-r: 22px; --bo-max: 1240px; --bo-gut: clamp(16px, 4vw, 32px);
  --bo-ease: cubic-bezier(.22, 1, .36, 1);
  --bo-f-bas: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;
  --bo-f-govde: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
body.bo-sayfa { background: var(--bo-zemin); color: var(--bo-yazi); font-family: var(--bo-f-govde); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.bo-main { display: block; overflow-x: clip; }
.bo-main :where(h1, h2, h3, h4) { font-family: var(--bo-f-bas); letter-spacing: -.02em; color: var(--bo-lac); }
.bo-main :focus-visible { outline: 3px solid var(--bo-lac); outline-offset: 3px; box-shadow: 0 0 0 6px rgba(255,210,94,.85); border-radius: 10px; }
.bo-wrap { width: 100%; max-width: calc(var(--bo-max) + var(--bo-gut) * 2); margin: 0 auto; padding-inline: var(--bo-gut); }
.bo-vurgu { background: linear-gradient(100deg, var(--bo-kir-2), var(--bo-kir) 55%, #b51a12); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; }
.bo-koyu .bo-vurgu, .bo-vurgu--altin { background: linear-gradient(100deg, var(--bo-alt), #ffb347); -webkit-background-clip: text; background-clip: text; }

/* ---------- Sayfa başı (hero) ---------- */
.bo-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(40px, 6vw, 84px) 0 clamp(40px, 5vw, 70px);
  background: radial-gradient(1100px 520px at 85% -10%, #fff 0%, transparent 60%), linear-gradient(160deg, #f4f7fc, #e4ecfa); }
.bo-hero--koyu { color: #fff; background: radial-gradient(900px 480px at 80% 0%, rgba(42,84,176,.55), transparent 62%), radial-gradient(700px 400px at 0% 100%, rgba(225,37,27,.22), transparent 60%), linear-gradient(160deg, #0b2150, #061536); }
.bo-hero--koyu :where(h1, h2, h3) { color: #fff; }
.bo-hero::before { content: ""; position: absolute; inset: auto 0 0 0; height: 60%; z-index: -1;
  background-image: linear-gradient(rgba(11,33,80,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(11,33,80,.07) 1px, transparent 1px);
  background-size: 56px 56px; transform: perspective(700px) rotateX(62deg); transform-origin: bottom;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%); mask-image: linear-gradient(to top, #000 10%, transparent 85%); }
.bo-hero--koyu::before { background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); }
.bo-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.bo-hero h1 { font-size: clamp(34px, 5vw, 60px); font-weight: 800; line-height: 1.04; margin: 0; text-wrap: balance; }
.bo-hero__alt { margin: 18px 0 0; max-width: 580px; font-size: clamp(16px, 1.4vw, 18.5px); line-height: 1.65; color: var(--bo-yazi-2); }
.bo-hero--koyu .bo-hero__alt { color: rgba(226,234,252,.85); }
.bo-kirinti { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; font-size: 13px; font-weight: 600; color: var(--bo-yazi-3); }
.bo-kirinti a { color: var(--bo-lac-2); text-decoration: none; }
.bo-kirinti li + li::before { content: "›"; margin-right: 6px; opacity: .6; }
.bo-hero--koyu .bo-kirinti, .bo-hero--koyu .bo-kirinti a { color: rgba(226,234,252,.8); }
.bo-rozet { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 7px 14px 7px 10px; border-radius: 999px; font: 700 13px/1.2 var(--bo-f-govde); color: var(--bo-lac-2); background: rgba(255,255,255,.8); border: 1px solid var(--bo-cizgi); box-shadow: var(--bo-g1); }
.bo-rozet .bi { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--bo-kir); color: #fff; font-size: 12px; }
.bo-hero--koyu .bo-rozet { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); color: #fff; box-shadow: none; }
.bo-blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; animation: boYuz 18s ease-in-out infinite alternate; }
.bo-blob--1 { width: 480px; height: 480px; right: -120px; top: -150px; background: radial-gradient(circle, rgba(42,84,176,.45), transparent 70%); }
.bo-blob--2 { width: 380px; height: 380px; left: -140px; bottom: -150px; background: radial-gradient(circle, rgba(225,37,27,.28), transparent 70%); animation-delay: -7s; }
@keyframes boYuz { to { transform: translate3d(40px, 30px, 0) scale(1.12); } }
.bo-illustrasyon { position: relative; display: grid; place-items: center; perspective: 1200px; }
.bo-illustrasyon svg, .bo-illustrasyon img { width: 100%; max-width: 520px; height: auto; filter: drop-shadow(0 30px 50px rgba(11,33,80,.25)); }

/* ---------- Butonlar ---------- */
.bo-btn { --g: 0 10px 24px -10px rgba(11,33,80,.45); display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 22px; border-radius: 14px; border: 1px solid transparent; font: 700 15px/1 var(--bo-f-govde); text-decoration: none; cursor: pointer; white-space: nowrap; box-shadow: var(--g); transition: transform .25s var(--bo-ease), box-shadow .25s var(--bo-ease), background-color .2s, color .2s, border-color .2s; }
.bo-btn:hover { transform: translateY(-2px); }
.bo-btn:active { transform: translateY(0) scale(.98); }
.bo-btn:disabled, .bo-btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.bo-btn--kirmizi { background: linear-gradient(180deg, #f0352a, var(--bo-kir) 55%, var(--bo-kir-2)); color: #fff; --g: 0 1px 0 rgba(255,255,255,.25) inset, 0 12px 26px -10px rgba(225,37,27,.7); }
.bo-btn--kirmizi:hover { color: #fff; }
.bo-btn--lacivert { background: linear-gradient(180deg, var(--bo-lac-2), var(--bo-lac)); color: #fff; }
.bo-btn--lacivert:hover { color: #fff; }
.bo-btn--altin { background: var(--bo-alt); color: var(--bo-lac); --g: 0 14px 28px -12px rgba(255,190,40,.8); }
.bo-btn--altin:hover { color: var(--bo-lac); }
.bo-btn--acik { background: #fff; color: var(--bo-lac); border-color: var(--bo-cizgi-2); --g: var(--bo-g1); }
.bo-btn--acik:hover { color: var(--bo-lac); border-color: var(--bo-lac-2); }
.bo-btn--cam { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.3); --g: none; }
.bo-btn--cam:hover { background: #fff; color: var(--bo-lac); }
.bo-btn--buyuk { min-height: 58px; padding: 0 28px; font-size: 16px; border-radius: 16px; }
.bo-btn--blok { width: 100%; }
.bo-butonlar { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Bölüm + kart ---------- */
.bo-bolum { padding: clamp(56px, 8vw, 100px) 0; }
.bo-bolum--ince { padding: clamp(40px, 5vw, 64px) 0; }
.bo-bolum--zemin { background: linear-gradient(180deg, #fff, var(--bo-zemin-2)); border-block: 1px solid var(--bo-cizgi); }
.bo-bolum__bas { max-width: 720px; margin: 0 auto clamp(28px, 4vw, 48px); text-align: center; }
.bo-bolum__bas h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; line-height: 1.1; margin: 0; }
.bo-bolum__bas p { margin: 14px 0 0; font-size: 17px; line-height: 1.65; color: var(--bo-yazi-2); }
.bo-etiket { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font: 800 12.5px/1 var(--bo-f-govde); letter-spacing: .14em; text-transform: uppercase; color: var(--bo-kir); }
.bo-etiket::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.bo-koyu .bo-etiket { color: var(--bo-alt); }
.bo-izgara { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.bo-izgara--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.bo-kart { position: relative; display: flex; flex-direction: column; padding: 26px; background: var(--bo-kart); border: 1px solid var(--bo-cizgi); border-radius: var(--bo-r); box-shadow: var(--bo-g1); color: var(--bo-yazi); text-decoration: none; transition: box-shadow .4s var(--bo-ease), border-color .3s, transform .5s var(--bo-ease); }
a.bo-kart:hover, .bo-kart[data-egim]:hover { box-shadow: var(--bo-g3); border-color: rgba(22,53,122,.2); color: var(--bo-yazi); }
.bo-kart h3 { font-size: 20px; font-weight: 700; margin: 0 0 8px; }
.bo-kart p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--bo-yazi-2); }
.bo-kart__ikon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; border-radius: 16px; background: linear-gradient(145deg, var(--bo-zemin), #dfe8f8); color: var(--bo-lac-2); font-size: 24px; box-shadow: inset 0 1px 0 #fff, 0 10px 20px -12px rgba(11,33,80,.45); transform: translateZ(30px); transition: background .3s, color .3s; }
.bo-kart:hover .bo-kart__ikon { background: linear-gradient(145deg, #ff5a3c, var(--bo-kir)); color: #fff; }
.bo-kart--koyu { background: radial-gradient(500px 300px at 100% 0%, rgba(42,84,176,.5), transparent 60%), linear-gradient(155deg, var(--bo-lac-2), var(--bo-lac) 70%); border-color: transparent; color: #fff; }
.bo-kart--koyu :where(h3) { color: #fff; } .bo-kart--koyu p { color: rgba(226,234,252,.85); }
.bo-koyu { background: linear-gradient(160deg, #0e2a63, var(--bo-lac) 60%, #071838); color: #fff; }
.bo-koyu :where(h2, h3) { color: #fff; } .bo-koyu p { color: rgba(226,234,252,.85); }
[data-egim] { --rx: 0deg; --ry: 0deg; transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; }
.bo-kart::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.65), transparent 42%); transition: opacity .3s; }
.bo-kart[data-egim]:hover::after { opacity: 1; }

/* ---------- Form ---------- */
.bo-form { display: grid; gap: 14px; }
.bo-alan label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: var(--bo-lac); }
.bo-alan :where(input, select, textarea) { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #d9e1ee; border-radius: 13px; background: #fff; font: 500 15px/1.4 var(--bo-f-govde); color: var(--bo-yazi); transition: border-color .2s, box-shadow .2s; }
.bo-alan textarea { min-height: 120px; resize: vertical; }
.bo-alan :where(input, select, textarea):focus { outline: none; border-color: var(--bo-lac-2); box-shadow: 0 0 0 4px rgba(22,53,122,.14); }
.bo-alan small { display: block; margin-top: 5px; color: var(--bo-yazi-3); font-size: 12.5px; }
.bo-uyari { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; font-weight: 600; font-size: 14.5px; }
.bo-uyari--ok { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.bo-uyari--hata { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.bo-uyari--bilgi { background: #eef4ff; color: var(--bo-lac-2); border: 1px solid #cfdcf5; }

/* ---------- Adımlar, SSS, rakam, cta ---------- */
.bo-adimlar { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); counter-reset: a; margin: 0; padding: 0; list-style: none; }
.bo-adimlar li { position: relative; padding: 26px; border-radius: var(--bo-r); background: #fff; border: 1px solid var(--bo-cizgi); box-shadow: var(--bo-g1); }
.bo-adimlar li::before { counter-increment: a; content: counter(a, decimal-leading-zero); display: block; margin-bottom: 12px; font: 800 30px/1 var(--bo-f-bas); color: var(--bo-kir); }
.bo-sss { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.bo-sss details { border-radius: 18px; background: #fff; border: 1px solid var(--bo-cizgi); box-shadow: var(--bo-g1); }
.bo-sss summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 22px; cursor: pointer; list-style: none; font-weight: 700; color: var(--bo-lac); }
.bo-sss summary::-webkit-details-marker { display: none; }
.bo-sss summary::after { content: "+"; display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--bo-zemin-2); font-size: 20px; transition: transform .3s, background .3s, color .3s; }
.bo-sss details[open] summary::after { transform: rotate(45deg); background: var(--bo-kir); color: #fff; }
.bo-sss details > :not(summary) { margin: 0; padding: 0 22px 20px; color: var(--bo-yazi-2); line-height: 1.7; }
.bo-rakamlar { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 16px; }
.bo-rakam b { display: block; font: 800 clamp(32px, 4vw, 46px)/1 var(--bo-f-bas); color: var(--bo-lac); }
.bo-rakam small { display: block; margin-top: 6px; color: var(--bo-yazi-2); font-weight: 600; }
.bo-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(28px, 5vw, 52px); border-radius: 30px; color: #fff;
  background: radial-gradient(600px 300px at 0% 0%, rgba(225,37,27,.35), transparent 60%), radial-gradient(700px 400px at 100% 100%, rgba(42,84,176,.65), transparent 60%), linear-gradient(140deg, #0e2a63, var(--bo-lac) 60%, #071838); box-shadow: var(--bo-g3); }
.bo-cta h2 { color: #fff; margin: 0; font-size: clamp(26px, 3.4vw, 40px); }
.bo-cta p { margin: 10px 0 0; color: rgba(226,234,252,.85); }

/* ---------- Kaydırınca belirme (JS'siz, desteklenmezse doğrudan görünür) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .bo-goster { animation: boBelir linear both; animation-timeline: view(); animation-range: entry 0% entry 38%; }
  }
}
@keyframes boBelir { from { opacity: 0; translate: 0 34px; scale: .97; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes boSalin { 50% { translate: 0 -10px; } }
.bo-salin { animation: boSalin 6s ease-in-out infinite; }

@media (max-width: 991.98px) { .bo-hero__grid { grid-template-columns: 1fr; } .bo-illustrasyon { order: 2; } .bo-illustrasyon svg, .bo-illustrasyon img { max-width: 420px; } }
@media (max-width: 575.98px) { .bo-butonlar .bo-btn { flex: 1 1 100%; } .bo-kart { padding: 20px; } }
@media (hover: none) { [data-egim] { transform: none !important; } }
@media (prefers-reduced-motion: reduce) {
  .bo-main *, .bo-main *::before, .bo-main *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-egim] { transform: none !important; }
}
