/* ============================================
   MDY ANALYTICS - CONSOLIDATED STYLESHEET
   Version: 2.0 (Optimized)
   Last Updated: January 2026
   
   Structure:
   1. CSS Custom Properties (Variables)
   2. Reset & Base Styles
   3. Typography
   4. Layout Components
   5. Header & Navigation
   6. Hero Section
   7. Solutions Section
   8. PARIS AI Spotlight
   9. Solution Cards
   10. CTA Section
   11. Footer
   12. Page-Specific Styles
   13. Utilities
   14. Animations
   15. Responsive Design
   ============================================ */

/* ============================================
   1. CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    /* Brand Colors */
    --color-primary: #0077B6;
    --color-primary-dark: #023E8A;
    --color-primary-light: #0891B2;
    --color-accent: #059669;
    --color-accent-light: #34A853;
    
    /* Category Colors */
    --color-healthcare: #059669;
    --color-financial: #EA4335;
    --color-mobile: #d97706;
    --color-services: #0077B6;
    
    /* Neutral Colors */
    --color-text: #333333;
    --color-text-light: #64748b;
    --color-text-muted: #94a3b8;
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-bg-dark: #1e293b;
    --color-bg-darker: #0f172a;
    --color-border: #e2e8f0;
    
    /* Typography */
    --font-primary: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Plus Jakarta Sans', 'Roboto', -apple-system, sans-serif;
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 80px;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 20px;
    --radius-full: 50px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-primary: 0 4px 20px rgba(0, 119, 182, 0.3);
    --shadow-accent: 0 4px 20px rgba(5, 150, 105, 0.3);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    /* Z-index layers */
    --z-base: 1;
    --z-dropdown: 10;
    --z-sticky: 50;
    --z-fixed: 100;
    --z-modal: 200;
    --z-toast: 300;
}

/* ============================================
   2. RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
    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-primary);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-bg);
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: color var(--transition-base);
}

a:hover {
    color: var(--color-primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Lazy loading placeholder */
img[data-src] {
    opacity: 0;
    transition: opacity var(--transition-base);
}

img.loaded {
    opacity: 1;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.25rem); }

p {
    margin-bottom: var(--space-md);
}

/* ============================================
   4. LAYOUT COMPONENTS
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-4xl) 0;
}

/* ============================================
   5. BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    color: white;
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(5, 150, 105, 0.4);
    color: white;
}

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

.btn-secondary:hover {
    background: rgba(0, 119, 182, 0.1);
    transform: scale(1.02);
}

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

.btn-white:hover {
    background: #f0fdfa;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--color-primary-dark);
}

/* ============================================
   6. HEADER & NAVIGATION
   ============================================ */
header {
    background-color: white;
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    padding: var(--space-lg) 0;
    transition: padding var(--transition-base), box-shadow var(--transition-base);
    will-change: padding;
}

header.scrolled {
    padding: var(--space-sm) 0;
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--space-md);
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: var(--space-sm);
}

.logo-container img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--color-primary);
}

.logo-text span {
    color: var(--color-accent);
}

nav ul {
    display: flex;
    gap: var(--space-xl);
}

nav ul li a {
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.9375rem;
    position: relative;
    padding-bottom: var(--space-xs);
    transition: color var(--transition-base);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transition: width var(--transition-base);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--color-primary);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition-base);
}

/* ============================================
   7. HERO SECTION
   ============================================ */
.hero {
    background: 
        linear-gradient(135deg, rgba(2, 62, 138, 0.92) 0%, rgba(0, 119, 182, 0.88) 50%, rgba(8, 145, 178, 0.85) 100%),
        url('assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: var(--space-lg);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(8, 145, 178, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 18s ease-in-out infinite reverse;
}

.hero-content {
    max-width: 850px;
    position: relative;
    z-index: var(--z-base);
}

.hero h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: var(--space-lg);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.15;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: var(--space-xl);
    opacity: 0.95;
    line-height: 1.6;
}

