/* ==========================================================================
   B2B SİSTEMİ - YENİ NESİL TASARIM SİSTEMİ (DESIGN SYSTEM)
   Kurumsal Renkler, Tipografi, Cam Efektleri, Responsive Grid ve Mikro Animasyonlar
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
    /* --- B2B KURUMSAL RENK PALETİ (PREMIUM ROYAL BLUE) --- */
  --b2b-blue: #196cb3;
  --b2b-blue-hover: #13558d;
  --b2b-blue-dark: #0b3a61;
  --b2b-blue-light: #e8f3fc;
  --b2b-blue-glow: rgba(25, 108, 179, 0.35);

  --b2b-primary: #196cb3;
  --b2b-primary-hover: #13558d;
  --b2b-primary-dark: #0b3a61;
  --b2b-primary-light: #e8f3fc;
  --b2b-primary-glow: rgba(25, 108, 179, 0.35);

  /* Derin Kurumsal Lacivert & Gece Zeminleri (Premium Lacivert) */
  --b2b-navy: #0e3760;
  --b2b-navy-deep: #0a2948;
  --b2b-navy-surface: #154c82;
  --b2b-navy-border: #1e5a96;
  --b2b-navy-muted: #94a3b8;

  /* Parlak Safir & Siyan Vurgu */
  --b2b-sapphire: #0284c7;
  --b2b-sapphire-hover: #0369a1;
  --b2b-sapphire-light: #f0f9ff;
  --b2b-cyan: #38bdf8;
  --b2b-cyan-glow: rgba(56, 189, 248, 0.4);

  --brand-blue: #196cb3;
  --brand-blue-hover: #13558d;
  --brand-blue-light: #e8f3fc;
  --brand-blue-glow: rgba(25, 108, 179, 0.3);

  /* Lüks Altın & VIP İskonto Vurguları */
  --b2b-gold: #f59e0b;
  --b2b-gold-hover: #d97706;
  --b2b-gold-light: #fef3c7;
  --b2b-gold-glow: rgba(245, 158, 11, 0.35);

  /* Legacy Backward Compatibility Aliases */

  --accent-amber: #f59e0b;
  --accent-amber-hover: #d97706;
  --accent-amber-light: #fef3c7;
  --accent-amber-glow: rgba(245, 158, 11, 0.3);

  --accent-orange: #ea580c;
  --accent-orange-light: #fff7ed;

  /* Durum Renkleri (Semantic) */
  --success: #059669;
  --success-hover: #047857;
  --success-light: #ecfdf5;
  --success-border: #a7f3d0;

  --warning: #d97706;
  --warning-light: #fffbeb;
  --warning-border: #fde68a;

  --danger: #dc2626;
  --danger-light: #fef2f2;
  --danger-border: #fecaca;

  --info: #0284c7;
  --info-light: #f0f9ff;
  --info-border: #bae6fd;

  /* Zemin ve Yüzeyler */
  --bg-app: #f8fafc;
  --bg-card: #ffffff;
  --bg-surface: #f1f5f9;
  --bg-surface-hover: #e2e8f0;

  /* Metin Renkleri */
  --text-main: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-inverse: #ffffff;

  /* Kenarlıklar */
  --border-light: #e2e8f0;
  --border-subtle: #f1f5f9;
  --border-focus: #196cb3;
  --border-brand: #cbd5e1;

  /* Glassmorphism & Cam Efektleri */
  --glass-bg: rgba(255, 255, 255, 0.92);
  --glass-bg-dark: rgba(11, 25, 44, 0.94);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-border-dark: rgba(56, 189, 248, 0.15);
  --glass-shadow: 0 8px 32px 0 rgba(11, 25, 44, 0.12);
  --backdrop-blur: blur(14px);

  /* Gölgeler (Shadows) */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.08), 0 1px 2px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-b2b: 0 10px 25px -5px rgba(25, 108, 179, 0.35);
  --shadow-b2b-old: 0 10px 25px -5px rgba(25, 108, 179, 0.35);
  --shadow-b2b-gold: 0 10px 25px -5px rgba(245, 158, 11, 0.35);
  --shadow-b2b-gold-old: 0 10px 25px -5px rgba(245, 158, 11, 0.35);
  --shadow-drawer: -10px 0 30px rgba(0, 0, 0, 0.2);

  /* Köşe Yuvarlama (Radii) */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-full: 9999px;

  /* Geçişler (Transitions) */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Tipografi */
  --font-family-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-heading: 'Outfit', 'Inter', -apple-system, sans-serif;
}

/* --- RESET & TEMEL STİLLER --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family-body);
  background-color: var(--bg-app);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  font-weight: 700;
  color: var(--b2b-navy);
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  transition: all var(--transition-fast);
}

ul, ol {
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

/* --- ÖZEL SCROLLBAR --- */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* --- GENEL KAPSAYICI (CONTAINER) --- */
.container {
  width: 96%;
  max-width: 1820px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* --- ROZETLER (BADGES) --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-full);
  line-height: 1.2;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.badge-b2b,
.badge-b2b {
  background: var(--b2b-blue-light);
  color: var(--b2b-blue);
  border: 1px solid rgba(25, 108, 179, 0.25);
}

.badge-gold {
  background: var(--b2b-gold-light);
  color: var(--b2b-gold-hover);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.badge-success {
  background: var(--success-light);
  color: var(--success);
  border: 1px solid var(--success-border);
}

.badge-warning {
  background: var(--warning-light);
  color: var(--warning);
  border: 1px solid var(--warning-border);
}

.badge-danger {
  background: var(--danger-light);
  color: var(--danger);
  border: 1px solid var(--danger-border);
}

.badge-brand {
  background: var(--b2b-blue-light);
  color: var(--b2b-blue);
  border: 1px solid rgba(25, 108, 179, 0.25);
}

.badge-amber {
  background: var(--accent-amber-light);
  color: var(--accent-amber-hover);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-neutral {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

/* --- MÜŞTERİ MODU (GİZLİLİK KALKANI) --- */
body.customer-mode .dealer-only {
  display: none !important;
}

body.customer-mode .customer-mode-mask {
  filter: blur(5px);
  user-select: none;
  pointer-events: none;
}

body.customer-mode .customer-mode-active-indicator {
  display: inline-flex !important;
}

/* --- ANİMASYONLAR --- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(25, 108, 179, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(25, 108, 179, 0); }
}

@keyframes pulseGlowGold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.45); }
  50% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
}

@keyframes laserScan {
  0% { top: 8%; opacity: 0.9; }
  50% { top: 92%; opacity: 1; }
  100% { top: 8%; opacity: 0.9; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-fade-in {
  animation: fadeIn 0.3s ease forwards;
}

.animate-pulse {
  animation: pulseGlow 2s infinite;
}
