/* AI Xens Professional Consulting Website Styles */
/* Optimized for performance and hosting compatibility */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* AI Xens Brand Colors - Enhanced */
    --xens-blue: #0066CC;
    --xens-blue-dark: #1B365D;  /* Dark navy like reference */
    --xens-blue-light: #E8F4FF;
    --insight-orange: #FF6B35;
    --neural-gray: #2C3E50;
    --data-green: #00A86B;
    --cloud-white: #FAFAFA;
    --pure-white: #FFFFFF;
    --carbon-black: #1A1A1A;
    --text-dark: #2D3748;
    --text-light: #718096;
    
    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-mono: 'Source Code Pro', monospace;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Shadows */
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-heavy: 0 8px 30px rgba(0,0,0,0.2);
    
    /* Transitions - Enhanced */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 160px; /* Account for 139px navbar height + 21px buffer */
}

/* Accessibility Utilities */
.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;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--neural-gray);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    z-index: 9999;
    transition: top 0.3s ease;
}

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

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--neural-gray);
    background-color: var(--cloud-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 139px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-icon {
    filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.3));
    transition: transform var(--transition-fast);
}

.nav-logo:hover .nav-logo-icon {
    transform: scale(1.05);
}

.nav-brand h2 {
    color: var(--xens-blue);
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: -0.2rem;
    line-height: 1;
}

.nav-brand .nav-tagline {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.nav-menu a {
    text-decoration: none;
    color: var(--neural-gray);
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-menu a:hover {
    color: var(--xens-blue);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--insight-orange);
    transition: width var(--transition-medium);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--neural-gray);
    margin: 3px 0;
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--xens-blue-dark) 0%, var(--xens-blue) 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding: var(--spacing-xl) 0;
}

/* Add subtle particle effect background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

/* Hero Container - OPTIMIZED FOR ASSESSMENT PANEL WIDTH */
.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 1;
    min-height: 80vh;
}


.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--pure-white);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: var(--spacing-md);
}

/* Hero Title Highlights */
.hero-title .highlight-stat {
    background: linear-gradient(45deg, var(--insight-orange), #ff8f65);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    text-shadow: none;
}

.hero-title .highlight-primary {
    background: linear-gradient(45deg, #ffffff, #e6f3ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
    line-height: 1.6;
    font-weight: 400;
    max-width: 90%;
}

/* Value Proposition Section - Content-Focused Design */
.value-proposition {
    margin: var(--spacing-xl) 0;
    text-align: center;
    max-width: 600px;
    padding: var(--spacing-lg);
    background: var(--pure-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(0, 102, 204, 0.1);
    transition: var(--transition-medium);
}

.value-proposition:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.value-proposition h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--xens-blue-dark);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.process-flow {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--xens-blue);
    margin-bottom: var(--spacing-md);
    font-family: var(--font-primary);
    letter-spacing: 0.5px;
    opacity: 1;
}

.value-statement {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
    font-weight: 400;
    opacity: 0.9;
}

/* Assessment Section Styling */
.assessment-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: var(--spacing-xl) 0;
    border-top: 1px solid #e1e8ed;
}

.assessment-section .section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.assessment-section .section-header h2 {
    color: var(--xens-blue);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.assessment-section .section-subtitle {
    color: var(--text-light);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.assessment-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.1);
    overflow: hidden;
    border: 1px solid rgba(0, 102, 204, 0.1);
    position: relative;
}

.assessment-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--xens-blue), var(--insight-orange));
}

/* Hero Visual Styling */
.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-image {
    width: 100%;
    max-width: 650px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transition: transform var(--transition-medium);
}

.hero-image:hover {
    transform: scale(1.02);
}

/* About Visual Styling */
.about-visual {
    margin-top: var(--spacing-xl);
    text-align: center;
}

.about-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    margin-bottom: var(--spacing-md);
}

/* AI Generated Image Attribution */
.image-attribution {
    margin-top: var(--spacing-sm);
    text-align: center;
}

.ai-generated-tag {
    display: inline-block;
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* Success Caption Styling */
.success-caption {
    margin-top: var(--spacing-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.success-caption h4 {
    color: var(--xens-blue);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.success-caption p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

.service-preview-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    text-decoration: none;
    color: white;
    transition: all var(--transition-medium);
    backdrop-filter: blur(15px);
    text-align: center;
    min-height: 180px;
    gap: var(--spacing-sm);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.service-preview-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-heavy);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--insight-orange);
}

.service-preview-card .service-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xs);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.service-preview-card:hover .service-icon {
    transform: scale(1.1);
    opacity: 1;
}

.service-preview-card .service-info {
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-preview-card .service-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--insight-orange);
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.service-preview-card .service-info p {
    font-size: 0.85rem;
    line-height: 1.4;
    opacity: 0.9;
    margin: 0;
}

.stat {
    text-align: center;
    padding: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--insight-orange);
}

.stat-text {
    font-size: 0.9rem;
    opacity: 0.8;
}

.service-icon {
    font-size: 1.5rem;
    min-width: 24px;
    text-align: center;
    margin-bottom: var(--spacing-xs);
}

.service-info {
    width: 100%;
}

.service-info h3 {
    margin: 0 0 var(--spacing-xs) 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--insight-orange);
}

.service-info p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.3;
}

/* Founder Philosophy Section */
.founder-philosophy {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border-left: 4px solid var(--insight-orange);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.philosophy-quote {
    opacity: 0;
    transition: opacity var(--transition-slow);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-lg);
}

.philosophy-quote.active {
    opacity: 1;
    position: relative;
    padding: 0;
}

.philosophy-quote blockquote {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 0 var(--spacing-sm) 0;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
}

.philosophy-quote cite {
    font-size: 0.9rem;
    color: var(--insight-orange);
    font-weight: 600;
    font-style: normal;
}

.hero-cta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xl);
    width: 100%;
    text-align: center;
}

.cta-primary, .cta-secondary {
    padding: 20px 40px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all var(--transition-medium);
    display: inline-block;
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.cta-primary {
    background: var(--insight-orange);
    color: white;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
    border: 2px solid var(--insight-orange);
}

.cta-primary:hover {
    background: #e55a2b;
    border-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    transition: var(--transition-bounce);
}

.cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-secondary:hover {
    background: white;
    color: var(--xens-blue);
}

/* Old assessment panel styling removed - now using dedicated assessment section */

/* Background Visual Elements */
.hero-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    opacity: 0.3;
}

.ai-network {
    width: 400px;
    height: 400px;
    position: relative;
    animation: pulse 4s ease-in-out infinite;
}

.node {
    width: 60px;
    height: 60px;
    background: var(--insight-orange);
    border-radius: 50%;
    position: absolute;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
    animation: float 3s ease-in-out infinite;
}

.node:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.node:nth-child(2) { top: 20%; right: 20%; animation-delay: 0.5s; }
.node:nth-child(3) { bottom: 20%; left: 20%; animation-delay: 1s; }
.node:nth-child(4) { bottom: 20%; right: 20%; animation-delay: 1.5s; }

.connection {
    position: absolute;
    background: linear-gradient(45deg, transparent, rgba(255, 107, 53, 0.6), transparent);
    height: 2px;
    animation: flow 2s linear infinite;
}

