* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #000000;
    min-height: 200vh;
    overflow-x: hidden;  /* Safety: Hide any residual horizontal scroll */
}

/* TT Lakes Neue Trial Fonts */
/* CSS Variables for Consistent Theming */
:root {
    /* Typography Scale */
    --font-heading: 'TT Lakes Neue Trial', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Primary Colors */
    --primary-red: #ee1c25; /* Bold red for buttons, links, and accents */
    --primary-dark-red: #b3121c; /* Darker red for hover states or depth */

    /* Neutral Colors */
    --black: #000000; /* For headers, text, and dark backgrounds */
    --white: #ffffff; /* For backgrounds and text on dark sections */
    --light-gray: #f5f5f5; /* For subtle backgrounds or sections */
    --dark-gray: #333333; /* For secondary text or borders */

    /* Accent Color */
    --soft-blue: #4a90e2; /* For complementary accents or hover effects */

    /* Example Usage */
    --header-bg-transparent: transparent; /* Transparent header background */
    --header-bg-scrolled: var(--black); /* Black header on scroll */
    --button-bg: var(--primary-red); /* Primary button background */
    --button-hover-bg: var(--primary-dark-red); /* Button hover state */
    --highlight: var(--secondary-yellow); /* Highlight for CTAs or hover */
    --text-primary: var(--black); /* Primary text color */
    --text-on-dark: var(--white); /* Text on dark backgrounds */
    --link-color: var(--primary-red); /* Link color */
    --link-hover-color: var(--soft-blue); /* Link hover color */
    
    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
}

/* ===========================
   FONT LOADING - Optimized
=========================== */

