/* ================= VR QA ACADEMY BRAND THEME ================= */

:root {
  /* ===== BRAND COLORS ===== */
  --brand-blue: #2563eb;
  --brand-blue-dark: #1e40af;
  --brand-cyan: #0ea5e9;
  --brand-orange: #f97316;

  /* ===== DARK THEME (DEFAULT) ===== */
  --bg: #0b1220;
  --surface: #0f172a;
  --card: rgba(255,255,255,0.08);
  --text: #e6edf3;
  --muted: #94a3b8;
  --border: rgba(255,255,255,0.14);

  /* ===== SEMANTIC ===== */
  --primary: var(--brand-blue);
  --primary-2: var(--brand-cyan);
  --accent: var(--brand-orange);

  --success: #22c55e;
  --danger: #ef4444;
  --warning: #f59e0b;

  /* ===== SHADOWS ===== */
  --shadow-1: 0 10px 30px rgba(0,0,0,.35);
  --shadow-2: inset 0 1px 0 rgba(255,255,255,.12), 0 12px 25px rgba(0,0,0,.25);

  /* ===== RADIUS ===== */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;

  /* ===== SPACING ===== */
  --sp-1: 6px;
  --sp-2: 10px;
  --sp-3: 14px;
  --sp-4: 18px;
  --sp-5: 22px;

  /* ===== FONTS ===== */
  --font: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  --mono: ui-monospace, Consolas, monospace;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background: rgba(37,99,235,0.4);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(37,99,235,0.7);
}

::selection {
  background: rgba(249,115,22,0.35);
  color: #fff;
}

/* ================= LIGHT MODE ================= */

@media (prefers-color-scheme: light){
  :root {
    --bg: #f4f7fb;
    --surface: #eef3f9;
    --card: #ffffff;
    --text: #0b2c55;
    --muted: #475569;
    --border: rgba(15,23,42,0.12);

    --shadow-1: 0 10px 24px rgba(30,64,175,.15);
  }
}

/* ================= RESET ================= */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: linear-gradient(180deg, var(--bg), var(--surface));
  -webkit-font-smoothing: antialiased;
}

/* ================= HELPERS ================= */

.kbd {
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--accent);
}

.hidden { display: none !important; }

/* ================= GLOBAL MOBILE FIX ================= */
* {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
}