.connection:nth-child(5) {
    top: 30%;
    left: 25%;
    width: 50%;
    transform: rotate(0deg);
}

.connection:nth-child(6) {
    top: 50%;
    left: 25%;
    width: 50%;
    transform: rotate(90deg);
}

.connection:nth-child(7) {
    top: 70%;
    left: 25%;
    width: 50%;
    transform: rotate(45deg);
}

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

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

@keyframes flow {
    0% { opacity: 0; transform: translateX(-100%); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateX(100%); }
}

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

@keyframes patternMove {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
        opacity: 1;
    }
    66% {
        transform: translateY(-10px) rotate(240deg);
        opacity: 0.8;
    }
}

/* Services Section */
.services {
    padding: var(--spacing-xl) 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    padding: 0 var(--spacing-md);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--xens-blue-dark);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--neural-gray);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--neural-gray);
    opacity: 0.8;
    max-width: 800px;
    margin: 0 auto;
}

/* MODERN SERVICES GRID - 2x2 LAYOUT INSPIRED BY NOTION DESIGN */
.modern-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Fixed 2x2 grid layout */
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Fallback for old services grid (if any remaining references) */
.services-grid {
    display: none; /* Hide old grid to prevent conflicts */
}

/* MODERN SERVICE CARDS - NOTION-INSPIRED DESIGN */
.modern-service-card {
    background: white;
    border-radius: 12px;
    padding: var(--spacing-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-medium);
    position: relative;
    border: 1px solid #e1e8ed;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.modern-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--xens-blue);
}

/* Legacy service card - hidden */
.service-card {
    display: none;
}

/* Card color themes inspired by modern design */
.assessment-card {
    border-left: 4px solid #3498db;
}

.building-card {
    border-left: 4px solid #9b59b6;
}

.transformation-card {
    border-left: 4px solid var(--data-green);
}

.advisory-card {
    border-left: 4px solid var(--insight-orange);
}

/* Card Header - Modern layout with icon and label */
.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-md);
}

.service-icon-modern {
    font-size: 2.5rem;
    line-height: 1;
}

.card-label {
    background: rgba(0, 102, 204, 0.1);
    color: var(--xens-blue);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card Content Styling */
.modern-service-card h3 {
    font-size: 1.4rem;
    color: var(--neural-gray);
    margin: 0 0 var(--spacing-sm) 0;
    font-weight: 600;
    line-height: 1.3;
}

.card-description {
    color: var(--neural-gray);
    opacity: 0.8;
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
    font-size: 0.95rem;
    flex-grow: 1;
}

/* Feature Tags - Modern pill-style design */
.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: var(--spacing-md);
}

.feature-tag {
    background: rgba(0, 102, 204, 0.08);
    color: var(--xens-blue);
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 102, 204, 0.15);
}

/* Card Footer - Duration and target info */
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--spacing-sm);
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
}

.duration-badge {
    background: var(--insight-orange);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.ideal-for {
    color: var(--neural-gray);
    opacity: 0.7;
    font-size: 0.85rem;
    font-style: italic;
}

/* Remove old service styling that's no longer needed */
.service-features,
.service-meta {
    display: none; /* Hide legacy elements */
}

/* Keep service icons visible for preview cards */

/* Mobile responsiveness for modern cards */
@media (max-width: 768px) {
    .modern-services-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: var(--spacing-md);
        margin: 0;
    }
    
    .modern-service-card {
        min-height: auto;
        padding: var(--spacing-md);
    }
    
    .card-header {
        margin-bottom: var(--spacing-sm);
    }
    
    .service-icon-modern {
        font-size: 2rem;
    }
    
    .card-features {
        gap: 0.3rem;
    }
    
    .feature-tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
    
    .card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Tablet responsive design */
@media (max-width: 1024px) and (min-width: 769px) {
    .modern-services-grid {
        gap: var(--spacing-md);
    }
    
    .modern-service-card {
        padding: var(--spacing-md);
        min-height: 260px;
    }
}

/* Large screen optimization */
@media (min-width: 1200px) {
    .modern-services-grid {
        max-width: 1200px;
        gap: var(--spacing-xl);
    }
    
    .modern-service-card {
        min-height: 320px;
        padding: var(--spacing-xl);
    }
}

/* Enhanced card hover effects */
.modern-service-card:hover .service-icon-modern {
    transform: scale(1.1);
    transition: transform var(--transition-medium);
}

.modern-service-card:hover .card-label {
    background: var(--xens-blue);
    color: white;
    transition: all var(--transition-medium);
}

.duration {
    font-weight: 600;
    color: var(--xens-blue);
}

/* AI Journey */
.ai-journey {
    background: var(--cloud-white);
    border-radius: 15px;
    padding: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.ai-journey h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--neural-gray);
    margin-bottom: var(--spacing-sm);
}

.journey-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--neural-gray);
    opacity: 0.9;
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.journey-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.journey-step {
    text-align: center;
    padding: var(--spacing-sm);
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
}

.journey-step:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--xens-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-sm);
    font-weight: 700;
    font-size: 1.2rem;
}

.journey-step h4 {
    color: var(--neural-gray);
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
}

.journey-step p {
    color: var(--neural-gray);
    opacity: 0.8;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-xs);
}

.step-outcome {
    display: block;
    color: var(--xens-blue);
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: var(--spacing-xs);
    padding: var(--spacing-xs);
    background: rgba(0, 102, 204, 0.1);
    border-radius: 6px;
    border-left: 3px solid var(--xens-blue);
}

.journey-cycle-note {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05), rgba(255, 107, 53, 0.05));
    border-radius: 12px;
    border: 2px solid rgba(0, 102, 204, 0.1);
    text-align: center;
    position: relative;
}

.cycle-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.journey-cycle-note p {
    color: var(--neural-gray);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--cloud-white) 0%, #f8f9fa 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--neural-gray);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.about-intro {
    font-size: 1.3rem;
    color: var(--neural-gray);
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
    line-height: 1.5;
}

.expertise-areas {
    display: grid;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.expertise-item {
    background: white;
    padding: var(--spacing-sm);
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    border-left: 4px solid var(--xens-blue);
}

.expertise-item h4 {
    color: var(--neural-gray);
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
}

.expertise-item p {
    color: var(--neural-gray);
    opacity: 0.8;
    font-size: 0.9rem;
}

.methodology {
    background: white;
    padding: var(--spacing-md);
    border-radius: 15px;
    box-shadow: var(--shadow-light);
}

.methodology h4 {
    color: var(--neural-gray);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    font-size: 1.2rem;
}

.methodology p {
    color: var(--neural-gray);
    margin-bottom: var(--spacing-sm);
    opacity: 0.9;
}

.approach-points {
    list-style: none;
}

.approach-points li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--neural-gray);
    font-size: 0.9rem;
}

.approach-points li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--insight-orange);
    font-weight: bold;
}

.about-stats {
    display: grid;
    gap: var(--spacing-sm);
}

.stat-card {
    background: white;
    padding: var(--spacing-sm);
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: all var(--transition-medium);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-xs);
}

.stat-card h4 {
    color: var(--neural-gray);
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
}

