/* =================================================================
   VECTOR SALES ADVISORS - GLOBAL STYLES
   Professional B2B Sales Consulting Theme
   ================================================================= */

/* CSS Variables - Professional Corporate Color Scheme */
:root {
    /* Brand Colors - Professional Blue & Accent Orange */
    --brand-primary: #1e3a5f;    /* Deep professional blue */
    --brand-dark: #0f1f33;       /* Navy dark */
    --brand-light: #f8f9fb;      /* Off-white light */
    --brand-accent: #ff6b35;     /* Vibrant orange for CTAs */
    --brand-neutral: #6b7280;    /* Gray neutral */
    
    /* Secondary Colors */
    --brand-secondary: #2563eb;  /* Bright blue */
    --brand-success: #10b981;    /* Green for success metrics */
    --brand-info: #3b82f6;       /* Info blue */
    --brand-warning: #f59e0b;    /* Warning amber */
    
    /* 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;
    --text-7xl: 4.5rem;
    
    /* Font Families */
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --section-padding: 5rem;
    --container-padding: 1.5rem;
    
    /* Transitions */
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* 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);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* Global Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--brand-dark);
    background: var(--brand-light);
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--brand-dark);
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Section Spacing */
.section {
    padding: var(--section-padding) 0;
}

/* CMS Color Classes */
.cms-bg-primary { background-color: var(--brand-primary) !important; }
.cms-bg-dark { background-color: var(--brand-dark) !important; }
.cms-bg-light { background-color: var(--brand-light) !important; }
.cms-bg-accent { background-color: var(--brand-accent) !important; }
.cms-bg-neutral { background-color: var(--brand-neutral) !important; }

.cms-text-primary { color: var(--brand-primary) !important; }
.cms-text-dark { color: var(--brand-dark) !important; }
.cms-text-light { color: var(--brand-light) !important; }
.cms-text-accent { color: var(--brand-accent) !important; }
.cms-text-neutral { color: var(--brand-neutral) !important; }

.cms-border-primary { border-color: var(--brand-primary) !important; }
.cms-border-dark { border-color: var(--brand-dark) !important; }
.cms-border-light { border-color: var(--brand-light) !important; }
.cms-border-accent { border-color: var(--brand-accent) !important; }
.cms-border-neutral { border-color: var(--brand-neutral) !important; }

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: var(--text-base);
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--brand-accent);
    color: white;
}

.btn-primary:hover {
    background: #ff5722;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--brand-primary);
    border-color: var(--brand-primary);
}

.btn-secondary:hover {
    background: var(--brand-primary);
    color: white;
}

.btn-white {
    background: white;
    color: var(--brand-primary);
}

.btn-white:hover {
    background: var(--brand-light);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--brand-accent), var(--brand-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass Effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive Utilities */
@media (max-width: 1024px) {
    :root {
        --section-padding: 4rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 3rem;
        --text-5xl: 2.5rem;
        --text-6xl: 3rem;
        --text-7xl: 3.5rem;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 1rem;
        --text-4xl: 1.875rem;
        --text-5xl: 2.25rem;
    }
}

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

.flex { display: flex; }
.flex-column { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

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

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

.relative { position: relative; }
.absolute { position: absolute; }

/* Loading Animation */
.loader {
    border: 3px solid var(--brand-light);
    border-top: 3px solid var(--brand-accent);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--brand-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--brand-primary);
    transform: translateY(-5px);
}