/* TT Lakes Neue Trial Fonts - Only load necessary weights for performance */
@font-face {
    font-family: 'TT Lakes Neue Trial';
    src: url('/assets/fonts/TT Lakes Neue Trial Black Italic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
    font-display: swap; /* Improves loading performance */
}

@font-face {
    font-family: 'TT Lakes Neue Trial';
    src: url('/assets/fonts/TT Lakes Neue Trial Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Lakes Neue Trial';
    src: url('/assets/fonts/TT Lakes Neue Trial DemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Lakes Neue Trial';
    src: url('/assets/fonts/TT Lakes Neue Trial DemiBold Italic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Lakes Neue Trial';
    src: url('/assets/fonts/TT Lakes Neue Trial Medium Italic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Lakes Neue Trial';
    src: url('/assets/fonts/TT Lakes Neue Trial Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Poppins Fonts - Comprehensive but optimized with font-display */
@font-face {
    font-family: 'Poppins';
    src: url('/assets/fonts/Poppins-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/assets/fonts/Poppins-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/assets/fonts/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/assets/fonts/Poppins-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/assets/fonts/Poppins-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/assets/fonts/Poppins-ExtraBoldItalic.ttf') format('truetype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/assets/fonts/Poppins-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/assets/fonts/Poppins-ExtraLightItalic.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/assets/fonts/Poppins-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/assets/fonts/Poppins-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/assets/fonts/Poppins-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/assets/fonts/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/assets/fonts/Poppins-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/assets/fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/assets/fonts/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/assets/fonts/Poppins-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/assets/fonts/Poppins-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/assets/fonts/Poppins-ThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

/* ===========================
   TYPOGRAPHY STYLES - Professional Digital Marketing Vibe
=========================== */

/* Base Reset for Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
    color: var(--color-secondary);
    background-color: #f8f9fa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Headings - TT Lakes Neue Trial: Bold, Modern Hierarchy for Impact */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-style: normal;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em; /* Subtle tightening for pro feel */
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Fluid scaling */
    line-height: 1.1;
    font-weight: 700; /* Bold - available weight for strong presence */
    margin-bottom: var(--space-xl);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: var(--space-lg);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    line-height: 1.3;
    font-weight: 600; /* DemiBold */
    margin-bottom: var(--space-md);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    line-height: 1.35;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

h5 {
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 500; /* Medium Italic fallback to normal */
    margin-bottom: var(--space-sm);
    font-style: italic; /* Slight italic for variety */
}

h6 {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em; /* Uppercase for section labels */
}

/* Paragraphs - Poppins: Clean, Readable for Content Marketing */
p {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7; /* Slightly more airy for digital readability */
    font-weight: 400;
    color: var(--color-secondary);
    margin-bottom: var(--space-md);
    hyphens: auto; /* Soft hyphens for long words */
}

p:last-child {
    margin-bottom: 0;
}

/* Emphasis & Utility */
strong, b {
    font-weight: 600; /* SemiBold for Poppins */
    color: var(--color-primary);
}

em, i {
    font-style: italic;
    font-weight: 400;
}

small, .small-text, caption {
    font-family: var(--font-body);
    font-size: 0.875rem;
    line-height: 1.5;
    font-weight: 400;
    color: var(--color-muted);
    margin-bottom: var(--space-sm);
}

/* Links - Professional with Hover States for CTAs */
a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover,
a:focus {
    color: #0056b3; /* Darker blue on hover */
    opacity: 0.8;
    outline: none;
}

a:active {
    opacity: 0.6;
}

/* Lists - Clean for Bullet Points in Services/Benefits */
ul, ol {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

li {
    margin-bottom: var(--space-xs);
    color: var(--color-secondary);
}

ul li {
    list-style-type: none;
}

ul li ul {
    list-style-type: circle;
    margin-top: var(--space-xs);
    padding-left: var(--space-md);
}

ol li {
    list-style-type: decimal;
}

/* Blockquotes - For Testimonials or Quotes */
blockquote {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 1.125rem;
    line-height: 1.6;
    font-weight: 300; /* Light for ethereal feel */
    color: var(--color-primary);
    margin: var(--space-lg) 0;
    padding: var(--space-md) var(--space-lg);
    border-left: 4px solid var(--color-accent);
    background-color: #f8f9fa; /* Subtle bg for pro touch */
}

blockquote p {
    margin-bottom: 0;
}

blockquote cite {
    display: block;
    margin-top: var(--space-sm);
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 500;
    color: var(--color-muted);
    text-align: right;
}

/* Enhanced Mobile Typography - Tighter Scaling for Long-Tail Content */
@media (max-width: 768px) {
    :root {
        --space-md: 0.75rem;
        --space-lg: 1.25rem;
        --space-xl: 1.5rem; /* Reduced for tighter mobile layout */
    }
    
    h1 { 
        font-size: clamp(1.75rem, 4vw, 2.25rem); /* Tighter min for long phrases */
        letter-spacing: -0.01em; 
        line-height: 1.15; /* Crunchier lines to fit more */
    }
    
    h2 { 
        font-size: clamp(1.5rem, 3.5vw, 1.875rem);
        line-height: 1.2;
    }
    
    h3 { 
        font-size: clamp(1.25rem, 3vw, 1.5rem);
        line-height: 1.25;
    }
    
    h4 { 
        font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    }
    
    h5, h6 { 
        font-size: 1rem; /* Cap at base size for tiny screens */
        line-height: 1.4;
    }
    
    p {
        font-size: 0.9375rem; /* Slightly smaller base for dense keyword paragraphs */
        line-height: 1.6; /* Keep airy but efficient */
        text-align: left; /* Ensure left-align for better wrapping on long tails */
    }
    
    blockquote {
        font-size: 1rem; /* Scale down quotes too */
        padding: var(--space-sm);
    }
    
    ul, ol {
        padding-left: var(--space-sm); /* Indent less on mobile */
        font-size: 0.9375rem;
    }
    
    li {
        margin-bottom: 0.5rem; /* Tighter list spacing for scannability */
    }
}

@media (max-width: 480px) {
    h1 { 
        font-size: clamp(1.5rem, 5vw, 1.875rem); /* Even tighter for phones */
        font-weight: 600; 
    }
    
    h2 { 
        font-size: clamp(1.375rem, 4.5vw, 1.625rem);
    }
    
    h3, h4 { 
        font-size: 1.125rem;
    }
    
    p, ul li, ol li {
        font-size: 0.875rem; /* 14px base for ultra-dense mobile reading */
        line-height: 1.55;
    }
    
    /* Word Break for Long-Tail Keywords */
    h1, h2, h3, h4, h5, h6, p {
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    /* Optional: Reduce margins globally for more screen real estate */
    h1, h2, h3 { margin-bottom: var(--space-sm); }
}
