@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@600&display=swap');

/* Revalize Brand Theme Tokens (Nov '23) */

:root {
    /* Primary Blues */
    --deepBlue: #121728;
    --gunMetal: #2E3744;
    --oceanBlue: #00587A;
    --navyBlue: #13508B;
    --lightBlue: #00BAD8;
    
    /* Secondary Accents */
    --warmOrange: #EF9354;
    --sunYellow: #E5C83C;
    
    /* Neutrals */
    --warmWhite: #FFFAF3;
    --lightGrey: #EDE9E6;
    --warmGrey: #D8D4D0;
    --midGrey: #BAB6B1;
    --orangeGrey: #8E8B87;
    --slateGrey: #63615E;
    
    /* Semantic Tokens */
    --bg-primary: var(--deepBlue);
    --bg-secondary: var(--gunMetal);
    --text-primary: var(--warmWhite);
    --text-secondary: var(--midGrey);
    --accent-primary: var(--lightBlue);
    --accent-secondary: var(--warmOrange);
    --border-color: rgba(99, 97, 94, 0.3);
    --success: #22c55e;
    --error: #ef4444;
    
    /* Typography */
    --font-headline: 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-accent: 0 4px 20px rgba(0, 186, 216, 0.3);
}

/* Global Resets */
* {
    font-family: var(--font-body);
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
}

/* Typography Scale */
.headline-xl {
    font-family: var(--font-headline);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.headline-lg {
    font-family: var(--font-headline);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
}

.headline-md {
    font-family: var(--font-headline);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
}

.body-lg {
    font-size: 1.125rem;
    line-height: 1.6;
}

.body-md {
    font-size: 1rem;
    line-height: 1.5;
}

.body-sm {
    font-size: 0.875rem;
    line-height: 1.5;
}

.label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Buttons */
.btn-primary-revalize {
    background: var(--navyBlue);
    color: var(--warmWhite);
    border: none;
    border-radius: var(--radius-md);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.btn-primary-revalize:hover {
    background: var(--oceanBlue);
    box-shadow: var(--shadow-accent);
    transform: translateY(-1px);
}

.btn-accent-revalize {
    background: var(--lightBlue);
    color: var(--deepBlue);
    border: none;
    border-radius: var(--radius-md);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-accent-revalize:hover {
    background: var(--warmOrange);
    box-shadow: var(--shadow-accent);
}

.btn-outline-revalize {
    background: transparent;
    color: var(--warmWhite);
    border: 2px solid var(--lightBlue);
    border-radius: var(--radius-md);
    padding: 0.65rem 1.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-outline-revalize:hover {
    background: var(--lightBlue);
    color: var(--deepBlue);
}

/* Cards */
.card-revalize {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

/* Forms */
.form-control-revalize {
    background: rgba(18, 23, 40, 0.6);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.form-control-revalize:focus {
    border-color: var(--lightBlue);
    box-shadow: 0 0 0 3px rgba(0, 186, 216, 0.2);
    outline: none;
    background: rgba(18, 23, 40, 0.8);
}

.form-control-revalize::placeholder {
    color: var(--text-secondary);
}

/* Gradients */
.gradient-primary {
    background: linear-gradient(135deg, var(--oceanBlue) 0%, var(--lightBlue) 100%);
}

.gradient-accent {
    background: linear-gradient(135deg, var(--warmOrange) 0%, var(--sunYellow) 100%);
}

.gradient-dark {
    background: linear-gradient(135deg, var(--deepBlue) 0%, var(--gunMetal) 100%);
}

/* Dot Pattern Background */
.dots-pattern {
    position: relative;
}

.dots-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(0, 186, 216, 0.15) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    opacity: 0.4;
}
