/* ═══════════════════════════════════════════════════════════
   PitStop — CSS Global (Variable, Reset, & Base Styles)
   ═══════════════════════════════════════════════════════════ */

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

:root {
  --primary: #4361EE;
  --primary-dark: #3C56D0;
  --primary-light: #eef2ff;
  --accent: #7209b7;
  --bg: #eef2f8;
  --bg-dark: #e2e8f4;
  --white: #ffffff;
  --text-dark: #1F2937;
  --text-body: #334155;
  --text-muted: #64748b;
  --border: #d1d9e6;
  --border-focus: #4361EE;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(67, 97, 238, 0.12);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #EBF1FF;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Section & Container Layouts ── */
.section {
  padding: 100px 0;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

/* ── Page System ─────────────────────────────────────────── */
.page {
  display: none;
  min-height: 100vh;
  animation: pageFadeIn 0.35s ease forwards;
}

.page.active {
  display: block;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Common/Global Buttons ── */
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.85rem 1.75rem;
  border-radius: 5px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition);
  box-shadow: 0 4px 14px rgba(67, 97, 238, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(67, 97, 238, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}