/* Feature Visual Animations - Enhanced with Color Palette */
/* Primary: #2f1f4f, Secondary: #4949e7, Accent: #d35b74, Light: #dedede, Dark: #000000 */

.visual-container {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* ============================================
   MULTI-AGENT SYSTEMS - Orbiting Network
   ============================================ */

.agent-orbit {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agent-central {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4949e7 0%, #2f1f4f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.75rem;
    box-shadow: 
        0 0 0 0 rgba(73, 73, 231, 0.4),
        0 15px 50px rgba(73, 73, 231, 0.5),
        inset 0 -20px 40px rgba(47, 31, 79, 0.3);
    position: relative;
    z-index: 3;
    animation: centralPulse 3s ease-in-out infinite;
}

.agent-central::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4949e7, #d35b74);
    opacity: 0;
    animation: centralGlow 3s ease-in-out infinite;
    z-index: -1;
    filter: blur(15px);
}

@keyframes centralPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 0 0 0 rgba(73, 73, 231, 0.4),
            0 15px 50px rgba(73, 73, 231, 0.5),
            inset 0 -20px 40px rgba(47, 31, 79, 0.3);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 
            0 0 0 20px rgba(73, 73, 231, 0),
            0 20px 60px rgba(73, 73, 231, 0.7),
            inset 0 -20px 40px rgba(47, 31, 79, 0.5);
    }
}

@keyframes centralGlow {
    0%, 100% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

.orbit-ring {
    position: absolute;
    width: 280px;
    height: 280px;
    border: 3px solid transparent;
    border-top-color: rgba(73, 73, 231, 0.4);
    border-right-color: rgba(211, 91, 116, 0.3);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotateRing 25s linear infinite;
}

.orbit-ring::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px dashed rgba(73, 73, 231, 0.2);
    animation: rotateRingReverse 35s linear infinite;
}

