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

:root {
    /* Enhanced Professional Color Scheme */
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #64748b;
    --accent-color: #0ea5e9;
    --accent-light: #38bdf8;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --text-primary: #1e293b;
    --text-secondary: #475569; /* Lightened from #64748b for better readability */
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-accent: #f1f5f9;
    --bg-gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --bg-gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --bg-gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md:
        0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg:
        0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl:
        0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-colored: 0 10px 25px -5px rgba(37, 99, 235, 0.2);
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}
h2 {
    font-size: 2rem;
}
h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Enhanced Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

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

.btn-primary:hover {
    background: linear-gradient(
        135deg,
        var(--primary-dark),
        var(--primary-color)
    );
    transform: translateY(-3px);
    box-shadow: 0 15px 35px -5px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

/* Header */
.header {
    background-color: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 70px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    position: relative;
    min-height: 60px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1001;
}

.logo {
    height: 35px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.beedle-logo {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.boduo-logo {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.mobile-menu-toggle:hover {
    background-color: rgba(37, 99, 235, 0.1);
}

.mobile-menu-toggle:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    position: relative;
}

.nav a:hover {
    color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.05);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav a:hover::after {
    width: 80%;
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 0.7rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-radius: 0;
}

.dropdown-menu a:hover {
    background: var(--primary-color);
    color: white;
    transform: none;
}

.dropdown-menu a::after {
    display: none;
}

/* Language Switcher */
.language-switcher {
    position: relative;
    margin-left: auto;
    margin-right: 20px;
    flex-shrink: 0;
}

#language-switcher {
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-accent));
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    min-width: 85px;
}

#language-switcher:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

#language-switcher:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

#language-switcher option {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 6px;
}

/* Animation keyframes */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--accent-color) 50%,
        var(--primary-light) 100%
    );
    color: white;
    padding: 8rem 0;
    text-align: center;
    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;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(1deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: slideInUp 1s ease-out;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    animation: slideInUp 1s ease-out 0.2s both;
    line-height: 1.4;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideInUp 1s ease-out 0.4s both;
}

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

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    word-wrap: break-word;
    hyphens: auto;
}

/* Bilingual Layout Support */
.phase-card,
.objective-card,
.stat-card {
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.phase-content,
.objective-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.phase-pricing {
    margin-top: auto;
}

/* Text overflow handling */
h1,
h2,
h3,
h4,
h5,
h6 {
    word-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
}

p,
li,
span {
    word-wrap: break-word;
    hyphens: auto;
}

/* Why Section */
.why-section {
    background: linear-gradient(
        135deg,
        var(--bg-secondary) 0%,
        #ffffff 50%,
        var(--bg-accent) 100%
    );
    position: relative;
}

.why-section::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 60 60"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(37,99,235,0.05)"/></pattern></defs><rect width="60" height="60" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

.why-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.why-text-with-graphic {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.why-text {
    text-align: left;
}

.why-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.why-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-graphic {
    width: 100%;
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.2));
    transition: transform 0.3s ease;
}

.ai-graphic:hover {
    transform: scale(1.05);
}

.data-viz-section {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.data-viz-graphic {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.15));
    transition: transform 0.3s ease;
}

.data-viz-graphic:hover {
    transform: scale(1.02);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--primary-color),
        var(--accent-color)
    );
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-colored);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Objectives Section */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.objective-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 5px solid transparent;
    background-clip: padding-box;
    position: relative;
    overflow: hidden;
}

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

.objective-card::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle,
        rgba(37, 99, 235, 0.05) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.objective-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-colored);
}

.objective-card:hover::after {
    opacity: 1;
}

.objective-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.objective-card h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.objective-details p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* Self-Assessment Section */
.self-assessment-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.self-assessment-section::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="%23e2e8f0" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.self-assessment-section .container {
    position: relative;
    z-index: 2;
}

.self-assessment-intro {
    text-align: center;
    margin-bottom: 60px;
}

.self-assessment-intro h2 {
    color: #1e293b;
    margin-bottom: 16px;
}

.self-assessment-intro p {
    color: #64748b;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.questions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.question-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.question-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.question-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.question-card:hover::before {
    transform: scaleX(1);
}

.question-card.expanded {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-color: #3b82f6;
}

.question-card.expanded::before {
    transform: scaleX(1);
}

.question-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.question-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.question-text {
    flex: 1;
}