.stat-card p {
    color: var(--neural-gray);
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Portfolio Section */
.portfolio {
    padding: var(--spacing-xl) 0;
    background: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.portfolio-item {
    background: white;
    border-radius: 15px;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
    border-top: 4px solid var(--xens-blue);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.portfolio-category {
    display: inline-block;
    background: var(--xens-blue);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.portfolio-item h4 {
    color: var(--neural-gray);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    font-size: 1.2rem;
}

.portfolio-item p {
    color: var(--neural-gray);
    opacity: 0.8;
    margin-bottom: var(--spacing-sm);
    line-height: 1.5;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.portfolio-tags span {
    background: var(--cloud-white);
    color: var(--neural-gray);
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.portfolio-cta {
    text-align: center;
    background: var(--cloud-white);
    padding: var(--spacing-lg);
    border-radius: 15px;
    box-shadow: var(--shadow-light);
}

.portfolio-cta h4 {
    color: var(--neural-gray);
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
    font-weight: 600;
}

.portfolio-cta p {
    color: var(--neural-gray);
    opacity: 0.8;
    margin-bottom: var(--spacing-md);
}

/* Portfolio Visualization */
.portfolio-visualization {
    margin: var(--spacing-xl) 0;
    text-align: center;
    padding: var(--spacing-lg) 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.portfolio-hero-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: 0 25px 50px rgba(0, 102, 204, 0.15);
    transition: all var(--transition-medium);
}

.portfolio-hero-image:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 102, 204, 0.2);
}

/* Contact Section */
.contact {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--neural-gray) 0%, var(--carbon-black) 100%);
    color: white;
}

.contact-content {
    display: flex;
    justify-content: center;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.contact-info p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
    line-height: 1.5;
}

.contact-methods {
    margin-bottom: var(--spacing-md);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-method h4 {
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.contact-method p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

.social-proof {
    background: rgba(255, 107, 53, 0.2);
    padding: var(--spacing-sm);
    border-radius: 10px;
    border-left: 4px solid var(--insight-orange);
}

.social-proof em {
    font-style: normal;
    color: white;
}


/* Location & Contact Information Section */
.location-contact-section {
    margin-top: var(--spacing-xl);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.location-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.contact-info-column h3,
.map-column h3 {
    color: var(--xens-blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.contact-details {
    margin-bottom: var(--spacing-lg);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background: white;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.08);
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.contact-content h4 {
    color: var(--neural-gray);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.contact-content a {
    color: var(--xens-blue);
    text-decoration: none;
    font-weight: 600;
    display: block;
    margin-bottom: var(--spacing-xs);
    font-size: 1rem;
}

.contact-content a:hover {
    text-decoration: underline;
}

.contact-content p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

.contact-content p:not(:last-child) {
    margin-bottom: var(--spacing-xs);
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.contact-btn {
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--xens-blue);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    text-align: center;
    transition: all var(--transition-medium);
    border: 2px solid var(--xens-blue);
}

.contact-btn:hover {
    background: white;
    color: var(--xens-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

.map-container {
    position: relative;
    width: 100%;
    height: 350px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(0, 102, 204, 0.2);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.1);
    margin-bottom: var(--spacing-sm);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-caption {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}

/* CRITICAL MOBILE FIX: Force static fallback visible on ALL screen sizes (applied universally, not just in media query) */
#static-fallback,
div#static-fallback,
#office-map-container #static-fallback {
    display: block !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    padding: 2rem 1.5rem !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* CRITICAL: Map buttons must be visible and properly styled on ALL devices */
#static-fallback a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    min-height: 54px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    padding: 1rem 1.5rem !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    margin: 0 6px 12px 6px !important;
}

/* Google Maps button - always visible */
#static-fallback a[href*="google"] {
    background: #0066CC !important;
    color: white !important;
}

#static-fallback a[href*="google"]:hover {
    background: #0052a3 !important;
}

#static-fallback a[href*="google"]:active {
    transform: scale(0.98);
    box-shadow: 0 1px 4px rgba(0, 102, 204, 0.3) !important;
}

/* Apple Maps button - always visible */
#static-fallback a[href*="apple"] {
    background: #34C759 !important;
    color: white !important;
}

#static-fallback a[href*="apple"]:hover {
    background: #28a745 !important;
}

#static-fallback a[href*="apple"]:active {
    transform: scale(0.98);
    box-shadow: 0 1px 4px rgba(52, 199, 89, 0.3) !important;
}

/* Force button container to be visible */
#static-fallback > div {
    display: block !important;
    visibility: visible !important;
}

#static-fallback div[style*="display: flex"],
#static-fallback > div > div {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    justify-content: center !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .location-contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .location-contact-section {
        padding: var(--spacing-lg);
        margin: var(--spacing-lg) var(--spacing-sm);
    }

    .contact-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .contact-btn {
        flex: 1;
        min-width: 140px;
    }

    .map-container {
        height: 250px;
    }

    /* Hide map iframes on mobile - show buttons instead */
    #map-loading,
    #primary-map,
    #fallback-map {
        display: none !important;
    }

    /* Mobile-optimized map buttons with professional UX */
    #static-fallback a {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 48% !important;
        min-height: 54px !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        padding: 1rem 0.75rem !important;
        border-radius: 12px !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    /* Google Maps button */
    #static-fallback a[href*="google"] {
        background: var(--xens-blue) !important;
        color: white !important;
    }

    #static-fallback a[href*="google"]:active {
        transform: scale(0.98);
        box-shadow: 0 1px 4px rgba(0, 102, 204, 0.3) !important;
    }

    /* Apple Maps button */
    #static-fallback a[href*="apple"] {
        background: #34C759 !important;
        color: white !important;
    }

    #static-fallback a[href*="apple"]:active {
        transform: scale(0.98);
        box-shadow: 0 1px 4px rgba(52, 199, 89, 0.3) !important;
    }

    /* Button container spacing - force visibility */
    #static-fallback > div,
    #static-fallback > div[style*="display: flex"],
    #static-fallback div[style*="color"] {
        display: block !important;
        visibility: visible !important;
    }

    #static-fallback > div > div[style*="display: flex"] {
        display: flex !important;
        gap: 12px !important;
        margin-bottom: 20px !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    /* Enhanced contact method cards for mobile */
    .contact-method-card,
    .contact-info-card {
        padding: 1.5rem !important;
        margin-bottom: 1rem !important;
        border-radius: 16px !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
        background: white !important;
    }

    /* Office card styling */
    .map-column {
        background: white;
        padding: 2rem 1.5rem;
        border-radius: 16px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    }

    /* Section title spacing */
    .contact-info-column h3,
    .map-column h3 {
        font-size: 1.75rem !important;
        margin-bottom: 1.5rem !important;
        color: var(--xens-blue) !important;
    }

    /* Contact section professional spacing */
    .location-contact-section {
        padding: 2rem 1rem !important;
        margin: 1.5rem 0.5rem !important;
        border-radius: 20px !important;
    }

    /* Contact method spacing */
    .contact-info-column {
        margin-bottom: 2rem;
    }

    /* Map caption mobile styling */
    .map-caption {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        margin: 0.5rem 0 !important;
    }
}

