/* Enhanced Timeline Section Styles */

/* ===== MAIN SECTION ===== */
.enhanced-timeline-section {
    position: relative;
    min-height: 100vh;
    padding: 120px 0;
    margin: 0;
    background: linear-gradient(135deg, #1966e9 0%, #0d1f46 100%);
    overflow: hidden;
    border-radius: 0;
}

.enhanced-timeline-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== ENHANCED TIMELINE BAR ===== */
.enhanced-timeline-bar {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    transform: translateX(-50%);
    z-index: 10;
}

.timeline-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(37, 99, 235, 0.2) 0%, 
        rgba(59, 130, 246, 0.4) 50%, 
        rgba(37, 99, 235, 0.2) 100%);
    border-radius: 2px;
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, 
        #2563EB 0%, 
        #3B82F6 50%, 
        #60A5FA 100%);
    border-radius: 2px;
    transition: height 0.3s ease-out;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.6);
}

.timeline-flare {
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    z-index: 25;
    transition: top 0.1s ease-out, opacity 0.2s ease-out, transform 0.2s ease;
    opacity: 0.8;
    pointer-events: auto;
    cursor: pointer;
    visibility: visible;
}

.flare-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #ffffff, #f3f4f6);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 255, 255, 1), 0 0 40px rgba(37, 99, 235, 0.8);
    border: 2px solid rgba(37, 99, 235, 0.8);
}

.flare-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.8) 0%, rgba(59, 130, 246, 0.4) 50%, transparent 70%);
    border-radius: 50%;
    animation: flareGlow 2s ease-in-out infinite alternate;
}

.flare-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 2px solid rgba(37, 99, 235, 0.6);
    border-radius: 50%;
    animation: flarePulse 2s ease-in-out infinite;
}

@keyframes flareGlow {
    0% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    100% { 
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.9;
    }
}

@keyframes flarePulse {
    0% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.1;
    }
    100% { 
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* ===== TIMELINE CONTENT ===== */
.enhanced-timeline-content {
    position: relative;
    z-index: 5;
}

.enhanced-timeline-item {
    position: relative;
    margin-bottom: 120px;
    opacity: 0;
    transform: translateY(100px) scale(0.8);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: blur(10px);
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.enhanced-timeline-item.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
}

.enhanced-timeline-item.animate-out {
    opacity: 0;
    transform: translateY(100px) scale(0.8);
    filter: blur(10px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    min-height: 500px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Alternating layout */
.enhanced-timeline-item[data-side="left"] .timeline-content-wrapper {
    grid-template-areas: "text visual";
}

.enhanced-timeline-item[data-side="right"] .timeline-content-wrapper {
    grid-template-areas: "visual text";
}

.timeline-text-content {
    grid-area: text;
    padding: 40px;
    background: transparent;
    border-radius: 20px;
    border: none;
    backdrop-filter: none;
    position: relative;
    overflow: hidden;
}

.timeline-text-content::before {
    display: none;
}

.timeline-visual-content {
    grid-area: visual;
    height: 400px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.timeline-step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563EB, #3B82F6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.timeline-text-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.timeline-text-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.dual-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.content-block h4 {
    color: #60A5FA;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.content-block p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== SECTION 1: BROKEN BRIDGE VISUAL ===== */
.broken-bridge-visual {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #1966e9 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
    box-sizing: border-box;
}

.bridge-scene {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 120px;
    margin-bottom: 1.5rem;
}

.bridge-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
}

.side-platform {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 80px;
}

.platform-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
}

.talent-indicators,
.opportunity-indicators {
    display: flex;
    gap: 0.3rem;
}

.talent-dot,
.opportunity-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    animation: dotPulse 2s ease-in-out infinite;
    animation-delay: var(--delay);
}

.bridge-structure {
    display: flex;
    align-items: center;
    flex: 1;
    height: 40px;
    margin: 0 1rem;
    position: relative;
}

.bridge-segment {
    height: 6px;
    background: linear-gradient(90deg, #64748b, #94a3b8);
    border-radius: 3px;
    position: relative;
}

.left-segment {
    width: 35%;
    margin-right: 5px;
}

.right-segment {
    width: 35%;
    margin-left: 5px;
}

.bridge-gap {
    flex: 1;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
}

.falling-elements {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 80px;
    pointer-events: none;
}

.falling-item {
    position: absolute;
    width: 24px;
    height: 24px;
    left: 50%;
    transform: translateX(-50%);
    animation: fallDown 3s ease-in infinite;
    animation-delay: var(--delay);
    opacity: 0;
}

.item-icon {
    width: 100%;
    height: 100%;
    fill: rgba(255, 255, 255, 0.6);
}

.gap-indicator {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
}

.gap-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    white-space: nowrap;
}

.problem-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
}

.error-message {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    animation: errorBlink 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
        box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
    }
}

@keyframes fallDown {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px) rotate(0deg);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(60px) rotate(180deg);
    }
}

@keyframes errorBlink {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.98);
    }
}

/* Responsive design for broken bridge visual */
@media (max-width: 768px) {
    .broken-bridge-visual {
        padding: 1rem;
    }
    
    .bridge-scene {
        height: 100px;
        margin-bottom: 1rem;
    }
    
    .side-platform {
        padding: 0.5rem 0.75rem;
        min-width: 60px;
    }
    
    .platform-label {
        font-size: 0.7rem;
    }
    
    .talent-dot,
    .opportunity-dot {
        width: 6px;
        height: 6px;
    }
    
    .bridge-structure {
        margin: 0 0.5rem;
        height: 30px;
    }
    
    .bridge-segment {
        height: 4px;
    }
    
    .falling-item {
        width: 12px;
        height: 12px;
    }
    
    .gap-label {
        font-size: 0.6rem;
    }
    
    .error-message {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* ===== SECTION 2: AI MATCHING VISUAL ===== */
.ai-matching-visual {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #1966e9 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
    box-sizing: border-box;
}

.matching-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    gap: 1.5rem;
}

.input-side {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex: 1;
}

.data-point {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    animation: dataPointPulse 2s ease-in-out infinite;
    animation-delay: var(--delay);
    transition: all 0.3s ease;
}

.ai-processor {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.processor-core {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
    position: relative;
    z-index: 2;
}

.ai-logo {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.processing-waves {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    z-index: 1;
}

.wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    animation: waveExpand 2s ease-out infinite;
}

.wave:nth-child(2) {
    animation-delay: 0.7s;
}

.wave:nth-child(3) {
    animation-delay: 1.4s;
}

.output-side {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex: 1;
    align-items: center;
}

.match-result {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    animation: successPulse 2s ease-in-out infinite;
}

.match-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.match-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.match-fill {
    height: 100%;
    width: 96%;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 4px;
    animation: fillProgress 3s ease-out;
}

.match-percentage {
    font-size: 1.1rem;
    font-weight: 700;
    color: #10b981;
}

@keyframes dataPointPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.02);
        opacity: 1;
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    }
}

@keyframes waveExpand {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    }
}

@keyframes fillProgress {
    0% {
        width: 0%;
    }
    100% {
        width: 96%;
    }
}