.question-text h3 {
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.question-description {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-top: 12px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.question-card.expanded .question-description {
    opacity: 1;
    max-height: 100px;
}

.question-toggle {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.question-card:hover .question-toggle {
    border-color: #3b82f6;
}

.question-card.expanded .question-toggle {
    background: #3b82f6;
    border-color: #3b82f6;
}

.question-toggle::after {
    content: "✓";
    color: white;
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.question-card.expanded .question-toggle::after {
    opacity: 1;
}

.self-assessment-cta {
    text-align: center;
    margin-top: 40px;
}

.self-assessment-cta .btn {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
}

.self-assessment-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.4);
}

@media (max-width: 768px) {
    .questions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .question-card {
        padding: 24px;
    }

    .self-assessment-section {
        padding: 60px 0;
    }
}

/* AI Adoption and Strategic Map Image Containers */
.ai-adoption-image-container,
.strategic-map-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    position: relative;
}

.ai-adoption-image,
.strategic-map-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ai-adoption-image:hover,
.strategic-map-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

/* Language-specific image display */
/* All language images hidden by default - JavaScript will control visibility */
.lang-fr,
.lang-en {
    display: none !important;
}

/* JavaScript-controlled display classes */
.lang-fr.js-show {
    display: block !important;
}

.lang-en.js-show {
    display: block !important;
}

@media (max-width: 768px) {
    .ai-adoption-image-container,
    .strategic-map-image-container {
        margin: 20px 0;
    }

    .ai-adoption-image,
    .strategic-map-image {
        border-radius: 8px;
    }
}

/* Methodology Section */
.methodology-section {
    background: linear-gradient(
        135deg,
        var(--bg-accent) 0%,
        var(--bg-secondary) 50%,
        #ffffff 100%
    );
    position: relative;
}

.methodology-section::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 40 40"><defs><pattern id="lines" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M0,20 L40,20 M20,0 L20,40" stroke="rgba(37,99,235,0.03)" stroke-width="1"/></pattern></defs><rect width="40" height="40" fill="url(%23lines)"/></svg>');
    opacity: 0.7;
}

.methodology-header {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.methodology-intro {
    text-align: left;
    font-size: 1.1rem;
    margin: 0;
}

.methodology-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
}

.neural-network-graphic {
    width: 100%;
    max-width: 320px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.2));
    transition: transform 0.3s ease;
}

.neural-network-graphic:hover {
    transform: scale(1.05);
}

.phases-container {
    display: grid;
    gap: 2rem;
}

.phase-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

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

.phase-header {
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--accent-color)
    );
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.phase-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.5rem;
}

.phase-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.phase-content {
    padding: 2rem;
}

.phase-content > p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.phase-details {
    margin-top: 1.5rem;
}

.detail-item {
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: var(--bg-accent);
    border-radius: 8px;
}

.training-modules ul {
    list-style: none;
    padding-left: 0;
}

.training-modules li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.training-modules li:last-child {
    border-bottom: none;
}

.phase-pricing {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--success-color), #059669);
    border-radius: 8px;
    color: white;
}

.price {
    font-weight: 700;
    font-size: 1.2rem;
}

.price-alt {
    font-size: 0.9rem;
    opacity: 0.9;
}

.duration {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-left: auto;
}

/* AI Questionnaire Section */
.ai-questionnaire-section {
    padding: 6rem 0;
    background: linear-gradient(
        135deg,
        var(--bg-secondary) 0%,
        #ffffff 50%,
        var(--bg-accent) 100%
    );
    position: relative;
}

.ai-questionnaire-section::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="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.questionnaire-intro {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.questionnaire-intro h2 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.questionnaire-intro p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.questionnaire-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
    border: 1px solid var(--border-color);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-accent);
    border-radius: 4px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(
        90deg,
        var(--primary-color),
        var(--accent-color)
    );
    border-radius: 4px;
    transition: width 0.5s ease;
    width: 8.33%;
}

.progress-text {
    position: absolute;
    top: -30px;
    right: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.question-container {
    min-height: 300px;
    margin-bottom: 2rem;
}

.question {
    animation: fadeInUp 0.5s ease-out;
}

.question h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    line-height: 1.4;
}

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

.option {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.option::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(37, 99, 235, 0.1),
        transparent
    );
    transition: left 0.3s ease;
}

.option:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.option:hover::before {
    left: 100%;
}

