/* ==========================================================================
   DESIGN SYSTEM TOKENS (assets/css/design-system.css)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=DM+Sans:wght@400;500;700&family=Cormorant+Garamond:wght@400;600;700&display=swap');

:root {
    /* Colors - Brand */
    --color-primary: #006CE4;     /* Trust Blue */
    --color-primary-dark: #003B95;
    --color-primary-light: #EBF3FF;
    --color-accent: #FF6B35;      /* Conversion Orange */
    --color-accent-hover: #F05A22;

    /* Colors - Neutral */
    --color-bg-base: #F5F7FA;     /* Page Background */
    --color-bg-surface: #FFFFFF;  /* Card Background */
    --color-text-main: #111827;
    --color-text-muted: #4B5563;
    --color-text-light: #9CA3AF;
    --color-border: #E5E7EB;
    
    /* Colors - Status */
    --color-success: #0B8E36;
    --color-warning: #F5A623;
    --color-error: #D93025;

    /* Typography */
    --font-family-base: 'DM Sans', 'Plus Jakarta Sans', system-ui, sans-serif;
    
    /* Spacing Grid (8pt system) */
    --space-4: 0.25rem;
    --space-8: 0.5rem;
    --space-12: 0.75rem;
    --space-16: 1rem;
    --space-24: 1.5rem;
    --space-32: 2rem;
    --space-48: 3rem;
    --space-64: 4rem;
    --space-96: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 9999px;

    /* Shadows (Premium Soft Shadows) */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.08);
    --shadow-sticky: 0 -4px 16px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Z-Index Hierarchy */
    --z-base: 1;
    --z-sticky: 100;
    --z-header: 1000;
    --z-overlay: 1100;
    --z-modal: 1200;

    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-base: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    background-color: var(--color-bg-base);
}

body {
    font-family: var(--font-family-base);
    color: var(--color-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, video, svg {
    display: block;
    max-width: 100%;
}

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ── TAILWIND TYPOGRAPHY OVERRIDES ── */
.font-sans { font-family: 'DM Sans', var(--font-family-base) !important; }
.font-serif { font-family: 'Cormorant Garamond', Georgia, serif !important; }
.text-saffron { color: #F5A623 !important; }
.italic { font-style: italic !important; }
h1, h2, h3, h4, h5, h6 { font-family: 'DM Sans', sans-serif; font-weight: 700; }
.hero-title { font-family: 'Cormorant Garamond', serif !important; }

/* Typography Scale */
.h1 { font-size: 2.5rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
.h2 { font-size: 2rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.h3 { font-size: 1.5rem; font-weight: 700; line-height: 1.3; }
.h4 { font-size: 1.25rem; font-weight: 600; line-height: 1.4; }
.h5 { font-size: 1.125rem; font-weight: 600; line-height: 1.4; }

@media (min-width: 768px) {
    .h1 { font-size: 3.5rem; }
    .h2 { font-size: 2.5rem; }
}

.text-muted { color: var(--color-text-muted); }
.text-light { color: var(--color-text-light); }
.text-primary { color: var(--color-primary); }
.text-center { text-align: center; }
