/* ============================================================
   base.css — Global typography, body, animated background
   ============================================================ */
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: var(--text-base);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- Typography ---- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--color-text);
}
h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 600;
}
p {
  color: var(--color-text-secondary);
  line-height: 1.6;
}
strong { font-weight: 600; }

/* ---- Links ---- */
a { transition: color var(--duration-fast) ease; }

/* ---- Selections ---- */
::selection {
  background: rgba(124,92,252,0.3);
  color: var(--color-text);
}

/* ---- Scroll progress bar ---- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-text));
  z-index: calc(var(--z-nav) + 1);
  pointer-events: none;
}

/* ============================================================
   BACKGROUND — Subtle dot grid texture
   ============================================================ */
.bg-ambient { display: none; }
.bg-orb { display: none; }


/* ---- Container utility ---- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ---- Section utility ---- */
.section {
  position: relative;
  z-index: var(--z-base);
  padding: var(--space-section) 0;
}

/* ---- Section label ---- */
.section-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
}

/* ---- Section glow ---- */
.section-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s ease;
  z-index: -1;
}
.section-glow.visible { opacity: 1; }

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--color-text);
  color: var(--color-bg);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease;
  letter-spacing: -0.01em;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(255,255,255,0.12);
}
.btn-primary svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-hover);
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.2);
}
