/* ============================================================
   UMAER ISLAM — Design System
   Primary: #000000 | Accent: #B9DAFF | Surface: #0A0A0A
   Font: Inter (Google Fonts)
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-black:       #000000;
  --color-surface:     #0A0A0A;
  --color-surface-2:   #111111;
  --color-surface-3:   #161616;
  --color-border:      #1E1E1E;
  --color-border-2:    #2A2A2A;
  --color-white:       #FFFFFF;
  --color-text:        #E8E8E8;
  --color-text-2:      #999999;
  --color-text-3:      #555555;
  --color-accent:      #B9DAFF;
  --color-accent-dim:  rgba(185, 218, 255, 0.12);
  --color-accent-glow: rgba(185, 218, 255, 0.06);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.5);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.6);

  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  --container: 1100px;
  --container-narrow: 720px;
  --nav-height: 68px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--color-black);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: var(--font-sans);
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ============================================================
   SCROLL BAR
   ============================================================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-black);
}

::-webkit-scrollbar-thumb {
  background: var(--color-border-2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-3);
}

/* ============================================================
   SELECTION
   ============================================================ */
::selection {
  background: rgba(185,218,255,0.2);
  color: var(--color-white);
}

/* ============================================================
   FOCUS VISIBLE
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
