/* Typography Enhancement Fix */

/* Ensure fonts load properly */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* Enhanced typography base - SMOOTH RENDERING */
* {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: auto;
    font-smooth: auto;
}

/* Override boring fonts */
body, html {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Enhanced navigation */
.nav__brand,
.nav__brand span,
.nav__title {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

/* Enhanced hero titles */
.hero__title-word,
.hero__brand-title,
.section__title,
h1, h2, h3 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
    text-shadow: 0 3px 6px rgba(0,0,0,0.15) !important;
}

/* Enhanced body text */
p, span, div, li {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    line-height: 1.7 !important;
    letter-spacing: -0.005em !important;
}

/* HERO TITLE SPACING OVERRIDE - TIGHT LINES */
.hero__title-container,
.hero__title-line,
.hero__title-word {
    line-height: 1 !important;
}

/* Enhanced buttons */
.btn, button {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    text-transform: none !important;
}

/* Enhanced links */
.nav__link {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 500 !important;
    letter-spacing: -0.01em !important;
    text-decoration: none !important;
}

/* Enhanced gradients for text - REMOVED - Let main.css handle hero titles */

/* Enhanced section titles */
.section__title {
    background: linear-gradient(135deg, #ffffff 0%, #e5e7eb 50%, #d1d5db 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    filter: drop-shadow(0 3px 6px rgba(255, 255, 255, 0.1)) !important;
}

/* Fix any remaining boring text */
.testimonial__name,
.service__title,
.about__highlight h4 {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
}

.testimonial__text,
.service__description,
.about__description {
    font-family: 'Inter', sans-serif !important;
    font-weight: 400 !important;
    line-height: 1.8 !important;
    letter-spacing: -0.005em !important;
}