.option.selected {
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--primary-light)
    );
    color: white;
    border-color: var(--primary-dark);
    box-shadow: var(--shadow-colored);
}

.option.selected::after {
    content: "✓";
    position: absolute;
    top: 50%;
    right: 1.5rem;
    transform: translateY(-50%);
    font-weight: bold;
    font-size: 1.2rem;
}

.questionnaire-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    gap: 1rem;
}

.questionnaire-navigation .btn {
    min-width: 120px;
}

.questionnaire-navigation .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.questionnaire-navigation .btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

.questionnaire-results {
    max-width: 800px;
    margin: 3rem auto 0;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.results-header {
    margin-bottom: 2rem;
}

.results-header h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.profile-result {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--accent-color)
    );
    color: white;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.profile-icon {
    font-size: 2rem;
}

.profile-description {
    background: var(--bg-accent);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.profile-description p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.profile-recommendations {
    text-align: left;
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.profile-recommendations h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.profile-recommendations ul {
    list-style: none;
    padding: 0;
}

.profile-recommendations li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 2rem;
}

.profile-recommendations li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.results-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

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

/* Mobile responsiveness for questionnaire */
@media (max-width: 768px) {
    .questionnaire-form {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .progress-text {
        font-size: 0.8rem;
    }

    .question h3 {
        font-size: 1.1rem;
    }

    .option {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    .questionnaire-navigation {
        flex-direction: column;
        gap: 1rem;
    }

    .questionnaire-navigation .btn {
        width: 100%;
        min-width: auto;
    }

    .questionnaire-results {
        margin: 2rem 1rem 0;
        padding: 2rem 1.5rem;
    }

    .results-cta {
        flex-direction: column;
    }

    .results-cta .btn {
        width: 100%;
    }
}

/* Contact Section */
.contact-section {
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--accent-color)
    );
    color: white;
    text-align: center;
}

.contact-section .section-title {
    color: white !important;
}

.contact-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: white !important;
}

/* Contact CTA Buttons */
.contact-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.contact-email,
.contact-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 200px;
    justify-content: center;
}

