/* ============================================
   BASE STYLES
   Reset, Variables, Typography
   ============================================ */

@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");

@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/InterTight-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/InterTight-Medium.ttf') format('truetype');
}

@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/InterTight-SemiBold.ttf') format('truetype');
}

@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/InterTight-Bold.ttf') format('truetype');
}

/* CSS Variables */
:root {
  /* Colors */
  --color-white: rgba(255, 255, 255, 1);
  --color-white-50: rgba(255, 255, 255, 0.5);
  --color-white-25: rgba(255, 255, 255, 0.25);
  --color-black: rgba(5, 5, 5, 1);
  --color-divider: rgba(255, 255, 255, 0.2);

  /* Typography */
  --font-family: "Inter Tight", Helvetica, sans-serif;
  
  /* Headings */
  --h1-font-weight: 600;
  --h1-font-size: 32px;
  --h1-letter-spacing: 0;
  --h1-line-height: 1.4;
  
  --h2-font-weight: 600;
  --h2-font-size: 26px;
  --h2-letter-spacing: 0;
  --h2-line-height: 1.4;
  
  --h3-font-weight: 600;
  --h3-font-size: 20px;
  --h3-letter-spacing: 0;
  --h3-line-height: 1.6;
  
  /* Title (for project names, etc.) */
  --title-font-weight: 600;
  --title-font-size: 18px;
  --title-letter-spacing: 0;
  --title-line-height: 1;
  
  /* Paragraph */
  --paragraph-font-weight: 400;
  --paragraph-font-size: 16px;
  --paragraph-letter-spacing: 0;
  --paragraph-line-height: 1.8;
  
  /* Small text */
  --text-small-font-weight: 500;
  --text-small-font-size: 14px;
  --text-small-letter-spacing: 0;
  --text-small-line-height: 1.6;

  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --spacing-2xl: 84px;
  --spacing-3xl: 112px;
  --spacing-4xl: 124px;

  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 24px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
}

/* Legacy variable support (for gradual migration) */
:root {
  --white: var(--color-white);
  --opacity-white-50: var(--color-white-50);
  --opacity-white-25: var(--color-white-25);
  --black: var(--color-black);
  --h1-font-family: var(--font-family);
  --h1-font-weight: var(--h1-font-weight);
  --h1-font-size: var(--h1-font-size);
  --h1-letter-spacing: var(--h1-letter-spacing);
  --h1-line-height: var(--h1-line-height);
  --h1-font-style: normal;
  --h2-font-family: var(--font-family);
  --h2-font-weight: var(--h2-font-weight);
  --h2-font-size: var(--h2-font-size);
  --h2-letter-spacing: var(--h2-letter-spacing);
  --h2-line-height: var(--h2-line-height);
  --h2-font-style: normal;
  --h3-font-family: var(--font-family);
  --h3-font-weight: var(--h3-font-weight);
  --h3-font-size: var(--h3-font-size);
  --h3-letter-spacing: var(--h3-letter-spacing);
  --h3-line-height: var(--h3-line-height);
  --h3-font-style: normal;
  --title-font-family: var(--font-family);
  --title-font-weight: var(--title-font-weight);
  --title-font-size: var(--title-font-size);
  --title-letter-spacing: var(--title-letter-spacing);
  --title-line-height: var(--title-line-height);
  --title-font-style: normal;
  --paragraph-font-family: var(--font-family);
  --paragraph-font-weight: var(--paragraph-font-weight);
  --paragraph-font-size: var(--paragraph-font-size);
  --paragraph-letter-spacing: var(--paragraph-letter-spacing);
  --paragraph-line-height: var(--paragraph-line-height);
  --paragraph-font-style: normal;
  --paragraph-small-font-family: var(--font-family);
  --paragraph-small-font-weight: var(--text-small-font-weight);
  --paragraph-small-font-size: var(--text-small-font-size);
  --paragraph-small-letter-spacing: var(--text-small-letter-spacing);
  --paragraph-small-line-height: var(--text-small-line-height);
  --paragraph-small-font-style: normal;
}

/* Base Reset */
* {
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  background-color: var(--color-black);
}

html {
  font-family: var(--font-family);
}

/* Typography */
h1, .h1 {
  font-family: var(--font-family);
  font-weight: var(--h1-font-weight);
  font-size: var(--h1-font-size);
  letter-spacing: var(--h1-letter-spacing);
  line-height: var(--h1-line-height);
  color: var(--color-white);
  margin: 0;
}

h2, .h2 {
  font-family: var(--font-family);
  font-weight: var(--h2-font-weight);
  font-size: var(--h2-font-size);
  letter-spacing: var(--h2-letter-spacing);
  line-height: var(--h2-line-height);
  color: var(--color-white);
  margin: 0;
}

h3, .h3 {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0;
  line-height: 1.6;
  color: var(--color-white);
  margin: 0;
}

p {
  font-family: var(--font-family);
  font-weight: var(--paragraph-font-weight);
  font-size: var(--paragraph-font-size);
  letter-spacing: var(--paragraph-letter-spacing);
  line-height: var(--paragraph-line-height);
  color: var(--color-white-50);
  margin: 0;
}

/* Links */
a {
  text-decoration: none;
  color: var(--color-white-50);
  transition: color var(--transition-base), transform var(--transition-fast);
}

a:hover {
  cursor: pointer;
  color: var(--color-white);
  transform: scale(0.98);
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

/* Videos */
video {
  border-radius: var(--radius-md);
}

/* Dividers */
hr {
  border: none;
  background-color: var(--color-divider);
  width: 100%;
  height: 0.5px;
  margin: 0;
}

