/* ==========================================================
   BookerAI Design System V2
   Focus: Trust, Professionalism, and Smooth Flow
   ========================================================== */

:root {
    /* --- Modern Color Palette --- */
    --brand-primary: #3b82f6;    /* Electric Blue */
    --brand-primary-dark: #2563eb;
    --brand-secondary: #10b981;  /* Emerald */
    --brand-accent: #6366f1;     /* Indigo */
    
    --bg-base: #f8fafc;
    --bg-surface: #ffffff;
    --bg-overlay: rgba(255, 255, 255, 0.7);
    
    --text-strong: #0f172a;      /* Deep Slate */
    --text-main: #334155;
    --text-muted: #64748b;
    --text-white: #ffffff;
    
    --border-soft: #e2e8f0;
    --border-focus: #3b82f6;
    
    /* --- Glassmorphism & Shadows --- */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-blur: blur(12px);
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* --- Animations --- */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-main: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --bg-base: #0f172a;
    --bg-surface: #1e293b;
    --bg-overlay: rgba(15, 23, 42, 0.7);
    
    --text-strong: #f8fafc;
    --text-main: #cbd5e1;
    --text-muted: #94a3b8;
    
    --border-soft: #334155;
    
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* --- Base Typography --- */
body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-base);
    line-height: 1.5;
}

h1, h2, h3, h4, .font-heading {
    font-family: 'Poppins', sans-serif; /* fallback for now, switching to Outfit in layout */
    color: var(--text-strong);
    letter-spacing: -0.02em;
    font-weight: 700;
}

/* --- Components: Buttons --- */
.btn-v2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition-main);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-v2-primary {
    background: var(--brand-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-v2-primary:hover {
    background: var(--brand-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-v2-secondary {
    background: var(--bg-surface);
    color: var(--text-strong);
    border-color: var(--border-soft);
}

.btn-v2-secondary:hover {
    background: var(--bg-base);
    border-color: var(--text-muted);
}

/* --- Components: Cards --- */
.card-v2 {
    background: var(--bg-surface);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-main);
}

.card-v2:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-primary);
}

/* --- Header & Nav --- */
.site-header-v2 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-main);
}

.nav-container-v2 {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* --- Components: Inputs --- */
.input-v2 {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--border-soft);
    background: var(--bg-surface);
    color: var(--text-strong);
    font-size: 0.9375rem;
    transition: var(--transition-fast);
}

.input-v2:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* --- Responsive Utilities --- */
@media (max-width: 768px) {
    .nav-container-v2 {
        height: 64px;
        padding: 0 1rem;
    }
}
