/* ============================================
   AEROVISION SAS - MODERN DESIGN SYSTEM
   ============================================ */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors */
    --navy: #243b5a;
    --navy-dark: #1f334e;
    --navy-darker: #152336;
    --red: #d60000;
    --red-dark: #bf0000;
    
    /* Neutrals */
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    
    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-navy: 0 10px 25px -5px rgba(36, 59, 90, 0.3);
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;
    
    /* 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);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-900);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Typography System */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
    letter-spacing: -0.02em;
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1em;
}

a {
    text-decoration: none;
    transition: all var(--transition-base);
    color: inherit;
}

/* Modern Button */
.btn-primary {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: var(--white);
    font-weight: 600;
    padding: 0.563rem var(--space-lg);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 10px 25px -5px rgba(214, 0, 0, 0.4);
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
    display: inline-block;
    text-align: center;
    line-height: 1.5;
    box-sizing: border-box;
    text-decoration: none;
    height: auto;
    vertical-align: middle;
    width: 100%;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-slow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--red-dark) 0%, #a00000 100%);
    box-shadow: 0 15px 35px -5px rgba(214, 0, 0, 0.5);
    transform: translateY(-2px);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 10px 25px -5px rgba(214, 0, 0, 0.4);
}

/* Modern Input Field */
.input-field {
    width: 100%;
    padding: 0.91125rem 1.215rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    outline: none;
    transition: all var(--transition-base);
    font-size: 0.81rem;
    line-height: 1.5;
    background-color: var(--white);
    min-height: 2.835rem;
    box-shadow: var(--shadow-sm);
    color: var(--gray-900);
    font-family: var(--font-sans);
}

.input-field:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-md);
}

.input-field:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(214, 0, 0, 0.1), var(--shadow-md);
    background-color: var(--white);
}

.input-field::placeholder {
    color: var(--gray-400);
    opacity: 1;
}

/* Error border */
.border-red-500 {
    border-color: var(--red) !important;
}

/* Utility Classes */
.w-full {
    width: 100%;
}