/* ===== SECTION 3: HUGH CONNECTION VISUAL ===== */
.hugh-connection-visual {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #1966e9 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3rem 2rem;
    overflow: hidden;
    box-sizing: border-box;
}

/* Connection Parties */
.connection-party {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 10;
    position: relative;
}

.party-avatar {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-image {
    width: 90%;
    height: 90%;
    object-fit: cover;
    border-radius: 50%;
}

.company-avatar {
    background: linear-gradient(135deg, #059669, #10b981);
}

.company-image {
    width: 90%;
    height: 90%;
    object-fit: cover;
    border-radius: 50%;
}

.company-icon {
    width: 50px;
    height: 50px;
    color: white;
}

.avatar-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.3), transparent);
    border-radius: 50%;
    animation: avatarGlow 3s ease-in-out infinite alternate;
    z-index: -1;
}

.party-info {
    text-align: center;
}

.party-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.party-role {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Hugh Connector */
.hugh-connector {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 15;
    top: 90px;
}

.hugh-core {
    position: relative;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    z-index: 3;
}

.hugh-logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.hugh-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.4), transparent);
    border-radius: 50%;
    animation: hughGlow 2.5s ease-in-out infinite alternate;
    z-index: 1;
}

.connection-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    z-index: 2;
}

.connection-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(37, 99, 235, 0.4);
    border-radius: 50%;
    animation: ringPulse 3s ease-in-out infinite;
}

.ring-1 {
    width: 100px;
    height: 100px;
    animation-delay: 0s;
}

.ring-2 {
    width: 120px;
    height: 120px;
    animation-delay: 1s;
}

.ring-3 {
    width: 140px;
    height: 140px;
    animation-delay: 2s;
}

/* Rebuilt Connection System */
.connection-system {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.connection-line {
    position: absolute;
    top: 50%;
    height: 4px;
}

.david-to-hugh {
    left: 25%;
    top: 215px;
    transform: rotate(45deg);
    width: 20%;
}

.hugh-to-employer {
    left: 55%;
    top: 215px;
    transform: rotate(135deg);
    width: 20%;
}

.line-base {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.3) 0%, 
        rgba(96, 165, 250, 0.6) 50%, 
        rgba(255, 255, 255, 0.3) 100%);
    border-radius: 2px;
    opacity: 0.8;
}

.line-flow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        transparent 40%, 
        rgba(96, 165, 250, 1) 50%, 
        transparent 60%, 
        transparent 100%);
    border-radius: 2px;
    animation: flowAnimation 3s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(96, 165, 250, 0.8);
}

.connection-particles {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    transform: translateY(-50%);
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, rgba(255, 255, 255, 1), rgba(96, 165, 250, 0.8));
    border-radius: 50%;
    top: -4px;
    box-shadow: 0 0 12px rgba(96, 165, 250, 0.9);
    animation: particleFlow 4s ease-in-out infinite;
}

.particle-1 { animation-delay: 0s; }
.particle-2 { animation-delay: 0.8s; }
.particle-3 { animation-delay: 1.6s; }
.particle-4 { animation-delay: 2s; }
.particle-5 { animation-delay: 2.8s; }
.particle-6 { animation-delay: 3.6s; }

.dot-1 { animation-delay: 0s; }
.dot-2 { animation-delay: 0.3s; }
.dot-3 { animation-delay: 0.6s; }
.dot-4 { animation-delay: 0.9s; }
.dot-5 { animation-delay: 1.2s; }
.dot-6 { animation-delay: 1.5s; }

/* Animations */
@keyframes avatarGlow {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.6;
    }
}

@keyframes hughGlow {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.8;
    }
}

@keyframes ringPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

/* New Connection Animations */
@keyframes flowAnimation {
    0% {
        left: -100%;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

@keyframes particleFlow {
    0% {
        left: -10px;
        opacity: 0;
        transform: scale(0.5);
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    90% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        left: calc(100% + 10px);
        opacity: 0;
        transform: scale(0.5);
    }
}

@keyframes dotFlow {
    0%, 100% {
        opacity: 0.3;
        r: 3;
    }
    50% {
        opacity: 1;
        r: 5;
    }
}

/* Enhanced Flow Line Animations */
.flow-line {
    stroke-dasharray: 20, 10;
    animation: enhancedFlow 3s linear infinite;
    opacity: 1;
    stroke-width: 6;
}

.flow-1 {
    animation-delay: 0s;
}

.flow-2 {
    animation-delay: 1.5s;
}

/* Data Particle Animations */
.data-particle {
    opacity: 0;
    animation: dataFlow 6s ease-in-out infinite;
}

.particle-1 {
    animation-delay: 0s;
}

.particle-2 {
    animation-delay: 0.8s;
}

.particle-3 {
    animation-delay: 3s;
}

.particle-4 {
    animation-delay: 3.8s;
}

@keyframes enhancedFlow {
    0% {
        stroke-dashoffset: 0;
        opacity: 0.4;
    }
    50% {
        opacity: 1;
    }
    100% {
        stroke-dashoffset: 30;
        opacity: 0.4;
    }
}

@keyframes dataFlow {
    0% {
        opacity: 0;
        transform: translateX(0);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
        transform: translateX(100px);
    }
    100% {
        opacity: 0;
        transform: translateX(100px);
    }
}

/* Active Animation States for Hugh Section */
.connection-party.active .avatar-glow {
    animation-duration: 2s;
    opacity: 0.8;
}

.connection-party.active .party-avatar {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(96, 165, 250, 0.4);
}

.hugh-connector.active .hugh-glow {
    animation-duration: 1.5s;
    opacity: 1;
}

.hugh-connector.active .connection-ring {
    animation-duration: 2s;
    border-color: rgba(37, 99, 235, 0.8);
}

.avatar-glow.active {
    animation-duration: 2s;
    opacity: 0.8;
}

/* Active States for New Connection System */
.connection-line.active .line-base {
    height: 6px;
    opacity: 1;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.6) 0%, 
        rgba(96, 165, 250, 1) 50%, 
        rgba(255, 255, 255, 0.6) 100%);
    box-shadow: 0 0 15px rgba(96, 165, 250, 0.8);
}

.connection-line.active .line-flow {
    height: 6px;
    animation-duration: 2s;
    box-shadow: 0 0 20px rgba(96, 165, 250, 1);
}

.connection-line.active .particle {
    width: 10px;
    height: 10px;
    top: -5px;
    animation-duration: 3s;
    box-shadow: 0 0 16px rgba(96, 165, 250, 1);
}

/* Enhanced Active States */
.flow-line.active {
    animation-duration: 2s;
    opacity: 1;
    stroke-dasharray: 15, 8;
    stroke-width: 8;
}

.data-particle.active {
    animation-duration: 4s;
    opacity: 1;
}

/* Company Image Enhancement */
.company-avatar.active .company-image {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(5, 150, 105, 0.6);
    filter: brightness(1.1) contrast(1.1);
}