.contact-email {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.contact-email:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-phone {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.contact-phone:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn-icon {
    flex-shrink: 0;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.contact-email:hover .btn-icon,
.contact-phone:hover .btn-icon {
    opacity: 1;
}

/* Mobile Responsive Contact Buttons */
@media (max-width: 768px) {
    .contact-cta {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .contact-email,
    .contact-phone {
        width: 100%;
        max-width: 300px;
        min-width: auto;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }

    .btn-icon {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .contact-cta {
        gap: 0.75rem;
    }

    .contact-email,
    .contact-phone {
        max-width: 280px;
        padding: 0.8rem 1.25rem;
        font-size: 0.95rem;
        gap: 0.5rem;
    }

    .btn-icon {
        width: 18px;
        height: 18px;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #f8fafc;
    padding: 3rem 0 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(148, 163, 184, 0.3) 50%, transparent 100%);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.footer-logos {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 0.5rem;
}

.footer-logo {
    height: 35px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

/* Enhanced Copyright Text Styling */
.copyright-text {
    font-size: 0.95rem;
    font-weight: 400;
    color: #e2e8f0;
    margin: 0;
    letter-spacing: 0.025em;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: color 0.3s ease;
}

.copyright-text:hover {
    color: #f1f5f9;
}

/* Enhanced Version Info Styling */
.version-info {
    font-size: 0.8rem !important;
    font-weight: 300 !important;
    color: #94a3b8 !important;
    opacity: 0.8 !important;
    margin-top: 0.75rem !important;
    padding: 0.5rem 1rem !important;
    background: rgba(15, 23, 42, 0.4) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(148, 163, 184, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    letter-spacing: 0.05em !important;
    transition: all 0.3s ease !important;
}

.version-info:hover {
    opacity: 1 !important;
    background: rgba(15, 23, 42, 0.6) !important;
    border-color: rgba(148, 163, 184, 0.2) !important;
    transform: translateY(-1px) !important;
}

.version-label {
    color: #cbd5e1;
    font-weight: 300;
}

.version-number {
    font-family: 'Courier New', monospace;
    font-weight: 500;
    color: #60a5fa;
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.3);
    transition: color 0.3s ease;
}

.version-info:hover .version-number {
    color: #93c5fd;
    text-shadow: 0 0 15px rgba(147, 197, 253, 0.4);
}

/* Footer Responsive Design */
@media (max-width: 768px) {
    .footer {
        padding: 2.5rem 0 1.5rem 0;
    }

    .footer-content {
        gap: 1.25rem;
        padding: 0 1rem;
    }

    .footer-logo {
        height: 30px;
    }

    .copyright-text {
        font-size: 0.9rem;
        line-height: 1.6;
        text-align: center;
        max-width: 280px;
    }

    .version-info {
        font-size: 0.75rem !important;
        padding: 0.4rem 0.8rem !important;
        margin-top: 0.5rem !important;
        border-radius: 16px !important;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2rem 0 1.25rem 0;
    }

    .footer-content {
        gap: 1rem;
        padding: 0 0.75rem;
    }

    .copyright-text {
        font-size: 0.85rem;
        max-width: 260px;
    }

    .version-info {
        font-size: 0.7rem !important;
        padding: 0.35rem 0.7rem !important;
        border-radius: 14px !important;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 1rem;
    }

    .nav a {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
    }
}

@media (max-width: 1024px) {
    .nav-menu {
        gap: 0.75rem;
    }

    .nav a {
        font-size: 0.85rem;
        padding: 0.4rem 0.5rem;
    }

    #language-switcher {
        min-width: 75px;
        font-size: 0.8rem;
        padding: 5px 8px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .header-content {
        padding: 0.75rem 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--bg-primary);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 90px 25px 25px 25px;
        z-index: 999;
        overflow-y: auto;
        backdrop-filter: blur(10px);
    }

    .nav.active {
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
        width: 100%;
        animation: slideInLeft 0.4s ease-out 0.1s both;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 1rem;
        animation: fadeInScale 0.3s ease-out calc(0.1s * var(--i, 1)) both;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    /* Mobile dropdown styles */
    .nav-dropdown .dropdown-toggle::after {
        content: '▶';
        transform: rotate(0deg);
    }

    .nav-dropdown.active .dropdown-toggle::after {
        transform: rotate(90deg);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding-left: 1rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-dropdown.active .dropdown-menu {
        max-height: 300px;
    }

    .dropdown-menu a {
        padding: 0.75rem 0;
        font-size: 0.9rem;
        color: var(--text-secondary);
    }

    .dropdown-menu a:hover {
        background: transparent;
        color: var(--primary-color);
        transform: translateX(5px);
    }

    .nav a {
        font-size: 1rem;
        padding: 1rem 0;
        display: block;
        width: 100%;
        border-radius: 0;
    }

    .nav a::after {
        display: none;
    }

    .nav a:hover {
        background-color: var(--bg-accent);
        color: var(--primary-color);
        transform: translateX(5px);
        box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
    }

    .language-switcher {
        margin: 0;
        margin-right: 10px;
        order: -1; /* Place before mobile menu toggle */
    }

    #language-switcher {
        min-width: 70px;
        font-size: 0.8rem;
        padding: 6px 8px;
    }

    /* Overlay for mobile menu */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
        backdrop-filter: blur(2px);
    }

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

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

    .phase-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .phase-pricing {
        flex-direction: column;
        align-items: flex-start;
    }

    .duration {
        margin-left: 0;
    }

    /* Graphics Responsive */
    .why-text-with-graphic {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .why-text {
        text-align: center;
    }

    .methodology-header {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .methodology-intro {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .header {
        min-height: 65px;
    }

    .header-content {
        padding: 0.5rem 0;
        min-height: 55px;
    }

    .logo {
        height: 28px;
    }

    .mobile-menu-toggle {
        padding: 6px;
    }

    .mobile-menu-toggle span {
        width: 20px;
        height: 2px;
    }

    .nav {
        width: 100%;
        padding: 70px 20px 20px 20px;
    }

    .nav-menu {
        gap: 1rem;
    }

    .nav a {
        font-size: 0.95rem;
        padding: 0.75rem 0;
    }

    .ai-graphic,
    .neural-network-graphic {
        max-width: 250px;
    }

    .data-viz-graphic {
        max-width: 350px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Strategic Map Section */
.strategic-map-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.strategic-map-section::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="%23e2e8f0" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.6;
}

.strategic-map-section::after {
    content: "";
    position: absolute;
    top: 20%;
    left: -10%;
    width: 120%;
    height: 60%;
    background: radial-gradient(
        ellipse,
        rgba(37, 99, 235, 0.1) 0%,
        transparent 60%
    );
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(2deg);
    }
    50% {
        transform: translateY(0px) rotate(0deg);
    }
    75% {
        transform: translateY(10px) rotate(-1deg);
    }
}

.strategic-map {
    position: relative;
    z-index: 1;
    background: var(--bg-primary);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.5s ease;
}

.strategic-map:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.map-title {
    background: var(--bg-gradient-3);
    color: white;
    text-align: center;
    padding: 30px;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.map-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.map-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bg-secondary);
    border-bottom: 3px solid var(--border-color);
}

.header-section {
    padding: 20px 30px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    border: 3px solid #8b4513;
    margin: 15px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fefefe 0%, #f8f5f0 100%);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.header-section:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.perspective-layer {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: 140px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.perspective-layer::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.6s ease;
}

.perspective-layer:hover::before {
    left: 100%;
}

.perspective-layer:hover {
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    z-index: 2;
}

.layer-label {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 20px;
    border-right: 3px solid var(--border-color);
    color: var(--text-primary);
    text-align: center;
    position: relative;
}

.layer-label::before {
    content: "";
    position: absolute;
    right: -2px;
    top: 20%;
    bottom: 20%;
    width: 4px;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--primary-color),
        transparent
    );
    border-radius: 2px;
}

.layer-content {
    padding: 25px 35px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    position: relative;
}

.financial {
    background: linear-gradient(135deg, #fff7e6 0%, #ffeaa7 100%);
    border-left: 6px solid #f39c12;
}

.client {
    background: linear-gradient(135deg, #e8f4ff 0%, #cce7ff 100%);
    border-left: 6px solid var(--primary-color);
}

.internal {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 6px solid var(--secondary-color);
}

.human {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    border-left: 6px solid var(--success-color);
}

.objective-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 12px 16px;
    margin: 6px;
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
}

.objective-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(37, 99, 235, 0.1),
        transparent
    );
    transition: left 0.5s ease;
}

.objective-item:hover::before {
    left: 100%;
}

.objective-item:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.25);
    border-color: var(--primary-dark);
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
}

.objective-item:active {
    transform: translateY(-2px) scale(1.05);
}

.solution-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #1976d2;
    border-radius: 12px;
    padding: 15px 20px;
    margin: 6px;
    color: #1976d2;
    font-weight: 600;
    display: inline-block;
    min-width: 160px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.solution-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.solution-box:hover::before {
    left: 100%;
}

.solution-box:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 12px 25px rgba(25, 118, 210, 0.25);
    border-color: #1565c0;
    background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 100%);
}

.solution-box:active {
    transform: translateY(-2px) scale(1.05);
}

.arrow-up {
    color: var(--success-color);
    font-size: 22px;
    font-weight: bold;
    margin-right: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.arrow-down {
    color: #dc3545;
    font-size: 22px;
    font-weight: bold;
    margin-right: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.connecting-arrow {
    position: absolute;
    color: var(--success-color);
    font-size: 28px;
    z-index: 10;
    text-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
    animation: pulse 3s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.3));
}

@keyframes pulse {
    0%,
    100% {
        opacity: 0.6;
        transform: scale(1) rotate(0deg);
    }
    33% {
        opacity: 0.8;
        transform: scale(1.15) rotate(2deg);
    }
    66% {
        opacity: 1;
        transform: scale(1.25) rotate(-1deg);
    }
}

.perspective-layer:hover .connecting-arrow {
    animation-duration: 1.5s;
    color: var(--primary-color);
    text-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
    filter: drop-shadow(0 0 15px rgba(37, 99, 235, 0.4));
}

.benefits-section-map {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 30px 40px;
    border-top: 4px solid var(--success-color);
    position: relative;
}

.benefits-section-map::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--success-color),
        var(--primary-color),
        var(--success-color)
    );
}

