/* Professional Font Configuration */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
    /* Primary Font Family */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    
    /* Secondary Font Family for Headings */
    --font-secondary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Font Weights */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
}

/* Base Typography */
body {
    font-family: var(--font-primary);
    font-weight: var(--font-regular);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: var(--font-semibold);
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* Paragraphs and Body Text */
p, ul, ol {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Links */
a {
    text-decoration: none;
    transition: color 0.2s ease;
}

/* Strong and Emphasis */
strong, b {
    font-weight: var(--font-bold);
}

em, i {
    font-style: italic;
}

/* Small Text */
small, .text-small {
    font-size: 0.875rem;
}

/* Form Elements */
input, textarea, select, button {
    font-family: var(--font-primary);
}

/* Code and Pre */
code, pre {
    font-family: 'Monaco', 'Consolas', monospace;
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    h5 { font-size: 1.125rem; }
    h6 { font-size: 1rem; }
}
