/**
 * Blueprint Commerce - Luxury Design System
 * Inspired by premium biotech/scientific branding
 * Dark luxury aesthetic with vibrant cyan accents
 */

/* ========================================
   TYPOGRAPHY
   ======================================== */

/* Import Google Fonts - Distinctive Premium Typography */
/* Syne: Bold, distinctive geometric sans for headers - unique character */
/* Outfit: Modern, clean sans-serif for body - excellent readability */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ========================================
   CSS VARIABLES - LUXURY PALETTE
   ======================================== */

:root {
    /* === COLORS === */

    /* Primary - Deep Navy (Luxury Dark) */
    --color-primary-900: #001221;
    --color-primary-800: #001a33;
    --color-primary-700: #002137;  /* Main background */
    --color-primary-600: #003057;
    --color-primary-500: #004077;

    /* Accent - Vibrant Cyan (Premium Tech) */
    --color-accent-500: #00BBFF;   /* Primary accent */
    --color-accent-400: #1AC5FF;
    --color-accent-300: #5CE4FF;   /* Hover/light */
    --color-accent-200: #99ECFF;
    --color-accent-100: #CCF5FF;

    /* Neutrals - Sophisticated Grays */
    --color-neutral-900: #0A0E14;
    --color-neutral-800: #1A1F29;
    --color-neutral-700: #2A323F;
    --color-neutral-600: #4A5568;
    --color-neutral-500: #6B7280;
    --color-neutral-400: #9CA3AF;
    --color-neutral-300: #B0B0B0;
    --color-neutral-200: #D1D5DB;
    --color-neutral-100: #E5E7EB;
    --color-neutral-50: #F9FAFB;

    /* Semantic Colors */
    --color-success: #10B981;
    --color-success-dark: #059669;
    --color-warning: #F59E0B;
    --color-warning-dark: #D97706;
    --color-error: #EF4444;
    --color-error-dark: #DC2626;
    --color-info: var(--color-accent-500);

    /* === TYPOGRAPHY === */

    /* Font Families */
    --font-display: 'Syne', system-ui, -apple-system, sans-serif;
    --font-body: 'Outfit', system-ui, -apple-system, sans-serif;
    --font-mono: 'SF Mono', 'Monaco', 'Cascadia Code', 'Consolas', monospace;

    /* Font Sizes - Premium Scale */
    --text-xs: 0.75rem;      /* 12px */
    --text-sm: 0.875rem;     /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.25rem;      /* 20px */
    --text-2xl: 1.5rem;      /* 24px */
    --text-3xl: 1.875rem;    /* 30px */
    --text-4xl: 2.25rem;     /* 36px */
    --text-5xl: 3rem;        /* 48px */
    --text-6xl: 3.75rem;     /* 60px */

    /* Font Weights */
    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;

    /* Line Heights */
    --leading-none: 1;
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;

    /* === SPACING === */

    /* Generous spacing system (4px base) */
    --space-1: 0.25rem;    /* 4px */
    --space-2: 0.5rem;     /* 8px */
    --space-3: 0.75rem;    /* 12px */
    --space-4: 1rem;       /* 16px */
    --space-5: 1.25rem;    /* 20px */
    --space-6: 1.5rem;     /* 24px */
    --space-8: 2rem;       /* 32px */
    --space-10: 2.5rem;    /* 40px */
    --space-12: 3rem;      /* 48px - content block */
    --space-16: 4rem;      /* 64px */
    --space-20: 5rem;      /* 80px */
    --space-24: 6rem;      /* 96px */

    /* Container Widths */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1536px;

    /* === RESPONSIVE BREAKPOINTS === */
    /* Material Design standard breakpoints for consistent responsive design */

    --breakpoint-mobile-max: 599px;     /* Mobile: 320px - 599px */
    --breakpoint-tablet-min: 600px;     /* Tablet: 600px - 959px */
    --breakpoint-tablet-max: 959px;
    --breakpoint-desktop-min: 960px;    /* Desktop: 960px+ */

    /* === ELEVATION === */

    /* Sophisticated shadow system */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Glow effects for premium accents */
    --glow-cyan: 0 0 20px rgba(0, 187, 255, 0.3);
    --glow-cyan-strong: 0 0 30px rgba(0, 187, 255, 0.5);

    /* === BORDERS === */

    --border-width: 1px;
    --border-width-2: 2px;
    --border-width-4: 4px;

    /* Border Radius */
    --radius-none: 0;
    --radius-sm: 0.125rem;    /* 2px */
    --radius-md: 0.375rem;    /* 6px */
    --radius-lg: 0.5rem;      /* 8px */
    --radius-xl: 0.75rem;     /* 12px */
    --radius-2xl: 1rem;       /* 16px */
    --radius-full: 9999px;

    /* === TRANSITIONS === */

    /* Premium easing curves */
    --ease-in-out: cubic-bezier(0.4, 0.0, 0.2, 1);
    --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1);
    --ease-in: cubic-bezier(0.4, 0.0, 1, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Transition Durations */
    --duration-fast: 150ms;
    --duration-base: 300ms;
    --duration-slow: 500ms;

    /* === Z-INDEX SYSTEM === */

    --z-base: 0;
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

/* Container */
.container-luxury {
    width: 100%;
    max-width: var(--container-xl);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-6);
    padding-right: var(--space-6);
}

@media (min-width: 1536px) {
    .container-luxury {
        max-width: var(--container-2xl);
    }
}

/* Content Blocks - Generous Spacing */
.content-block {
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
}

/* Premium Card */
.card-luxury {
    background: var(--color-neutral-800);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--duration-base) var(--ease-in-out);
}

.card-luxury:hover {
    box-shadow: var(--shadow-xl), var(--glow-cyan);
    border-color: rgba(0, 187, 255, 0.2);
    transform: translateY(-2px);
}

/* Premium Button */
.btn-luxury {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4) var(--space-8);
    font-family: var(--font-display);
    font-weight: var(--font-bold);
    font-size: var(--text-base);
    line-height: 1;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all var(--duration-base) var(--ease-in-out);
    text-decoration: none;
}

.btn-luxury-primary {
    background: var(--color-accent-500);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-luxury-primary:hover {
    background: var(--color-accent-400);
    box-shadow: var(--shadow-lg), var(--glow-cyan);
    transform: translateY(-1px);
}

.btn-luxury-primary:active {
    transform: translateY(0);
}

.btn-luxury-secondary {
    background: transparent;
    color: var(--color-accent-500);
    border: 2px solid var(--color-accent-500);
}

.btn-luxury-secondary:hover {
    background: rgba(0, 187, 255, 0.1);
    border-color: var(--color-accent-300);
    color: var(--color-accent-300);
}

/* Typography Utilities */
.text-display {
    font-family: var(--font-display);
    font-weight: var(--font-bold);
}

.text-gradient-cyan {
    background: linear-gradient(135deg, var(--color-accent-500) 0%, var(--color-accent-300) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Divider */
.divider-luxury {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 187, 255, 0.3), transparent);
    margin: var(--space-8) 0;
}

/* Focus States - Accessibility */
*:focus-visible {
    outline: 2px dotted var(--color-accent-500);
    outline-offset: 3px;
}

/* Selection */
::selection {
    background-color: var(--color-accent-500);
    color: white;
}