.benefits-title-map {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.benefits-title-map::before {
    content: "✨";
    margin-right: 10px;
    font-size: 1.2em;
}

.benefits-list-map {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.benefit-item-map {
    display: flex;
    align-items: flex-start;
    padding: 18px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--success-color);
    transition: all 0.3s ease;
}

.benefit-item-map:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
    border-left-color: var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
}

.benefit-item-map:hover .benefit-icon-map {
    transform: scale(1.2) rotate(360deg);
    color: var(--primary-color);
}

.benefit-icon-map {
    color: var(--success-color);
    font-size: 20px;
    margin-right: 15px;
    margin-top: 2px;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-text-map {
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Strategic Map CTA Section */
.strategic-map-cta {
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--primary-dark) 100%
    );
    color: white;
    text-align: center;
    padding: 40px;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.strategic-map-cta::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="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.strategic-map-cta h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.strategic-map-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    color: white !important;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.strategic-map-cta .btn {
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.strategic-map-cta .btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.strategic-map-cta .btn-primary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.strategic-map-cta .btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.strategic-map-cta .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .strategic-map-section {
        padding: 60px 0;
    }

    .map-title {
        font-size: 1.4rem;
        padding: 20px;
    }

    .map-header {
        grid-template-columns: 1fr;
    }

    .perspective-layer {
        grid-template-columns: 1fr;
    }

    .layer-label {
        border-right: none;
        border-bottom: 2px solid var(--border-color);
        padding: 20px;
    }

    .layer-label::before {
        display: none;
    }

    .layer-content {
        padding: 20px;
        gap: 12px;
    }

    .objective-item,
    .solution-box {
        min-width: auto;
        font-size: 0.9rem;
        padding: 10px 12px;
    }

    .benefits-list-map {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .benefit-item-map {
        padding: 15px;
    }

    .objective-item,
    .solution-box {
        min-width: auto;
        font-size: 0.9rem;
        padding: 10px 12px;
    }

    .connecting-arrow {
        display: none;
    }

    .strategic-map-cta {
        padding: 30px 20px;
    }

    .strategic-map-cta h3 {
        font-size: 1.3rem;
    }

    .strategic-map-cta p {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .strategic-map-cta .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Enhanced Objectives Table Styling */
.objectives-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

.objectives-section::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="objectives-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="%2364748b" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23objectives-pattern)"/></svg>');
    opacity: 0.5;
}

.objectives-section .container {
    position: relative;
    z-index: 1;
}

.objectives-table {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    margin-top: 40px;
    position: relative;
}

.objectives-table table {
    width: 100%;
    border-collapse: collapse;
    font-family: inherit;
}

.objectives-table thead {
    background: #f8fafc;
    color: #1e293b;
    border-bottom: 1px solid #e2e8f0;
}

.objectives-table th {
    padding: 20px;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    color: #475569;
    border-right: 1px solid #e2e8f0;
}

.objectives-table th:last-child {
    border-right: none;
}

.objectives-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
}

.objectives-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.objectives-table tbody tr:hover {
    background: #f1f5f9;
}

.objectives-table td {
    padding: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #475569;
    border-right: 1px solid #e2e8f0;
    vertical-align: top;
}

.objectives-table td:last-child {
    border-right: none;
}

.objectives-table td:first-child {
    font-weight: 600;
    color: #1e293b;
}

/* Special styling for the last row (Custom Solutions) */
.objectives-table tbody tr:last-child {
    background: #fff7ed;
}

.objectives-table tbody tr:last-child:hover {
    background: #fed7aa;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .objectives-table {
        margin: 20px;
        border-radius: 15px;
    }

    .objectives-table th,
    .objectives-table td {
        padding: 20px 15px;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .objectives-section {
        padding: 60px 0;
    }

    .objectives-table {
        margin: 10px;
        border-radius: 12px;
        overflow-x: auto;
    }

    .objectives-table table {
        min-width: 700px;
    }

    .objectives-table th,
    .objectives-table td {
        padding: 15px 12px;
        font-size: 0.9rem;
    }

    .objectives-table th {
        font-size: 1rem;
    }

    .objectives-table tbody tr:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .objectives-table {
        margin: 5px;
        border-radius: 8px;
    }

    .objectives-table table {
        min-width: 600px;
    }

    .objectives-table th,
    .objectives-table td {
        padding: 12px 8px;
        font-size: 0.85rem;
    }

    .objectives-table td:first-child {
        font-size: 0.95rem;
    }
}

/* Add subtle animation on page load */
@keyframes tableSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.objectives-table {
    animation: tableSlideIn 0.8s ease-out;
}

/* Simple table styling - removed complex interactions */

/* Mobile enhancements */
@media (max-width: 768px) {
    .strategy-tag {
        font-size: 0.8rem;
        padding: 4px 8px;
    }

    .objective-badge {
        font-size: 1.1em;
    }

    .custom-row::after {
        display: none;
    }

    /* Simplified mobile interactions */
}

/* Cost-Benefit Analysis Section */
.cost-benefit-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.cost-benefit-section::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="cost-pattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="%2364748b" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23cost-pattern)"/></svg>');
    opacity: 0.4;
}

