/* ============================================
   BASE STYLES - Fonts, Global Resets, App
   ============================================ */

/* Fonts */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100;
  src: url('../fonts/Outfit-Thin.ttf') format('truetype');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/Outfit-ExtraLight.ttf') format('truetype');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/Outfit-Light.ttf') format('truetype');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/Outfit-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/Outfit-Medium.ttf') format('truetype');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/Outfit-SemiBold.ttf') format('truetype');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/Outfit-Bold.ttf') format('truetype');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/Outfit-ExtraBold.ttf') format('truetype');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/Outfit-Black.ttf') format('truetype');
}

/* Global base styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Application root */
#app {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Hide landing page when in call mode */
body.in-call #landing-page {
  display: none !important;
}

/* Show call page when in call mode */
body.in-call #call-page {
  display: flex !important;
}

/* Show landing page when NOT in call mode */
body:not(.in-call) #landing-page {
  display: flex !important;
}

/* Hide call page when NOT in call mode */
body:not(.in-call) #call-page {
  display: none !important;
}