.typing-text {
    font-size: clamp(1rem, 2vw, 1.375rem);
    font-weight: 600;
    color: #7DD3E8;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid #7DD3E8;
    animation: typing 3s steps(30, end) infinite, blink 0.75s step-end infinite;
    margin-bottom: var(--space-2xl);
    display: inline-block;
}

/* ============================================
   8. SOLUTIONS SECTION
   ============================================ */
.solutions-section {
    padding: var(--space-4xl) 0;
    text-align: center;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
    position: relative;
}

.solutions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 119, 182, 0.2), transparent);
}

.solutions-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(var(--color-border) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.3;
    pointer-events: none;
}

.solutions-section .container {
    position: relative;
    z-index: var(--z-base);
}

.solutions-section h2 {
    color: var(--color-primary-dark);
    margin-bottom: var(--space-md);
}

.solutions-section > .container > p {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.7;
}

.solutions-image {
    width: 100%;
    max-width: 1100px;
    height: 320px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    margin: 0 auto var(--space-3xl);
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.solutions-image:hover {
    transform: scale(1.015) translateY(-5px);
    box-shadow: 0 30px 80px rgba(2, 62, 138, 0.2);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-lg);
    max-width: 1100px;
    margin: 0 auto;
}

/* ============================================
   9. SOLUTION CARDS
   ============================================ */
.solution-card {
    background-color: white;
    padding: var(--space-xl) var(--space-lg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    transition: height var(--transition-base);
}

.solution-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.solution-card:hover::before {
    height: 6px;
}

/* Card category colors */
.solution-card.healthcare::before { background: linear-gradient(90deg, var(--color-healthcare), var(--color-accent-light)); }
.solution-card.financial::before { background: linear-gradient(90deg, var(--color-financial), #f87171); }
.solution-card.mobile::before { background: linear-gradient(90deg, #FBBC05, #fcd34d); }
.solution-card.services::before { background: linear-gradient(90deg, var(--color-primary), #4285F4); }

.solution-card.healthcare h3 { color: var(--color-healthcare); }
.solution-card.financial h3 { color: var(--color-financial); }
.solution-card.mobile h3 { color: var(--color-mobile); }
.solution-card.services h3 { color: var(--color-services); }

.solution-card h3 {
    font-size: 1.375rem;
    margin-bottom: var(--space-md);
}

.solution-card p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    line-height: 1.65;
}

/* Card icons */
.solution-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    transition: transform var(--transition-base);
}

.solution-card:hover .solution-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.solution-card-icon svg {
    width: 28px;
    height: 28px;
}

.solution-card.healthcare .solution-card-icon {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.15) 0%, rgba(5, 150, 105, 0.05) 100%);
    color: var(--color-healthcare);
}

.solution-card.mobile .solution-card-icon {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.15) 0%, rgba(217, 119, 6, 0.05) 100%);
    color: var(--color-mobile);
}

.solution-card.services .solution-card-icon {
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.15) 0%, rgba(0, 119, 182, 0.05) 100%);
    color: var(--color-services);
}

/* ============================================
   10. PARIS AI SPOTLIGHT SECTION
   ============================================ */
.spotlight-section {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 50%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
}

.spotlight-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(5, 150, 105, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 119, 182, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.spotlight-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: var(--z-base);
}

.spotlight-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
    color: white;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-lg);
}

.spotlight-content h2 {
    font-size: 2.5rem;
    color: var(--color-primary-dark);
    margin-bottom: var(--space-sm);
    line-height: 1.2;
}

.spotlight-tagline {
    font-size: 1.125rem;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.spotlight-content > p {
    font-size: 1.0625rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.spotlight-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.spotlight-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(5, 150, 105, 0.1);
    transition: all var(--transition-base);
}

.spotlight-feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(5, 150, 105, 0.2);
}

.spotlight-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.spotlight-feature-icon svg {
    width: 22px;
    height: 22px;
}

.spotlight-feature:nth-child(1) .spotlight-feature-icon {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.15) 0%, rgba(5, 150, 105, 0.05) 100%);
    color: var(--color-accent);
}

.spotlight-feature:nth-child(2) .spotlight-feature-icon {
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.15) 0%, rgba(0, 119, 182, 0.05) 100%);
    color: var(--color-primary);
}

