/* global.css */
body {
  background-color: var(--color-void);
  color: var(--color-chalk);
  font-family: var(--font-body);
  line-height: 1.6;
  margin: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1 {
  font-size: var(--text-hero);
  line-height: 0.95;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  text-transform: none;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.glow-text {
  text-shadow: 0 0 20px var(--color-aqua-glow);
}

:root {
  --container-padding: 80px;
  --section-padding: var(--space-section);
}

@media (max-width: 1200px) {
  :root {
    --text-hero: 10rem;
    --text-6xl: 7rem;
    --text-5xl: 5rem;
    --text-4xl: 3.5rem;
    --text-3xl: 2.5rem;
    --space-section: 160px;
  }
}

@media (max-width: 768px) {
  :root {
    --text-hero: 6rem;
    --container-padding: 32px;
    --text-6xl: 4rem;
    --text-5xl: 3.5rem;
    --text-4xl: 2.5rem;
    --text-3xl: 2rem;
    --text-2xl: 1.5rem;
    --text-xl: 1.25rem;
    --space-section: 100px;
  }
}

@media (max-width: 480px) {
  :root {
    --text-hero: 4rem;
    --container-padding: 20px;
    --text-6xl: 3rem;
    --text-5xl: 2.5rem;
    --text-4xl: 2rem;
    --text-3xl: 1.75rem;
    --space-section: 80px;
  }
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

section {
  padding: var(--space-section) 0;
  position: relative;
}

.text-chalk { color: var(--color-chalk); }
.text-fog { color: var(--color-fog); }
.text-ghost { color: var(--color-ghost); }
.text-aqua { color: var(--color-aqua); }
.text-aqua-dim { color: var(--color-aqua-dim); }

.text-center {
  text-align: center;
}

.mono {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  display: block;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 20px 48px;
  border: 1px solid var(--color-aqua);
  color: var(--color-aqua);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: var(--transition-smooth);
  background: transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.btn-primary:hover {
  background: var(--color-aqua);
  color: var(--color-void);
  box-shadow: 0 0 50px var(--color-aqua-pulse);
  transform: scale(1.02);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 20px 40px;
  color: var(--color-fog);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: var(--transition-fast);
  background: var(--color-white-05);
  border: 1px solid var(--color-white-10);
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--color-white-10);
  color: var(--color-chalk);
  border-color: var(--color-white-20);
}

/* Scroll Progress Bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-aqua);
  z-index: 1000;
  transition: width 0.1s ease-out;
}

/* Custom Cursor */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--color-aqua);
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor-ring {
  width: 32px;
  height: 32px;
  border: 1px solid var(--color-aqua);
  background: rgba(0, 229, 255, 0.2);
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background 0.3s;
}

@media (pointer: coarse) {
  .cursor-dot, .cursor-ring {
    display: none;
  }
}

.cursor-active .cursor-ring {
  width: 48px;
  height: 48px;
  background: rgba(0, 229, 255, 0.3);
}
