/* 
   ULTRA PREMIUM TYPOGRAPHY - TheLionAI
   "Beyond God Level" Text Enhancements
*/

/* ==========================================
   GLOBAL FONT SETTINGS
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap'); /* Secondary Display Font */

:root {
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Outfit', var(--font-sans);
    
    /* Fluid Typography Scale */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1.05rem + 0.375vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.35rem + 0.75vw, 2rem);
    --text-3xl: clamp(2rem, 1.8rem + 1vw, 2.5rem);
    --text-4xl: clamp(2.5rem, 2.2rem + 1.5vw, 3.5rem);
    --text-5xl: clamp(3rem, 2.5rem + 2.5vw, 4.5rem);
    --text-6xl: clamp(3.5rem, 3rem + 3vw, 6rem);
}

body {
    font-family: var(--font-sans);
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    line-height: 1.7;
    letter-spacing: -0.01em;
}

/* ==========================================
   HEADINGS (Display Font)
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 1rem;
}

h1 {
    font-size: var(--text-6xl);
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.1));
}

h2 {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: #f8fafc;
}

h3 {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: #f1f5f9;
}

h4 {
    font-size: var(--text-lg);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--neon-primary);
}

/* ==========================================
   BODY TEXT
   ========================================== */
p {
    font-size: var(--text-base);
    color: #cbd5e1; /* Slate-300 */
    margin-bottom: 1.5rem;
    font-weight: 400;
    leading-trim: both;
    text-edge: cap;
}

p.lead {
    font-size: var(--text-lg);
    font-weight: 400;
    color: #e2e8f0;
    line-height: 1.6;
}

/* ==========================================
   LISTS & LINKS
   ========================================== */
ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

li {
    font-size: var(--text-base);
    color: #cbd5e1;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--neon-primary);
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--neon-primary);
    transition: width 0.3s ease;
}

a:not(.btn):hover::after {
    width: 100%;
}

/* ==========================================
   BUTTON TYPOGRAPHY
   ========================================== */
.btn {
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none; /* Modern apps prefer sentence case or title case */
    font-size: var(--text-base);
}

/* ==========================================
   UTILITIES
   ========================================== */
.text-gradient {
    background: linear-gradient(135deg, var(--neon-primary) 0%, var(--neon-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-glow {
    text-shadow: 0 0 20px var(--neon-primary);
}

.text-muted {
    color: #64748b !important;
}

.text-highlight {
    color: #fff;
    background: rgba(99, 102, 241, 0.2);
    padding: 0.1em 0.3em;
    border-radius: 4px;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

/* ==========================================
   SPECIFIC COMPONENT OVERRIDES
   ========================================== */

/* Hero Text */
.agent-hero h1 {
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.agent-subtitle {
    font-family: var(--font-display);
    letter-spacing: 0.1em;
}

/* Metrics */
.metric-content h3 {
    font-family: var(--font-display);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

/* Features */
.feature-detail-card h3 {
    font-family: var(--font-display);
}

/* Footer */
.footer-col h3 {
    font-family: var(--font-display);
}

.footer-col h4 {
    font-family: var(--font-sans);
    font-size: 0.85rem !important;
    letter-spacing: 0.15em;
}