.spotlight-feature:nth-child(3) .spotlight-feature-icon {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.15) 0%, rgba(8, 145, 178, 0.05) 100%);
    color: var(--color-primary-light);
}

.spotlight-feature:nth-child(4) .spotlight-feature-icon {
    background: linear-gradient(135deg, rgba(2, 62, 138, 0.15) 0%, rgba(2, 62, 138, 0.05) 100%);
    color: var(--color-primary-dark);
}

.spotlight-feature-text h4 {
    font-size: 0.9375rem;
    color: #1e293b;
    margin-bottom: var(--space-xs);
    font-weight: 600;
}

.spotlight-feature-text p {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    line-height: 1.5;
    margin: 0;
}

.spotlight-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: white;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-primary);
}

.spotlight-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(2, 62, 138, 0.4);
    color: white;
}

.spotlight-cta svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-base);
}

.spotlight-cta:hover svg {
    transform: translateX(4px);
}

/* Spotlight Card */
.spotlight-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.spotlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-primary), var(--color-primary-light));
}

.spotlight-card-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.spotlight-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    box-shadow: 0 8px 24px rgba(2, 62, 138, 0.25);
}

.spotlight-card-icon svg {
    width: 36px;
    height: 36px;
    color: white;
}

.spotlight-card-header h3 {
    font-size: 0.875rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-xs);
    font-weight: 500;
}

.spotlight-card-header h4 {
    font-size: 1.375rem;
    color: var(--color-primary-dark);
}

.spotlight-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.spotlight-pillar {
    background: linear-gradient(135deg, var(--color-bg-alt) 0%, #f1f5f9 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    text-align: center;
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.spotlight-pillar:hover {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdfa 100%);
    border-color: var(--color-accent);
    transform: scale(1.02);
}

.spotlight-pillar-icon {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.spotlight-pillar h5 {
    font-size: 0.875rem;
    color: #1e293b;
    margin-bottom: var(--space-xs);
}

.spotlight-pillar p {
    font-size: 0.6875rem;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.4;
}

/* ============================================
   11. CTA SECTION
   ============================================ */
.cta {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 60%, var(--color-primary-light) 100%);
    padding: var(--space-4xl) 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
    border-radius: 50%;
}

.cta .container {
    position: relative;
    z-index: var(--z-base);
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
}

.cta p {
    font-size: 1.125rem;
    max-width: 650px;
    margin: 0 auto var(--space-2xl);
    opacity: 0.92;
    line-height: 1.7;
}

/* ============================================
   12. FOOTER
   ============================================ */
footer {
    background: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-darker) 100%);
    color: white;
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-container {
    display: grid;
    grid-template-columns: 0.8fr 0.8fr 0.8fr 0.8fr 1.8fr;
    gap: var(--space-lg);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    margin-bottom: var(--space-lg);
    color: #f1f5f9;
    font-weight: 600;
}

.footer-col ul li {
    margin-bottom: var(--space-sm);
}

.footer-col ul li a {
    color: var(--color-text-muted);
    transition: color var(--transition-base), padding-left var(--transition-base);
}

.footer-col ul li a:hover {
    color: #7DD3E8;
    padding-left: var(--space-xs);
}

.office-locations {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.location {
    width: 48%;
    color: var(--color-text-muted);
}

.location-name {
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: var(--space-xs);
}

.footer-bottom {
    margin-top: var(--space-2xl);
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid #334155;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* ============================================
   13. PAGE-SPECIFIC STYLES
   ============================================ */

/* Page Header (About, Solutions, Blog, etc.) */
.page-header {
    background: linear-gradient(135deg, rgba(2, 62, 138, 0.95) 0%, rgba(0, 119, 182, 0.9) 100%);
    padding: 160px 0 80px;
    text-align: center;
    color: white;
}

.page-header h1 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: var(--space-lg);
}

.page-header p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Solutions Overview */
.solutions-overview {
    padding: var(--space-4xl) 0;
    text-align: center;
}

.solutions-overview h2 {
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
}

.solutions-overview p {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 800px;
    margin: 0 auto var(--space-2xl);
}

/* Solution Category */
.solution-category {
    padding: var(--space-4xl) 0;
}

.solution-category:nth-child(even) {
    background-color: var(--color-bg-alt);
}

.category-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
}

