/* ==========================================================================
   BAYİNET — Yeni Tasarım (Royal Blue + Cyan) — en son yüklenen tema katmanı
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap');

:root {
  --by-navy: #0b1f4b;
  --by-navy-2: #12306f;
  --by-blue: #2563eb;
  --by-blue-d: #1d4ed8;
  --by-cyan: #06b6d4;
  --by-cyan-l: #22d3ee;
  --by-paper: #f3f6fc;
  --by-line: #dfe6f3;

  /* vitrin (açık) değişkenleri */
  --bn-bg: #f3f6fc;
  --bn-surface: #ffffff;
  --bn-ink: #0b1633;
  --bn-ink-2: #1c2a4a;
  --bn-muted: #5f6f8c;
  --bn-line: #dfe6f3;
  --bn-brand: #2563eb;
  --bn-brand-d: #1d4ed8;
  --bn-brand-soft: #e3ecff;
  --bn-teal: #0891b2;
  --bn-lime: #a5f3fc;
  --bn-ok: #059669;
  --bn-display: 'Sora', 'Plus Jakarta Sans', system-ui, sans-serif;
  --bn-r: 18px;
  --bn-shadow: 0 1px 2px rgba(11,31,75,.05), 0 10px 28px -14px rgba(11,31,75,.14);
  --bn-shadow-lg: 0 28px 60px -28px rgba(11,31,75,.28);
  --brand: #2563eb;
}

