/* Modern Typography Styles - Based on MGX Design */

/* Font Family Stack */
:root {
    --primary-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --heading-font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --body-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Base Typography */
body {
    font-family: var(--body-font);
    font-weight: 400;
    line-height: 1.6;
    color: #374151;
    font-size: 16px;
    letter-spacing: -0.01em;
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    line-height: 1.2;
    color: #111827;
    letter-spacing: -0.025em;
}

h1, .h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

h2, .h2 {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

h3, .h3 {
    font-size: 2.25rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

h4, .h4 {
    font-size: 1.875rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

h5, .h5 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

h6, .h6 {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Text Styles */
.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.5;
    color: #6B7280;
}

.text-large {
    font-size: 1.125rem;
    line-height: 1.6;
}

.text-small {
    font-size: 0.875rem;
    line-height: 1.5;
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1.4;
}

/* Font Weights */
.fw-light { font-weight: 300; }
.fw-normal { font-weight: 400; }
.fw-medium { font-weight: 500; }
.fw-semibold { font-weight: 600; }
.fw-bold { font-weight: 700; }
.fw-extrabold { font-weight: 800; }
.fw-black { font-weight: 900; }

/* Brand/Logo Typography */
.navbar-brand {
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

/* Button Typography */
.btn {
    font-family: var(--primary-font);
    font-weight: 500;
    letter-spacing: -0.005em;
}

.btn-lg {
    font-weight: 600;
    font-size: 1.125rem;
}

.btn-sm {
    font-weight: 500;
    font-size: 0.875rem;
}

/* Card Typography */
.card-title {
    font-family: var(--heading-font);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.card-text {
    font-family: var(--body-font);
    line-height: 1.6;
    color: #6B7280;
}

/* Navigation Typography */
.nav-link {
    font-family: var(--primary-font);
    font-weight: 500;
    letter-spacing: -0.005em;
}

.dropdown-item {
    font-family: var(--primary-font);
    font-weight: 400;
}

/* Form Typography */
.form-label {
    font-family: var(--primary-font);
    font-weight: 500;
    color: #374151;
}

.form-control, .form-select, .form-check-label {
    font-family: var(--body-font);
    font-weight: 400;
}

/* Hero Section Typography */
.hero-title {
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: 3rem;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: #111827;
}

.hero-subtitle {
    font-family: var(--body-font);
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 1.5;
    color: #6B7280;
}

/* Feature Section Typography */
.feature-title {
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 2rem;
    letter-spacing: -0.02em;
}

.feature-description {
    font-family: var(--body-font);
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.6;
    color: #6B7280;
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1, .h1, .hero-title {
        font-size: 2rem;
        letter-spacing: -0.03em;
    }
    
    h2, .h2, .feature-title {
        font-size: 1.75rem;
        letter-spacing: -0.02em;
    }
    
    h3, .h3 {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .lead {
        font-size: 1.125rem;
    }
}

@media (max-width: 576px) {
    h1, .h1, .hero-title {
        font-size: 1.75rem;
    }
    
    h2, .h2, .feature-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
}

/* Special Text Effects */
.text-gradient {
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Link Typography */
a {
    color: #059669;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

a:hover {
    color: #047857;
    text-decoration: none;
}

/* Badge Typography */
.badge {
    font-family: var(--primary-font);
    font-weight: 600;
    letter-spacing: 0.025em;
}

/* Table Typography */
.table th {
    font-family: var(--heading-font);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.table td {
    font-family: var(--body-font);
    font-weight: 400;
}