/**
 * variables.css — Design tokens (Apple HIG Light Theme)
 *
 * Apple Design Language: temiz, minimal, bol beyaz alan,
 * SF Pro tipografi hissi, yumusak golgeler, buyuk radius'lu koseler.
 */

:root {
  /* Colors - Apple HIG Light Theme */
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #f5f5f7;
  --color-bg-tertiary: #e8e8ed;
  --color-bg-input: #f5f5f7;
  --color-bg-hover: #f0f0f5;
  --color-bg-overlay: rgba(0, 0, 0, 0.4);

  --color-text-primary: #1d1d1f;
  --color-text-secondary: #86868b;
  --color-text-tertiary: #aeaeb2;
  --color-text-placeholder: #c7c7cc;

  --color-brand-primary: #007AFF;
  --color-brand-hover: #0066d6;
  --color-brand-light: rgba(0, 122, 255, 0.08);
  --color-brand-subtle: rgba(0, 122, 255, 0.12);

  --color-error: #FF3B30;
  --color-error-bg: rgba(255, 59, 48, 0.08);
  --color-success: #34C759;
  --color-success-bg: rgba(52, 199, 89, 0.08);
  --color-warning: #FF9500;
  --color-warning-bg: rgba(255, 149, 0, 0.08);
  --color-info: #5AC8FA;
  --color-info-bg: rgba(90, 200, 250, 0.08);

  --color-border: #d2d2d7;
  --color-border-light: #e5e5ea;
  --color-border-focus: #007AFF;

  --color-card-bg: #ffffff;
  --color-card-border: rgba(0, 0, 0, 0.04);

  /* Typography - SF Pro feel */
  --font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', 'Inter', sans-serif;
  --font-family-mono: 'SF Mono', 'Menlo', 'Monaco', 'Courier New', monospace;
  --font-size-xs: 0.6875rem;  /* 11px */
  --font-size-sm: 0.8125rem;  /* 13px */
  --font-size-base: 0.9375rem; /* 15px */
  --font-size-md: 1rem;        /* 16px */
  --font-size-lg: 1.0625rem;  /* 17px */
  --font-size-xl: 1.25rem;    /* 20px */
  --font-size-2xl: 1.5rem;    /* 24px */
  --font-size-3xl: 2rem;      /* 32px */
  --font-size-4xl: 2.5rem;    /* 40px */

  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  --line-height-tight: 1.2;
  --line-height-base: 1.47;
  --line-height-relaxed: 1.6;

  --letter-spacing-tight: -0.022em;
  --letter-spacing-base: -0.01em;

  /* Spacing - generous, Apple-like */
  --space-xs: 0.25rem;   /* 4px */
  --space-sm: 0.5rem;    /* 8px */
  --space-md: 1rem;      /* 16px */
  --space-lg: 1.5rem;    /* 24px */
  --space-xl: 2rem;      /* 32px */
  --space-2xl: 3rem;     /* 48px */
  --space-3xl: 4rem;     /* 64px */

  /* Border Radius - large, rounded Apple style */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadows - subtle, layered Apple style */
  --shadow-xs: 0 0.5px 1px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 0.5px 1px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 8px 28px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16), 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 1px 4px rgba(0, 0, 0, 0.06), 0 0 1px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 4px 16px rgba(0, 0, 0, 0.1), 0 1px 4px rgba(0, 0, 0, 0.06);
  --shadow-panel: 0 8px 32px rgba(0, 0, 0, 0.14), 0 2px 8px rgba(0, 0, 0, 0.06);

  /* Transitions - smooth Apple-like */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition-spring: 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --transition-panel: 400ms cubic-bezier(0.32, 0.72, 0, 1);

  /* Z-Index scale */
  --z-base: 0;
  --z-card: 1;
  --z-panel: 100;
  --z-overlay: 200;
  --z-modal: 300;
  --z-toast: 400;

  /* Layout */
  --content-max-width: 1200px;
  --sidebar-width: 280px;
  --topbar-height: 56px;
  --panel-width: 50%;
}
