/**
 * Erebora Landing Page - CSS Variables
 * Design tokens for consistent styling
 */

:root {
    /* ===== COLORS ===== */
    /* Background — warm off-white for visible glass layering */
    --bg: #FAFAF8;
    --bg-card: #F0EDE8;
    --bg-card-elevated: #FAFAF8;
    --bg-overlay: rgba(0, 0, 0, 0.5);

    /* Text */
    --ink: #1A1A1A;
    --ink-dim: #4A4A4A;
    --ink-muted: #6A6A6A;

    /* Primary (Gold) — deepened for white-theme contrast (WCAG AA) */
    --cta1: #7A5C10;
    --cta2: #9B7B1A;
    --cta-gradient: linear-gradient(120deg, #9B7B1A, #B8941F);
    --cta-accent: #B8941F; /* lighter gold for borders, glows, non-text */

    /* Semantic */
    --success: #0ad184;
    --success-dim: rgba(10, 209, 132, 0.2);
    --urgency: #ff4444;
    --urgency-dim: rgba(255, 68, 68, 0.2);

    /* Borders */
    --ring: #E5E5E5;
    --ring-gold: rgba(184, 148, 31, 0.2);

    /* ===== TYPOGRAPHY ===== */
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-heading: 'Futura', 'Futura PT', 'Avenir', 'Avenir Next', 'Century Gothic', sans-serif;

    /* Font Sizes */
    --text-xs: 11px;
    --text-sm: 13px;
    --text-base: 15px;
    --text-lg: 18px;
    --text-xl: 22px;
    --text-2xl: 28px;
    --text-3xl: 36px;
    --text-4xl: 48px;
    --text-5xl: 64px;

    /* Font Weights */
    --font-normal: 400;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;

    /* Line Heights */
    --leading-tight: 1.1;
    --leading-snug: 1.3;
    --leading-normal: 1.5;
    --leading-relaxed: 1.7;

    /* Letter Spacing */
    --tracking-tight: -0.01em;
    --tracking-normal: 0;
    --tracking-wide: 0.02em;
    --tracking-wider: 0.08em;
    --tracking-widest: 0.14em;

    /* ===== SPACING ===== */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;

    /* ===== BORDERS ===== */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-full: 999px;

    /* ===== SHADOWS ===== */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.10);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.12);
    --shadow-gold: 0 4px 16px rgba(184, 148, 31, 0.15);
    --shadow-gold-lg: 0 8px 32px rgba(184, 148, 31, 0.20);

    /* ===== TRANSITIONS ===== */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* ===== Z-INDEX ===== */
    --z-base: 1;
    --z-dropdown: 10;
    --z-sticky: 50;
    --z-modal: 100;
    --z-popup: 200;
    --z-toast: 300;
    --z-max: 9999;

    /* ===== LAYOUT ===== */
    --container-max: 1400px;
    --container-narrow: 900px;
    --section-padding: var(--space-1);
    --mobile-bar-height: 56px;

    /* ===== PREMIUM ELEVATION SYSTEM ===== */
    /* Multi-layer shadows for glass depth */
    --elevation-1:
        0 0 0 1px rgba(0, 0, 0, 0.02),
        0 1px 2px rgba(0, 0, 0, 0.03),
        0 2px 4px rgba(0, 0, 0, 0.04);
    --elevation-2:
        0 0 0 1px rgba(0, 0, 0, 0.02),
        0 2px 4px rgba(0, 0, 0, 0.03),
        0 4px 8px rgba(0, 0, 0, 0.04),
        0 8px 16px rgba(0, 0, 0, 0.05);
    --elevation-3:
        0 0 0 1px rgba(0, 0, 0, 0.02),
        0 4px 8px rgba(0, 0, 0, 0.04),
        0 8px 16px rgba(0, 0, 0, 0.05),
        0 16px 32px rgba(0, 0, 0, 0.06);
    --elevation-4:
        0 0 0 1px rgba(0, 0, 0, 0.03),
        0 8px 16px rgba(0, 0, 0, 0.05),
        0 16px 32px rgba(0, 0, 0, 0.06),
        0 24px 48px rgba(0, 0, 0, 0.07);
    --elevation-gold-1:
        0 0 0 1px rgba(184, 148, 31, 0.08),
        0 2px 4px rgba(184, 148, 31, 0.08),
        0 4px 8px rgba(184, 148, 31, 0.06),
        0 8px 16px rgba(0, 0, 0, 0.04);
    --elevation-gold-2:
        0 0 0 1px rgba(184, 148, 31, 0.12),
        0 4px 8px rgba(184, 148, 31, 0.10),
        0 8px 16px rgba(184, 148, 31, 0.08),
        0 16px 32px rgba(0, 0, 0, 0.06);
    --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    --glass-border: 1px solid rgba(212, 175, 55, 0.12);

    /* ===== GOLD GLOW SYSTEM ===== */
    --glow-gold-sm: 0 0 12px rgba(184, 148, 31, 0.15);
    --glow-gold-md: 0 0 24px rgba(184, 148, 31, 0.2);
    --glow-gold-lg: 0 0 40px rgba(184, 148, 31, 0.25);
    --glow-gold-xl: 0 0 60px rgba(184, 148, 31, 0.3);

    /* ===== SURFACE TOKENS ===== */
    --surface-warm: rgba(212, 175, 55, 0.03);
    --surface-warm-hover: rgba(212, 175, 55, 0.06);
    --surface-highlight: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, transparent 40%);
}

/* Responsive adjustments */
@media (min-width: 768px) {
    :root {
        --section-padding: var(--space-2);
    }
}

@media (min-width: 1024px) {
    :root {
        --section-padding: var(--space-2);
    }
}
