/* Global Styles & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ensure full height */
html, body {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
}

:root {
    /* Modern Ocean-Inspired Color Palette */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --ocean-gradient: linear-gradient(135deg, #1e3c72 0%, #2a5298 25%, #667eea 50%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --accent-gradient: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    --success-gradient: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    --warning-gradient: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    --error-gradient: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    
    /* Color System */
    --primary-blue: #667eea;
    --ocean-blue: #2a5298;
    --deep-blue: #1e3c72;
    --accent-teal: #4ecdc4;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.75);
    --text-light: rgba(255, 255, 255, 0.9);
    
    /* Modern Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.15);
    --shadow-colored: 0 10px 25px rgba(102, 126, 234, 0.25);
    --shadow-teal: 0 10px 25px rgba(78, 205, 196, 0.25);
    
    /* Modern Border Radius */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-3xl: 32px;
    --radius-full: 9999px;
    
    /* Glassmorphism & Modern Effects */
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-bg-light: rgba(255, 255, 255, 0.05);
    --glass-bg-strong: rgba(255, 255, 255, 0.15);
    --glass-border: 1px solid rgba(255, 255, 255, 0.18);
    --backdrop-blur-sm: blur(8px);
    --backdrop-blur-md: blur(16px);
    --backdrop-blur-lg: blur(24px);
    
    /* Modern Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 2.5rem;
    --space-3xl: 3rem;
    --space-4xl: 4rem;
    
    /* Typography Scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    
    /* Animation */
    --transition-fast: 0.15s ease-out;
    --transition-normal: 0.25s ease-out;
    --transition-slow: 0.4s ease-out;
    --animation-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Legacy support */
    --border-radius-small: var(--radius-md);
    --border-radius-medium: var(--radius-lg);
    --border-radius-large: var(--radius-xl);
    --border-radius-pill: var(--radius-full);
    --glassmorphism-bg: var(--glass-bg);
    --glassmorphism-bg-light: var(--glass-bg-light);
    --glassmorphism-bg-dark: var(--glass-bg-strong);
    --backdrop-blur: var(--backdrop-blur-md);
    --backdrop-blur-light: var(--backdrop-blur-sm);
    --shadow-light: var(--shadow-colored);
    --shadow-medium: var(--shadow-lg);
    --shadow-dark: var(--shadow-xl);
}

html {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--ocean-gradient);
    min-height: 100vh;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

h1 {
    font-size: var(--text-5xl);
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-white) 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: var(--text-4xl);
    font-weight: 600;
    color: var(--text-white);
}

h3 {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--text-white);
}

h4 {
    font-size: var(--text-xl);
    font-weight: 500;
    color: var(--text-white);
}

h5 {
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--text-white);
}

h6 {
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--text-white);
}

p {
    margin-bottom: 1rem;
}

/* Form Elements */
.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-white);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    font-weight: 400;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: var(--backdrop-blur-sm);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    background: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg), 0 0 0 3px rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-white {
    color: var(--text-white);
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }