/* ================================
   Global CSS Reset & Base Styles
   ================================ */

/* Box sizing reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* HTML & Body */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

/* ================================
   Product Sans Font Faces
   ================================ */
/* ================================
   Roobert (Trial) Font Faces
   Path: ./assets/fonts/roobert
   ================================ */

@font-face {
  font-family: "Roobert";
  src: url("./assets/fonts/roobert/RoobertTRIAL-Regular-BF67243fd53fdf2.otf")
    format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roobert";
  src: url("./assets/fonts/roobert/RoobertTRIAL-RegularItalic-BF67243fd5414aa.otf")
    format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Roobert";
  src: url("./assets/fonts/roobert/RoobertTRIAL-LightItalic-BF67243fd51b2c9.otf")
    format("opentype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Roobert";
  src: url("./assets/fonts/roobert/RoobertTRIAL-Medium-BF67243fd53e059.otf")
    format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roobert";
  src: url("./assets/fonts/roobert/RoobertTRIAL-MediumItalic-BF67243fd54022e.otf")
    format("opentype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Roobert";
  src: url("./assets/fonts/roobert/RoobertTRIAL-SemiBold-BF67243fd54213d.otf")
    format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roobert";
  src: url("./assets/fonts/roobert/RoobertTRIAL-Bold-BF67243fd540abb.otf")
    format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roobert";
  src: url("./assets/fonts/roobert/RoobertTRIAL-BoldItalic-BF67243fd540e4b.otf")
    format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Roobert";
  src: url("./assets/fonts/roobert/RoobertTRIAL-Heavy-BF67243fd53e164.otf")
    format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roobert";
  src: url("./assets/fonts/roobert/RoobertTRIAL-HeavyItalic-BF67243fd53f821.otf")
    format("opentype");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

.font-roobert {
  font-family: "Roobert", system-ui, -apple-system, sans-serif;
}

.fw-light {
  font-weight: 300;
}
.fw-regular {
  font-weight: 400;
}
.fw-medium {
  font-weight: 500;
}
.fw-semibold {
  font-weight: 600;
}
.fw-bold {
  font-weight: 700;
}
.fw-heavy {
  font-weight: 800;
}

.italic {
  font-style: italic;
}

body {
  min-height: 100dvh;
  line-height: 1.5;
  font-family: "Roobert", system-ui, -apple-system, sans-serif;
  background-color: #ffffff;
  color: #000000;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.mobile-only {
  display: none !important;
}

/* Mobile breakpoint */
@media (max-width: 768px) {
  .mobile-only {
    display: flex !important;
  }
}
.pc-only {
  display: block !important;
}

/* Mobile breakpoint */
@media (max-width: 768px) {
  .pc-only {
    display: none !important;
  }
}

.no-scrollbar {
  -ms-overflow-style: none;  /* IE & Edge */
  scrollbar-width: none;     /* Firefox */
}

.no-scrollbar::-webkit-scrollbar {
  display: none;             /* Chrome, Safari */
}

*{
  font-family: 'Roobert', system-ui, -apple-system, sans-serif !important;
}
/* ================================
   Typography
   ================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.25;
}

p {
  margin-bottom: 1rem;
}

small {
  font-size: 0.875rem;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}

/* a:hover {
  text-decoration: underline;
} */

/* ================================
   Lists
   ================================ */

ul,
ol {
  list-style-position: inside;
}

li {
  line-height: 1.6;
}

/* ================================
   Media Elements
   ================================ */

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ================================
   Forms
   ================================ */

input,
textarea,
select,
button {
  font: inherit;
  color: inherit;
}

input,
textarea,
select {
  outline: none;
}

textarea {
  resize: vertical;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

/* ================================
   Tables
   ================================ */

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  text-align: left;
  padding: 0.75rem;
}

/* ================================
   Layout Helpers
   ================================ */

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1rem;
}

.full-width {
  width: 100%;
}

/* ================================
   Utility Classes
   ================================ */

.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.grid {
  display: grid;
}

/* Spacing */
.mt-1 {
  margin-top: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 1rem  !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 1rem;
}

.pt-1 {
  padding-top: 0.25rem;
}
.pt-2 {
  padding-top: 0.5rem;
}
.pt-3 {
  padding-top: 1rem;
}

.pb-1 {
  padding-bottom: 0.25rem;
}
.pb-2 {
  padding-bottom: 0.5rem;
}
.pb-3 {
  padding-bottom: 1rem;
}

/* ================================
   Gap Utilities
   Works with flex & grid
   ================================ */

/* Extra small */
.gap-xs {
  gap: 0.25rem; /* 4px */
}

/* Small */
.gap-small {
  gap: 0.5rem; /* 8px */
}

/* Medium */
.gap-medium {
  gap: 1rem; /* 16px */
}

/* Large */
.gap-large {
  gap: 1.5rem; /* 24px */
}

/* Extra large */
.gap-xl {
  gap: 2rem; /* 32px */
}

/* Huge */
.gap-xxl {
  gap: 3rem; /* 48px */
}
.gap-xxxl {
  gap: 4rem; /* 48px */
}

/* ================================
   Accessibility & UX
   ================================ */

:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}

::selection {
  background-color: #000;
  color: #fff;
}

/* ================================
   Animations (Optional)
   ================================ */

.fade-in {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ================================
   Text Size Utilities
   ================================ */

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
} /* 12px */
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
} /* 14px */
.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
} /* 16px */
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
} /* 18px */
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
} /* 20px */
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
} /* 24px */
.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
} /* 30px */
.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
} /* 36px */
.text-5xl {
  font-size: 3rem;
  line-height: 1;
} /* 48px */
.text-6xl {
  font-size: 3.75rem;
  line-height: 1;
} /* 60px */
.text-7xl {
  font-size: 4.5rem;
  line-height: 1;
} /* 72px */
.text-8xl {
  font-size: 6rem;
  line-height: 1;
} /* 96px */
.text-9xl {
  font-size: 8rem;
  line-height: 1;
} /* 128px */