.category-header.healthcare { background-color: rgba(5, 150, 105, 0.1); }
.category-header.financial { background-color: rgba(234, 67, 53, 0.1); }
.category-header.mobile { background-color: rgba(251, 188, 5, 0.1); }
.category-header.services { background-color: rgba(0, 119, 182, 0.1); }

.category-header.healthcare h2 { color: var(--color-healthcare); }
.category-header.financial h2 { color: var(--color-financial); }
.category-header.mobile h2 { color: var(--color-mobile); }
.category-header.services h2 { color: var(--color-services); }

.category-header p {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 800px;
    margin: 0 auto;
}

/* Solution Item (detailed cards) */
.solution-item {
    background-color: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    opacity: 0;
    transform: translateY(20px);
}

.solution-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.solution-item:hover {
    transform: translateY(-5px) rotate(0.5deg);
    box-shadow: var(--shadow-lg);
}

.solution-header {
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--color-border);
}

.solution-header h3 {
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.solution-header span {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.solution-content {
    padding: var(--space-lg);
}

.solution-features {
    margin-top: var(--space-lg);
}

.solution-features h4 {
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
}

.solution-features ul li {
    padding: var(--space-sm) 0 var(--space-sm) var(--space-lg);
    position: relative;
}

.solution-features ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.solution-footer {
    padding: 0 var(--space-lg) var(--space-lg);
    text-align: center;
}

.healthcare .solution-header h3 { color: var(--color-healthcare); }
.financial .solution-header h3 { color: var(--color-financial); }
.mobile .solution-header h3 { color: var(--color-mobile); }
.services .solution-header h3 { color: var(--color-services); }

/* ============================================
   14. UTILITIES
   ============================================ */

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
    width: 0%;
    z-index: var(--z-toast);
    transition: width 0.1s ease-out;
    will-change: width;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: white;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: var(--z-sticky);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(2, 62, 138, 0.4);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary-dark);
    color: white;
    padding: var(--space-sm) var(--space-md);
    z-index: var(--z-modal);
    transition: top var(--transition-base);
}

.skip-link:focus {
    top: 0;
}

/* Visually Hidden (Screen Reader Only) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   15. ANIMATIONS
   ============================================ */
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.05); }
}

@keyframes typing {
    0% { width: 0; }
    50% { width: 100%; }
    100% { width: 0; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

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

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ============================================
   16. RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .spotlight-container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .spotlight-visual {
        order: -1;
    }
    
    .spotlight-content {
        text-align: center;
    }
    
    .spotlight-features {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    :root {
        --space-4xl: 60px;
        --space-3xl: 48px;
    }
    
    .header-container {
        flex-direction: column;
        padding: var(--space-md);
    }
    
    nav ul {
        margin-top: var(--space-md);
        gap: var(--space-md);
    }
    
    .logo-container img {
        height: 30px;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .hero::before,
    .hero::after {
        display: none;
    }
    
    .solutions-image {
        height: 220px;
        border-radius: var(--radius-lg);
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-col:last-child {
        grid-column: span 2;
    }
    
    .page-header {
        padding: 120px 0 60px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .spotlight-features {
        grid-template-columns: 1fr;
    }
    
    .spotlight-pillars {
        grid-template-columns: 1fr;
    }
    
    .spotlight-card {
        padding: var(--space-lg);
    }
    
    .spotlight-content h2 {
        font-size: 1.875rem;
    }
}

@media (max-width: 480px) {
    .solutions-grid {
        gap: var(--space-md);
    }
    
    .solution-card {
        padding: var(--space-lg) var(--space-md);
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-col:last-child {
        grid-column: span 1;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

/* Print Styles */
@media print {
    header,
    footer,
    .back-to-top,
    .scroll-progress {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: var(--space-xl);
        background: var(--color-primary-dark);
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .solution-card,
    .solution-item {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--color-border);
    }
}
