:root {
  --imo-black: #111827;
  --imo-white: #ffffff;
  --imo-gray-50: #f9fafb;
  --imo-gray-100: #f3f4f6;
  --imo-gray-200: #e5e7eb;
  --imo-gray-300: #d1d5db;
  --imo-gray-400: #9ca3af;
  --imo-gray-500: #6b7280;
  --imo-gray-600: #4b5563;
  --imo-gray-700: #374151;
  --imo-gray-800: #1f2937;
  --imo-gray-900: #111827;

  --imo-bg: #ffffff;
  --imo-bg-alt: #f8fafc;
  --imo-bg-card: #ffffff;
  --imo-text: #1e293b;
  --imo-text-secondary: #475569;
  --imo-text-light: #64748b;
  --imo-text-on-card: #1e293b;
  --imo-text-on-card-secondary: #475569;
  --imo-border: #e2e8f0;
  --imo-border-light: #f1f5f9;

  /* Premium renk paleti */
  --imo-primary: #1a1a2e;
  --imo-primary-dark: #0f0f1e;
  --imo-primary-light: #2d2d4a;
  --imo-primary-rgb: 26, 26, 46;
  --imo-accent: #3b82f6;
  --imo-accent-light: #60a5fa;
  --imo-accent-rgb: 59, 130, 246;
  --imo-success: #059669;
  --imo-danger: #dc2626;
  --imo-warning: #d97706;
  --imo-info: #0ea5e9;

  /* Daha yumuşak köşeler */
  --imo-radius: 0.75rem;
  --imo-radius-sm: 0.5rem;
  --imo-radius-lg: 1rem;
  --imo-radius-xl: 1.25rem;
  --imo-radius-full: 9999px;

  /* Daha derin, katmanlı gölgeler */
  --imo-shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --imo-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.08);
  --imo-shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --imo-shadow-lg: 0 10px 30px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.05);
  --imo-shadow-xl: 0 20px 50px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.06);

  --imo-font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --imo-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --imo-transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --imo-transition-slow: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* TANK-GİBİ KORUMA: Sınır taşmalarını engeller */
body, p, h1, h2, h3, h4, h5, h6, span, a, div, td, th, li, button {
  overflow-wrap: break-word !important;
  word-wrap: break-word !important;
  word-break: break-word !important;
}

body {
  font-family: var(--imo-font-sans);
  color: var(--imo-text);
  background: var(--imo-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  margin: 0;
  letter-spacing: -0.01em;
}

body > nav ~ * { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: var(--imo-text); transition: var(--imo-transition-fast); }
a:hover { color: var(--imo-accent); }
::selection { background: var(--imo-primary); color: #fff; }

/* Smooth scroll target offset for sticky navbar */
[id] { scroll-margin-top: 80px; }
