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

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    scroll-behavior: smooth;
}

:root {
    --primary-dark: #0f1e2d;
    --primary-medium: #1a374e;
    --primary-accent: #38a3c9;
    --primary-light: #f0f5fb;
    --primary-transition: #4c6bab;
    --secondary-accent: #e2575c;
    --tertiary-accent: #1e5a3d;
    
    --gradient-blue: linear-gradient(135deg, #1a374e 0%, #38a3c9 100%);
    --gradient-purple: linear-gradient(135deg, #1a374e 0%, #4c6bab 100%);
    --gradient-dark: linear-gradient(135deg, #0f1e2d 0%, #1a374e 100%);
    
    /* Glass backgrounds */
    --glass-bg-light: rgba(255, 255, 255, 0.05);
    --glass-bg-medium: rgba(255, 255, 255, 0.08);
    --glass-bg-strong: rgba(255, 255, 255, 0.1);
    --glass-bg-extra: rgba(255, 255, 255, 0.12);
    --glass-bg-max: rgba(255, 255, 255, 0.15);
    
    /* Border radius system */
    --radius-xs: 2px;
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-xxl: 28px;
    
    /* Container widths */
    --container-sm: 900px;
    --container-md: 1150px;
    --container-lg: 1250px;
    
    /* Container paddings */
    --container-padding-xs: 1rem;
    --container-padding-sm: 1.5rem;
    --container-padding-md: 2rem;
    --container-padding-lg: 2.5rem;
}

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

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #f0f5fb;
    background-color: var(--primary-dark);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.container {
    max-width: var(--container-md);
    margin: 0 auto;
    padding: 0 var(--container-padding-lg);
}

.roi .container {
    max-width: var(--container-lg);
    padding: 0 var(--container-padding-md);
}



h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-light);
}

h1 { font-size: clamp(1.8rem, 3.2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
h4 { font-size: clamp(1.1rem, 1.8vw, 1.4rem); }

p {
    margin-bottom: 1.5rem;
    color: rgba(240, 245, 251, 0.8);
    line-height: 1.7;
}

/* Info tooltip styles - unified style for all tooltips */
.info-tooltip {
    position: relative;
    display: inline-block;
    margin-left: 3px;
    vertical-align: super;
    line-height: 1;
    font-size: 0.75em;
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    color: white;
    font-size: 9px;
    font-weight: 600;
    cursor: help;
    transition: all 0.3s ease;
    font-style: normal;
}

.info-icon:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: white;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.tooltip-content {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 30, 45, 0.98);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(56, 163, 201, 0.5);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    min-width: 250px;
    max-width: 320px;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(240, 245, 251, 0.9);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 10000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    text-align: left;
    font-weight: normal;
}

.tooltip-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(56, 163, 201, 0.5);
}

.info-tooltip:hover .tooltip-content,
.info-tooltip.active .tooltip-content,
.info-tooltip.hover .tooltip-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-3px);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .tooltip-content {
        position: fixed !important;
        bottom: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        min-width: 260px;
        max-width: calc(100vw - 40px);
        max-height: calc(100vh - 40px);
        z-index: 999999 !important;
        overflow-y: auto;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 
                    0 0 0 100vmax rgba(0, 0, 0, 0.4);
    }
    
    .tooltip-content::after {
        display: none;
    }
    
    .info-tooltip.active .tooltip-content {
        transform: translate(-50%, -50%);
        z-index: 999999 !important;
    }
}