/* Footer */
.footer {
    background: var(--carbon-black);
    color: white;
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.footer-section h4 {
    color: white;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.5;
    margin-bottom: var(--spacing-xs);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.footer-section ul a:hover {
    opacity: 1;
    color: var(--insight-orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: var(--spacing-sm);
    text-align: center;
    opacity: 0.8;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-legal-links {
    margin-top: var(--spacing-xs);
}

.footer-legal-links a {
    color: white;
    text-decoration: none;
    opacity: 0.7;
    font-size: 0.9rem;
    transition: opacity var(--transition-fast);
}

.footer-legal-links a:hover {
    opacity: 1;
    color: var(--insight-orange);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        padding-top: var(--spacing-lg);
        transition: left var(--transition-medium);
        box-shadow: var(--shadow-medium);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-md);
        min-height: auto;
        padding-top: var(--spacing-md);
    }
    
    /* Assessment now handled in dedicated section */
    
    .value-proposition {
        margin: var(--spacing-lg) 0;
        padding: var(--spacing-md);
        max-width: 100%;
    }
    
    .value-proposition h3 {
        font-size: 1.2rem;
    }
    
    .process-flow {
        font-size: 1rem;
    }
    
    .value-statement {
        font-size: 0.95rem;
    }
    
    .service-preview-card {
        padding: var(--spacing-md);
    }
    
    .service-info h3 {
        font-size: 1rem;
    }
    
    .service-info p {
        font-size: 0.85rem;
    }
    
    .result-layout {
        gap: var(--spacing-md);
        padding: var(--spacing-sm);
        width: 100%;
        min-width: 0;
    }
    
    .recommendation-header {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-xs);
    }
    
    .recommendation-content {
        width: 100%;
    }
    
    /* Assessment now in dedicated section - mobile optimization */
    
    .score-display {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
    }
    
    .recommendation-header h5 {
        font-size: 1.1rem;
    }
    
    .personalized-message {
        padding: var(--spacing-sm);
        text-align: center;
    }
    
    .founder-philosophy {
        margin-top: var(--spacing-md);
        padding: var(--spacing-md);
    }
    
    .philosophy-quote blockquote {
        font-size: 1rem;
    }

    .hero-title {
        font-size: 3rem;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        text-align: center;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }

    .ai-network {
        width: 300px;
        height: 300px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .journey-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .journey-steps {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}

/* Performance Optimizations */
.hero-visual,
.ai-network {
    will-change: transform;
}

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

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--insight-orange);
    outline-offset: 2px;
}

/* Enhanced Hero Section Styles */
.trust-badges {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* AI Readiness Assessment Styles - MAXIMIZED CONTENT SPACE */
.readiness-assessment {
    background: rgba(255, 255, 255, 0.95);
    color: var(--neural-gray);
    border-radius: 15px;
    padding: var(--spacing-sm); /* Reduced padding for more text space */
    margin-bottom: var(--spacing-sm); /* Reduced margin for better space utilization */
    box-shadow: var(--shadow-medium);
    width: 100%; /* Ensure full width utilization */
    box-sizing: border-box; /* Include padding in width calculation */
}

/* Assessment Title - OPTIMIZED SPACING */
.readiness-assessment h3 {
    color: var(--xens-blue);
    margin-bottom: var(--spacing-xs); /* Reduced margin for more content space */
    font-size: 1.2rem; /* Slightly smaller for better proportion */
    line-height: 1.3; /* Tighter line height for space efficiency */
}

/* Assessment Testimonial */
.assessment-testimonial {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: var(--spacing-md);
    border-left: 4px solid var(--insight-orange);
    margin-top: var(--spacing-md);
}

.assessment-testimonial blockquote {
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: var(--spacing-xs);
    color: white;
    line-height: 1.5;
    margin: 0;
}

.assessment-testimonial cite {
    font-size: 0.8rem;
    color: var(--insight-orange);
    font-weight: 500;
    display: block;
    margin-top: var(--spacing-xs);
}

/* Assessment Intro - SPACE OPTIMIZED FOR MORE WORDS PER LINE */
.assessment-intro {
    text-align: center;
    padding: var(--spacing-sm) 0; /* Reduced padding for more content space */
}

/* Intro Content - OPTIMIZED FOR READABILITY */
.intro-content h4 {
    color: var(--xens-blue);
    margin-bottom: var(--spacing-xs); /* Reduced margin for better space utilization */
    font-size: 1.1rem; /* Balanced size for more content space */
    line-height: 1.3; /* Efficient line height */
}

/* Intro Description - MAXIMIZED TEXT LAYOUT */
.intro-content p {
    color: var(--neural-gray);
    margin-bottom: var(--spacing-sm); /* Reduced margin for more text space */
    line-height: 1.4; /* Optimized line height for better text density */
    font-size: 0.95rem; /* Slightly smaller for more words per line */
}

/* Intro Features List - COMPACT LAYOUT FOR MORE WORDS PER LINE */
.intro-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left; /* Left align for better text layout */
}

/* Feature List Items - OPTIMIZED FOR MAXIMUM TEXT PER LINE */
.intro-features li {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Left align for better space utilization */
    gap: var(--spacing-xs);
    margin-bottom: 0.25rem; /* Reduced margin for tighter layout */
    font-size: 0.85rem; /* Smaller font for more words per line */
    color: var(--neural-gray);
    padding: 0.2rem 0; /* Minimal padding for space efficiency */
}

.feature-icon {
    font-size: 1rem;
}

/* Assessment Progress Bar */
.assessment-progress {
    margin-bottom: var(--spacing-md);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: var(--spacing-xs);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--xens-blue), var(--insight-orange));
    transition: width var(--transition-medium);
}

.progress-text {
    font-size: 0.85rem;
    color: var(--xens-blue);
    font-weight: 600;
}

/* Option Cards */
.option-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    cursor: pointer;
}

.option-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.option-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    min-height: 60px; /* Professional touch target size */
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
    color: #374151;
}

/* CRITICAL FIX: Only enable hover on non-touch devices to prevent sticky hover states on mobile */
@media (hover: hover) and (pointer: fine) {
    .option-card:hover {
        border-color: var(--xens-blue);
        box-shadow: 0 2px 8px rgba(0, 102, 204, 0.15);
        transform: translateY(-1px);
    }
}

/* Modern selected state with clear visual feedback */
.option-card.selected {
    background: var(--xens-blue);
    border-color: var(--xens-blue);
    color: white;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.option-input:checked + .option-card {
    background: var(--xens-blue);
    border-color: var(--xens-blue);
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
}

.option-icon {
    font-size: 1.3rem;
    min-width: 28px;
    transition: all 0.2s ease;
}

.option-text {
    font-size: 1rem;
    font-weight: 500;
    color: inherit; /* Inherit color from parent for proper contrast */
    transition: all 0.2s ease;
}

/* Icon and text styling for selected state */
.option-card.selected .option-icon,
.option-card.selected .option-text {
    color: white;
}

.option-input:checked + .option-card .option-icon,
.option-input:checked + .option-card .option-text {
    color: white;
}

/* Result Section - Optimized Layout */
/* Removed - replaced with simplified .assessment-result */

/* Removed - replaced with simplified .assessment-result */

/* Removed - replaced with simplified .assessment-result */

.score-display {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--xens-blue), var(--insight-orange));
    color: white;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    font-size: 1.8rem;
}

