/*
 * ========================================
 * InstaFuture - Global Styles
 * ========================================
 * CSS Reset, CSS Variables (design tokens),
 * typography, and base styles.
 */

/* ---------- CSS Reset ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ---------- Design Tokens (CSS Variables) ---------- */
:root {
    /* Colors - Primary */
    --color-primary: #8A2BE2; /* Deep vibrant purple */
    --color-primary-light: #B478ED;
    --color-primary-dark: #4B0082;

    /* Colors - Accent */
    --color-accent: #00E5FF;
    --color-accent-light: #80F2FF;

    /* Colors - Neutral */
    --color-bg: #000000; /* Pure black for that premium void look */
    --color-bg-secondary: #0A0A0A;
    --color-bg-card: rgba(15, 15, 15, 0.6);
    --color-text: #FFFFFF;
    --color-text-secondary: rgba(255, 255, 255, 0.6);
    --color-border: rgba(255, 255, 255, 0.08);

    /* Colors - Status */
    --color-success: #00E676;
    --color-warning: #FFEA00;
    --color-error: #FF1744;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Outfit', var(--font-primary);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2.5rem;
    --space-2xl: 4rem;
    --space-3xl: 8rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
    --radius-full: 50%;

    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.8);
    --shadow-glow: 0 0 40px rgba(138, 43, 226, 0.4);
    --shadow-glow: 0 0 20px rgba(108, 92, 231, 0.3);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

/* ---------- Base Styles ---------- */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--color-primary-light);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary);
}

/* ---------- Utility Classes ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}