.tooltip-source {
    display: block;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(56, 163, 201, 0.2);
    font-size: 11px;
    color: rgba(56, 163, 201, 0.8);
    text-decoration: none;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.tooltip-source:hover {
    color: var(--primary-accent);
    text-decoration: underline;
    opacity: 1;
}

/* Specific fixes for problematic sections */
.benefit .info-tooltip,
.benefit-2 .info-tooltip,
.mitigation-point .info-tooltip,
.roi-metric .info-tooltip,
.roi-result .info-tooltip,
.risk-item .info-tooltip {
    font-size: 0.75em !important;
    vertical-align: super !important;
}

/* Fix for benefit-2 tooltip appearing under other sections */
.solution-part.external {
    z-index: 1;
}

.solution-part.external .solution-content {
    z-index: 2;
    position: relative;
}

.benefit-2 {
    position: relative;
    z-index: 10;
}

.benefit-2 .info-tooltip {
    z-index: 999999;
    position: relative;
}

.benefit-2 .info-tooltip .tooltip-content {
    z-index: 999999;
    bottom: calc(100% + 20px);
}

/* Lower z-index of tool preview in external solution */
.solution-part.external .solution-visual {
    z-index: 0;
    position: relative;
}

.solution-part.external .tool-preview {
    z-index: 0;
    position: relative;
}

/* Mobile specific fixes for benefit tooltips */
@media (max-width: 768px) {
    .benefit .info-tooltip .tooltip-content,
    .benefit-2 .info-tooltip .tooltip-content {
        position: fixed !important;
        z-index: 999999 !important;
    }
}

/* Ensure tooltips in ROI cards appear above other elements */
.roi-card .tooltip-content,
.roi-metric .tooltip-content,
.roi-result .tooltip-content {
    z-index: 99999 !important;
    position: absolute !important;
}

/* Fix ROI cards stacking context */
.roi-card {
    z-index: 1;
}

.roi-card:hover {
    z-index: 10;
}

/* Force info tooltips in ROI section to be on top */
.roi .info-tooltip {
    z-index: 100;
    position: relative;
}

.roi .info-tooltip .tooltip-content {
    z-index: 999999;
}

/* Mobile specific ROI tooltip fixes */
@media (max-width: 768px) {
    .roi .info-tooltip .tooltip-content {
        position: fixed !important;
        z-index: 999999 !important;
    }
}

/* Fix for benefit and mitigation sections */
.benefit span .info-icon,
.benefit-2 span .info-icon,
.mitigation-point span .info-icon {
    width: 14px !important;
    height: 14px !important;
    font-size: 9px !important;
    font-weight: 600 !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    color: white !important;
}

/* Fix missing tooltips in specific sections */
.roi-summary p .info-tooltip,
.risk-item p .info-tooltip {
    position: relative !important;
    display: inline-block !important;
    z-index: 9999 !important;
}

.roi-summary p .info-tooltip .tooltip-content,
.risk-item p .info-tooltip .tooltip-content {
    bottom: calc(100% + 8px);
    z-index: 99999 !important;
    position: absolute !important;
    left: 50%;
    transform: translateX(-50%);
    min-width: 250px;
    max-width: 320px;
}

/* Fix for roi-calculation overflow */
.roi-calculation {
    position: relative;
    overflow: visible !important;
    z-index: 1;
}

/* Ensure tooltips are visible in these specific cases */
.roi-calculation p .info-tooltip:hover .tooltip-content,
.risk-item p .info-tooltip:hover .tooltip-content,
.roi-calculation p .info-tooltip.active .tooltip-content,
.risk-item p .info-tooltip.active .tooltip-content {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Section Styles */
section {
    padding: 3rem 0;
    position: relative;
    overflow: visible;
    transform: translateZ(0);
}

/* Global tooltip z-index hierarchy fix */
.info-tooltip {
    z-index: 100;
}

.info-tooltip .tooltip-content {
    z-index: 999999;
}

/* Ensure cards don't overlap tooltips */
.problem-card,
.solution-visual,
.roi-card,
.risk-card,
.timeline-card,
.tool-preview {
    position: relative;
    z-index: 1;
}

/* Active tooltip override */
.info-tooltip.active,
.info-tooltip:hover {
    z-index: 999998;
}

.info-tooltip.active .tooltip-content,
.info-tooltip:hover .tooltip-content {
    z-index: 999999;
}

/* Mobile specific: ensure all tooltips use fixed positioning */
@media (max-width: 768px) {
    .info-tooltip .tooltip-content {
        position: fixed !important;
        z-index: 999999 !important;
    }
    
    /* Prevent viewport overflow */
    .tooltip-content {
        left: 50% !important;
        transform: translateX(-50%) translateY(-50%) !important;
        margin: 0 !important;
    }
}

/* Base gradient overlay for all sections - DISABLED */

.section-gradient-blue {
    background: var(--gradient-blue);
    position: relative;
}

.section-gradient-purple {
    background: var(--gradient-purple);
}

.section-gradient-dark {
    background: var(--gradient-dark);
}

.bg-primary-dark {
    background-color: var(--primary-dark);
}

.section-title {
    font-size: clamp(1.7rem, 3.2vw, 2.6rem);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    font-size: clamp(0.85rem, 1.3vw, 1rem);
    color: rgba(240, 245, 251, 0.8);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Hero Section */
.hero {
    background: linear-gradient(180deg, #0a1420 0%, #1a374e 40%, #2a5570 80%, #2d6380 100%);
    color: white;
    padding: 5rem 0 5rem 0;
    position: relative;
    overflow: visible;
    min-height: auto;
}

/* Large screens adjustment */
@media (min-width: 1920px) {
    .hero-title {
        font-size: clamp(2rem, 3vw, 2.8rem);
    }
}


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

.hero-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-title {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.highlight {
    color: #38a3c9;
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(180deg, #2d6380 0%, #2d6380 10%, #1e3545 40%, #1a2b3a 85%, #1a2b3a 100%);
    padding: 5rem 0 5rem 0;
    overflow: visible !important;
    z-index: 10;
    position: relative;
    margin-top: -2rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
}

.stat {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--glass-bg-medium);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    position: relative;
    z-index: 20;
    overflow: visible;
}

.stat:hover {
    transform: translateY(-3px);
    background: var(--glass-bg-extra);
    border-color: rgba(56, 163, 201, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    font-weight: 800;
    color: #38a3c9;
    display: block;
    margin-bottom: 0.4rem;
    position: relative;
    line-height: 1.1;
}

/* Специальные стили для тултипа в статистике */

.stat-label {
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    opacity: 0.9;
    line-height: 1.4;
    font-weight: 500;
    color: rgba(240, 245, 251, 0.9);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
}

.logo-image {
    max-width: 400px;
    max-height: 300px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(56, 163, 201, 0.3));
}

/* Problem Section */
.problem {
    background: linear-gradient(180deg, #2a4a6e 0%, #1a374e 50%, #0a1420 100%);
    padding: 5rem 0 4rem 0;
    margin-top: -2rem;
    position: relative;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
}

.problem-card {
    background: var(--glass-bg-medium);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    will-change: transform;
    transform-origin: center center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.problem-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(56, 163, 201, 0.3);
}

.problem-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-blue);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(56, 163, 201, 0.3);
}

.problem-icon i {
    color: white;
    font-size: 2rem;
}

.problem-card h3 {
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.problem-card ul {
    list-style: none;
    margin-bottom: 2rem;
    flex: 1;
}

.problem-card li {
    padding: 0.6rem 0;
    color: rgba(240, 245, 251, 0.8);
    position: relative;
    padding-left: 2rem;
    font-size: 0.95rem;
}

.problem-card li::before {
    content: '•';
    color: #e53e3e;
    position: absolute;
    left: 0;
    top: 0.75rem;
    font-size: 1.2rem;
}

.cost-impact {
    background: rgba(226, 87, 92, 0.15);
    color: #ff6b6b;
    padding: 1.2rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    border-left: 4px solid #e53e3e;
}

/* Solution Section */
.solution {
    background: linear-gradient(180deg, #0a1420 0%, #1a374e 30%, #2d8eb5 80%, #2d8eb5 100%);
    padding: 5rem 0 4rem 0;
    margin-top: -2rem;
    position: relative;
    overflow: visible !important;
    z-index: 1;
}

.solution-parts {
    margin-top: 2.5rem;
}

.solution-part {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
    overflow: visible !important;
    z-index: 1;
}

.solution-part.internal {
    background: rgba(56, 163, 201, 0.18);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(56, 163, 201, 0.25);
    box-shadow: 0 8px 30px rgba(56, 163, 201, 0.15);
    transition: all 0.3s ease;
}

.solution-part.internal:hover {
    background: rgba(56, 163, 201, 0.22);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(56, 163, 201, 0.2);
    border-color: rgba(56, 163, 201, 0.3);
}

.solution-part.external {
    background: rgba(30, 90, 61, 0.25);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(80, 200, 120, 0.3);
    box-shadow: 0 8px 30px rgba(30, 90, 61, 0.15);
    transition: all 0.3s ease;
}

.solution-part.external:hover {
    background: rgba(30, 90, 61, 0.30);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(30, 90, 61, 0.2);
    border-color: rgba(80, 200, 120, 0.4);
}


.solution-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: #38a3c9;
    background: rgba(56, 163, 201, 0.15);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(56, 163, 201, 0.3);
}

.solution-number-2 {
    color: #50c878;
    background: rgba(30, 90, 61, 0.15);
    border: 2px solid rgba(80, 200, 120, 0.4);
}

.solution-content h3 {
    color: var(--primary-light);
    margin-bottom: 1.2rem;
    font-size: 2.1rem;
}

.solution-description {
    font-size: 1rem;
    color: rgba(240, 245, 251, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.benefits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.2rem;
    background: var(--glass-bg-light);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.benefit:hover {
    background: rgba(56, 163, 201, 0.12);
    border-color: rgba(56, 163, 201, 0.4);
    transform: translateY(-2px);
}

.benefit-2 {
    border-left: 3px solid #50c878;
    background: rgba(30, 90, 61, 0.08) !important;
}

.benefit-2:hover {
    border-color: rgba(80, 200, 120, 0.6);
    background: rgba(30, 90, 61, 0.15) !important;
    transform: translateY(-2px);
}

.benefit i {
    color: #38a3c9;
    font-size: 1.3rem;
    min-width: 20px;
    margin-top: 0.2rem;
}

.benefit-2 i {
    color: #50c878;
}

.benefit span {
    font-size: 0.95rem;
    line-height: 1.5;
}

.tool-preview {
    background: var(--glass-bg-strong);
    border-radius: var(--radius-xl);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    will-change: transform;
    transform-origin: center center;
}

.tool-preview:hover {
    background: rgba(255, 255, 255, 0.13);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.22);
}

.tool-header {
    background: var(--gradient-blue);
    color: white;
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.tool-header-2 {
    background: linear-gradient(135deg, #1e5a3d, #0f3d2a);
    box-shadow: 0 2px 10px rgba(30, 90, 61, 0.3);
}

.tool-header i {
    font-size: 1.2rem;
}

.tool-header span {
    font-weight: 600;
    font-size: 1rem;
}

.tool-body {
    padding: 1.5rem;
}

.input-section, .output-section {
    margin-bottom: 2rem;
}

.input-label, .output-label {
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.input-preview {
    background: var(--glass-bg-light);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    color: rgba(240, 245, 251, 0.7);
    font-style: italic;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.answer-block, .sources-block {
    background: rgba(30, 90, 61, 0.15);
    padding: 1.2rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: rgba(240, 245, 251, 0.9);
    border-left: 4px solid #50c878;
}

.sources-block {
    background: rgba(56, 163, 201, 0.15);
    color: rgba(240, 245, 251, 0.8);
    border-left-color: #38a3c9;
}

.chat-preview {
    max-height: 250px;
}

.message {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.message.user {
    background: rgba(56, 163, 201, 0.15);
    color: rgba(240, 245, 251, 0.9);
    margin-left: 2rem;
    border: 1px solid rgba(56, 163, 201, 0.2);
}

.message.bot {
    background: rgba(30, 90, 61, 0.15);
    color: rgba(240, 245, 251, 0.9);
    margin-right: 2rem;
    border: 1px solid rgba(30, 90, 61, 0.2);
}

.escalation-button {
    background: var(--gradient-blue);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 0.9rem;
    cursor: pointer;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.escalation-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(56, 163, 201, 0.4);
}

/* Timeline Section */
.implementation {
    background: linear-gradient(180deg, #2d8eb5 0%, #3d7db5 25%, #4c6bab 60%, #5a7dbe 100%);
    padding: 5rem 0 4rem 0;
    margin-top: -2rem;
    position: relative;
}

.timeline {
    position: relative;
    margin-top: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 1.8rem;
    padding: 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15%;
    right: 15%;
    top: 30px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 10%, rgba(255, 255, 255, 0.2) 90%, transparent 100%);
    z-index: 0;
}

.timeline-item {
    flex: 1;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 350px;
}

.timeline-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-purple);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.4rem;
    box-shadow: 0 6px 20px rgba(76, 107, 171, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.timeline-content {
    background: var(--glass-bg-extra);
    padding: 1.8rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    width: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.timeline-content:hover {
    background: var(--glass-bg-max);
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.2);
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 600;
}

.timeline-duration {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.timeline-content > p {
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.timeline-goals {
    margin-top: auto;
    text-align: left;
}

.timeline-goals strong {
    color: white;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.timeline-goals ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.timeline-goals li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    line-height: 1.4;
}

.timeline-goals li::before {
    content: '•';
    color: #50c878;
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

/* ROI Section */
.roi {
    background: linear-gradient(180deg, #5a7dbe 0%, #3a5a7e 50%, #2a4a6e 85%, #1e3856 100%);
    padding: 4rem 0 4rem 0;
    margin-top: 0;
    position: relative;
}

.roi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    margin-top: 3rem;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

@media (max-width: 900px) {
    .container {
        max-width: 900px;
        padding: 0 1.5rem;
    }
    
    .roi .container {
        max-width: var(--container-sm);
    }
    
    .roi-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

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

.roi-card {
    background: var(--glass-bg-medium);
    padding: 1.6rem 1.2rem;
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    will-change: transform;
    transform-origin: center center;
    position: relative;
    overflow: visible;
}

.roi-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(30, 90, 61, 0.4);
    z-index: 2;
}

.roi-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #50c878, #38a169);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(30, 90, 61, 0.3);
}

.roi-icon i {
    color: white;
    font-size: 1.5rem;
}

.roi-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
    line-height: 1.3;
    flex-shrink: 0;
    height: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.roi-metric {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #50c878;
    margin: 1rem 0;
    text-shadow: 0 0 20px rgba(30, 90, 61, 0.3);
    flex-shrink: 0;
}

.roi-card p {
    color: rgba(240, 245, 251, 0.8);
    font-size: 0.85rem;
    line-height: 1.4;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.roi-summary {
    margin-top: 3rem;
    text-align: center;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.roi-calculation {
    background: linear-gradient(135deg, rgba(76, 107, 171, 0.9), rgba(26, 55, 78, 0.9));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    z-index: 1;
}

.roi-calculation:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.roi-calculation h4 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.roi-result {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #c6f6d5;
    margin: 1rem 0;
    text-shadow: 0 0 20px rgba(198, 246, 213, 0.4);
}

.roi-calculation p {
    font-size: 1rem;
    opacity: 0.9;
    position: relative;
    margin: 0;
}

/* Risk Management Section */
.risks {
    background: linear-gradient(180deg, #1e3856 0%, #2a4a6e 30%, #4c6bab 70%, #6a8dd0 100%);
    padding: 4rem 0 3rem 0;
    margin-top: 0;
    position: relative;
}

/* Risk Cards Wrapper */
.risk-cards-wrapper {
    margin-top: 3rem;
}

/* Main Risk Card with unique design */
.main-risk-card {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 107, 107, 0.05) 100%);
    border: 2px solid rgba(255, 107, 107, 0.3);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 15px 50px rgba(255, 107, 107, 0.1);
    transition: all 0.3s ease;
}

.main-risk-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 60px rgba(255, 107, 107, 0.15);
    border-color: rgba(255, 107, 107, 0.4);
}

.risk-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.risk-header i {
    font-size: 2rem;
    color: #ff6b6b;
}

.risk-header h3 {
    color: #ff6b6b;
    font-size: 1.5rem;
    margin: 0;
}

/* Risk Solutions */
.risk-solutions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.solution-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--glass-bg-strong);
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(80, 200, 120, 0.3);
    transition: all 0.3s ease;
}

.solution-badge:hover {
    background: var(--glass-bg-extra);
    transform: translateX(5px);
    border-color: rgba(80, 200, 120, 0.5);
}

.solution-badge i {
    color: #50c878;
    font-size: 1.1rem;
}

.solution-badge span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Secondary Risks Grid */
.risk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.risk-card {
    background: var(--glass-bg-medium);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.risk-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b 0%, #ff8e53 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.risk-card:hover {
    background: var(--glass-bg-strong);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

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

.risk-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 2px solid rgba(255, 107, 107, 0.3);
}

.risk-icon i {
    color: #ff6b6b;
    font-size: 1.5rem;
}

.risk-card h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.risk-solution {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    background: rgba(80, 200, 120, 0.1);
    padding: 0.8rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(80, 200, 120, 0.2);
}

.risk-solution i {
    color: #50c878;
    font-size: 1rem;
    margin-top: 0.1rem;
}

.risk-solution p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
    text-align: left;
}

/* Animations */


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

@keyframes pulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.2; }
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(56, 163, 201, 0.15) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse 4s ease-in-out infinite;
    z-index: 1;
}

/* Responsive Design */

@media (max-width: 1000px) {
    .container {
        max-width: var(--container-sm);
        padding: 0 var(--container-padding-sm);
    }
    
    .hero .container {
        gap: 3rem;
    }
    
    .solution-part {
        gap: 3rem;
    }
    
    .timeline {
        gap: 1.5rem;
    }
    
    .timeline::before {
        display: none;
    }
    
    .timeline-content {
        padding: 1.5rem;
        min-height: 250px;
    }
}

@media (max-width: 968px) {
    .hero-main {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .stat {
        padding: 1rem 0.5rem;
    }
    
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .solution-part {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .solution-part.external .solution-visual {
        order: -1;
    }
    
    .secondary-risks {
        grid-template-columns: 1fr;
    }
    
    .risk-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .main-risk-card {
        padding: 1.5rem;
    }
    
    .risk-solutions {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        flex-direction: column;
        gap: 2rem;
    }
    
    .timeline-item {
        max-width: 100%;
    }
    
    .timeline-content h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 var(--container-padding-xs);
    }
    
    section {
        padding: 3rem 0;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .stat {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .problem-card, .timeline-content, .main-risk {
        padding: 1.5rem;
    }
    
    .main-risk-card {
        padding: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .risk-card {
        padding: 1.3rem;
    }
    
    .solution-badge {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .tool-preview .tool-body {
        padding: 1.2rem;
    }
    
    .timeline {
        gap: 1.5rem;
    }
    
    .timeline-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .timeline-content {
        padding: 1.3rem;
        min-height: auto;
    }
    
    .timeline-duration {
        font-size: 0.85rem;
        padding: 0.3rem 0.8rem;
    }
    
    .timeline-goals strong {
        font-size: 0.85rem;
    }
    
    .solution-number {
        margin: 0 auto 1.5rem;
    }
}

/* Additional overflow fixes */
* {
    box-sizing: border-box;
}

/* Fix potential overflow issues */

/* CTA Section */
.cta-section {
    background: linear-gradient(180deg, #6a8dd0 0%, #4c6bab 30%, #2a4a6e 70%, #0a1420 100%);
    padding: 5rem 0 3rem 0;
    text-align: center;
    position: relative;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    font-weight: 700;
    color: white;
    margin-bottom: 0.8rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cta-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #2AABEE 0%, #1E88E5 100%);
    color: white;
    text-decoration: none;
    padding: 0.9rem 1.8rem;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(30, 136, 229, 0.3);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(30, 136, 229, 0.5);
    background: linear-gradient(135deg, #229ED9 0%, #1976D2 100%);
    border-color: rgba(255, 255, 255, 0.2);
}

.cta-button i {
    font-size: 1.2rem;
}

.cta-button span {
    display: inline-block;
}


/* Special gradient mesh overlays */
.hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent 0%, #2d6380 100%);
    pointer-events: none;
}

.stats-section::before {
    display: none;
}

.stats-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent 0%, #1a2b3a 100%);
    pointer-events: none;
}

.team-section::before {
    display: none;
}

.team-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent 0%, #2a4a6e 100%);
    pointer-events: none;
}

.problem::before {
    display: none;
}

.problem::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent 0%, #0a1420 100%);
    pointer-events: none;
}

.solution::before {
    display: none;
}

.solution::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent 0%, #2d8eb5 100%);
    pointer-events: none;
}

.implementation::before {
    display: none;
}

.implementation::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent 0%, #5a7dbe 100%);
    pointer-events: none;
}

.roi::before {
    display: none;
}

.roi::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent 0%, #1e3856 100%);
    pointer-events: none;
}

.risks::before {
    display: none;
}

.risks::after {
    display: none;
}


/* Special styles for gradient backgrounds */
.section-gradient-blue,
.section-gradient-purple {
    position: relative;
    color: white;
}

/* Ensure text remains readable on gradient backgrounds */
.implementation h2,
.implementation h3,
.implementation p,
.risks h2,
.risks h3,
.risks p {
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Animation Classes */
.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

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

/* Team Section Styles */
.team-section {
    padding: 6rem 0 4rem 0;
    background: linear-gradient(180deg, #1a2b3a 0%, #1a2b3a 15%, #2a4a6e 60%, #2a4a6e 100%);
    margin-top: -3rem;
    position: relative;
}

/* Company Introduction */
.company-intro {
    margin-bottom: 3rem;
    text-align: center;
}

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

.company-card {
    text-align: center;
    padding: 2rem;
    background: var(--glass-bg-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.company-card:hover {
    background: var(--glass-bg-medium);
    border-color: rgba(56, 163, 201, 0.3);
    transform: translateY(-5px);
}

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

.company-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-light);
    font-size: 1.2rem;
}

.company-card p {
    margin: 0;
    color: rgba(240, 245, 251, 0.8);
    line-height: 1.6;
}

.company-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.company-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: rgba(240, 245, 251, 0.8);
    line-height: 1.6;
}

.company-benefits li:last-child {
    margin-bottom: 0;
}

.company-benefits i {
    color: var(--primary-accent);
    font-size: 1.1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.company-link {
    color: var(--primary-accent);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dashed rgba(56, 163, 201, 0.5);
    transition: all 0.3s ease;
}

.company-link:hover {
    color: #50c9ed;
    border-bottom-color: #50c9ed;
    text-shadow: 0 0 10px rgba(80, 201, 237, 0.5);
}

/* Team Compact */
.team-compact {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.team-compact h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-light);
    position: relative;
    display: inline-block;
}

.team-members {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.member-avatar {
    position: relative;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: visible;
    border: 2px solid rgba(56, 163, 201, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
}

.member-avatar:hover {
    border-color: var(--primary-accent);
    transform: scale(1.15);
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Member avatar tooltip */
.member-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: var(--glass-bg-strong);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 0.8rem 1rem;
    font-size: 0.8rem;
    line-height: 1.4;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    min-width: 250px;
    max-width: 300px;
    white-space: normal;
    text-align: left;
    z-index: 100;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.member-avatar:hover .member-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-15px);
}

/* Arrow for tooltip */
.member-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--glass-bg-strong);
}

.member-avatar:hover {
    z-index: 10;
}

/* Mobile tooltip fixes for member avatars */
@media (max-width: 768px) {
    .member-avatar {
        cursor: pointer;
    }
    
    .member-avatar.active {
        z-index: 999998;
    }
    
    .member-avatar.active .member-tooltip {
        position: fixed !important;
        bottom: auto !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 999999 !important;
        max-width: calc(100vw - 40px) !important;
        opacity: 1;
        visibility: visible;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 
                    0 0 0 100vmax rgba(0, 0, 0, 0.4) !important;
    }
    
    .member-avatar.active .member-tooltip::after {
        display: none;
    }
}

/* Team hint tooltip styles */
.team-hint-tooltip {
    margin-left: 8px;
}

/* Avatar tooltip styles */
.avatar-tooltip {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.invisible-icon {
    opacity: 0 !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    pointer-events: none !important;
}

.avatar-tooltip .tooltip-content {
    left: -120px;
    width: 240px;
    bottom: 120%;
}

/* Team tooltip styles handled by JavaScript */

.team-note {
    margin: 0 0 1.5rem 0;
    color: rgba(240, 245, 251, 0.7);
    font-style: italic;
    line-height: 1.5;
}

.team-website {
    text-align: center;
    margin-top: 1rem;
}

.team-website-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-accent);
    text-decoration: none;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border: 1px solid rgba(56, 163, 201, 0.3);
    border-radius: var(--radius-sm);
    background: rgba(56, 163, 201, 0.05);
    transition: all 0.3s ease;
}

.team-website-link:hover {
    color: #50c9ed;
    border-color: rgba(80, 201, 237, 0.5);
    background: rgba(56, 163, 201, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(56, 163, 201, 0.3);
}

.team-website-link i {
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .company-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .company-card {
        padding: 1.5rem;
    }
    
    .company-stat {
        font-size: 2rem;
    }
    
    .team-members {
        gap: 0.8rem;
    }
    
    .member-avatar {
        width: 40px;
        height: 40px;
    }
    
    .member-tooltip {
        max-width: 220px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .team-section {
        padding: 3rem 0;
    }
    
    .team-compact {
        padding: 1.5rem;
    }
    
    .member-avatar {
        width: 35px;
        height: 35px;
    }
    
    .member-tooltip {
        max-width: 180px;
        padding: 0.6rem 0.8rem;
        font-size: 0.7rem;
    }
}

