/* ========================================
   LOCAL FONTS DEFINITIONS - System Fonts Optimized
   ======================================== */

/* System Font Stack - Inter Alternative */
:root {
    --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-family-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Base Font Family */
body, .font-inter {
    font-family: var(--font-family-base);
    font-weight: 400;
    line-height: 1.6;
}

/* Heading Font Family */
h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--font-family-heading);
    font-weight: 600;
    line-height: 1.3;
}

/* Font Weight Classes */
.font-weight-light { font-weight: 300; }
.font-weight-normal { font-weight: 400; }
.font-weight-medium { font-weight: 500; }
.font-weight-semibold { font-weight: 600; }
.font-weight-bold { font-weight: 700; }

/* Vietnamese Language Support */
body {
    font-feature-settings: "kern" 1, "liga" 1;
}

/* Fallback Classes */
.font-inter-fallback,
.font-poppins-fallback {
    font-family: var(--font-family-base);
}

/* Bootstrap Font Weight Override */
.fw-light { font-weight: 300 !important; }
.fw-normal { font-weight: 400 !important; }
.fw-medium { font-weight: 500 !important; }
.fw-semibold { font-weight: 600 !important; }
.fw-bold { font-weight: 700 !important; }

/* Optimized Typography */
.lead {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.6;
}

.small {
    font-size: 0.875rem;
    font-weight: 400;
}

/* Display Typography */
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: var(--font-family-heading);
    font-weight: 700;
    line-height: 1.2;
}
