/* ============================================================
   QT Website — base.css
   Design tokens, reset, and shared primitives.
   Loaded before theme.css so component rules can build on this.
   ============================================================ */

/* ---------- Custom Properties ---------- */
:root {
  /* Colors */
  --color-base: #0a1628;
  --color-dark: #061524;
  --color-navy: #003876;
  --color-navy-deep: #1F3864;
  --color-cyan: #06C9FF;
  --color-cyan-dim: rgba(6, 201, 255, 0.15);
  --color-sky: #4A9EFF;
  --color-white: #ffffff;
  --color-gray-100: #f0f4f8;
  --color-gray-300: #94a3b8;
  --color-gray-400: #64748b;
  --color-gray-500: #475569;
  --color-gray-800: #1e293b;
  --color-text: #cbd5e1;
  --color-text-muted: #94a3b8;
  --color-border: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-body: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-accent: 'Orbitron', var(--font-body);
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 2rem;
  --fs-4xl: 2.75rem;
  --fs-5xl: 3.5rem;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-section: 5rem;

  /* Layout */
  --container-max: 1200px;
  --container-px: 1.5rem;
  --header-h: 80px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration: 0.3s;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  scroll-snap-type: y proximity;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-cyan);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

a:hover {
  color: var(--color-white);
}

ul, ol {
  list-style: none;
}

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

address {
  font-style: normal;
}

/* ---------- Shared Components ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.section {
  position: relative;
  padding: var(--space-section) 0;
  overflow: hidden;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-snap-align: start;
}

.section--dark {
  background-color: var(--color-dark);
}

.section--navy {
  background-color: var(--color-navy);
}

.section--black {
  background-color: var(--color-base);
}

.section__label {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-cyan);
  margin-bottom: var(--space-sm);
}

.section__title {
  font-size: var(--fs-3xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
  max-width: 720px;
}

.section__subtitle {
  font-size: var(--fs-lg);
  color: var(--color-text-muted);
  max-width: 680px;
  margin-bottom: var(--space-2xl);
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  text-align: center;
  line-height: 1.4;
}

.btn--primary {
  background-color: var(--color-cyan);
  color: var(--color-base);
  border-color: var(--color-cyan);
}

.btn--primary:hover {
  background-color: transparent;
  color: var(--color-cyan);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--outline:hover {
  border-color: var(--color-cyan);
  color: var(--color-cyan);
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: var(--fs-sm);
}