/* Karanlık mod: aynı marka renkleri */
html[data-theme="dark"], html[data-bs-theme="dark"] {
  --nx-bg: #070d1d; --nx-bg-2: #0b1530; --nx-surface: #0f1a38; --nx-surface-2: #14224a; --nx-surface-3: #1a2b5c;
  --nx-line: rgba(147,180,255,.14); --nx-line-2: rgba(147,180,255,.26);
  --nx-brand: #3b82f6; --nx-brand-2: #22d3ee; --nx-brand-d: #2563eb; --nx-lime: #67e8f9;
  --nx-glow: 0 0 0 1px rgba(59,130,246,.34), 0 18px 46px -18px rgba(59,130,246,.45);
  --nx-grad: linear-gradient(135deg,#2563eb 0%,#06b6d4 100%);
  --nx-grad-warm: linear-gradient(135deg,#22d3ee 0%,#3b82f6 100%);
}
html[data-theme="dark"] .bn-brand-main { color:#fff !important; }
html[data-theme="dark"] ::selection { background: rgba(59,130,246,.4); }

h1,h2,h3,h4,.bn-hero h1,.bn-hero-banner h1 { font-family: var(--bn-display) !important; letter-spacing: -.02em; }

/* ---------- Logo ---------- */
.by-logo-mark { display:block; flex:0 0 auto; filter: drop-shadow(0 6px 12px rgba(37,99,235,.28)); }
.bn-brand-name { font-family: var(--bn-display) !important; font-weight: 800 !important; letter-spacing: -.035em !important; }
.bn-brand-name .bn-brand-main { color: var(--by-navy) !important; }
.bn-brand-name .bn-brand-accent { color: var(--by-blue) !important; background: linear-gradient(135deg,#2563eb,#06b6d4); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color: transparent; }

/* ---------- Butonlar ---------- */
.bn-btn-brand, .btn-primary, .auth-btn {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  border: 0 !important; color: #fff !important;
  box-shadow: 0 12px 24px -12px rgba(37,99,235,.7) !important;
}
.bn-btn-brand:hover, .btn-primary:hover, .auth-btn:hover { filter: brightness(1.07); color:#fff !important; }
.btn-outline-primary { color:#2563eb !important; border-color:#2563eb !important; }
.btn-outline-primary:hover { background:#2563eb !important; color:#fff !important; }
.text-primary { color:#2563eb !important; }
.bg-primary { background:#2563eb !important; }
.bn-btn-line:hover { border-color:#2563eb; color:#1d4ed8; }
a { --bs-link-color-rgb: 37,99,235; }
.bn :focus-visible { outline-color: rgba(37,99,235,.4); }

/* ---------- Hero ---------- */
.bn-hero-banner {
  background:
    radial-gradient(700px 320px at 96% -10%, rgba(34,211,238,.34), transparent 62%),
    radial-gradient(520px 300px at 4% 112%, rgba(59,130,246,.38), transparent 62%),
    linear-gradient(135deg, #081634 0%, #0b1f4b 55%, #12306f 100%) !important;
  border: 1px solid rgba(147,180,255,.22) !important;
  box-shadow: 0 24px 54px -24px rgba(8,22,52,.7) !important;
}
.bn-live-tag { background: linear-gradient(135deg,#06b6d4,#2563eb) !important; color:#fff !important; }
.bn-live-dot { background:#22d3ee !important; }

/* ---------- Üst menü & alt menü ---------- */
.bn-nav { background: rgba(255,255,255,.9) !important; }
html[data-theme="dark"] .bn .bn-nav { background: rgba(7,13,29,.82) !important; }
.bn-bottom-nav a.is-active, .bn-bottom-nav a.active { color:#2563eb !important; }
html[data-theme="dark"] .bn-bottom-nav a.is-active, html[data-theme="dark"] .bn-bottom-nav a.active { color:#60a5fa !important; }

/* ---------- Kartlar ---------- */
.card, .product-card { border-color: var(--by-line) !important; border-radius: 16px !important; }
.product-card:hover { border-color:#93b4ff !important; box-shadow: 0 14px 30px -16px rgba(37,99,235,.35) !important; }

/* ---------- Footer ---------- */
.bn-foot { background: linear-gradient(180deg,#0b1f4b 0%,#081634 100%) !important; }

/* ---------- Panel (bayi / admin) ---------- */
.sidebar { border-right:1px solid var(--by-line) !important; }
.sidebar a:hover, .sidebar a.active { background:#e8efff !important; color:#1d4ed8 !important; }
.sidebar a.active { box-shadow: inset 3px 0 0 #2563eb; font-weight:700; }
.topbar-brand span { color:#2563eb !important; }
html[data-bs-theme="dark"] .sidebar a:hover, html[data-bs-theme="dark"] .sidebar a.active { background: rgba(59,130,246,.16) !important; color:#93c5fd !important; }

/* ---------- Giriş / Kayıt ---------- */
.auth-page { background: radial-gradient(900px 420px at 90% -10%, rgba(34,211,238,.28), transparent 60%), linear-gradient(160deg,#081634 0%,#0b1f4b 55%,#12306f 100%) !important; }
.auth-brand span { color:#2563eb !important; }
.auth-card { border-radius: 20px !important; border-color: rgba(147,180,255,.35) !important; box-shadow: 0 24px 60px -24px rgba(8,22,52,.55) !important; }

/* ---------- iyzico görünürlüğü ---------- */
.iyzico-float-circle { box-shadow: 0 10px 28px rgba(30,100,255,.38), 0 0 0 4px rgba(255,255,255,.9) !important; animation: byIyzPulse 2.6s ease-in-out infinite; }
.iyzico-float-circle:hover { transform: scale(1.08) !important; }
@keyframes byIyzPulse { 0%,100% { box-shadow: 0 10px 28px rgba(30,100,255,.38), 0 0 0 4px rgba(255,255,255,.9), 0 0 0 4px rgba(30,100,255,.0); } 50% { box-shadow: 0 10px 28px rgba(30,100,255,.38), 0 0 0 4px rgba(255,255,255,.9), 0 0 0 12px rgba(30,100,255,.16); } }
@media (max-width: 860px) { .iyzico-float-circle { bottom: 92px !important; } }
.bn-foot .bn-foot-grid a[href*="on-bilgilendirme"], .bn-foot .bn-foot-grid a[href*="mesafeli"], .bn-foot .bn-foot-grid a[href*="iade"], .bn-foot .bn-foot-grid a[href*="gizlilik"] { color:#fff !important; font-weight:600; }
.bn-foot [style*="iyzico"] { transform: scale(1.12); transform-origin: left center; }