/**
 * AysimaPOS Landing Page - Design System Variables
 * 
 * Modern SaaS-inspired design system with:
 * - Professional color palette
 * - Typography scale
 * - Spacing system
 * - Shadow system
 * - Border radius scale
 * 
 * @version 2.0.0
 * @author AysimaPOS Development Team
 */

:root {
    /* ========================================
       COLOR PALETTE
       Modern, professional SaaS colors
    ======================================== */
    
    /* Primary Colors (Professional Blue - Parasut-inspired) */
    --color-primary-50: #eff6ff;
    --color-primary-100: #dbeafe;
    --color-primary-200: #bfdbfe;
    --color-primary-300: #93c5fd;
    --color-primary-400: #60a5fa;
    --color-primary-500: #3b82f6;
    --color-primary-600: #2563eb;  /* Main brand color - Bright Professional Blue */
    --color-primary-700: #1d4ed8;
    --color-primary-800: #1e40af;
    --color-primary-900: #1e3a8a;
    
    /* Secondary/Accent (Green - Fresh & Modern) */
    --color-accent-50: #ecfdf5;
    --color-accent-100: #d1fae5;
    --color-accent-200: #a7f3d0;
    --color-accent-300: #6ee7b7;
    --color-accent-400: #34d399;
    --color-accent-500: #10b981;  /* Accent color - Fresh Green */
    --color-accent-600: #059669;
    --color-accent-700: #047857;
    --color-accent-800: #065f46;
    --color-accent-900: #064e3b;
    
    /* Success (Green) */
    --color-success-50: #f0fdf4;
    --color-success-100: #dcfce7;
    --color-success-200: #bbf7d0;
    --color-success-300: #86efac;
    --color-success-400: #4ade80;
    --color-success-500: #48bb78;
    --color-success-600: #16a34a;
    --color-success-700: #15803d;
    --color-success-800: #166534;
    --color-success-900: #14532d;
    
    /* Warning (Orange) */
    --color-warning-50: #fff7ed;
    --color-warning-100: #ffedd5;
    --color-warning-200: #fed7aa;
    --color-warning-300: #fdba74;
    --color-warning-400: #fb923c;
    --color-warning-500: #ed8936;
    --color-warning-600: #ea580c;
    --color-warning-700: #c2410c;
    --color-warning-800: #9a3412;
    --color-warning-900: #7c2d12;
    
    /* Danger (Red) */
    --color-danger-50: #fef2f2;
    --color-danger-100: #fee2e2;
    --color-danger-200: #fecaca;
    --color-danger-300: #fca5a5;
    --color-danger-400: #f87171;
    --color-danger-500: #f56565;
    --color-danger-600: #dc2626;
    --color-danger-700: #b91c1c;
    --color-danger-800: #991b1b;
    --color-danger-900: #7f1d1d;
    
    /* Info (Blue) */
    --color-info-50: #eff6ff;
    --color-info-100: #dbeafe;
    --color-info-200: #bfdbfe;
    --color-info-300: #93c5fd;
    --color-info-400: #60a5fa;
    --color-info-500: #3b82f6;
    --color-info-600: #2563eb;
    --color-info-700: #1d4ed8;
    --color-info-800: #1e40af;
    --color-info-900: #1e3a8a;
    
    /* Neutral Grays */
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;
    
    /* Semantic Colors (Shortcuts) */
    --color-primary: var(--color-primary-500);
    --color-accent: var(--color-accent-500);
    --color-success: var(--color-success-500);
    --color-warning: var(--color-warning-500);
    --color-danger: var(--color-danger-500);
    --color-info: var(--color-info-500);
    
    /* CTA Colors (Matte Orange - Sophisticated & Eye-Comfortable) */
    --color-cta-50: #f5e6e0;
    --color-cta-100: #e5c0b0;
    --color-cta-200: #d59580;
    --color-cta-300: #c56b50;
    --color-cta-400: #b85630;
    --color-cta-500: #b24219;  /* Main CTA - Matte, sophisticated, no eye strain */
    --color-cta-600: #9e3915;  /* CTA hover - Deeper matte tone */
    --color-cta-700: #8a3012;
    --color-cta-800: #76280f;
    --color-cta-900: #62200c;
    
    /* Background Colors */
    --color-bg-primary: #ffffff;
    --color-bg-secondary: var(--color-gray-50);
    --color-bg-tertiary: var(--color-gray-100);
    --color-bg-dark: var(--color-gray-900);
    
    /* Text Colors */
    --color-text-primary: var(--color-gray-900);
    --color-text-secondary: var(--color-gray-600);
    --color-text-tertiary: var(--color-gray-500);
    --color-text-inverse: #ffffff;
    
    /* Border Colors */
    --color-border-light: var(--color-gray-200);
    --color-border-medium: var(--color-gray-300);
    --color-border-dark: var(--color-gray-400);
    
    /* ========================================
       GRADIENTS
    ======================================== */
    
    --gradient-primary: linear-gradient(135deg, var(--color-primary-600) 0%, var(--color-accent-500) 100%);
    --gradient-primary-hover: linear-gradient(135deg, var(--color-primary-700) 0%, var(--color-accent-600) 100%);
    --gradient-success: linear-gradient(135deg, var(--color-success-400) 0%, var(--color-success-600) 100%);
    --gradient-light: linear-gradient(135deg, var(--color-gray-50) 0%, var(--color-gray-100) 100%);
    --gradient-dark: linear-gradient(135deg, var(--color-gray-800) 0%, var(--color-gray-900) 100%);
    
    /* CTA Gradients (Matte - Sophisticated & Eye-Comfortable) */
    --gradient-cta: linear-gradient(135deg, var(--color-cta-500) 0%, var(--color-cta-600) 100%);
    --gradient-cta-hover: linear-gradient(135deg, var(--color-cta-600) 0%, var(--color-cta-700) 100%);
    --gradient-cta-glow: 0 4px 20px rgba(178, 66, 25, 0.35);
    
    /* ========================================
       SHORTHAND ALIASES (For ease of use)
    ======================================== */
    
    /* Primary Color Shortcuts */
    --primary-50: var(--color-primary-50);
    --primary-100: var(--color-primary-100);
    --primary-200: var(--color-primary-200);
    --primary-300: var(--color-primary-300);
    --primary-400: var(--color-primary-400);
    --primary-500: var(--color-primary-500);
    --primary-600: var(--color-primary-600);
    --primary-700: var(--color-primary-700);
    --primary-800: var(--color-primary-800);
    --primary-900: var(--color-primary-900);
    
    /* Accent Color Shortcuts */
    --accent-50: var(--color-accent-50);
    --accent-100: var(--color-accent-100);
    --accent-200: var(--color-accent-200);
    --accent-300: var(--color-accent-300);
    --accent-400: var(--color-accent-400);
    --accent-500: var(--color-accent-500);
    --accent-600: var(--color-accent-600);
    --accent-700: var(--color-accent-700);
    --accent-800: var(--color-accent-800);
    --accent-900: var(--color-accent-900);
    
    /* Success Color Shortcuts */
    --success-300: var(--color-success-300);
    --success-400: var(--color-success-400);
    --success-500: var(--color-success-500);
    --success-600: var(--color-success-600);
    
    /* Warning Color Shortcuts */
    --warning-500: var(--color-warning-500);
    
    /* Danger Color Shortcuts */
    --danger-500: var(--color-danger-500);
    --danger-600: var(--color-danger-600);
    
    /* Info Color Shortcuts */
    --info-500: var(--color-info-500);
    
    /* CTA Color Shortcuts (High Conversion Orange) */
    --cta-50: var(--color-cta-50);
    --cta-100: var(--color-cta-100);
    --cta-200: var(--color-cta-200);
    --cta-300: var(--color-cta-300);
    --cta-400: var(--color-cta-400);
    --cta-500: var(--color-cta-500);
    --cta-600: var(--color-cta-600);
    --cta-700: var(--color-cta-700);
    --cta-800: var(--color-cta-800);
    --cta-900: var(--color-cta-900);
    
    /* Gray Color Shortcuts */
    --gray-50: var(--color-gray-50);
    --gray-100: var(--color-gray-100);
    --gray-200: var(--color-gray-200);
    --gray-300: var(--color-gray-300);
    --gray-400: var(--color-gray-400);
    --gray-500: var(--color-gray-500);
    --gray-600: var(--color-gray-600);
    --gray-700: var(--color-gray-700);
    --gray-800: var(--color-gray-800);
    --gray-900: var(--color-gray-900);
    
    /* ========================================
       TYPOGRAPHY
    ======================================== */
    
    /* Font Families */
    --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-family-heading: var(--font-family-base);
    --font-family-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    
    /* Font Sizes */
    --font-size-xs: 0.75rem;      /* 12px */
    --font-size-sm: 0.875rem;     /* 14px */
    --font-size-base: 1rem;       /* 16px */
    --font-size-lg: 1.125rem;     /* 18px */
    --font-size-xl: 1.25rem;      /* 20px */
    --font-size-2xl: 1.5rem;      /* 24px */
    --font-size-3xl: 1.875rem;    /* 30px */
    --font-size-4xl: 2.25rem;     /* 36px */
    --font-size-5xl: 3rem;        /* 48px */
    --font-size-6xl: 3.75rem;     /* 60px */
    --font-size-7xl: 4.5rem;      /* 72px */
    
    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --font-weight-black: 900;
    
    /* Line Heights */
    --line-height-none: 1;
    --line-height-tight: 1.25;
    --line-height-snug: 1.375;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.625;
    --line-height-loose: 2;
    
    /* Letter Spacing */
    --letter-spacing-tighter: -0.05em;
    --letter-spacing-tight: -0.025em;
    --letter-spacing-normal: 0;
    --letter-spacing-wide: 0.025em;
    --letter-spacing-wider: 0.05em;
    --letter-spacing-widest: 0.1em;
    
    /* ========================================
       SPACING SCALE
       Based on 4px grid (0.25rem)
    ======================================== */
    
    --spacing-0: 0;
    --spacing-px: 1px;
    --spacing-0-5: 0.125rem;   /* 2px */
    --spacing-1: 0.25rem;      /* 4px */
    --spacing-1-5: 0.375rem;   /* 6px */
    --spacing-2: 0.5rem;       /* 8px */
    --spacing-2-5: 0.625rem;   /* 10px */
    --spacing-3: 0.75rem;      /* 12px */
    --spacing-3-5: 0.875rem;   /* 14px */
    --spacing-4: 1rem;         /* 16px */
    --spacing-5: 1.25rem;      /* 20px */
    --spacing-6: 1.5rem;       /* 24px */
    --spacing-7: 1.75rem;      /* 28px */
    --spacing-8: 2rem;         /* 32px */
    --spacing-9: 2.25rem;      /* 36px */
    --spacing-10: 2.5rem;      /* 40px */
    --spacing-11: 2.75rem;     /* 44px */
    --spacing-12: 3rem;        /* 48px */
    --spacing-14: 3.5rem;      /* 56px */
    --spacing-16: 4rem;        /* 64px */
    --spacing-20: 5rem;        /* 80px */
    --spacing-24: 6rem;        /* 96px */
    --spacing-28: 7rem;        /* 112px */
    --spacing-32: 8rem;        /* 128px */
    --spacing-36: 9rem;        /* 144px */
    --spacing-40: 10rem;       /* 160px */
    --spacing-44: 11rem;       /* 176px */
    --spacing-48: 12rem;       /* 192px */
    --spacing-52: 13rem;       /* 208px */
    --spacing-56: 14rem;       /* 224px */
    --spacing-60: 15rem;       /* 240px */
    --spacing-64: 16rem;       /* 256px */
    --spacing-72: 18rem;       /* 288px */
    --spacing-80: 20rem;       /* 320px */
    --spacing-96: 24rem;       /* 384px */
    
    /* ========================================
       BORDER RADIUS
    ======================================== */
    
    --radius-none: 0;
    --radius-sm: 0.125rem;     /* 2px */
    --radius-base: 0.25rem;    /* 4px */
    --radius-md: 0.375rem;     /* 6px */
    --radius-lg: 0.5rem;       /* 8px */
    --radius-xl: 0.75rem;      /* 12px */
    --radius-2xl: 1rem;        /* 16px */
    --radius-3xl: 1.5rem;      /* 24px */
    --radius-4xl: 2rem;        /* 32px */
    --radius-full: 9999px;     /* Circular */
    
    /* Border Radius Shortcuts */
    --border-radius-none: var(--radius-none);
    --border-radius-sm: var(--radius-sm);
    --border-radius-base: var(--radius-base);
    --border-radius-md: var(--radius-md);
    --border-radius-lg: var(--radius-lg);
    --border-radius-xl: var(--radius-xl);
    --border-radius-2xl: var(--radius-2xl);
    --border-radius-3xl: var(--radius-3xl);
    --border-radius-full: var(--radius-full);
    
    /* ========================================
       SHADOWS (Elevation)
    ======================================== */
    
    --shadow-none: none;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-base: 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);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
    
    /* Colored Shadows */
    --shadow-primary: 0 10px 25px -5px rgba(102, 126, 234, 0.25);
    --shadow-success: 0 10px 25px -5px rgba(72, 187, 120, 0.25);
    --shadow-warning: 0 10px 25px -5px rgba(237, 137, 54, 0.25);
    --shadow-danger: 0 10px 25px -5px rgba(245, 101, 101, 0.25);
    
    /* ========================================
       Z-INDEX SCALE
    ======================================== */
    
    --z-index-dropdown: 1000;
    --z-index-sticky: 1020;
    --z-index-fixed: 1030;
    --z-index-modal-backdrop: 1040;
    --z-index-modal: 1050;
    --z-index-popover: 1060;
    --z-index-tooltip: 1070;
    
    /* ========================================
       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);
    --transition-slower: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Detailed Transition Controls */
    --transition-duration-150: 150ms;
    --transition-duration-200: 200ms;
    --transition-duration-300: 300ms;
    --transition-duration-500: 500ms;
    --transition-timing-function-in: cubic-bezier(0.4, 0, 1, 1);
    --transition-timing-function-out: cubic-bezier(0, 0, 0.2, 1);
    --transition-timing-function-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    
    /* ========================================
       BREAKPOINTS (for reference in JS)
    ======================================== */
    
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --breakpoint-xxl: 1400px;
    
    /* ========================================
       CONTAINER MAX WIDTHS
    ======================================== */
    
    --container-sm: 540px;
    --container-md: 720px;
    --container-lg: 960px;
    --container-xl: 1280px;
    --container-xxl: 1280px;
    
    /* ========================================
       CONTENT WIDTHS (for text readability)
    ======================================== */
    
    --content-width-narrow: 42rem;   /* ~672px - optimal for reading */
    --content-width-normal: 56rem;   /* ~896px - normal content */
    --content-width-wide: 72rem;     /* ~1152px - wide content */
    --content-width-full: 100%;      /* full width */
}