.score-label {
    font-size: 1rem;
    margin-left: 2px;
}

#score-description {
    font-weight: 600;
    color: var(--xens-blue);
    margin: 0;
    font-size: 1.1rem;
}

/* Removed - replaced with simplified .assessment-result */
}

/* Removed - replaced with simplified .assessment-result */
}

.recommended-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 2rem;
    text-align: center;
}

.recommendation-content {
    flex: 1;
    min-width: 0;
}

.recommendation-content h5 {
    margin: 0 0 var(--spacing-xs) 0;
    font-size: 1.2rem;
    color: var(--insight-orange);
    font-weight: 600;
    line-height: 1.3;
    word-wrap: break-word;
}

.recommendation-content p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

/* Removed - replaced with simplified .assessment-result */
}

.personalized-message p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

.result-actions {
    text-align: center;
    margin-top: var(--spacing-md);
}
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.recommendation-header .service-icon {
    font-size: 2rem;
    margin-bottom: 0;
}

.recommendation-header h5 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--insight-orange);
    font-weight: 600;
}

#recommended-description {
    font-size: 1rem;
    color: var(--neural-gray);
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
}

.personalized-message {
    background: rgba(0, 102, 204, 0.1);
    border-left: 3px solid var(--xens-blue);
    padding: var(--spacing-md);
    margin: var(--spacing-md) 0;
    border-radius: 8px;
    text-align: left;
}

.personalized-message p {
    margin: 0;
    font-style: italic;
    color: var(--neural-gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

.result-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--insight-orange);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    transition: all var(--transition-medium);
    margin-top: var(--spacing-md);
    box-shadow: var(--shadow-medium);
}

.result-cta:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

/* Assessment Controls */
.assessment-controls {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: space-between;
    align-items: center;
    margin-top: var(--spacing-md);
}

.assessment-btn {
    padding: var(--spacing-xs) var(--spacing-sm);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-medium);
}

.assessment-btn.primary {
    background: var(--xens-blue);
    color: white;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
}

.assessment-btn.primary:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

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

.assessment-btn.secondary:hover {
    background: var(--xens-blue);
    color: white;
}

.assessment-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.assessment-questions {
    margin-bottom: var(--spacing-sm);
}

.question {
    display: none;
    animation: fadeIn 0.3s ease;
}

.question.active {
    display: block;
}

.question p {
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    color: var(--neural-gray);
}

.options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.option {
    background: white;
    border: 2px solid #e1e8ed;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: left;
    font-family: var(--font-primary);
}

.option:hover {
    border-color: var(--xens-blue);
    background: #f8f9fa;
}

.option.selected {
    border-color: var(--xens-blue);
    background: #e6f2ff;
    color: var(--xens-blue);
    font-weight: 600;
}

.assessment-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--spacing-sm);
}

.assessment-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.assessment-btn.primary {
    background: var(--xens-blue);
    color: white;
}

.assessment-btn.primary:hover:not(:disabled) {
    background: #0052a3;
}

.assessment-btn.primary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.assessment-btn.secondary {
    background: transparent;
    color: var(--neural-gray);
    border: 2px solid #e1e8ed;
}

.result-content {
    text-align: center;
    padding: var(--spacing-sm);
}

.recommended-service {
    background: #f8f9fa;
    border-radius: 10px;
    padding: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.service-preview h5 {
    color: var(--xens-blue);
    margin-bottom: 0.5rem;
}

.service-preview ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.service-preview li {
    padding: 0.2rem 0;
    padding-left: 1rem;
    position: relative;
}

.service-preview li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--data-green);
}

/* Industry Focus Styles */
.industry-focus {
    margin: var(--spacing-md) 0;
}

.industry-label {
    margin-bottom: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.industry-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.industry-btn {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 0.9rem;
}

.industry-btn:hover,
.industry-btn.active {
    border-color: var(--insight-orange);
    background: var(--insight-orange);
}

/* Testimonial Rotation */
.testimonial-rotation {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    backdrop-filter: blur(10px);
    min-height: 120px;
}

.testimonial {
    display: none;
    animation: fadeIn 0.5s ease;
}

.testimonial.active {
    display: block;
}

.testimonial blockquote {
    font-style: italic;
    margin-bottom: var(--spacing-sm);
    color: white;
    font-size: 1rem;
    line-height: 1.4;
}

.testimonial cite {
    color: var(--insight-orange);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Enhanced Services Section */
.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-sm);
}

.popularity-badge,
.value-badge,
.enterprise-badge,
.premium-badge {
    background: var(--insight-orange);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: auto;
}

.value-badge {
    background: var(--data-green);
}

.enterprise-badge {
    background: var(--xens-blue);
}

.premium-badge {
    background: var(--neural-gray);
}

.roi-highlight {
    background: linear-gradient(135deg, #e6f2ff, #f0f8ff);
    border-radius: 10px;
    padding: var(--spacing-sm);
    margin: var(--spacing-sm) 0;
    text-align: center;
    border-left: 4px solid var(--xens-blue);
}

.roi-metric .metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--xens-blue);
}

.roi-metric .metric-label {
    font-size: 0.9rem;
    color: var(--neural-gray);
    opacity: 0.8;
}

.service-guarantee {
    background: #f0f8ff;
    border-radius: 8px;
    padding: var(--spacing-xs);
    margin: var(--spacing-sm) 0;
    border-left: 3px solid var(--data-green);
    font-size: 0.9rem;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.meta-label {
    font-weight: 600;
    color: var(--neural-gray);
}

.meta-value {
    color: var(--neural-gray);
    opacity: 0.8;
}

.service-cta {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-sm);
}

.service-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all var(--transition-medium);
}

.service-btn.primary {
    background: var(--xens-blue);
    color: white;
}

.service-btn.primary:hover {
    background: #0052a3;
    transform: translateY(-2px);
}

.pricing-hint {
    text-align: center;
    font-size: 0.9rem;
    color: var(--neural-gray);
    opacity: 0.7;
}

/* Risk-Free Implementation Approach */
.implementation-approach {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 15px;
    padding: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.approach-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--neural-gray);
    opacity: 0.8;
    margin-bottom: var(--spacing-md);
}

.approach-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.approach-step {
    background: white;
    border-radius: 10px;
    padding: var(--spacing-sm);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: all var(--transition-medium);
}

.approach-step:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.step-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-xs);
}

.step-details {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-top: var(--spacing-xs);
    font-size: 0.8rem;
    color: var(--neural-gray);
    opacity: 0.7;
}

.step-duration {
    font-weight: 600;
    color: var(--xens-blue);
}

.risk-mitigation h4 {
    text-align: center;
    margin-bottom: var(--spacing-sm);
    color: var(--neural-gray);
}

.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-sm);
}

.guarantee-item {
    background: white;
    padding: var(--spacing-sm);
    border-radius: 8px;
    border-left: 3px solid var(--data-green);
    font-size: 0.9rem;
}

/* Lead Magnets */
.lead-magnets {
    background: #f8f9fa;
    border-radius: 15px;
    padding: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    text-align: center;
}

.lead-magnets h3 {
    color: var(--neural-gray);
    margin-bottom: var(--spacing-md);
}

.magnets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.magnet-item {
    background: white;
    border-radius: 10px;
    padding: var(--spacing-sm);
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
}

