/* ALLMIND — Main Styles
   Gold (#C5A55A) / Cream (#FAF7F2) / Dark (#0A0A0A) */

:root {
  --gold: #C5A55A;
  --gold-light: #D4B86A;
  --gold-dim: #8B7332;
  --cream: #FAF7F2;
  --cream-alpha: rgba(250, 247, 242, 0.82);
  --dark: #0A0A0A;
  --font-sans: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  font-family: var(--font-sans);
  color: var(--dark);
  overflow-x: hidden;
}

/* Canvas behind everything */
canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
}

/* Scrollable content overlay */
.content-scroll {
  position: relative;
  z-index: 1;
}

/* Section spacing */
.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}

/* Glass panel base */
.glass-panel {
  background: var(--cream-alpha);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid rgba(197, 165, 90, 0.2);
  border-radius: 2px;
  padding: 56px 64px;
  max-width: 720px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}

/* Hero panel */
.glass-hero {
  max-width: 800px;
  text-align: center;
  padding: 80px 64px;
}

/* Labels */
.label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 24px;
}

/* Typography */
h1.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(56px, 10vw, 96px);
  font-weight: 700;
  letter-spacing: 12px;
  color: var(--dark);
  margin-bottom: 24px;
  line-height: 1;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(10, 10, 10, 0.65);
  margin-bottom: 32px;
  font-weight: 300;
}

.hero-line {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 32px;
}

.hero-tagline {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold-dim);
  letter-spacing: 1px;
}

h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.body-text {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(10, 10, 10, 0.7);
  margin-bottom: 20px;
  font-weight: 300;
}

.body-text:last-child {
  margin-bottom: 0;
}

/* Stats */
.glass-stats {
  max-width: 800px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 32px;
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 500;
  color: var(--gold);
  display: block;
  line-height: 1.2;
}

.stat-suffix {
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 500;
  color: var(--gold);
}

.stat-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-top: 8px;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 32px;
}

.value-card {
  padding: 24px;
  border: 1px solid rgba(197, 165, 90, 0.15);
  border-radius: 2px;
  transition: border-color 0.3s ease;
}

.value-card:hover {
  border-color: var(--gold);
}

.value-icon {
  font-size: 20px;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}

.value-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.value-card p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(10, 10, 10, 0.6);
  font-weight: 300;
}

/* Manifesto */
.manifesto-end {
  margin-top: 40px;
  text-align: center;
}

.blink-cursor {
  color: var(--gold);
  font-size: 24px;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal[data-direction="left"] {
  transform: translateX(-60px);
}

.reveal[data-direction="right"] {
  transform: translateX(60px);
}

.reveal[data-direction="up"] {
  transform: translateY(60px);
}

.reveal.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Responsive */
@media (max-width: 768px) {
  .glass-panel {
    padding: 40px 32px;
  }

  .glass-hero {
    padding: 60px 32px;
  }

  h1.hero-title {
    letter-spacing: 6px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }
}
