/* css/base.css - Variables, reset, typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg: #06080d;
    --bg-raised: rgba(14, 18, 28, 0.7);
    --bg-hover: rgba(24, 30, 48, 0.8);
    --bg-accent: #060d14;
    --text: #eef1f8;
    --text-dim: #7b8aa6;
    --text-muted: rgba(238, 241, 248, 0.6);
    --accent: #00e59b;
    --accent-glow: rgba(0, 229, 155, 0.15);
    --secondary: #a78bfa;
    --secondary-glow: rgba(167, 139, 250, 0.12);
    --tertiary: #38bdf8;
    --quaternary: #2dd4bf;
    --quaternary-glow: rgba(45, 212, 191, 0.12);
    --border: rgba(255, 255, 255, 0.06);
    --radius: 20px;
    --nav-h: 72px;
    --font-display: 'Outfit', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 3rem 0;
    position: relative;
}

/* Section headers */
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-top: 1rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-label::before,
.section-label::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--accent);
    opacity: 0.4;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
}

.section-title .highlight {
    color: var(--accent);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn--primary {
    background: linear-gradient(135deg, var(--accent), #00c9ff);
    color: #030712;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 229, 155, 0.3);
}

.btn--ghost {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn--ghost:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    background: var(--secondary-glow);
}

/* Print styles */
@media print {
    *, *::before, *::after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
        -webkit-text-fill-color: #000 !important;
    }

    body {
        font-size: 11pt;
        line-height: 1.5;
        background: #fff !important;
    }

    .bg-effects, #scene, #particles, nav, .lang-toggle,
    .hero-visual, .floating-icons, .btn,
    .cursor-dot, .cursor-ring, .scroll-progress,
    footer { display: none !important; }

    section { padding: 1rem 0; min-height: auto; page-break-inside: avoid; }
    .container { max-width: 100%; padding: 0; }

    .reveal { opacity: 1 !important; transform: none !important; }
    a[href]::after { content: none !important; }
}

/* Responsive base */
@media (max-width: 768px) {
    :root { --nav-h: 60px; }
    section { padding: 5rem 0; }
}