.magnet-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.magnet-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-xs);
}

.magnet-item h4 {
    color: var(--neural-gray);
    margin-bottom: var(--spacing-xs);
}

.magnet-item p {
    color: var(--neural-gray);
    opacity: 0.8;
    margin-bottom: var(--spacing-sm);
    font-size: 0.9rem;
}

.magnet-btn {
    background: var(--insight-orange);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    display: inline-block;
}

.magnet-btn:hover {
    background: #e55a2b;
    transform: translateY(-1px);
}

/* Enhanced About Section */
.leadership-profile {
    margin-bottom: var(--spacing-md);
}

/* LinkedIn Profile Integration */
.linkedin-profile-section {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
}

.badge-base {
    display: inline-block;
    margin-bottom: var(--spacing-sm);
}

.linkedin-follow {
    color: var(--neural-gray);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
}

.profile-spacing {
    height: var(--spacing-sm);
}

/* AI Acceleration Subsection */
.ai-acceleration {
    background: #f8f9fa;
    border-radius: 10px;
    padding: var(--spacing-md);
    margin: var(--spacing-md) 0;
    border-left: 4px solid var(--insight-orange);
}

.ai-acceleration h5 {
    color: var(--insight-orange);
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.ai-acceleration p {
    color: var(--neural-gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Clean Methodology Styling - No Boxes */
.methodology-clean {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

.methodology-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: 0;
    background: none;
    border: none;
}

.methodology-accent {
    width: 4px;
    height: 60px;
    background: var(--insight-orange);
    border-radius: 2px;
    flex-shrink: 0;
    margin-top: 2px;
}

.methodology-content {
    flex: 1;
}

.methodology-content h5 {
    color: var(--neural-gray);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
}

.methodology-content p {
    color: var(--neural-gray);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    opacity: 0.8;
}

/* Credentials Section Spacing */
.credentials-spacing {
    height: var(--spacing-sm);
}

/* AI Products Section - Productized Design */
.product-item {
    position: relative;
    padding-bottom: 80px; /* Space for pricing and CTA */
}

.product-pricing {
    display: flex;
    align-items: baseline;
    gap: var(--spacing-xs);
    margin: var(--spacing-sm) 0;
    padding: var(--spacing-sm);
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--insight-orange);
}

.price-main {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--insight-orange);
}

.price-detail {
    font-size: 0.9rem;
    color: var(--neural-gray);
    opacity: 0.8;
}

.product-cta {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
}

.deploy-btn {
    display: block;
    width: 100%;
    background: var(--insight-orange);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all var(--transition-fast);
    border: 2px solid var(--insight-orange);
}

.deploy-btn:hover {
    background: white;
    color: var(--insight-orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Products Benefits Grid */
.products-benefits {
    margin: var(--spacing-xl) 0 var(--spacing-lg) 0;
    text-align: center;
}

.products-benefits h4 {
    color: var(--neural-gray);
    margin-bottom: var(--spacing-lg);
    font-size: 1.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.benefit-item {
    background: white;
    border-radius: 10px;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.benefit-item h5 {
    color: var(--neural-gray);
    margin-bottom: var(--spacing-xs);
    font-size: 1.1rem;
    font-weight: 600;
}

.benefit-item p {
    color: var(--neural-gray);
    opacity: 0.8;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.profile-intro {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    color: var(--neural-gray);
    opacity: 0.9;
}

.business-credentials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.credential-group {
    background: white;
    border-radius: 10px;
    padding: var(--spacing-sm);
    box-shadow: var(--shadow-light);
}

.credential-group h4 {
    color: var(--xens-blue);
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.credential-list {
    list-style: none;
    padding: 0;
}

.credential-list li {
    padding: 0.3rem 0;
    padding-left: 1.2rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--neural-gray);
}

.credential-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--insight-orange);
    font-weight: bold;
}

.methodology-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-sm);
    margin: var(--spacing-md) 0;
}



.credentials-section {
    margin-bottom: var(--spacing-md);
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-sm);
}

.credential-badge {
    background: white;
    border-radius: 10px;
    padding: var(--spacing-sm);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
}

.credential-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.badge-icon {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

.credential-badge h5 {
    color: var(--neural-gray);
    margin-bottom: var(--spacing-xs);
    font-size: 0.9rem;
}

.credential-badge p {
    color: var(--neural-gray);
    opacity: 0.8;
    font-size: 0.8rem;
}


/* Enhanced Contact Section */
.contact-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.contact-header h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    color: white;
}

.contact-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    color: white;
}

.progressive-engagement {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.engagement-tier {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: var(--spacing-md);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-medium);
}

.engagement-tier:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.tier-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.tier-header h3 {
    color: white;
    font-size: 1.2rem;
}

