/* ============================================
   TYPOGRAPHY SYSTEM
   Modern, clean, hierarchical text styles
   ============================================ */

/* Import Inter font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* === GLOBAL FONT SETTINGS === */
* {
    font-family: var(--font-family);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === HEADINGS === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);    /* 40-64px responsive */
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);      /* 32-48px */
    font-weight: 700;
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);    /* 24-32px */
    font-weight: 600;
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem); /* 20-24px */
    font-weight: 600;
}

h5 {
    font-size: 1.125rem;                     /* 18px */
    font-weight: 600;
}

h6 {
    font-size: 1rem;                         /* 16px */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* === BODY TEXT === */
body {
    font-size: 1rem;           /* 16px */
    line-height: 1.6;
    font-weight: 400;
}

p {
    margin: 0 0 var(--space-md) 0;
    color: var(--text-secondary);
}

/* === TEXT UTILITIES === */
.text-large {
    font-size: 1.25rem;        /* 20px */
    line-height: 1.5;
}

.text-small {
    font-size: 0.875rem;       /* 14px */
}

.text-tiny {
    font-size: 0.75rem;        /* 12px */
}

.text-primary {
    color: var(--text-primary);
}

.text-secondary {
    color: var(--text-secondary);
}

.text-muted {
    color: var(--text-muted);
}

.text-purple {
    color: var(--color-primary);
}

.text-gold {
    color: var(--color-accent);
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

/* === LINKS === */
a {
    color: var(--color-primary-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary);
}

/* === REMOVE OLD GLITCHY TEXT STYLES === */
.glitch,
.glitch-text,
.hero-glitch {
    /* Remove all glitch animations */
    animation: none !important;
    text-shadow: none !important;
}
