/* ── CSS VARIABLES & RESET ── */
:root {
  --bg: #060d1a;
  --bg2: #080f1e;
  --surface: #0c1525;
  --border: #112036;
  --border2: #1a3050;
  --text: #d8e8f8;
  --muted: #5a7a9a;
  --dim: #2a4060;
  --accent: #4fc3f7;
  --accent2: #f77f4f;
  --accent3: #4ff7b0;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lora', Georgia, serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* ── CANVAS ── */
#stars-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── SHARED SECTION STYLES ── */
section {
  position: relative;
  z-index: 1;
  padding: 7rem 10rem;
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 2rem;
  margin-bottom: 4rem;
}

.section-tag {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.section-line {
  flex: 1;
  height: 1px;
  background: var(--border);
  align-self: center;
}

/* ── FADE-IN ANIMATION ── */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* ── KEYFRAMES ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: 0.3; }
  50%       { transform: translateY(7px); opacity: 1; }
}
@keyframes barGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ── RESPONSIVE BASE ── */
@media (max-width: 1024px) { section { padding: 5rem 4rem; } }
@media (max-width: 768px)  { section { padding: 4rem 1.5rem; } }