.commitment-level {
    background: var(--insight-orange);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tier-options {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.option-btn {
    background: rgba(255, 255, 255, 0.9);
    color: var(--neural-gray);
    padding: var(--spacing-sm);
    border-radius: 10px;
    text-decoration: none;
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.option-btn:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.option-btn.featured {
    background: var(--insight-orange);
    color: white;
}

.option-btn.featured:hover {
    background: #e55a2b;
}

.option-btn strong {
    font-weight: 600;
}

.option-btn span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.trust-indicators {
    display: grid;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-sm);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.trust-icon {
    font-size: 1.5rem;
}

.trust-content h4 {
    color: white;
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.trust-content p {
    color: white;
    opacity: 0.8;
    font-size: 0.9rem;
    margin: 0;
}

.response-time {
    display: block;
    font-size: 0.8rem;
    color: var(--insight-orange);
    font-weight: 500;
    margin-top: 0.2rem;
}

.client-counter {
    background: rgba(255, 107, 53, 0.2);
    border-radius: 10px;
    padding: var(--spacing-sm);
    text-align: center;
    border-left: 4px solid var(--insight-orange);
}

.counter-content {
    margin-bottom: var(--spacing-xs);
}

.counter-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--insight-orange);
}

.counter-label {
    color: white;
    font-size: 0.9rem;
}

.recent-activity {
    font-size: 0.8rem;
    color: white;
    opacity: 0.8;
}

.form-header {
    margin-bottom: var(--spacing-md);
}

.form-header h3 {
    color: var(--neural-gray);
    margin-bottom: var(--spacing-xs);
}

.form-header p {
    color: var(--neural-gray);
    opacity: 0.8;
}

.form-guarantee {
    background: #f0f8ff;
    border-radius: 8px;
    padding: var(--spacing-sm);
    margin: var(--spacing-sm) 0;
    border-left: 3px solid var(--data-green);
    font-size: 0.9rem;
}

.form-submit {
    width: 100%;
    margin-top: var(--spacing-sm);
}

.form-footer {
    text-align: center;
    margin-top: var(--spacing-sm);
    font-size: 0.9rem;
    color: var(--neural-gray);
    opacity: 0.7;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 180px; /* Account for larger mobile navbar + buffer */
    }

    /* Assessment Section Mobile Optimization */
    .assessment-section {
        padding: var(--spacing-lg) var(--spacing-sm);
    }

    .assessment-section .section-header h2 {
        font-size: 2rem;
    }

    .assessment-section .section-subtitle {
        font-size: 1.1rem;
        padding: 0 var(--spacing-sm);
    }

    .assessment-container {
        margin: 0 var(--spacing-sm);
        max-width: calc(100% - var(--spacing-md));
    }

    /* Professional Mobile Assessment UX */
    .options {
        gap: var(--spacing-sm);
        margin: var(--spacing-md) 0;
    }

    .option-card {
        min-height: 70px; /* Larger touch targets for mobile */
        padding: var(--spacing-md);
        font-size: 1.1rem;
        border-radius: 16px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .option-card:active {
        transform: scale(0.98); /* Immediate touch feedback */
    }

    /* Enhanced selected state with animation for mobile */
    .option-card.selected {
        animation: pulseSelection 0.3s ease-out;
    }

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

    .option-icon {
        font-size: 1.5rem;
        min-width: 32px;
    }

    .option-text {
        font-size: 1.1rem;
        font-weight: 600;
    }

    /* Smooth question transitions */
    .question {
        animation: slideInRight 0.3s ease-out;
    }

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

    /* Mobile Assessment Controls - Visible with Professional UX */
    .assessment-controls {
        display: flex !important;
        flex-direction: column;
        gap: var(--spacing-sm);
        padding: var(--spacing-md) 0;
        margin-top: var(--spacing-md);
    }

    /* Mobile-optimized buttons with large touch targets */
    .assessment-btn {
        width: 100% !important;
        padding: 1.2rem 1.5rem !important;
        font-size: 1.1rem !important;
        font-weight: 700 !important;
        border-radius: 12px !important;
        min-height: 56px; /* iOS recommended minimum touch target */
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        transition: all 0.2s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .assessment-btn.primary {
        background: var(--xens-blue) !important;
        color: white !important;
        font-size: 1.15rem !important;
        box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
    }

    .assessment-btn.primary:active {
        transform: scale(0.98);
        box-shadow: 0 2px 6px rgba(0, 102, 204, 0.3);
    }

    .assessment-btn.secondary {
        background: white !important;
        color: var(--xens-blue) !important;
        border: 2px solid var(--xens-blue) !important;
    }

    .assessment-btn.secondary:active {
        transform: scale(0.98);
        background: var(--xens-blue-light) !important;
    }

    .assessment-btn:disabled {
        opacity: 0.5 !important;
        cursor: not-allowed !important;
        transform: none !important;
    }

    /* Start button special styling */
    #start-assessment {
        background: linear-gradient(135deg, var(--xens-blue) 0%, #0052a3 100%);
        box-shadow: 0 4px 16px rgba(0, 102, 204, 0.3);
        font-size: 1.2rem !important;
        padding: 1.5rem 2rem !important;
    }

    /* Portfolio Visualization Mobile */
    .portfolio-visualization {
        margin: var(--spacing-lg) var(--spacing-sm);
        padding: var(--spacing-md);
    }

    .portfolio-hero-image {
        max-width: 100%;
        margin: 0 auto;
    }


    .trust-badges {
        justify-content: center;
    }
    
    .readiness-assessment {
        margin: var(--spacing-sm) 0;
        padding: var(--spacing-sm);
    }
    
    .options {
        gap: 0.3rem;
    }
    
    .option {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .assessment-controls {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .industry-buttons {
        justify-content: center;
    }
    
    .testimonial-rotation {
        padding: var(--spacing-sm);
        min-height: 100px;
    }
    
    .progressive-engagement {
        grid-template-columns: 1fr;
    }
    
    .business-credentials {
        grid-template-columns: 1fr;
    }
    
    .methodology-pillars {
        grid-template-columns: 1fr;
    }
    
    .advantage-grid {
        grid-template-columns: 1fr;
    }
    
    .credentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .industry-grid {
        grid-template-columns: 1fr;
    }
    
    .approach-steps {
        grid-template-columns: 1fr;
    }
    
    .guarantee-grid {
        grid-template-columns: 1fr;
    }
    
    .magnets-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile Image Styling */
    .hero-visual {
        order: -1; /* Show image above content on mobile */
        margin-bottom: var(--spacing-lg);
    }

    .hero-image,
    .about-image {
        max-width: 100%;
        margin: 0 auto;
    }

    .success-caption h4 {
        font-size: 1.2rem;
    }

    .success-caption p {
        font-size: 1rem;
    }

    /* Assessment Section Mobile */
    .assessment-section .section-header h2 {
        font-size: 2rem;
    }

    .assessment-container {
        margin: 0 var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .testimonial blockquote {
        font-size: 0.9rem;
    }
    
    .credentials-grid {
        grid-template-columns: 1fr;
    }
    
    .tier-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }
    
    .contact-header h2 {
        font-size: 2rem;
    }
}

/* Print styles */
@media print {
    .navbar,
    .hero-visual,
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        min-height: auto;
        padding-top: var(--spacing-md);
    }
    
    /* Assessment now in dedicated section */
    
    .readiness-assessment,
    .progressive-engagement {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero {
        background: white;
        color: black;
        min-height: auto;
        padding: var(--spacing-md) 0;
    }
}

/* PIPEDA/CASL Compliant Cookie Consent System */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 3px solid var(--xens-blue);
    box-shadow: var(--shadow-heavy);
    z-index: 10000;
    padding: var(--spacing-sm);
    font-family: var(--font-primary);
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.cookie-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h4 {
    margin: 0 0 0.5rem 0;
    color: var(--neural-gray);
    font-weight: 600;
}

.cookie-text p {
    margin: 0;
    color: var(--neural-gray);
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-actions {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 6px;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.cookie-btn.primary {
    background: var(--xens-blue);
    color: white;
}

.cookie-btn.primary:hover {
    background: #0052a3;
    transform: translateY(-1px);
}

.cookie-btn.secondary {
    background: var(--insight-orange);
    color: white;
}

.cookie-btn.secondary:hover {
    background: #e55a2b;
    transform: translateY(-1px);
}

.cookie-btn.minimal {
    background: #f8f9fa;
    color: var(--neural-gray);
    border: 1px solid #dee2e6;
}

.cookie-btn.minimal:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

/* Cookie Preferences Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm);
    font-family: var(--font-primary);
    animation: fadeIn 0.3s ease-out;
}

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

.cookie-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 700px;
    max-height: 90vh;
    width: 100%;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: scale(0.9) translateY(50px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
}

.cookie-modal-header h3 {
    margin: 0;
    color: var(--neural-gray);
}

.cookie-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6c757d;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.cookie-close:hover {
    background: #e9ecef;
    color: var(--neural-gray);
}

.cookie-modal-body {
    padding: var(--spacing-md);
    max-height: 60vh;
    overflow-y: auto;
}

.cookie-modal-body > p {
    margin-bottom: var(--spacing-sm);
    color: var(--neural-gray);
}

.cookie-category {
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-sm);
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #f8f9fa;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xs);
}

.cookie-category h4 {
    margin: 0;
    color: var(--neural-gray);
    font-size: 1.1rem;
}

.cookie-status.required {
    background: var(--data-green);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: var(--transition-fast);
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: var(--transition-fast);
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--xens-blue);
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

.cookie-category p {
    margin: var(--spacing-xs) 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.cookie-details {
    list-style: none;
    margin: var(--spacing-xs) 0 0 0;
    padding: 0;
}

.cookie-details li {
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
    color: #6c757d;
    padding-left: 1rem;
    position: relative;
}

.cookie-details li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--xens-blue);
}

.cookie-details strong {
    color: var(--neural-gray);
}

.privacy-notice {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    background: #e3f2fd;
    border-left: 4px solid var(--xens-blue);
    border-radius: 4px;
}

.privacy-notice h4 {
    margin: 0 0 var(--spacing-xs) 0;
    color: var(--neural-gray);
}

.privacy-notice p {
    margin: var(--spacing-xs) 0;
    font-size: 0.9rem;
    color: var(--neural-gray);
}

.privacy-notice ul {
    margin: var(--spacing-xs) 0;
    padding-left: var(--spacing-sm);
}

.privacy-notice li {
    font-size: 0.85rem;
    color: var(--neural-gray);
    margin-bottom: 0.2rem;
}

.privacy-notice a {
    color: var(--xens-blue);
    text-decoration: none;
    font-weight: 500;
}

.privacy-notice a:hover {
    text-decoration: underline;
}

.cookie-modal-footer {
    padding: var(--spacing-md);
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
    display: flex;
    gap: var(--spacing-xs);
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* Mobile responsiveness for cookie consent */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }
    
    .cookie-actions {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-btn {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }
    
    .cookie-modal {
        padding: var(--spacing-xs);
    }
    
    .cookie-modal-content {
        max-height: 95vh;
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: var(--spacing-sm);
    }
    
    .cookie-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }
    
    .cookie-modal-footer {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .cookie-actions {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
}

/* =============================================================
   SIMPLIFIED ASSESSMENT RESULT - MAXIMIZED SPACE UTILIZATION
   Single container optimized for maximum words per line
   ============================================================= */

.assessment-result {
    padding: var(--spacing-md); /* Reduced padding for more text space */
    text-align: center;
    color: var(--neural-gray);
    line-height: 1.4; /* Tighter line height for better space efficiency */
    width: 100%; /* Ensure full width utilization */
    box-sizing: border-box; /* Include padding in width calculation */
}

/* Assessment Result Title - SPACE OPTIMIZED */
.assessment-result h4 {
    color: var(--xens-blue);
    font-size: 1.2rem; /* Slightly smaller for better proportion */
    font-weight: 600;
    margin: 0 0 var(--spacing-md) 0; /* Reduced margin for more content space */
    line-height: 1.3; /* Tighter line height for space efficiency */
    word-wrap: break-word; /* Ensure long text wraps properly */
}

.score-highlight {
    color: var(--insight-orange);
    font-weight: 700;
}

/* Recommended Service Box - MAXIMIZED CONTENT SPACE */
.recommended-service {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem; /* Reduced gap for tighter layout */
    margin: var(--spacing-md) 0; /* Reduced margin for more content space */
    padding: var(--spacing-sm); /* Reduced padding for maximum text area */
    background: rgba(0, 102, 204, 0.05);
    border: 1px solid rgba(0, 102, 204, 0.1);
    border-radius: 8px; /* Smaller radius for space efficiency */
    width: 100%; /* Ensure full width utilization */
    box-sizing: border-box; /* Include padding in width calculation */
}

.recommended-service .service-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-xs);
}

/* Service Title - OPTIMIZED FOR MORE WORDS PER LINE */
.recommended-service strong {
    color: var(--xens-blue);
    font-size: 1rem; /* Balanced size for better text density */
    font-weight: 600;
    text-align: center;
    line-height: 1.3; /* Efficient line height */
    word-wrap: break-word; /* Ensure proper text wrapping */
}

/* Service Description - MAXIMIZED TEXT LAYOUT */
.recommended-service .service-desc {
    color: var(--neural-gray);
    font-size: 0.85rem; /* Smaller font for more words per line */
    opacity: 0.8;
    text-align: center;
    line-height: 1.3; /* Tight line height for space efficiency */
    word-wrap: break-word; /* Ensure proper text wrapping */
}

/* Result Message - OPTIMIZED FOR MAXIMUM READABILITY */
.result-message {
    margin: var(--spacing-md) 0; /* Reduced margin for more content space */
    font-size: 0.95rem; /* Slightly smaller for more words per line */
    line-height: 1.4; /* Tighter line height for better space utilization */
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    text-align: center;
    padding: 0 var(--spacing-xs); /* Reduced padding for more text width */
    word-wrap: break-word; /* Ensure long text wraps properly */
    hyphens: auto; /* Enable hyphenation for better text flow */
}

.result-cta {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--insight-orange);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    margin-top: var(--spacing-md);
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-light);
}

.result-cta:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

/* Mobile responsiveness - MAXIMIZED SPACE UTILIZATION ON ALL DEVICES */
@media (max-width: 768px) {
    /* Assessment panel now in dedicated section - mobile responsive */
    
    .assessment-result {
        padding: var(--spacing-sm); /* Minimal padding for more text space */
    }
    
    .assessment-result h4 {
        font-size: 1rem; /* Smaller font for mobile but still readable */
        line-height: 1.3; /* Tight line height for space efficiency */
    }
    
    .recommended-service {
        margin: var(--spacing-sm) 0; /* Reduced margin for more content */
        padding: var(--spacing-xs); /* Minimal padding for maximum text area */
    }
    
    .result-message {
        font-size: 0.9rem; /* Smaller font for more words per line */
        margin: var(--spacing-sm) 0; /* Reduced margin for tighter layout */
        padding: 0; /* Remove padding for full width text */
    }
    
    /* Ensure readiness assessment uses full width */
    .readiness-assessment {
        padding: var(--spacing-xs); /* Minimal padding for maximum content space */
        margin-bottom: var(--spacing-xs); /* Tight spacing */
    }
}

/* Professional LinkedIn Card - Research-Based Best Practices 2025 */
.professional-linkedin-card {
    background: linear-gradient(135deg, #fff 0%, #f8faff 100%);
    border: 1px solid #e1e5e9;
    border-left: 4px solid #0077b5;
    border-radius: 12px;
    padding: 1.25rem;
    max-width: 320px;
    box-shadow: 0 2px 12px rgba(0, 119, 181, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.professional-linkedin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #0077b5, #0099d4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.professional-linkedin-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.15);
    border-color: #0077b5;
}

.professional-linkedin-card:hover::before {
    opacity: 1;
}

.linkedin-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f0f2f5;
}

.platform-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0077b5;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.profile-info {
    margin-bottom: 1rem;
}

.profile-name {
    margin: 0 0 0.25rem 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--neural-gray);
    line-height: 1.3;
}

.profile-title {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    line-height: 1.4;
}

.profile-stats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #888;
}

.stat {
    font-weight: 500;
}

.stat-separator {
    color: #ccc;
}

.linkedin-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: #0077b5;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.linkedin-cta-button:hover {
    background: #005885;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
    color: white;
}

.cta-text {
    font-weight: 600;
}

/* Responsive LinkedIn card */
@media (max-width: 768px) {
    .professional-linkedin-card {
        max-width: 100%;
        padding: 1rem;
    }

    .profile-name {
        font-size: 1.1rem;
    }

    .profile-title {
        font-size: 0.85rem;
    }

    .linkedin-cta-button {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
}