/* * META-MIND BASE STYLES v2.0
 * Shared typography, variables, and utilities.
 * CONSOLIDATED: Includes styles from Index, Overview, and Wiki.
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
    /* Branding Colors */
    --accent: #ea580c;
    /* Core Orange */
    --accent-hover: #d97706;
    --accent-indigo: #4f46e5;
    /* Strategic/Overview Blue */

    /* Backgrounds */
    --bg-main: #ffffff;
    --bg-alt: #f8fafc;

    /* Text */
    --text-main: #0f172a;
    --text-muted: #64748b;

    /* Borders & Decor */
    --border: #e2e8f0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

.mono {
    font-family: 'JetBrains Mono', monospace;
}

/* --- ANIMATIONS --- */
.fade-in {
    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-pulse-slow {
    animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .5;
    }
}

/* --- COMPONENT: INTERACTIVE CARDS (From Index) --- */
.card-link {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--border);
    background: white;
}

.card-link:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

/* --- COMPONENT: GLASSMOLPHISM (From Overview) --- */
.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

/* --- COMPONENT: DOCUMENTATION (From Wiki) --- */
.doc-section {
    margin-bottom: 4rem;
    scroll-margin-top: 6rem;
}

.code-block {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    color: var(--text-main);
    overflow-x: auto;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.api-tag {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
}

.tag-core {
    background: #e0f2fe;
    color: #0284c7;
}

.tag-fed {
    background: #fce7f3;
    color: #db2777;
}