.cost-benefit-section .container {
    position: relative;
    z-index: 1;
}

.chart-container {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    margin: 40px 0;
    overflow: hidden;
}

/* ApexCharts Container */
.apex-chart {
    min-height: 500px;
    margin-bottom: 40px;
}

/* Profiles Legend */
.profiles-legend {
    margin-top: 30px;
    padding: 30px;
    background: #f8fafc;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.profiles-legend h3 {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.profiles-legend p {
    color: #64748b;
    font-size: 16px;
    text-align: center;
    margin-bottom: 30px;
}

.legend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.legend-grid.compact {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.legend-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.legend-item.compact {
    padding: 12px 15px;
    gap: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.legend-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.legend-emoji {
    font-size: 24px;
    min-width: 30px;
    text-align: center;
}

.legend-content h4 {
    color: var(--text-color);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.legend-content h5 {
    color: var(--text-color);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.legend-content p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.legend-item.compact .legend-content p {
    font-size: 12px;
    line-height: 1.4;
}

/* Chart Zones */
.chart-zones {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.zone-indicator {
    text-align: center;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 200px;
}

.zone-indicator.optimal {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.zone-indicator.improvement {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.zone-indicator h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.zone-indicator p {
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
}

.chart-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--primary-color) 0%,
        var(--accent-color) 50%,
        var(--primary-color) 100%
    );
    border-radius: 20px 20px 0 0;
}





/* Chart CTA */
.chart-cta {
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--primary-dark) 100%
    );
    color: white;
    text-align: center;
    padding: 40px;
    border-radius: 15px;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

.chart-cta::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="cta-dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23cta-dots)"/></svg>');
}

.chart-cta h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.chart-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.chart-cta .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.chart-cta .btn {
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.chart-cta .btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.chart-cta .btn-primary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.chart-cta .btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.chart-cta .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Mobile Responsive Design */
@media (max-width: 1024px) {
    .chart-container {
        padding: 30px 20px;
    }

    .apex-chart {
        min-height: 400px;
    }

    .legend-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }

    .legend-grid.compact {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 12px;
    }

    .legend-item {
        padding: 15px;
    }

    .legend-item.compact {
        padding: 10px 12px;
        gap: 8px;
    }

    .profiles-legend {
        padding: 20px;
    }

    .chart-zones {
        gap: 20px;
    }

    .zone-indicator {
        padding: 15px 20px;
        min-width: 150px;
    }

    .zone-label {
        font-size: 14px;
        padding: 6px 10px;
    }
}

@media (max-width: 768px) {
    .cost-benefit-section {
        padding: 60px 0;
    }

    .chart-container {
        padding: 20px 15px;
        margin: 20px 0;
    }

    .apex-chart {
        min-height: 350px;
    }

    .legend-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .legend-grid.compact {
        gap: 10px;
    }

    .legend-item {
        padding: 12px;
        gap: 12px;
    }

    .legend-item.compact {
        padding: 8px 10px;
        gap: 8px;
    }

    .legend-emoji {
        font-size: 20px;
        min-width: 25px;
    }

    .legend-content h4 {
        font-size: 14px;
    }

    .legend-content p {
        font-size: 13px;
    }

    .profiles-legend {
        padding: 15px;
    }

    .profiles-legend h3 {
        font-size: 20px;
    }

    .chart-zones {
        flex-direction: column;
        gap: 15px;
    }

    .zone-indicator {
        padding: 12px 15px;
        min-width: auto;
    }
}

/* ApexCharts Tooltip Styling */
.apex-tooltip {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
    padding: 0;
    overflow: hidden;
    min-width: 250px;
    max-width: 320px;
    position: relative;
    z-index: 9999;
    word-wrap: break-word;
}

/* Tooltip positioning adjustments */
.apexcharts-tooltip {
    position: absolute !important;
    z-index: 9999 !important;
    max-width: 320px !important;
    white-space: normal !important;
    pointer-events: none !important;
}

.apexcharts-tooltip.apexcharts-theme-light {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.tooltip-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tooltip-emoji {
    font-size: 18px;
}

.tooltip-header strong {
    font-size: 16px;
    font-weight: 600;
}

.tooltip-content {
    padding: 16px;
}

.tooltip-content p {
    margin: 0 0 12px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
    word-wrap: break-word;
    hyphens: auto;
}

.tooltip-stats {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tooltip-stats span {
    font-size: 13px;
    color: #6b7280;
    background: #f3f4f6;
    padding: 6px 10px;
    border-radius: 6px;
    font-weight: 500;
}

/* Mobile tooltip improvements */
@media (max-width: 768px) {
    .apex-tooltip {
        min-width: 200px;
        max-width: 280px;
        font-size: 13px;
    }

    .tooltip-header {
        padding: 10px 12px;
    }

    .tooltip-header strong {
        font-size: 14px;
    }

    .tooltip-content {
        padding: 12px;
    }

    .tooltip-content p {
        font-size: 13px;
        margin: 0 0 8px 0;
    }

    .tooltip-stats span {
        font-size: 12px;
        padding: 4px 8px;
    }

    .apexcharts-tooltip {
        max-width: 280px !important;
    }
}

@media (max-width: 480px) {
    .apex-tooltip {
        min-width: 180px;
        max-width: 240px;
    }

    .tooltip-header {
        padding: 8px 10px;
    }

    .tooltip-emoji {
        font-size: 16px;
    }

    .tooltip-header strong {
        font-size: 13px;
    }

    .tooltip-content {
        padding: 10px;
    }

    .tooltip-content p {
        font-size: 12px;
        line-height: 1.4;
    }

    .tooltip-stats {
        gap: 4px;
    }

    .tooltip-stats span {
        font-size: 11px;
        padding: 3px 6px;
    }
}

/* Mobile chart modal for very small screens */
.mobile-chart-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.mobile-modal-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 320px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.mobile-modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.mobile-modal-header strong {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
}

.mobile-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.mobile-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.mobile-modal-body {
    padding: 20px;
}

.mobile-modal-body p {
    margin: 0 0 16px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
}

.mobile-modal-body .tooltip-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-modal-body .tooltip-stats span {
    font-size: 13px;
    color: #6b7280;
    background: #f3f4f6;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 500;
}

/* Mobile chart interaction hints */
@media (max-width: 480px) {
    .chart-container::before {
        content: "💡 Tap on chart points for details";
        position: absolute;
        top: 10px;
        right: 10px;
        background: var(--primary-color);
        color: white;
        padding: 8px 12px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 500;
        z-index: 100;
        animation: fadeInHint 0.5s ease-out 2s both;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .chart-container.hint-hidden::before {
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
    }

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

    .chart-container {
        position: relative;
    }

    /* Enhanced chart point visibility on mobile */
    .apexcharts-series circle {
        stroke-width: 3 !important;
        stroke: white !important;
    }

    .apexcharts-series circle:hover {
        r: 8 !important;
        stroke-width: 4 !important;
    }
}

/* ApexCharts Legend Customization */
.apexcharts-legend {
    display: none !important;
}

/* ApexCharts Grid Customization */
.apexcharts-gridline {
    stroke: #e5e7eb;
    stroke-dasharray: 3;
}

/* ApexCharts Axis Labels */
.apexcharts-text {
    fill: #374151;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.apexcharts-xaxis-title-text,
.apexcharts-yaxis-title-text {
    fill: #374151 !important;
    font-weight: 600 !important;
}



    .legend-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .chart-cta {
        padding: 30px 20px;
    }

    .chart-cta h3 {
        font-size: 1.3rem;
    }

    .chart-cta p {
        font-size: 1rem;
    }

    .chart-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .chart-cta .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .chart-container {
        padding: 15px 10px;
    }

    .apex-chart {
        min-height: 300px;
    }

    .legend-item {
        padding: 10px;
        gap: 10px;
    }

    .legend-emoji {
        font-size: 18px;
        min-width: 22px;
    }

    .profiles-legend h3 {
        font-size: 18px;
    }

    .profiles-legend p {
        font-size: 14px;
    }

    .company-label {
        font-size: 10px;
    }

    .zone-label {
        font-size: 11px;
    }
}

/* Team Section */
.team-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.team-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.team-member h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.team-member p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
}

/* Team Social Links */
.team-social {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    transition: all 0.3s ease;
    background: transparent;
}

.linkedin-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.linkedin-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.linkedin-link:hover svg {
    transform: scale(1.1);
}
