/* Global styles for Universal Data Connector */
/* Import Mulish font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@200;300;400;500;600;700;800;900&display=swap');

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

/* Color Variables - Dataswyft Brand Palette */
:root {
    /* Primary - Purple */
    --primary-50: #f5f3ff;
    --primary-100: #ede9fe;
    --primary-200: #ddd6fe;
    --primary-300: #c4b5fd;
    --primary-400: #a78bfa;
    --primary-500: #8b5cf6;
    --primary-600: #7c3aed;
    --primary-700: #6d28d9;
    --primary-800: #5b21b6;
    --primary-900: #4c1d95;
    --primary-950: #2e1065;

    /* Tertiary - Teal/Blue */
    --tertiary-50: #f0fdfa;
    --tertiary-100: #ccfbf1;
    --tertiary-200: #99f6e4;
    --tertiary-300: #5eead4;
    --tertiary-400: #2dd4bf;
    --tertiary-500: #14b8a6;
    --tertiary-600: #0d9488;
    --tertiary-700: #0f766e;
    --tertiary-800: #115e59;
    --tertiary-900: #134e4a;
    --tertiary-950: #042f2e;

    /* Neutral - Gray Scale */
    --neutral-50: #f9fafb;
    --neutral-100: #f3f4f6;
    --neutral-200: #e5e7eb;
    --neutral-300: #d1d5db;
    --neutral-400: #9ca3af;
    --neutral-500: #6b7280;
    --neutral-600: #4b5563;
    --neutral-700: #374151;
    --neutral-800: #1f2937;
    --neutral-900: #111827;
    --neutral-950: #030712;

    /* Semantic Colors */
    --success-500: #10b981;
    --success-600: #059669;
    --warning-500: #f59e0b;
    --error-500: #ef4444;
    --error-600: #dc2626;

    /* Connector Brand Colors */
    --connector-primary: #7c3aed;
    --connector-secondary: #0d9488;
    --connector-accent: #f59e0b;
}

/* Base HTML Styles */
html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Mulish', sans-serif;
    background-color: var(--primary-50);
    color: var(--neutral-900);
    line-height: 1.6;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--neutral-900);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-600);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-700);
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
}

/* Selection */
::selection {
    background-color: var(--primary-200);
    color: var(--primary-900);
}