.block {
  display: block;
}
.inline-block {
  display: inline-block;
}
.inline {
  display: inline;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}

.flex-row {
  flex-direction: row;
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.flex-nowrap {
  flex-wrap: nowrap;
}
.items-start {
  align-items: flex-start;
}
.items-center {
  align-items: center;
}
.items-end {
  align-items: flex-end;
}
.justify-start {
  justify-content: flex-start;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.justify-end {
  justify-content: flex-end;
}
.grow {
  flex-grow: 1;
}
.shrink {
  flex-shrink: 1;
}

.gap-0 {
  gap: 0;
}
.gap-1 {
  gap: 0.25rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-6 {
  gap: 1.5rem;
}
.gap-8 {
  gap: 2rem;
}

.m-0 {
  margin: 0;
}
.m-auto {
  margin: auto;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.w-full {
  width: 100%;
}
.w-screen {
  width: 100vw;
}
.h-full {
  height: 100%;
}
.h-screen {
  height: 100vh;
}
.max-w-6xl {
  max-width: 72rem;
}
.max-w-7xl {
  max-width: 80rem;
}

.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.fixed {
  position: fixed;
}
.sticky {
  position: sticky;
}
.top-0 {
  top: 0;
}
.left-0 {
  left: 0;
}
.right-0 {
  right: 0;
}
.bottom-0 {
  bottom: 0;
}
.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.border {
  border: 1px solid #e5e7eb;
}
.border-0 {
  border: 0;
}
.rounded {
  border-radius: 0.25rem;
}
.rounded-md {
  border-radius: 0.375rem;
}
.rounded-lg {
  border-radius: 0.5rem;
}
.rounded-full {
  border-radius: 9999px;
}

.bg-white {
  background: #fff;
}
.bg-black {
  background: #000;
}
.bg-transparent {
  background: transparent;
}
.bg-gray-100 {
  background: #f3f4f6;
}

.overflow-hidden {
  overflow: hidden;
}
.overflow-auto {
  overflow: auto;
}
.overflow-x-auto {
  overflow-x: auto;
}
.overflow-y-auto {
  overflow-y: auto;
}

@media (min-width: 640px) {
  .sm\:flex {
    display: flex !important;
  }
  .sm\:hidden {
    display: none !important;
  }
  .sm\:block {
    display: block !important;
  }
}

/* md */
@media (min-width: 768px) {
  .md\:grid {
    display: grid !important;
  }
  .md\:block {
    display: block !important;
  }
}

/* lg */
@media (min-width: 1024px) {
  .lg\:flex {
    display: flex !important;
  }
}
