/* Modern Font Family - Serupa dengan Helvetica Neue */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Font Family Variables */
:root {
    --font-primary: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    --font-secondary: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    --font-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Source Code Pro', monospace;
}

/* Global Font Application */
* {
    font-family: var(--font-primary);
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

h1 {
    font-weight: 700;
    letter-spacing: -0.03em;
}

h2 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Button Fonts */
.btn {
    font-family: var(--font-primary);
    font-weight: 500;
    letter-spacing: -0.01em;
}

.btn-lg {
    font-weight: 600;
}

/* Form Elements */
input, textarea, select {
    font-family: var(--font-primary);
    font-weight: 400;
}

/* Navigation */
.navbar-brand {
    font-family: var(--font-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nav-link {
    font-family: var(--font-primary);
    font-weight: 500;
}

/* Card Titles */
.card-title {
    font-family: var(--font-primary);
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Table Headers */
.table th {
    font-family: var(--font-primary);
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Badge */
.badge {
    font-family: var(--font-primary);
    font-weight: 500;
}

/* Alert */
.alert {
    font-family: var(--font-primary);
    font-weight: 400;
}

/* Modal */
.modal-title {
    font-family: var(--font-primary);
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Footer */
.footer {
    font-family: var(--font-primary);
    font-weight: 400;
}

/* Responsive Font Sizes */
@media (max-width: 768px) {
    body {
        font-size: 0.95rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 0.9rem;
    }
    
    h1 {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
}


