/* ============================================================
   CATALYST — Base Reset & Typography
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  background: var(--metallic-body);
  background-color: var(--bg-void);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.65;
  min-height: 100vh;
}

/* ── SCROLLBAR ───────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb {
  background: var(--steel-dark);
  border-radius: var(--r-full);
  transition: background var(--t-base);
}
::-webkit-scrollbar-thumb:hover { background: var(--steel-mid); }

/* ── SELECTION ───────────────────────────────────────────────── */
::selection {
  background: rgba(249, 115, 22, 0.25);
  color: var(--text-primary);
}

/* ── HEADINGS ────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

h1 { font-size: var(--fs-5xl); }
h2 { font-size: var(--fs-4xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

/* ── LINKS ───────────────────────────────────────────────────── */
a {
  text-decoration: none;
  color: inherit;
  transition: color var(--t-fast);
}

/* ── MEDIA ───────────────────────────────────────────────────── */
img, video { max-width: 100%; display: block; }

/* ── FORM ELEMENTS ───────────────────────────────────────────── */
button, input, textarea, select {
  font-family: var(--font-sans);
  border: none;
  background: none;
  outline: none;
}

button { cursor: pointer; }
ul { list-style: none; }
p { line-height: 1.72; }

/* ── CONTAINER ───────────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--sp-8);
}

@media (max-width: 768px) {
  .container { padding: 0 var(--sp-5); }
}

/* ── SECTION ─────────────────────────────────────────────────── */
.section {
  padding: var(--sp-24) 0;
  position: relative;
  overflow: hidden;
}

.section--sm { padding: var(--sp-16) 0; }

/* ── SECTION HEADER ──────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: var(--sp-16);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.section-header h2 {
  font-size: var(--fs-4xl);
  margin-bottom: var(--sp-4);
  background: linear-gradient(145deg, #0f172a 0%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  line-height: 1.72;
}

/* ── LABEL / BADGE ───────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--blue-bright);
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.22);
  padding: 5px 14px;
  border-radius: var(--r-full);
  margin-bottom: var(--sp-5);
}

.section-label::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--blue-bright);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

/* ── GRADIENT TEXT UTILITIES ─────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--blue) 0%, var(--mint) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.steel-text {
  background: linear-gradient(145deg, var(--text-primary) 0%, var(--steel-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── DIVIDER ─────────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
  margin: var(--sp-12) 0;
}

/* ── BACKGROUND GLOW ORBS ────────────────────────────────────── */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.glow-orb--blue {
  background: radial-gradient(circle, rgba(249, 115, 22, 0.2) 0%, transparent 70%);
}

.glow-orb--silver {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
}

/* ── VISUALLY HIDDEN ─────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── RESPONSIVE TYPOGRAPHY ───────────────────────────────────── */
@media (max-width: 1024px) {
  h1 { font-size: var(--fs-4xl); }
  h2 { font-size: var(--fs-3xl); }
  .section-header h2 { font-size: var(--fs-3xl); }
}

@media (max-width: 768px) {
  h1 { font-size: var(--fs-3xl); }
  h2 { font-size: var(--fs-2xl); }
  .section { padding: var(--sp-16) 0; }
  .section-header { margin-bottom: var(--sp-10); }
  .section-header h2 { font-size: var(--fs-2xl); }
}

@media (max-width: 480px) {
  h1 { font-size: var(--fs-2xl); }
}