/* ===== SECTION 4: SECURITY SHOWCASE ANIMATION ===== */
.security-showcase-animation {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0d1f46 0%, #1966e9 50%, #0d1f46 100%);
    border-radius: 20px;
    overflow: hidden;
}

.security-elements {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-orbit-system {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-element {
    position: absolute;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
}

.security-element.shield {
    top: 50%;
    left: 50%;
    width: 90px;
    height: 90px;
    z-index: 10;
    animation: none !important;
    transform: translate(-50%, -50%) !important;
    transform-origin: center center !important;
}

.security-element.lock {
    top: 50%;
    left: 50%;
    animation: orbitLock 12s linear infinite;
    transform-origin: 0 0;
}

.security-element.key {
    top: 50%;
    left: 50%;
    animation: orbitKey 15s linear infinite reverse;
    transform-origin: 0 0;
}

.security-element.verification {
    top: 50%;
    left: 50%;
    animation: orbitVerification 18s linear infinite;
    transform-origin: 0 0;
}

@keyframes orbitLock {
    0% { 
        transform: translate(-50%, -50%) rotate(0deg) translateX(120px) rotate(0deg);
    }
    100% { 
        transform: translate(-50%, -50%) rotate(360deg) translateX(120px) rotate(-360deg);
    }
}

@keyframes orbitKey {
    0% { 
        transform: translate(-50%, -50%) rotate(0deg) translateX(90px) rotate(0deg);
    }
    100% { 
        transform: translate(-50%, -50%) rotate(360deg) translateX(90px) rotate(-360deg);
    }
}

@keyframes orbitVerification {
    0% { 
        transform: translate(-50%, -50%) rotate(0deg) translateX(140px) rotate(0deg);
    }
    100% { 
        transform: translate(-50%, -50%) rotate(360deg) translateX(140px) rotate(-360deg);
    }
}

.element-core {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563EB, #3B82F6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.5);
    z-index: 2;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.security-element.shield .element-core {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    color: #0d1f46;
    box-shadow: 0 20px 50px rgba(255, 255, 255, 0.3);
    border: 3px solid rgba(37, 99, 235, 0.4);
}

.element-core svg {
    width: 32px;
    height: 32px;
    fill: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.security-element.shield .element-core svg {
    width: 40px;
    height: 40px;
    fill: #0d1f46;
}

.element-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    opacity: 0.6;
    animation: elementGlow 3s ease-in-out infinite alternate;
}

.shield-glow { 
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent);
    width: 120px;
    height: 120px;
}
.lock-glow { background: radial-gradient(circle, rgba(37, 99, 235, 0.4), transparent); }
.key-glow { background: radial-gradient(circle, rgba(59, 130, 246, 0.4), transparent); }
.verification-glow { background: radial-gradient(circle, rgba(96, 165, 250, 0.4), transparent); }

@keyframes elementGlow {
    0% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
    }
    100% { 
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.element-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 2px solid rgba(16, 185, 129, 0.4);
    border-radius: 50%;
    animation: elementPulse 2s ease-in-out infinite;
}

@keyframes elementPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0.2;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

/* .security-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.security-network {
    width: 100%;
    height: 100%;
}

.security-connection {
    stroke-width: 2;
    stroke-dasharray: 3, 3;
    animation: securityFlow 4s linear infinite;
    opacity: 0.7;
}

@keyframes securityFlow {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 6; }
} */

.trust-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
}

.aura-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    animation: auraExpand 6s ease-in-out infinite;
}

.aura-ring.ring-1 {
    width: 200px;
    height: 200px;
    animation-delay: 0s;
}

.aura-ring.ring-2 {
    width: 250px;
    height: 250px;
    animation-delay: 2s;
}

.aura-ring.ring-3 {
    width: 300px;
    height: 300px;
    animation-delay: 4s;
}

@keyframes auraExpand {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

/* ===== SECTION 5: VISION SHOWCASE ANIMATION ===== */

/* Vision Highlights Styling */
.vision-highlights {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border-left: 3px solid #60a5fa;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    line-height: 1.6;
}

.highlight-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.highlight-item strong {
    color: #60a5fa;
    font-weight: 700;
    margin-right: 0.5rem;
}

/* New Vision Orbital System */
.vision-orbital-system {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #1966e9 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
}
/* Central Core Styling */
.vision-core {
    position: relative;
    width: 120px;
    height: 120px;
    z-index: 10;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.vision-core:hover {
    transform: scale(1.05);
}

.core-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    z-index: 3;
}

.human-essence {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #ffffff 0%, rgba(255, 255, 255, 0.9) 70%, rgba(96, 165, 250, 0.6) 100%);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 0 60px rgba(96, 165, 250, 0.4);
    animation: coreHeartbeat 3s ease-in-out infinite;
    border: 2px solid rgba(96, 165, 250, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.core-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: corePulse 2.5s ease-in-out infinite;
}

.ai-enhancement-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    border: 3px dashed rgba(96, 165, 250, 0.6);
    border-radius: 50%;
    animation: enhanceRotate 12s linear infinite;
    z-index: 2;
}

/* Orbital Ring System */
.orbital-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 5;
}

.ring-inner {
    width: 200px;
    height: 200px;
    animation: orbitInner 20s linear infinite;
}

.ring-outer {
    width: 280px;
    height: 280px;
    animation: orbitOuter 30s linear infinite reverse;
}

.orbital-node {
    position: absolute;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
}

/* Inner ring nodes */
.ring-inner .node-connection { top: 0; left: 50%; }
.ring-inner .node-purpose { top: 75%; left: 85%; }
.ring-inner .node-growth { top: 75%; left: 15%; }

/* Outer ring nodes */
.ring-outer .node-opportunity { top: 15%; left: 85%; }
.ring-outer .node-potential { bottom: 0; left: 50%; }
.ring-outer .node-impact { top: 15%; left: 15%; }

.node-core {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(96, 165, 250, 0.8));
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.6);
    animation: nodeGlow 4s ease-in-out infinite alternate;
    border: 2px solid rgba(255, 255, 255, 0.4);
    z-index: 2;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.node-icon {
    font-size: 18px;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.8));
    z-index: 10;
}

.node-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.4), transparent);
    border-radius: 50%;
    animation: nodeHalo 3s ease-in-out infinite;
    z-index: 1;
}

/* Connection Lines */
.orbital-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    pointer-events: none;
}

.orbital-connection {
    stroke: rgba(255, 255, 255, 0.6);
    stroke-width: 2;
    stroke-dasharray: 8, 4;
    animation: connectionFlow 4s linear infinite;
    opacity: 0.7;
}

/* Energy Flow Particles - Centered around vision-core */
.energy-flow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    z-index: 6;
    pointer-events: none;
}

.energy-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #ffffff, rgba(96, 165, 250, 0.8));
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
    animation: energyOrbit 8s linear infinite;
}

