/* Design Tokens for ForwardToUSA */

:root {
    /* ========================================
       Typography Scale
       ======================================== */
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 24px;
    --font-size-2xl: 32px;
    --font-size-3xl: 48px;

    /* Font Families - Google-style Typography */
    --font-sans-en: 'Inter', 'Roboto', system-ui, -apple-system, sans-serif;
    --font-sans-zh: 'Inter', 'Roboto', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    --font-sans: var(--font-sans-en);

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

    /* Line Heights */
    --line-height-tight: 1.2;
    --line-height-normal: 1.6;
    --line-height-relaxed: 1.8;

    /* ========================================
       Spacing Scale (4px base)
       ======================================== */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-6: 24px;
    --space-8: 32px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    --space-24: 96px;
    --space-25: 100px;
    --space-32: 128px;
    --space-40: 160px;

    /* Section Padding */
    --section-padding: 100px;
    --section-padding-mobile: 60px;

    /* ========================================
       Color Palette
       ======================================== */
    /* Primary Navy (Deep Business Blue) */
    --color-primary-900: #0A2540;
    --color-primary-800: #1a365d;
    --color-primary-700: #2c5282;
    --color-primary-600: #2b6cb0;
    --color-primary-500: #3182ce;
    --color-primary-50: #F6F9FC;
    /* Light Background */

    /* Accent Tech Blue */
    --color-accent-500: #0077FF;
    --color-accent-600: #0066DD;
    --color-accent-50: #E6F0FF;

    /* Neutral Gray */
    --color-gray-50: #F6F9FC;
    --color-gray-100: #F1F5F9;
    --color-gray-200: #E2E8F0;
    --color-gray-300: #CBD5E1;
    --color-gray-400: #94A3B8;
    --color-gray-500: #64748B;
    --color-gray-600: #475569;
    --color-gray-700: #334155;
    --color-gray-800: #1E293B;
    --color-gray-900: #0F172A;

    /* Semantic Colors */
    --color-success: #10B981;
    --color-warning: #F59E0B;
    --color-error: #EF4444;

    /* ========================================
       Border Radius
       ======================================== */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* ========================================
       Shadows (Antigravity System)
       ======================================== */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.1);

    /* ========================================
       Layout
       ======================================== */
    --container-max: 1200px;
    --container-narrow: 800px;
    --content-max-width: 65ch;
    /* ~60-75 characters */

    /* ========================================
       Transitions
       ======================================== */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);

    /* ========================================
       Z-index Scale
       ======================================== */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* ========================================
   Reduced Motion Support
   ======================================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}