/* ========================================
   UTILITY CLASSES
======================================== */

/* Max Width Utilities */
.max-w-narrow {
    max-width: var(--content-width-narrow);
}

.max-w-normal {
    max-width: var(--content-width-normal);
}

.max-w-wide {
    max-width: var(--content-width-wide);
}

/* Margin Auto (centering) */
.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Text Sizes */
.text-xs {
    font-size: var(--font-size-xs) !important;
}

.text-sm {
    font-size: var(--font-size-sm) !important;
}

.text-base {
    font-size: var(--font-size-base) !important;
}

.text-lg {
    font-size: var(--font-size-lg) !important;
}

.text-xl {
    font-size: var(--font-size-xl) !important;
}

.text-2xl {
    font-size: var(--font-size-2xl) !important;
}

/* Line Heights */
.leading-tight {
    line-height: var(--line-height-tight) !important;
}

.leading-normal {
    line-height: var(--line-height-normal) !important;
}

.leading-relaxed {
    line-height: var(--line-height-relaxed) !important;
}

.leading-loose {
    line-height: var(--line-height-loose) !important;
}

/* Background Gradients */
.bg-gradient-primary {
    background: var(--gradient-primary) !important;
}

.bg-gradient-light {
    background: var(--gradient-light) !important;
}

/* Shadows */
.shadow-card {
    box-shadow: var(--shadow-lg) !important;
}

.shadow-card-hover:hover {
    box-shadow: var(--shadow-xl) !important;
    transform: translateY(-2px);
    transition: all var(--transition-base);
}

/* Border Radius */
.rounded-card {
    border-radius: var(--radius-3xl) !important;
}

/* Display Flex Utilities */
.d-flex-center {
    display: flex !important;
    align-items: center !important;
}

.d-flex-gap {
    display: flex !important;
    gap: var(--spacing-5) !important;
}

