/* ==========================================================================
   Salesflying Consulting Design System
   Official Brand Colors:
   - Primary Corporate Blue: #0056B3 / #004494
   - Accent Wing Orange: #FF6B00 / #FF7A00 / #E65100
   
   Dual Theme:
   - Light Mode (Default): Clean white / slate-50 / slate-100, dark text #0F172A
   - Dark Mode: Deep navy-black #060B18 / slate-950, light text #E2E8F0
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
    --font-heading: 'Outfit', sans-serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Official Brand Colors */
    --brand-blue: #0056B3;
    --brand-blue-dark: #003D80;
    --brand-blue-light: #1A75D2;
    --brand-orange: #FF6B00;
    --brand-orange-light: #FF8533;
    --brand-orange-dark: #D95B00;
}

body {
    font-family: var(--font-sans);
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.25s ease, color 0.25s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

/* ==========================================================================
   Glassmorphism & Card Styles (Light by default, Dark in .dark)
   ========================================================================== */

/* Light Mode Glass Panel */
.glass-panel {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

.glass-panel-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel-hover:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(255, 107, 0, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 20px 30px -10px rgba(0, 86, 179, 0.12), 0 0 15px rgba(255, 107, 0, 0.1);
}

.glass-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

/* Dark Mode Glass Overrides */
.dark .glass-panel {
    background: rgba(16, 27, 59, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
}

.dark .glass-panel-hover:hover {
    background: rgba(28, 37, 65, 0.9);
    border-color: rgba(255, 107, 0, 0.4);
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 107, 0, 0.15);
}

.dark .glass-header {
    background: rgba(6, 11, 24, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Gradients & Text Treatments
   ========================================================================== */

/* Light text gradients */
.gradient-text-blue-orange {
    background: linear-gradient(135deg, #0056B3 0%, #003D80 50%, #FF6B00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dark .gradient-text-blue-orange {
    background: linear-gradient(135deg, #FFFFFF 20%, #60A5FA 50%, #FF8533 90%, #FF6B00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-orange {
    background: linear-gradient(135deg, #FF7A00 0%, #D95B00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dark .gradient-text-orange {
    background: linear-gradient(135deg, #FFA04D 0%, #FF6B00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-blue {
    background: linear-gradient(135deg, #0056B3 0%, #003366 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dark .gradient-text-blue {
    background: linear-gradient(135deg, #FFFFFF 30%, #3B82F6 80%, #0056B3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-btn-orange {
    background: linear-gradient(135deg, #FF7A00 0%, #FF6B00 60%, #D95B00 100%);
}

.gradient-btn-blue {
    background: linear-gradient(135deg, #1A75D2 0%, #0056B3 100%);
}

.gradient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.animate-float {
    animation: float 5s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.06); }
}

.animate-pulse-glow {
    animation: pulseGlow 6s ease-in-out infinite;
}

/* ==========================================================================
   Rich Blog Prose Typography (Light + Dark Support)
   ========================================================================== */
.blog-content {
    color: #334155;
    font-size: 1.125rem;
    line-height: 1.85;
}

.dark .blog-content {
    color: #CBD5E1;
}

.blog-content h2 {
    color: #0F172A;
    font-size: 1.875rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 0.5rem;
}

.dark .blog-content h2 {
    color: #FFFFFF;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.blog-content h3 {
    color: #1E293B;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.dark .blog-content h3 {
    color: #F1F5F9;
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.blog-content ul, .blog-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.75rem;
}

.blog-content ul {
    list-style-type: disc;
}

.blog-content ol {
    list-style-type: decimal;
}

.blog-content li {
    margin-bottom: 0.5rem;
}

.blog-content strong {
    color: #0F172A;
    font-weight: 600;
}

.dark .blog-content strong {
    color: #FFFFFF;
}

.blog-content blockquote {
    border-left: 4px solid var(--brand-orange);
    padding-left: 1.25rem;
    font-style: italic;
    color: #475569;
    margin: 1.75rem 0;
    background: rgba(255, 107, 0, 0.06);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

.dark .blog-content blockquote {
    color: #94A3B8;
}

.blog-content img {
    border-radius: 0.75rem;
    max-width: 100%;
    height: auto;
    margin: 2rem auto;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.dark .blog-content img {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.blog-content a {
    color: var(--brand-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.blog-content a:hover {
    color: var(--brand-orange);
}

.dark .blog-content a {
    color: var(--brand-orange-light);
}

.dark .blog-content a:hover {
    color: #FFB380;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #F1F5F9;
}

.dark ::-webkit-scrollbar-track {
    background: #060B18;
}

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}

.dark ::-webkit-scrollbar-thumb {
    background: #1C2541;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056B3;
}
