/* ========================================
   MIDNIGHT STUDIO - DESIGN SYSTEM
   Estilo basado en Linear.app
   ======================================== */

:root {
  /* ================
     COLORS
     ================ */

  /* Backgrounds */
  --color-bg-primary: #000000;
  --color-bg-secondary: #111111;
  --color-bg-tertiary: #1a1a1a;

  /* Text */
  --color-text-primary: #ffffff;
  --color-text-secondary: #a0a0a0;
  --color-text-tertiary: #707070;

  /* Accent */
  --color-accent: #00d9ff;
  --color-accent-dim: rgba(0, 217, 255, 0.1);
  --color-accent-bright: rgba(0, 217, 255, 0.2);

  /* Buttons */
  --color-btn-primary-bg: #ffffff;
  --color-btn-primary-text: #000000;
  --color-btn-secondary-border: rgba(255, 255, 255, 0.1);

  /* Borders */
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-bright: rgba(255, 255, 255, 0.15);


  /* ================
     TYPOGRAPHY
     ================ */

  /* Font Family */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Font Sizes */
  --font-size-hero: 5.5rem;        /* 88px */
  --font-size-h1: 4rem;            /* 64px */
  --font-size-h2: 3rem;            /* 48px */
  --font-size-h3: 2rem;            /* 32px */
  --font-size-h4: 1.5rem;          /* 24px */
  --font-size-body-lg: 1.25rem;    /* 20px */
  --font-size-body: 1.125rem;      /* 18px */
  --font-size-body-sm: 1rem;       /* 16px */
  --font-size-small: 0.875rem;     /* 14px */
  --font-size-tiny: 0.75rem;       /* 12px */

  /* Font Weights */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-heavy: 800;

  /* Line Heights */
  --line-height-tight: 1.1;
  --line-height-snug: 1.3;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.7;

  /* Letter Spacing */
  --letter-spacing-tight: -0.02em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.05em;
  --letter-spacing-wider: 0.1em;


  /* ================
     SPACING
     ================ */

  /* Base spacing unit: 8px */
  --space-1: 0.5rem;    /* 8px */
  --space-2: 1rem;      /* 16px */
  --space-3: 1.5rem;    /* 24px */
  --space-4: 2rem;      /* 32px */
  --space-5: 2.5rem;    /* 40px */
  --space-6: 3rem;      /* 48px */
  --space-8: 4rem;      /* 64px */
  --space-10: 5rem;     /* 80px */
  --space-12: 6rem;     /* 96px */
  --space-15: 7.5rem;   /* 120px */
  --space-20: 10rem;    /* 160px */

  /* Section spacing */
  --section-padding-y: var(--space-15);
  --section-padding-y-mobile: var(--space-10);

  /* Container */
  --container-max-width: 1280px;
  --container-padding: var(--space-4);


  /* ================
     BORDER RADIUS
     ================ */

  --radius-sm: 0.375rem;   /* 6px */
  --radius-md: 0.5rem;     /* 8px */
  --radius-lg: 0.75rem;    /* 12px */
  --radius-xl: 1rem;       /* 16px */
  --radius-2xl: 1.5rem;    /* 24px */
  --radius-full: 9999px;   /* Pill shape */


  /* ================
     TRANSITIONS
     ================ */

  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;


  /* ================
     SHADOWS
     ================ */

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5);


  /* ================
     Z-INDEX
     ================ */

  --z-base: 1;
  --z-dropdown: 10;
  --z-sticky: 100;
  --z-fixed: 200;
  --z-modal: 300;
  --z-tooltip: 400;


  /* ================
     BREAKPOINTS
     (for reference in media queries)
     ================ */

  /* Mobile: < 768px */
  /* Tablet: 768px - 1199px */
  /* Desktop: >= 1200px */
}


/* ================
   RESPONSIVE ADJUSTMENTS
   ================ */

/* Tablet */
@media (max-width: 1199px) {
  :root {
    --font-size-hero: 4rem;        /* 64px */
    --font-size-h1: 3rem;          /* 48px */
    --font-size-h2: 2.5rem;        /* 40px */
    --font-size-h3: 1.75rem;       /* 28px */
  }
}

/* Mobile */
@media (max-width: 767px) {
  :root {
    --font-size-hero: 2.5rem;      /* 40px */
    --font-size-h1: 2rem;          /* 32px */
    --font-size-h2: 1.75rem;       /* 28px */
    --font-size-h3: 1.5rem;        /* 24px */
    --font-size-body-lg: 1.125rem; /* 18px */
    --font-size-body: 1rem;        /* 16px */

    --section-padding-y: var(--space-10);
    --container-padding: var(--space-3);
  }
}
