/* ============================================
   PrepX - base.css
   Theme colors, fonts, and basic reset
   ============================================ */

/* 1. THEME COLORS (change here, the whole site changes) */
:root {
  /* Backgrounds (from logo's navy) */
  --bg: #05060f;
  --bg-soft: #0b0d1c;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.10);
  --border: rgba(255, 255, 255, 0.12);

  /* Text */
  --text: #f5f6fa;
  --text-muted: #a8adc4;

  /* Accent colors (amber from lamp + yellow/blue from logo) */
  --amber: #ffb347;
  --orange: #ff8c1a;
  --yellow: #fbbf24;
  --blue: #2f7bf5;
  --green: #10b981;
  --red: #ef4444;

  /* Gradients */
  --grad-main: linear-gradient(135deg, #ffb347, #ff8c1a);
  --grad-success: linear-gradient(135deg, #34d399, #10b981);

  /* Shape and spacing */
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  --glow: 0 0 40px rgba(255, 179, 71, 0.25);

  /* Layout */
  --container: 1180px;
  --nav-height: 70px;
}

/* 2. RESET */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
video,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* 3. TEXT STYLES */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { color: var(--text-muted); }

/* Gradient text for highlighted words */
.text-gradient {
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 4. LAYOUT HELPERS */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title p {
  margin-top: 10px;
}

/* 5. ACCESSIBILITY */
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

/* Hidden but readable by screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: #2a2e4a;
  border-radius: 10px;
}
[hidden] { display: none !important; }