.particle-1 { 
    top: 10%;
    left: 50%;
    animation-delay: 0s; 
    animation-duration: 8s;
}
.particle-2 { 
    top: 25%;
    left: 85%;
    animation-delay: 1.3s; 
    animation-duration: 10s;
}
.particle-3 { 
    top: 75%;
    left: 85%;
    animation-delay: 2.6s; 
    animation-duration: 12s;
}
.particle-4 { 
    top: 90%;
    left: 50%;
    animation-delay: 4s; 
    animation-duration: 9s;
}
.particle-5 { 
    top: 75%;
    left: 15%;
    animation-delay: 5.3s; 
    animation-duration: 11s;
}
.particle-6 { 
    top: 25%;
    left: 15%;
    animation-delay: 6.6s; 
    animation-duration: 7s;
}

/* Animations */
@keyframes coreHeartbeat {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

@keyframes corePulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.2;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

@keyframes enhanceRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbitInner {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbitOuter {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes nodeGlow {
    0% {
        box-shadow: 0 0 20px rgba(96, 165, 250, 0.6);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 0 30px rgba(96, 165, 250, 0.9);
        transform: scale(1.05);
    }
}

@keyframes nodeHalo {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.6;
    }
}

@keyframes connectionFlow {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 12; }
}

@keyframes energyOrbit {
    0% {
        transform: rotate(0deg) translateX(100px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: rotate(360deg) translateX(100px) rotate(-360deg);
        opacity: 0;
    }
}

/* Active Animation States for Vision Section */
.vision-core.active .human-essence {
    animation-duration: 2s;
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(255, 255, 255, 1), 0 0 80px rgba(96, 165, 250, 0.6);
}

.vision-core.active .core-pulse {
    animation-duration: 1.5s;
}

.vision-core.active .ai-enhancement-ring {
    animation-duration: 8s;
    border-color: rgba(96, 165, 250, 0.9);
}

.orbital-node.active .node-core {
    animation-duration: 2s;
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(96, 165, 250, 0.8);
}

/* Vision Core Click Animations - Vault System */
.vision-orbital-system.clicked {
    animation: vault-system-activate 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.vision-orbital-system.clicked .orbital-ring {
    animation: vault-orbital-spin 4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.vision-orbital-system.clicked .orbital-connections {
    animation: connections-activate 4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.vision-orbital-system.clicked .orbital-node {
    animation: node-vault-sequence 4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Fix outer ring node positions during animation to align with connection lines */
.vision-orbital-system.clicked .ring-outer .node-opportunity { 
    top: 40% !important; 
    left: 67.25% !important; 
}
.vision-orbital-system.clicked .ring-outer .node-impact { 
    top: 40% !important; 
    left: 32.75% !important; 
}

.vision-orbital-system.clicked .human-essence {
    animation: core-vault-pulse 4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes vault-system-activate {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

@keyframes vault-orbital-spin {
    0% { 
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
    25% { 
        transform: translate(-50%, -50%) rotate(180deg) scale(1.1);
    }
    50% { 
        transform: translate(-50%, -50%) rotate(360deg) scale(1.2);
    }
    75% { 
        transform: translate(-50%, -50%) rotate(540deg) scale(1.1);
    }
    100% { 
        transform: translate(-50%, -50%) rotate(720deg) scale(1);
    }
}

@keyframes connections-activate {
    0% { 
        opacity: 0.7;
        stroke-width: 2;
    }
    25% { 
        opacity: 1;
        stroke-width: 4;
    }
    50% { 
        opacity: 1;
        stroke-width: 6;
    }
    75% { 
        opacity: 1;
        stroke-width: 4;
    }
    100% { 
        opacity: 0.7;
        stroke-width: 2;
    }
}

@keyframes node-vault-sequence {
    0% { 
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 20px rgba(96, 165, 250, 0.6);
    }
    25% { 
        transform: translate(-50%, -50%) scale(1.2);
        box-shadow: 0 0 30px rgba(96, 165, 250, 0.9);
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.3);
        box-shadow: 0 0 40px rgba(96, 165, 250, 1);
    }
    75% { 
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 0 25px rgba(96, 165, 250, 0.8);
    }
    100% { 
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 20px rgba(96, 165, 250, 0.6);
    }
}

@keyframes core-vault-pulse {
    0% { 
        transform: scale(1);
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    }
    50% { 
        transform: scale(1.15);
        box-shadow: 0 0 50px rgba(255, 255, 255, 1);
    }
    100% { 
        transform: scale(1);
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    }
}

/* Orbital Node Click Animations */
.orbital-node.clicked {
    animation: node-bounce 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.orbital-node.clicked .node-core {
    animation: node-core-glow 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.orbital-node.clicked .node-glow {
    animation: node-glow-burst 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes node-bounce {
    0% { 
        transform: scale(1);
    }
    15% { 
        transform: scale(1.1);
    }
    30% { 
        transform: scale(1.2);
    }
    45% { 
        transform: scale(1.05);
    }
    60% { 
        transform: scale(0.95);
    }
    75% { 
        transform: scale(1.02);
    }
    100% { 
        transform: scale(1);
    }
}

@keyframes node-core-glow {
    0% { 
        box-shadow: 0 0 15px rgba(96, 165, 250, 0.6);
        transform: scale(1);
    }
    25% { 
        box-shadow: 0 0 25px rgba(96, 165, 250, 0.8);
        transform: scale(1.15);
    }
    50% { 
        box-shadow: 0 0 40px rgba(96, 165, 250, 1);
        transform: scale(1.3);
    }
    75% { 
        box-shadow: 0 0 30px rgba(96, 165, 250, 0.8);
        transform: scale(1.1);
    }
    100% { 
        box-shadow: 0 0 15px rgba(96, 165, 250, 0.6);
        transform: scale(1);
    }
}

@keyframes node-glow-burst {
    0% { 
        opacity: 0.4;
        transform: scale(1);
    }
    25% { 
        opacity: 0.7;
        transform: scale(1.2);
    }
    50% { 
        opacity: 1;
        transform: scale(1.5);
    }
    75% { 
        opacity: 0.6;
        transform: scale(1.1);
    }
    100% { 
        opacity: 0.4;
        transform: scale(1);
    }
}

.orbital-node.active .node-glow {
    animation-duration: 2s;
    opacity: 0.8;
}

/* ===== BROKEN BRIDGE CLICK ANIMATIONS ===== */
.broken-bridge-visual.clicked {
    animation: bridge-repair-shake 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.broken-bridge-visual.clicked .bridge-gap {
    animation: gap-heal 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.broken-bridge-visual.clicked .falling-elements {
    animation: elements-rise 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.broken-bridge-visual.clicked .bridge-segment {
    animation: segment-glow 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.broken-bridge-visual.clicked .talent-dot {
    animation: talent-pulse 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes bridge-repair-shake {
    0% { transform: translateX(0); }
    10% { transform: translateX(-2px); }
    20% { transform: translateX(2px); }
    30% { transform: translateX(-1px); }
    40% { transform: translateX(1px); }
    50% { transform: translateX(0); }
    100% { transform: translateX(0); }
}

@keyframes gap-heal {
    0% { 
        background: linear-gradient(45deg, rgba(239, 68, 68, 0.3), rgba(220, 38, 38, 0.2));
        box-shadow: inset 0 0 20px rgba(239, 68, 68, 0.4);
    }
    50% { 
        background: linear-gradient(45deg, rgba(34, 197, 94, 0.3), rgba(22, 163, 74, 0.2));
        box-shadow: inset 0 0 30px rgba(34, 197, 94, 0.6);
    }
    100% { 
        background: linear-gradient(45deg, rgba(34, 197, 94, 0.2), rgba(22, 163, 74, 0.1));
        box-shadow: inset 0 0 15px rgba(34, 197, 94, 0.4);
    }
}

@keyframes elements-rise {
    0% { 
        transform: translateY(0);
        opacity: 1;
    }
    50% { 
        transform: translateY(-20px);
        opacity: 0.7;
    }
    100% { 
        transform: translateY(-40px);
        opacity: 0;
    }
}

@keyframes segment-glow {
    0% { 
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
        border-color: rgba(59, 130, 246, 0.5);
    }
    50% { 
        box-shadow: 0 0 25px rgba(59, 130, 246, 0.8);
        border-color: rgba(59, 130, 246, 0.9);
    }
    100% { 
        box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
        border-color: rgba(59, 130, 246, 0.7);
    }
}

@keyframes talent-pulse {
    0% { 
        transform: scale(1);
        box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
    }
    50% { 
        transform: scale(1.3);
        box-shadow: 0 0 20px rgba(34, 197, 94, 0.8);
    }
    100% { 
        transform: scale(1);
        box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
    }
}

/* ===== AI MATCHING CLICK ANIMATIONS ===== */
.ai-matching-visual.clicked {
    animation: matching-system-activate 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ai-matching-visual.clicked .ai-processor {
    animation: coinSpinRightMedium 2s cubic-bezier(0.25, 0.1, 0.7, 1) forwards;
}

.ai-matching-visual.clicked .processor-core {
    animation: core-power-up 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ai-matching-visual.clicked .processing-waves {
    animation: waves-intensify 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ai-matching-visual.clicked .data-point {
    animation: data-flow 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ai-matching-visual.clicked .ai-logo {
    animation: logo-glow 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes matching-system-activate {
    0% { transform: scale(1); }
    20% { transform: scale(1.05); }
    40% { transform: scale(1.02); }
    60% { transform: scale(1.08); }
    80% { transform: scale(1.03); }
    100% { transform: scale(1); }
}


@keyframes core-power-up {
    0% { 
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
        transform: scale(1);
    }
    25% { 
        box-shadow: 0 0 35px rgba(59, 130, 246, 0.7);
        transform: scale(1.1);
    }
    50% { 
        box-shadow: 0 0 50px rgba(59, 130, 246, 1);
        transform: scale(1.2);
    }
    75% { 
        box-shadow: 0 0 40px rgba(59, 130, 246, 0.8);
        transform: scale(1.1);
    }
    100% { 
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
        transform: scale(1);
    }
}

@keyframes waves-intensify {
    0% { 
        opacity: 0.6;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.3);
    }
    100% { 
        opacity: 0.6;
        transform: scale(1);
    }
}

@keyframes data-flow {
    0% { 
        transform: translateX(0) scale(1);
        opacity: 0.8;
    }
    25% { 
        transform: translateX(10px) scale(1.1);
        opacity: 1;
    }
    50% { 
        transform: translateX(20px) scale(1.2);
        opacity: 0.9;
    }
    75% { 
        transform: translateX(15px) scale(1.05);
        opacity: 0.8;
    }
    100% { 
        transform: translateX(0) scale(1);
        opacity: 0.8;
    }
}

@keyframes logo-glow {
    0% { 
        filter: brightness(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
        transform: scale(1);
    }
    50% { 
        filter: brightness(1.3) drop-shadow(0 0 25px rgba(255, 255, 255, 0.8));
        transform: scale(1.1);
    }
    100% { 
        filter: brightness(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
        transform: scale(1);
    }
}

/* ===== HUGH CONNECTION CLICK ANIMATIONS ===== */
.hugh-connection-visual.clicked {
    animation: connection-network-activate 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hugh-connection-visual.clicked .hugh-connector {
    animation: hugh-power-up 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hugh-connection-visual.clicked .hugh-core {
    animation: hugh-core-pulse 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hugh-connection-visual.clicked .connection-party {
    animation: party-bounce 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hugh-connection-visual.clicked .connection-line {
    animation: line-energy-flow 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hugh-connection-visual.clicked .avatar-glow {
    animation: avatar-glow-burst 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hugh-connection-visual.clicked .hugh-glow {
    animation: hugh-glow-intensify 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes connection-network-activate {
    0% { transform: scale(1); }
    15% { transform: scale(1.03); }
    30% { transform: scale(1.05); }
    45% { transform: scale(1.02); }
    60% { transform: scale(1.04); }
    75% { transform: scale(1.01); }
    100% { transform: scale(1); }
}

@keyframes hugh-power-up {
    0% { 
        transform: scale(1) rotate(0deg);
        box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
    }
    25% { 
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 0 35px rgba(37, 99, 235, 0.7);
    }
    50% { 
        transform: scale(1.2) rotate(0deg);
        box-shadow: 0 0 50px rgba(37, 99, 235, 1);
    }
    75% { 
        transform: scale(1.1) rotate(-5deg);
        box-shadow: 0 0 40px rgba(37, 99, 235, 0.8);
    }
    100% { 
        transform: scale(1) rotate(0deg);
        box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
    }
}

@keyframes hugh-core-pulse {
    0% { 
        transform: scale(1);
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    }
    50% { 
        transform: scale(1.15);
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.9);
    }
    100% { 
        transform: scale(1);
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    }
}

@keyframes party-bounce {
    0% { 
        transform: translateY(0) scale(1);
    }
    25% { 
        transform: translateY(-8px) scale(1.05);
    }
    50% { 
        transform: translateY(-12px) scale(1.1);
    }
    75% { 
        transform: translateY(-6px) scale(1.03);
    }
    100% { 
        transform: translateY(0) scale(1);
    }
}

@keyframes line-energy-flow {
    0% { 
        stroke-dasharray: 5, 5;
        stroke-opacity: 0.6;
    }
    50% { 
        stroke-dasharray: 10, 2;
        stroke-opacity: 1;
    }
    100% { 
        stroke-dasharray: 5, 5;
        stroke-opacity: 0.6;
    }
}

@keyframes avatar-glow-burst {
    0% { 
        opacity: 0.4;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.3);
    }
    100% { 
        opacity: 0.4;
        transform: scale(1);
    }
}

@keyframes hugh-glow-intensify {
    0% { 
        opacity: 0.5;
        transform: scale(1);
        box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
    }
    50% { 
        opacity: 1;
        transform: scale(1.2);
        box-shadow: 0 0 40px rgba(37, 99, 235, 0.8);
    }
    100% { 
        opacity: 0.5;
        transform: scale(1);
        box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
    }
}

/* ===== SECURITY SHOWCASE CLICK ANIMATIONS ===== */
.security-showcase-animation.clicked {
    animation: security-system-activate 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.security-showcase-animation.clicked .security-element {
    animation: security-element-secure 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.security-showcase-animation.clicked .element-core {
    animation: element-core-glow 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.security-showcase-animation.clicked .element-glow {
    animation: element-glow-burst 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.security-showcase-animation.clicked .element-pulse {
    animation: element-pulse-intensify 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.security-showcase-animation.clicked .security-orbit-system {
    animation: orbit-system-spin 2.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes security-system-activate {
    0% { transform: scale(1); }
    20% { transform: scale(1.04); }
    40% { transform: scale(1.02); }
    60% { transform: scale(1.06); }
    80% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

@keyframes security-element-secure {
    0% { 
        transform: scale(1) rotate(0deg);
        box-shadow: 0 0 15px rgba(34, 197, 94, 0.4);
    }
    25% { 
        transform: scale(1.1) rotate(10deg);
        box-shadow: 0 0 25px rgba(34, 197, 94, 0.7);
    }
    50% { 
        transform: scale(1.2) rotate(0deg);
        box-shadow: 0 0 35px rgba(34, 197, 94, 1);
    }
    75% { 
        transform: scale(1.1) rotate(-10deg);
        box-shadow: 0 0 30px rgba(34, 197, 94, 0.8);
    }
    100% { 
        transform: scale(1) rotate(0deg);
        box-shadow: 0 0 15px rgba(34, 197, 94, 0.4);
    }
}

@keyframes element-core-glow {
    0% { 
        filter: brightness(1) drop-shadow(0 0 8px rgba(34, 197, 94, 0.3));
        transform: scale(1);
    }
    50% { 
        filter: brightness(1.4) drop-shadow(0 0 20px rgba(34, 197, 94, 0.8));
        transform: scale(1.1);
    }
    100% { 
        filter: brightness(1) drop-shadow(0 0 8px rgba(34, 197, 94, 0.3));
        transform: scale(1);
    }
}

@keyframes element-glow-burst {
    0% { 
        opacity: 0.4;
        transform: scale(1);
        box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
    }
    50% { 
        opacity: 1;
        transform: scale(1.4);
        box-shadow: 0 0 40px rgba(34, 197, 94, 0.9);
    }
    100% { 
        opacity: 0.4;
        transform: scale(1);
        box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
    }
}

@keyframes element-pulse-intensify {
    0% { 
        transform: scale(1);
        opacity: 0.6;
        border-color: rgba(34, 197, 94, 0.5);
    }
    50% { 
        transform: scale(2);
        opacity: 0.3;
        border-color: rgba(34, 197, 94, 0.9);
    }
    100% { 
        transform: scale(2.5);
        opacity: 0;
        border-color: rgba(34, 197, 94, 1);
    }
}

@keyframes orbit-system-spin {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(90deg) scale(1.05); }
    50% { transform: rotate(180deg) scale(1.1); }
    75% { transform: rotate(270deg) scale(1.05); }
    100% { transform: rotate(360deg) scale(1); }
}

.orbital-connection.active {
    stroke: rgba(255, 255, 255, 0.9);
    stroke-width: 3;
    animation-duration: 2s;
    opacity: 1;
}

.energy-particle.flowing {
    animation-duration: 6s;
    opacity: 1;
    box-shadow: 0 0 15px rgba(255, 255, 255, 1);
}

.vision-title {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    z-index: 10;
}

.vision-outcome {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.outcome-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.ecosystem-center {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.center-label {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    z-index: 12;
}

.human-heart {
    position: relative;
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, #ffffff, rgba(255, 255, 255, 0.95));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
    animation: heartbeat 2.5s ease-in-out infinite;
    z-index: 3;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.heart-icon {
    font-size: 1.8rem;
    color: #1e40af;
}

.ai-enhancement {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    z-index: 2;
}

.enhancement-ring {
    width: 100%;
    height: 100%;
    border: 3px solid rgba(96, 165, 250, 0.7);
    border-radius: 50%;
    border-style: dashed;
    animation: enhancementRotate 8s linear infinite;
    position: relative;
}

.enhancement-ring::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: #60a5fa;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(96, 165, 250, 0.9);
}

.ai-label {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}

.connection-web {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.connection-card {
    position: absolute;
    width: 80px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    z-index: 6;
    animation: cardPulse 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.connection-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.connection-card.people { animation-delay: 0s; }
.connection-card.purpose { animation-delay: 0.7s; }
.connection-card.growth { animation-delay: 1.4s; }
.connection-card.impact { animation-delay: 2.1s; }

.card-icon {
    font-size: 1.2rem;
    margin-bottom: 0.1rem;
}

.card-label {
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.1;
}

.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
}

.connection-line {
    stroke: rgba(255, 255, 255, 0.4);
    stroke-width: 2;
    stroke-dasharray: 5, 5;
    animation: connectionFlow 4s ease-in-out infinite;
}


@keyframes heartbeat {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.9;
    }
    50% { 
        transform: scale(1.1);
        opacity: 1;
    }
}

@keyframes heartPulse {
    0% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    100% { 
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

@keyframes enhancementRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes cardPulse {
    0%, 100% { 
        opacity: 0.8;
        box-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
    }
    50% { 
        opacity: 1;
        box-shadow: 0 4px 20px rgba(255, 255, 255, 0.4);
    }
}

@keyframes connectionFlow {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 10; }
}


.gateway-portal {
    position: absolute;
    width: 120px;
    height: 120px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.portal-rings {
    position: relative;
    width: 100%;
    height: 100%;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: ringRotate 8s linear infinite;
}

.ring-1 {
    width: 60px;
    height: 60px;
    animation-duration: 8s;
}

.ring-2 {
    width: 80px;
    height: 80px;
    animation-duration: 12s;
    animation-direction: reverse;
}

.ring-3 {
    width: 100px;
    height: 100px;
    animation-duration: 16s;
}

.portal-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    z-index: 4;
}

.core-light {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #ffffff, rgba(255, 255, 255, 0.8), rgba(96, 165, 250, 0.6));
    border-radius: 50%;
    animation: coreGlow 3s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
}

.rising-paths {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
}

.path-beam {
    position: absolute;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.8), transparent);
    border-radius: 2px;
    animation: beamRise 6s ease-out infinite;
}

.path-beam.left {
    left: 30%;
    height: 40%;
    animation-delay: 0s;
}

.path-beam.center {
    left: 50%;
    height: 60%;
    animation-delay: 2s;
}

.path-beam.right {
    right: 30%;
    height: 35%;
    animation-delay: 4s;
}

.future-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    animation: particleFloat 8s linear infinite;
}

.particle:nth-child(1) { top: 20%; left: 15%; animation-delay: 0s; }
.particle:nth-child(2) { top: 30%; right: 20%; animation-delay: 1.3s; }
.particle:nth-child(3) { top: 60%; left: 10%; animation-delay: 2.6s; }
.particle:nth-child(4) { top: 70%; right: 15%; animation-delay: 4s; }
.particle:nth-child(5) { top: 40%; left: 80%; animation-delay: 5.3s; }
.particle:nth-child(6) { top: 50%; left: 5%; animation-delay: 6.6s; }

@keyframes archGlow {
    0%, 100% { 
        opacity: 0.7;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    }
    50% { 
        opacity: 1;
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    }
}

@keyframes ringRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes coreGlow {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
}

@keyframes beamRise {
    0% { 
        opacity: 0;
        transform: scaleY(0);
    }
    20% { 
        opacity: 1;
        transform: scaleY(0.3);
    }
    80% { 
        opacity: 1;
        transform: scaleY(1);
    }
    100% { 
        opacity: 0;
        transform: scaleY(1);
    }
}

@keyframes particleFloat {
    0% { 
        transform: translateY(0) scale(0);
        opacity: 0;
    }
    10% { 
        transform: translateY(-20px) scale(1);
        opacity: 1;
    }
    90% { 
        transform: translateY(-100px) scale(1);
        opacity: 1;
    }
    100% { 
        transform: translateY(-120px) scale(0);
        opacity: 0;
    }
}

.chest-inner {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, #2563EB 0%, #3B82F6 50%, #60A5FA 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.chest-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    border-radius: 12px;
}

.chest-symbol {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 4rem;
    font-weight: 700;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: symbolPulse 3s ease-in-out infinite;
}

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

.future-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.digital-element {
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.8), rgba(59, 130, 246, 0.6));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: digitalFloat 8s ease-in-out infinite;
}

.digital-element svg {
    width: 24px;
    height: 24px;
    fill: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.digital-element:nth-child(1) {
    top: 15%;
    left: 20%;
    animation-delay: 0s;
}

.digital-element:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.digital-element:nth-child(3) {
    bottom: 20%;
    left: 15%;
    animation-delay: 4s;
}

.digital-element:nth-child(4) {
    bottom: 15%;
    right: 20%;
    animation-delay: 6s;
}

.digital-element:nth-child(5) {
    top: 50%;
    left: 5%;
    animation-delay: 1s;
}

.digital-element:nth-child(6) {
    top: 50%;
    right: 5%;
    animation-delay: 3s;
}

@keyframes digitalFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    25% {
        transform: translateY(-15px) rotate(5deg);
        opacity: 1;
    }
    50% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.8;
    }
    75% {
        transform: translateY(15px) rotate(-5deg);
        opacity: 1;
    }
}

.chest-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    animation: auraExpand 4s ease-in-out infinite;
}

@keyframes auraExpand {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.6;
    }
}

/* Crystal Element */
.crystal-structure {
    position: relative;
    width: 60px;
    height: 60px;
}

.crystal-facet {
    position: absolute;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, rgba(165, 180, 252, 0.8), rgba(129, 140, 248, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.facet-1 {
    top: 0;
    left: 15px;
    transform: rotate(45deg);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.facet-2 {
    top: 15px;
    right: 0;
    transform: rotate(45deg);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.facet-3 {
    bottom: 0;
    left: 15px;
    transform: rotate(45deg);
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.facet-4 {
    top: 15px;
    left: 0;
    transform: rotate(45deg);
    clip-path: polygon(100% 0, 100% 100%, 0 50%);
}

.crystal-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #ffffff, rgba(165, 180, 252, 0.8));
    border-radius: 50%;
    animation: crystalPulse 3s ease-in-out infinite;
}

@keyframes crystalPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 1;
    }
}

.crystal-light {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(165, 180, 252, 0.3), transparent);
    border-radius: 50%;
    animation: crystalGlow 4s ease-in-out infinite alternate;
}

@keyframes crystalGlow {
    0% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    100% { 
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.6;
    }
}

/* Orbit System */
.orbit-system {
    width: 120px;
    height: 120px;
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
}

.center-core {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #60A5FA, #3B82F6);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.6);
}

.center-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.4), transparent);
    border-radius: 50%;
    animation: centerGlow 2s ease-in-out infinite alternate;
}

@keyframes centerGlow {
    0% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
    }
    100% { 
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.8;
    }
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 50%;
}

.orbit-ring.ring-1 {
    width: 60px;
    height: 60px;
    animation: orbitRotate 8s linear infinite;
}

.orbit-ring.ring-2 {
    width: 90px;
    height: 90px;
    animation: orbitRotate 12s linear infinite reverse;
}

.orbit-ring.ring-3 {
    width: 120px;
    height: 120px;
    animation: orbitRotate 16s linear infinite;
}

@keyframes orbitRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.orbit-satellite {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.sat-1 { top: -4px; left: 50%; transform: translateX(-50%); }
.sat-2 { top: -4px; left: 50%; transform: translateX(-50%); }
.sat-3 { bottom: -4px; left: 50%; transform: translateX(-50%); }
.sat-4 { top: 50%; right: -4px; transform: translateY(-50%); }

/* Wave Pattern */
.wave-pattern {
    width: 100px;
    height: 60px;
}

.wave-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.wave-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.8), transparent);
    animation: waveFlow 3s ease-in-out infinite;
}

.line-1 { top: 10%; animation-delay: 0s; }
.line-2 { top: 30%; animation-delay: 0.5s; }
.line-3 { top: 50%; animation-delay: 1s; }
.line-4 { top: 70%; animation-delay: 1.5s; }

@keyframes waveFlow {
    0%, 100% { 
        transform: scaleX(0.5);
        opacity: 0.3;
    }
    50% { 
        transform: scaleX(1.2);
        opacity: 1;
    }
}

.wave-energy {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.energy-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #2563EB;
    border-radius: 50%;
    animation: energyMove 4s linear infinite;
}

.dot-1 { top: 10%; animation-delay: 0s; }
.dot-2 { top: 30%; animation-delay: 1.3s; }
.dot-3 { top: 50%; animation-delay: 2.6s; }

@keyframes energyMove {
    0% { 
        left: 0;
        opacity: 0;
    }
    10% { 
        opacity: 1;
    }
    90% { 
        opacity: 1;
    }
    100% { 
        left: 100%;
        opacity: 0;
    }
}

/* Vision Atmosphere */
.vision-atmosphere {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.atmosphere-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    animation: atmosphereFlow 20s ease-in-out infinite;
}

.layer-1 {
    background: radial-gradient(ellipse at 30% 20%, rgba(37, 99, 235, 0.1), transparent);
    animation-delay: 0s;
}

.layer-2 {
    background: radial-gradient(ellipse at 70% 60%, rgba(59, 130, 246, 0.1), transparent);
    animation-delay: 7s;
}

.layer-3 {
    background: radial-gradient(ellipse at 50% 80%, rgba(96, 165, 250, 0.1), transparent);
    animation-delay: 14s;
}

@keyframes atmosphereFlow {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        opacity: 0.3;
    }
    33% { 
        transform: scale(1.1) rotate(120deg);
        opacity: 0.6;
    }
    66% { 
        transform: scale(0.9) rotate(240deg);
        opacity: 0.4;
    }
}

.future-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.future-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: futureFloat 8s linear infinite;
}

.future-particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.future-particle:nth-child(2) {
    top: 40%;
    left: 80%;
    animation-delay: 1.6s;
}

.future-particle:nth-child(3) {
    top: 70%;
    left: 30%;
    animation-delay: 3.2s;
}

.future-particle:nth-child(4) {
    top: 60%;
    left: 70%;
    animation-delay: 4.8s;
}

.future-particle:nth-child(5) {
    top: 30%;
    left: 50%;
    animation-delay: 6.4s;
}

@keyframes futureFloat {
    0% { 
        transform: translateY(0) scale(0);
        opacity: 0;
    }
    10% { 
        transform: translateY(-10px) scale(1);
        opacity: 1;
    }
    90% { 
        transform: translateY(-30px) scale(1);
        opacity: 1;
    }
    100% { 
        transform: translateY(-40px) scale(0);
        opacity: 0;
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .timeline-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-left: 10px;
    }
    
    .enhanced-timeline-item[data-side="left"] .timeline-content-wrapper,
    .enhanced-timeline-item[data-side="right"] .timeline-content-wrapper {
        grid-template-areas: 
            "text"
            "visual";
    }
    
    .enhanced-timeline-bar {
        left: 2rem;
        transform: none;
    }
    
    .timeline-text-content {
        padding: 30px;
    }
    
    .timeline-visual-content {
        height: 400px;
    }
    
    .dual-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .hugh-connection-visual {
        padding: 20%;
    }
}

@media (max-width: 768px) {
    .timeline-content-wrapper {
        padding-left: 20px;
    }
    .enhanced-timeline-section {
        padding: 80px 0;
    }
    
    .enhanced-timeline-container {
        padding: 0 1rem;
    }
    
    .enhanced-timeline-item {
        margin-bottom: 80px;
    }
    
    .timeline-text-content {
        padding: 20px;
    }
    
    .timeline-text-content h3 {
        font-size: 1.5rem;
    }
    
    .timeline-step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Simplify animations on mobile */
    .network-node {
        width: 60px;
        height: 60px;
    }
    
    .network-node.primary {
        width: 80px;
        height: 80px;
    }
    
    .node-core {
        width: 40px;
        height: 40px;
    }
    
    .network-node.primary .node-core {
        width: 60px;
        height: 60px;
    }
    
    .hugh-avatar {
        width: 100px;
        height: 100px;
    }
    
    .hugh-core {
        width: 60px;
        height: 60px;
    }
    
    .hugh-letter {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    
    .timeline-text-content h3 {
        font-size: 1.3rem;
    }
    
    .timeline-text-content p {
        font-size: 1rem;
    }
    
    .timeline-visual-content {
        height: 350px;
    }
    .hugh-connection-visual {
        padding: 2rem;
    }
    /* Further simplify complex animations */
    .falling-element {
        width: 30px;
        height: 30px;
    }
    
    .falling-element svg {
        width: 18px;
        height: 18px;
    }
    
    .security-element {
        width: 50px;
        height: 50px;
    }
    
    .element-core {
        width: 40px;
        height: 40px;
    }
}

/* ===== ENHANCED ANIMATION STATES ===== */
.timeline-flare.active {
    opacity: 1 !important;
}

.timeline-flare.active .flare-glow {
    animation-duration: 1s;
    transform: translate(-50%, -50%) scale(1.8);
    opacity: 1;
}

.timeline-flare.active .flare-pulse {
    animation-duration: 1s;
    border-width: 3px;
}

.timeline-flare.complete .flare-core {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 0 25px rgba(16, 185, 129, 1), 0 0 50px rgba(16, 185, 129, 0.8);
    border-color: rgba(16, 185, 129, 0.8);
}

.timeline-flare.complete .flare-glow {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.8) 0%, rgba(5, 150, 105, 0.4) 50%, transparent 70%);
    animation-duration: 0.8s;
}

.timeline-flare.complete .flare-pulse {
    border-color: rgba(16, 185, 129, 0.6);
    animation-duration: 0.8s;
}

.timeline-flare.hover {
    transform: translateX(-50%) scale(1.1);
    transition: transform 0.3s ease;
}

.timeline-flare.hover .flare-glow {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0.8;
}

.timeline-flare.clicked {
    transform: translateX(-50%) scale(1.3);
    transition: transform 0.1s ease;
}

.timeline-flare.clicked .flare-core {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 0 30px rgba(251, 191, 36, 1), 0 0 60px rgba(245, 158, 11, 0.8);
    border-color: rgba(251, 191, 36, 0.8);
}

.enhanced-timeline-bar:hover {
    background: linear-gradient(to bottom, 
        rgba(37, 99, 235, 0.3) 0%, 
        rgba(59, 130, 246, 0.5) 50%, 
        rgba(37, 99, 235, 0.3) 100%);
}

.enhanced-timeline-bar {
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeline-section-markers {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.section-marker {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(37, 99, 235, 0.5);
    border-radius: 50%;
    pointer-events: auto;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
}

.section-marker:hover {
    transform: translate(-50%, -50%) scale(1.2);
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(37, 99, 235, 0.8);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.6);
}

.section-marker.completed {
    background: rgba(37, 99, 235, 0.8);
    border-color: rgba(37, 99, 235, 1);
}

.section-marker.current {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(37, 99, 235, 1);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.8);
    animation: markerPulse 2s ease-in-out infinite;
}

@keyframes markerPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

.enhanced-timeline-item.current-section {
    transform: translateY(0) scale(1.02);
    box-shadow: 0 30px 80px rgba(37, 99, 235, 0.3);
}

.enhanced-timeline-item.current-section .timeline-text-content {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

/* Enhanced section-specific animations */
.timeline-text-content {
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-visual-content {
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.enhanced-timeline-item.animate-in .timeline-text-content {
    animation: slideInText 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.enhanced-timeline-item.animate-in .timeline-visual-content {
    animation: slideInVisual 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both;
}

@keyframes slideInText {
    0% {
        opacity: 0;
        transform: translateX(-50px) scale(0.9);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0px);
    }
}

@keyframes slideInVisual {
    0% {
        opacity: 0;
        transform: translateX(50px) scale(0.9) rotateY(15deg);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1) rotateY(0deg);
        filter: blur(0px);
    }
}

/* Network animation states */
.network-node.active .node-pulse {
    animation-duration: 1.5s;
}

.connection.active {
    stroke-dasharray: 10, 5;
    animation-duration: 1.5s;
}

.energy-particle.flowing {
    animation-duration: 3s;
}

/* Hugh animation states */
.person-card.active .avatar-glow {
    opacity: 1;
}

.ring.spinning {
    animation-duration: 6s;
}

.connection-line.pulsing .line-energy {
    animation-duration: 1.5s;
}

.ai-particle.orbiting {
    animation-duration: 4s;
}

/* Security animation states */
.security-element.secured .element-glow {
    animation-duration: 2s;
    opacity: 0.9;
}

.security-connection.transmitting {
    stroke-dasharray: 5, 2;
    animation-duration: 2s;
}

.aura-ring.expanding {
    animation-duration: 4s;
}

/* Vision animation states */
.future-element.materializing {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.atmosphere-layer.flowing {
    animation-duration: 15s;
}

.future-particle.ascending {
    animation-duration: 6s;
}