@keyframes rotateRing {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

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

.agent-satellite {
    position: absolute;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff 0%, #dedede 100%);
    border: 3px solid #4949e7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2f1f4f;
    font-size: 1.85rem;
    box-shadow: 
        0 8px 25px rgba(73, 73, 231, 0.35),
        inset 0 -10px 20px rgba(0, 0, 0, 0.05);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(var(--orbit-angle)) translateY(-140px) rotate(calc(-1 * var(--orbit-angle)));
    animation: satelliteBounce 2.5s ease-in-out infinite;
    animation-delay: var(--orbit-delay);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.agent-satellite::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(73, 73, 231, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.agent-satellite:hover {
    background: linear-gradient(135deg, #4949e7 0%, #d35b74 100%);
    color: white;
    border-color: #d35b74;
    transform: translate(-50%, -50%) rotate(var(--orbit-angle)) translateY(-140px) rotate(calc(-1 * var(--orbit-angle))) scale(1.15);
    box-shadow: 
        0 12px 40px rgba(211, 91, 116, 0.5),
        0 0 30px rgba(73, 73, 231, 0.4);
}

.agent-satellite:hover::before {
    opacity: 1;
}

@keyframes satelliteBounce {
    0%, 100% {
        box-shadow: 
            0 8px 25px rgba(73, 73, 231, 0.35),
            inset 0 -10px 20px rgba(0, 0, 0, 0.05);
    }
    50% {
        box-shadow: 
            0 15px 40px rgba(73, 73, 231, 0.5),
            inset 0 -10px 20px rgba(0, 0, 0, 0.08);
    }
}

/* ============================================
   DATA INTELLIGENCE - Data Flow Pipeline
   ============================================ */

.data-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem;
}

.data-layer {
    width: 300px;
    padding: 1.75rem 2.25rem;
    background: linear-gradient(135deg, #ffffff 0%, #dedede 100%);
    border: 4px solid #d35b74;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 1.75rem;
    box-shadow: 
        0 8px 30px rgba(211, 91, 116, 0.25),
        inset 0 -15px 30px rgba(0, 0, 0, 0.03);
    animation: layerSlideIn 0.7s ease-out forwards;
    animation-delay: var(--layer-delay);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.data-layer::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, #d35b74 0%, #4949e7 100%);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s ease;
}

.data-layer:hover::before {
    transform: scaleY(1);
}

.data-layer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(211, 91, 116, 0.05) 0%, rgba(73, 73, 231, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.data-layer:hover {
    transform: translateX(12px) scale(1.03);
    box-shadow: 
        0 15px 50px rgba(211, 91, 116, 0.4),
        0 0 40px rgba(73, 73, 231, 0.2);
    border-color: #4949e7;
}

.data-layer:hover::after {
    opacity: 1;
}

.data-layer.active {
    background: linear-gradient(135deg, #d35b74 0%, #2f1f4f 100%);
    color: white;
    border-color: #d35b74;
    box-shadow: 
        0 15px 50px rgba(211, 91, 116, 0.5),
        0 0 50px rgba(211, 91, 116, 0.3),
        inset 0 -20px 40px rgba(47, 31, 79, 0.4);
    animation: layerSlideIn 0.7s ease-out forwards, activePulse 2s ease-in-out infinite;
    animation-delay: var(--layer-delay), calc(var(--layer-delay) + 0.7s);
}

@keyframes activePulse {
    0%, 100% {
        box-shadow: 
            0 15px 50px rgba(211, 91, 116, 0.5),
            0 0 50px rgba(211, 91, 116, 0.3),
            inset 0 -20px 40px rgba(47, 31, 79, 0.4);
    }
    50% {
        box-shadow: 
            0 20px 60px rgba(211, 91, 116, 0.7),
            0 0 70px rgba(211, 91, 116, 0.5),
            inset 0 -20px 40px rgba(47, 31, 79, 0.6);
    }
}

.data-layer i {
    font-size: 2.75rem;
    color: #d35b74;
    filter: drop-shadow(0 4px 8px rgba(211, 91, 116, 0.3));
    transition: all 0.4s ease;
}

.data-layer:hover i {
    color: #4949e7;
    transform: scale(1.1) rotate(5deg);
}

.data-layer.active i {
    color: white;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
    animation: iconBounce 1.5s ease-in-out infinite;
}

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

.data-layer span {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2f1f4f;
    letter-spacing: -0.01em;
    transition: color 0.4s ease;
}

.data-layer.active span {
    color: white;
}

@keyframes layerSlideIn {
    from {
        opacity: 0;
        transform: translateX(-60px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.flow-arrow {
    color: #d35b74;
    font-size: 2.25rem;
    animation: arrowFlow 2s ease-in-out infinite;
    animation-delay: var(--arrow-delay);
    opacity: 0;
    filter: drop-shadow(0 4px 8px rgba(211, 91, 116, 0.3));
}

@keyframes arrowFlow {
    0%, 20% {
        opacity: 0.2;
        transform: translateY(-5px) scale(0.9);
    }
    50% {
        opacity: 1;
        transform: translateY(5px) scale(1.1);
        color: #4949e7;
    }
    80%, 100% {
        opacity: 0.2;
        transform: translateY(10px) scale(0.9);
    }
}

/* ============================================
   IT OPTIMIZATION - Hexagonal Network
   ============================================ */

.hexagon-grid {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hex-center {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #2f1f4f 0%, #4949e7 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    box-shadow: 
        0 15px 50px rgba(47, 31, 79, 0.5),
        0 0 40px rgba(73, 73, 231, 0.4),
        inset 0 -20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 3;
    animation: hexPulse 3s ease-in-out infinite;
}

.hex-center::before {
    content: '';
    position: absolute;
    inset: -8px;
    background: linear-gradient(135deg, #4949e7, #d35b74);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: -1;
    opacity: 0;
    animation: hexGlow 3s ease-in-out infinite;
    filter: blur(15px);
}

@keyframes hexPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        box-shadow: 
            0 15px 50px rgba(47, 31, 79, 0.5),
            0 0 40px rgba(73, 73, 231, 0.4),
            inset 0 -20px 40px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.08) rotate(180deg);
        box-shadow: 
            0 20px 60px rgba(47, 31, 79, 0.7),
            0 0 60px rgba(73, 73, 231, 0.6),
            inset 0 -20px 40px rgba(0, 0, 0, 0.3);
    }
}

@keyframes hexGlow {
    0%, 100% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.3);
    }
}

.hex-connections {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.hex-shape {
    fill: none;
    stroke: url(#hexGradient);
    stroke-width: 3;
    stroke-dasharray: 10, 5;
    opacity: 0.4;
    animation: rotateLine 20s linear infinite;
}

@keyframes rotateLine {
    from {
        stroke-dashoffset: 0;
    }
    to {
        stroke-dashoffset: 100;
    }
}

.hex-node {
    position: absolute;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ffffff 0%, #dedede 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2f1f4f;
    font-size: 1.75rem;
    box-shadow: 
        0 8px 30px rgba(47, 31, 79, 0.3),
        inset 0 -10px 20px rgba(0, 0, 0, 0.05);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(var(--hex-angle)) translateY(-120px) rotate(calc(-1 * var(--hex-angle)));
    animation: hexFloat 3s ease-in-out infinite;
    animation-delay: var(--hex-delay);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid transparent;
}

.hex-node::before {
    content: '';
    position: absolute;
    inset: -6px;
    background: linear-gradient(135deg, #4949e7, #d35b74);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hex-node:hover {
    background: linear-gradient(135deg, #4949e7 0%, #2f1f4f 100%);
    color: white;
    transform: translate(-50%, -50%) rotate(var(--hex-angle)) translateY(-120px) rotate(calc(-1 * var(--hex-angle))) scale(1.2);
    box-shadow: 
        0 15px 50px rgba(73, 73, 231, 0.6),
        0 0 40px rgba(211, 91, 116, 0.4);
    z-index: 2;
}

.hex-node:hover::before {
    opacity: 1;
}

@keyframes hexFloat {
    0%, 100% {
        box-shadow: 
            0 8px 30px rgba(47, 31, 79, 0.3),
            inset 0 -10px 20px rgba(0, 0, 0, 0.05);
    }
    50% {
        box-shadow: 
            0 15px 45px rgba(73, 73, 231, 0.4),
            inset 0 -10px 20px rgba(0, 0, 0, 0.08);
    }
}

/* ============================================
   BUSINESS INTELLIGENCE - Dashboard Display
   ============================================ */

.dashboard-display {
    width: 100%;
    max-width: 400px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    border-radius: 20px;
    border: 4px solid #2f1f4f;
    box-shadow: 
        0 20px 60px rgba(47, 31, 79, 0.3),
        inset 0 -30px 60px rgba(0, 0, 0, 0.02);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    animation: dashboardAppear 0.8s ease-out forwards;
}

.dashboard-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: radial-gradient(ellipse at top, rgba(73, 73, 231, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

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

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #dedede;
}

.header-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dedede;
    transition: all 0.3s ease;
}

.header-dot:nth-child(1) {
    background: #d35b74;
    animation: dotPulse 2s ease-in-out infinite;
}

.header-dot:nth-child(2) {
    background: #4949e7;
    animation: dotPulse 2s ease-in-out infinite 0.3s;
}

.header-dot:nth-child(3) {
    background: #2f1f4f;
    animation: dotPulse 2s ease-in-out infinite 0.6s;
}

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

.header-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2f1f4f;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-left: auto;
}

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

.stat-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    border: 3px solid #dedede;
    border-radius: 16px;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.08),
        inset 0 -10px 20px rgba(0, 0, 0, 0.02);
    animation: statSlideIn 0.6s ease-out forwards;
    animation-delay: var(--stat-delay);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(180deg, #4949e7 0%, #d35b74 100%);
    transition: width 0.4s ease;
}

.stat-box:hover {
    border-color: #4949e7;
    transform: translateX(8px);
    box-shadow: 
        0 15px 40px rgba(73, 73, 231, 0.25),
        0 5px 20px rgba(211, 91, 116, 0.15);
}

.stat-box:hover::before {
    width: 6px;
}

@keyframes statSlideIn {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.stat-chart {
    width: 60px;
    height: 60px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: linear-gradient(135deg, rgba(73, 73, 231, 0.05) 0%, rgba(211, 91, 116, 0.05) 100%);
    border-radius: 12px;
    padding: 0.5rem;
    overflow: hidden;
}

.stat-chart::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #dedede;
}

.chart-line {
    width: 100%;
    height: var(--line-height);
    background: linear-gradient(180deg, #4949e7 0%, #d35b74 100%);
    border-radius: 4px 4px 0 0;
    position: relative;
    animation: chartGrow 1.5s ease-out forwards;
    animation-delay: calc(var(--stat-delay) + 0.3s);
    transform-origin: bottom;
}

.chart-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, transparent 100%);
    border-radius: 4px 4px 0 0;
}

@keyframes chartGrow {
    from {
        transform: scaleY(0);
    }
    to {
        transform: scaleY(1);
    }
}

.stat-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    position: relative;
    z-index: 1;
}

.stat-details i {
    font-size: 1.5rem;
    color: #4949e7;
    margin-bottom: 0.25rem;
    transition: all 0.4s ease;
}

.stat-box:hover .stat-details i {
    color: #d35b74;
    transform: scale(1.15) rotate(-5deg);
}

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2f1f4f 0%, #4949e7 50%, #d35b74 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 100%;
    line-height: 1;
    animation: statGradientShift 3s ease-in-out infinite;
}

@keyframes statGradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.stat-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6e6e73;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.4s ease;
}

.stat-box:hover .stat-text {
    color: #4949e7;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .visual-container {
        max-width: 90vw;
    }
    
    .agent-central {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .orbit-ring {
        width: 220px;
        height: 220px;
    }
    
    .agent-satellite {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
        transform: translate(-50%, -50%) rotate(var(--orbit-angle)) translateY(-110px) rotate(calc(-1 * var(--orbit-angle)));
    }
    
    .agent-satellite:hover {
        transform: translate(-50%, -50%) rotate(var(--orbit-angle)) translateY(-110px) rotate(calc(-1 * var(--orbit-angle))) scale(1.1);
    }
    
    .data-layer {
        width: 240px;
        padding: 1.25rem 1.5rem;
        gap: 1rem;
    }
    
    .data-layer i {
        font-size: 2rem;
    }
    
    .data-layer span {
        font-size: 0.95rem;
    }
    
    .hex-center {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .hex-node {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
        transform: translate(-50%, -50%) rotate(var(--hex-angle)) translateY(-100px) rotate(calc(-1 * var(--hex-angle)));
    }
    
    .hex-node:hover {
        transform: translate(-50%, -50%) rotate(var(--hex-angle)) translateY(-100px) rotate(calc(-1 * var(--hex-angle))) scale(1.2);
    }
    
    .dashboard-display {
        padding: 1.5rem;
    }
    
    .stat-box {
        padding: 1.25rem;
        gap: 1.25rem;
    }
    
    .stat-chart {
        width: 50px;
        height: 50px;
    }
    
    .stat-num {
        font-size: 1.75rem;
    }
    
    .stat-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .visual-container {
        max-width: 95vw;
    }
    
    .agent-central {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .orbit-ring {
        width: 180px;
        height: 180px;
    }
    
    .agent-satellite {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        transform: translate(-50%, -50%) rotate(var(--orbit-angle)) translateY(-90px) rotate(calc(-1 * var(--orbit-angle)));
    }
    
    .agent-satellite:hover {
        transform: translate(-50%, -50%) rotate(var(--orbit-angle)) translateY(-90px) rotate(calc(-1 * var(--orbit-angle))) scale(1.1);
    }
    
    .data-layer {
        width: 100%;
        padding: 1rem 1.25rem;
    }
    
    .data-layer i {
        font-size: 1.75rem;
    }
    
    .flow-arrow {
        font-size: 1.5rem;
    }
    
    .hex-center {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .hex-node {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
        transform: translate(-50%, -50%) rotate(var(--hex-angle)) translateY(-80px) rotate(calc(-1 * var(--hex-angle)));
    }
    
    .hex-node:hover {
        transform: translate(-50%, -50%) rotate(var(--hex-angle)) translateY(-80px) rotate(calc(-1 * var(--hex-angle))) scale(1.2);
    }
    
    .dashboard-display {
        padding: 1.25rem;
    }
    
    .stat-box {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
        gap: 1rem;
    }
    
    .stat-details {
        align-items: center;
    }
    
    .stat-chart {
        width: 60px;
        height: 60px;
    }
    
    .stat-num {
        font-size: 1.5rem;
    }
}

/* ============================================
   SVG & IMAGE VISUALS
   ============================================ */

.svg-visual {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    animation: fadeInScale 0.8s ease-out;
}

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

/* ============================================
   TIMELINE PAN EFFECT
   ============================================ */

.timeline-block {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #020617;
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.55);
}

.timeline-pan {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left center;
    animation: none;
}

.timeline-pan.is-animating {
    animation: pan 20s linear infinite alternate;
}

@keyframes pan {
    0%,
    8% {
        background-position: left center;
    }
    92%,
    100% {
        background-position: right center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .timeline-pan,
    .timeline-pan.is-animating {
        animation: none;
        background-position: center;
    }
}
