/* Instinct.so Inspired Typography CSS */

/* Font Imports - Use high-quality fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Root Variables - Instinct.so Style */
:root {
    /* Colors */
    --bg-primary: #000000;
    --text-primary: #FFFFFF;
    --text-secondary: #CCCCCC;
    --text-muted: #888888;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 40px;
    --spacing-xl: 60px;
    --spacing-xxl: 80px;
    
    /* Typography Scale */
    --text-xs: 12px;
    --text-sm: 14px;
    --text-base: 16px;
    --text-lg: 18px;
    --text-xl: 20px;
    --text-2xl: 24px;
    --text-3xl: 30px;
    --text-4xl: 36px;
    --text-5xl: 48px;
    --text-6xl: 60px;
    --text-7xl: 72px;
    --text-8xl: 96px;
    --text-9xl: 128px;
}

/* Base Styles - Instinct.so Foundation */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: var(--text-base);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Hierarchy - Instinct.so Style */

/* Massive Logo/Hero Text */
.instinct-hero {
    font-size: clamp(48px, 12vw, 160px);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin: 0;
}

/* Large Headings */
.instinct-h1 {
    font-size: clamp(36px, 8vw, 96px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
}

/* Medium Headings */
.instinct-h2 {
    font-size: clamp(24px, 5vw, 48px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

/* Small Headings */
.instinct-h3 {
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

/* Body Text */
.instinct-body {
    font-size: var(--text-base);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

/* Secondary Text */
.instinct-secondary {
    font-size: var(--text-sm);
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* Muted Text */
.instinct-muted {
    font-size: var(--text-sm);
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-muted);
}

/* Navigation - Instinct.so Style */
.instinct-nav {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
    letter-spacing: 0.01em;
}

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

/* Buttons - Instinct.so Style */
.instinct-button {
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
    background: transparent;
    border: 1px solid var(--text-secondary);
    padding: 12px 24px;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.01em;
}

.instinct-button:hover {
    border-color: var(--text-primary);
    background: var(--text-primary);
    color: var(--bg-primary);
}

/* Layout - Instinct.so Spacing */
.instinct-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.instinct-section {
    padding: var(--spacing-xxl) 0;
}

.instinct-grid {
    display: grid;
    gap: var(--spacing-lg);
}

/* Specific Components - Instinct.so Style */

/* Logo */
.instinct-logo {
    font-size: clamp(20px, 4vw, 32px);
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.01em;
}

/* Metrics/Numbers */
.instinct-metric {
    font-size: clamp(24px, 6vw, 72px);
    font-weight: 300;
    line-height: 1.1;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

/* Tags/Labels */
.instinct-tag {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Cards */
.instinct-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: var(--spacing-lg);
    transition: all 0.2s ease;
}

.instinct-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Utilities */
.instinct-center {
    text-align: center;
}

.instinct-left {
    text-align: left;
}

.instinct-right {
    text-align: right;
}

.instinct-uppercase {
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.instinct-mono {
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    font-variant-numeric: tabular-nums;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    :root {
        --spacing-lg: 24px;
        --spacing-xl: 40px;
        --spacing-xxl: 60px;
    }
    
    .instinct-container {
        padding: 0 var(--spacing-sm);
    }
    
    .instinct-section {
        padding: var(--spacing-xl) 0;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 16px;
        --spacing-xl: 32px;
        --spacing-xxl: 48px;
    }
    
    .instinct-hero {
        line-height: 1.0;
    }
}

/* Animation - Subtle like Instinct.so */
@keyframes instinct-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.instinct-animate {
    animation: instinct-fade-in 0.6s ease-out;
}

/* Focus States - Accessibility */
.instinct-button:focus,
.instinct-nav:focus {
    outline: 2px solid var(--text-primary);
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: var(--text-primary);
    color: var(--bg-primary);
}
