/* * TAILWIND CSS CORE & UTILITIES 
 * Version: 3.4.17
 */

/* ==========================================================================
   1. GLOBAL RESET & TAILWIND VARIABLES
   Sets up the engine for transforms, filters, and rings.
   ========================================================================== */

*, ::before, ::after {
  /* Transform & Layout Defaults */
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x: ;
  --tw-pan-y: ;
  --tw-pinch-zoom: ;
  --tw-scroll-snap-strictness: proximity;
  
  /* Gradient & Shadow Defaults */
  --tw-gradient-from-position: ;
  --tw-gradient-via-position: ;
  --tw-gradient-to-position: ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;

  /* Filter & Backdrop Defaults */
  --tw-blur: ;
  --tw-brightness: ;
  --tw-contrast: ;
  --tw-grayscale: ;
  --tw-hue-rotate: ;
  --tw-invert: ;
  --tw-saturate: ;
  --tw-sepia: ;
  --tw-drop-shadow: ;
  --tw-backdrop-blur: ;
  --tw-backdrop-brightness: ;
  --tw-backdrop-contrast: ;
  --tw-backdrop-grayscale: ;
  --tw-backdrop-hue-rotate: ;
  --tw-backdrop-invert: ;
  --tw-backdrop-opacity: ;
  --tw-backdrop-saturate: ;
  --tw-backdrop-sepia: ;
}

/* Same defaults for the backdrop pseudo-element */
::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-shadow: 0 0 #0000;
}

/* ==========================================================================
   2. BASE HTML RESET
   Normalizes behavior across different browsers.
   ========================================================================== */

*, ::after, ::before {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}

::after, ::before {
  --tw-content: '';
}

html, :host {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-family: Inter, Noto Sans HK, ui-sans-serif, system-ui;
  font-feature-settings: normal;
  font-variation-settings: normal;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  line-height: inherit;
}

/* Reset common elements */
h1, h2, h3, h4, h5, h6, p, blockquote, figure, dl, dd {
  margin: 0;
}

ol, ul, menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: inherit;
}

img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  vertical-align: middle;
}

img, video {
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   3. LAYOUT UTILITIES
   Handling containers, flexbox, and positioning.
   ========================================================================== */

.container { width: 100%; }
@media (min-width: 640px)  { .container { max-width: 640px; } }
@media (min-width: 768px)  { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }
@media (min-width: 1536px) { .container { max-width: 1536px; } }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

.relative { position: relative; }
.sticky { position: sticky; }
.top-0 { top: 0px; }
.z-50 { z-index: 50; }

/* ==========================================================================
   4. SPACING, SIZING & TYPOGRAPHY
   Margin, Padding, Width, Height, and Font settings.
   ========================================================================== */

.mx-auto { margin-left: auto; margin-right: auto; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }

.w-full { width: 100%; }
.h-12 { height: 3rem; }
.min-h-screen { min-height: 100vh; }

.text-center { text-align: center; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.font-bold { font-weight: 700; }
.leading-relaxed { line-height: 1.625; }

/* ==========================================================================
   5. DESIGN & EFFECTS
   Borders, Backgrounds, Shadows, and Transitions.
   ========================================================================== */

.rounded-2xl { border-radius: 1rem; }
.border { border-width: 1px; }

.bg-white { background-color: rgb(255 255 255); }
.bg-primary { background-color: rgb(93 92 222); }
.text-primary { color: rgb(93 92 222); }

.shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* ==========================================================================
   6. INTERACTIVE & DARK MODE
   Hover states and media-query specific styles.
   ========================================================================== */

.hover\:-translate-y-1:hover {
  --tw-translate-y: -0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

/* Dark Mode Support */
.dark\:bg-gray-900:is(.dark *) {
  background-color: rgb(17 24 39);
}

.dark\:text-white:is(.dark *) {
  color: rgb(255 255 255);
}

/* Responsive Utilities */
@media (min-width: 768px) {
  .md\:flex-row { flex-direction: row; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
}



/* ==========================================================================
   SELF-HOSTED FONTS (Local Noto Sans HK)
   ========================================================================== */

/* Regular - Weight 400 */
@font-face {
  font-family: 'Noto Sans HK';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  
}

/* Medium - Weight 500 */
@font-face {
  font-family: 'Noto Sans HK';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  
}

/* Bold - Weight 700 */
@font-face {
  font-family: 'Noto Sans HK';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */

html {
  /* Now uses the local font defined above */
  font-family: 'Noto Sans HK', sans-serif;
}