/* =========================================
   BASE STYLES & VARIABLES (DARK THEME - COMPACT)
   ========================================= */

:root {
    /* Color Palette - Dark Mode (Matched to Logo) */
    --color-bg-body: #05010d;
    --color-bg-card: #0a0618;
    --color-bg-card-hover: #120a24;

    --color-primary: #00D4FF;
    --color-primary-glow: rgba(0, 212, 255, 0.5);

    --color-secondary: #B24BF3;
    --color-secondary-glow: rgba(178, 75, 243, 0.5);

    --color-text-main: #FFFFFF;
    --color-text-muted: #A0A0A0;

    --border-light: rgba(255, 255, 255, 0.08);

    /* Gradients (Matched to Logo) */
    --gradient-hero: radial-gradient(circle at 50% 0%, #1a0a2e 0%, #05010d 100%);
    --gradient-text: linear-gradient(135deg, #00D4FF 0%, #B24BF3 50%, #FF6BC5 100%);
    --gradient-card: linear-gradient(145deg, rgba(0, 212, 255, 0.05) 0%, rgba(178, 75, 243, 0.03) 100%);

    /* Typography (Preserved) */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing (REDUCED) */
    --spacing-xs: 0.25rem;
    /* Was 0.5rem */
    --spacing-sm: 0.75rem;
    /* Was 1rem */
    --spacing-md: 1.5rem;
    /* Was 2rem */
    --spacing-lg: 3rem;
    /* Was 4rem */
    --spacing-xl: 5rem;
    /* Was 8rem */

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-body);
    color: var(--color-text-main);
    line-height: 1.5;
    /* Slightly reduced from 1.6 */
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(178, 75, 243, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 212, 255, 0.05) 0%, transparent 25%);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.1;
    /* Reduced from 1.2 */
    margin-bottom: var(--spacing-xs);
    /* Reduced from sm */
    color: var(--color-text-main);
}

h1 {
    font-size: 2.25rem;
}

/* Slightly reduced mobile */
h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--spacing-sm);
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Desktop Typography Overrides */
@media (min-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }

    /* Reduced from 4rem */
    h2 {
        font-size: 2.5rem;
    }

    /* Reduced from 3rem */
    h3 {
        font-size: 1.75rem;
    }

    /* Reduced from 2rem */
    p {
        font-size: 1rem;
    }
}

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

.text-accent {
    color: var(--color-primary);
    text-shadow: 0 0 20px var(--color-primary-glow);
}

.container {
    width: 90%;
    max-width: 1100px;
    /* Slightly tighter container */
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}