/* Global Styles - SOLIUS */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@200;400;500;600;700&display=swap');

/* Future Tense Font for logos and headers - TODO: Add font files to /assets/ */
/* @font-face {
  font-family: 'Future Tense';
  src: url('/assets/future-tense.woff2') format('woff2'),
       url('/assets/future-tense.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
} */

/* Color Variables - VISUAL.md Compliant */
:root {
  --color-primary-dark: #00091E;   /* Background / dark navy */
  --color-primary-blue: #555DFF;   /* Main accent blue */
  --color-accent-red: #FF5558;     /* Highlight / warnings */
  --color-white: #FFFFFF;          /* Text / contrast */
}

/* Global Font Family */
* {
  font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Global Reset and Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  color: var(--color-white);
  background-color: var(--color-primary-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-white);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--color-white);
}

/* Links */
a {
  color: var(--color-primary-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #444DEE; /* slightly darker blue */
}

/* Buttons - VISUAL.md Compliant */
button {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  background: var(--color-primary-blue);
  color: var(--color-white);
  border-radius: 8px;
  padding: 12px 24px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.3s ease;
}

button:hover {
  background: #444DEE; /* slightly darker blue */
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-light { font-weight: 200; } /* ExtraLight */
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* Future Tense Headers - with Archivo fallback */
h1, h2, .logo-text, .brand-header {
  font-family: 'Archivo', sans-serif; /* Future Tense font files needed */
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
}

/* ===== CUSTOM SCROLLBARS - DARK THEME ===== */

/* Webkit Scrollbars (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(85, 93, 255, 0.05);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: rgba(85, 93, 255, 0.2);
  border-radius: 4px;
  transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(85, 93, 255, 0.3);
}

::-webkit-scrollbar-thumb:active {
  background: var(--color-primary-blue);
}

::-webkit-scrollbar-corner {
  background: rgba(85, 93, 255, 0.05);
}

/* Firefox Scrollbars */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(85, 93, 255, 0.2) rgba(85, 93, 255, 0.05);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }

  /* Smaller scrollbars on mobile */
  ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }
}
