/* ==========================================================
   BASE.CSS — Design Tokens, Reset, Typography
   Alfredo Limson Portfolio V2
   ========================================================== */

/* ----------------------------------------------------------
   DESIGN TOKENS
   ---------------------------------------------------------- */
:root {
  /* Colors */
  --color-bg:          #000000;
  --color-bg-card:     #0a0a0a;
  --color-bg-elevated: #111111;
  --color-border:      rgba(255, 255, 255, 0.07);
  --color-accent:      #00ffff;
  --color-accent-dim:  rgba(0, 255, 255, 0.08);
  --color-accent-glow: rgba(0, 255, 255, 0.25);

  /* Text */
  --color-text:        #f8fafc;
  --color-text-muted:  #94a3b8;
  --color-text-dim:    #64748b;

  /* Typography */
  --font-main:         'DM Sans', sans-serif;

  /* Font sizes */
  --text-xs:    0.75rem;
  --text-sm:    0.875rem;
  --text-base:  1rem;
  --text-lg:    1.125rem;
  --text-xl:    1.25rem;
  --text-2xl:   1.5rem;
  --text-3xl:   1.875rem;
  --text-4xl:   2.25rem;

  /* Spacing */
  --space-1:    0.25rem;
  --space-2:    0.5rem;
  --space-3:    0.75rem;
  --space-4:    1rem;
  --space-5:    1.25rem;
  --space-6:    1.5rem;
  --space-8:    2rem;
  --space-10:   2.5rem;
  --space-12:   3rem;
  --space-16:   4rem;
  --space-20:   5rem;
  --space-24:   6rem;

  /* Border radius */
  --radius-sm:  0.5rem;
  --radius-md:  0.75rem;
  --radius-lg:  1rem;
  --radius-xl:  1.25rem;
  --radius-full: 999px;

  /* Shadows */
  --shadow-glow:    0 0 20px rgba(0, 255, 255, 0.2);
  --shadow-glow-lg: 0 0 40px rgba(0, 255, 255, 0.4);
  --shadow-card:    0 4px 24px rgba(0, 0, 0, 0.4);

  /* Transitions */
  --transition:     all 0.3s ease;
  --transition-fast: all 0.15s ease;
  --transition-slow: all 0.5s ease;

  /* Layout */
  --container-max:  1240px;
  --container-pad:  2rem;
}

/* ----------------------------------------------------------
   RESET
   ---------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: var(--font-main);
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* ----------------------------------------------------------
   TYPOGRAPHY
   ---------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  line-height: 1.2;
  font-weight: 700;
}

p {
  line-height: 1.7;
}

/* ----------------------------------------------------------
   SCROLLBAR
   ---------------------------------------------------------- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #000;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 255, 0.3);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 255, 255, 0.5);
}

/* ----------------------------------------------------------
   SELECTION
   ---------------------------------------------------------- */
::selection {
  background: rgba(0, 255, 255, 0.2);
  color: #fff;
}

/* ----------------------------------------------------------
   FOCUS
   ---------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}