/* Replace .hero-visual styles with this */
.hero-visual { position: relative; text-align: center; min-height: 340px; }

.brain-network {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.network-connections {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.conn-line {
    stroke-dasharray: 5 3;
    animation: dashFlow 3s linear infinite;
}

@keyframes dashFlow {
    to { stroke-dashoffset: -20; }
}

.brain-core {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

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

@keyframes corePulse {
    0% { width: 80px; height: 80px; opacity: 1; }
    100% { width: 140px; height: 140px; opacity: 0; }
}

.core-inner {
    width: 70px; height: 70px;
    background: linear-gradient(135deg, #06B6D4, #2563EB);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 8px 32px rgba(6,182,212,0.5);
    position: relative;
    z-index: 1;
}

.skill-orb {
    position: absolute;
    width: 56px; height: 56px;
    z-index: 2;
    cursor: pointer;
    transition: all 0.3s;
}

.orb-inner {
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.skill-orb:hover {
    transform: scale(1.15);
}

.skill-orb:hover .orb-inner {
    background: rgba(255,255,255,0.25);
    box-shadow: 0 8px 24px rgba(6,182,212,0.4);
}

.orb-1 { top: 10%; left: 20%; animation: orbFloat 4s ease-in-out infinite; }
.orb-2 { top: 10%; right: 20%; animation: orbFloat 5s ease-in-out infinite 0.5s; }
.orb-3 { top: 45%; left: 5%; animation: orbFloat 4.5s ease-in-out infinite 1s; }
.orb-4 { top: 45%; right: 5%; animation: orbFloat 5.5s ease-in-out infinite 1.5s; }
.orb-5 { bottom: 5%; left: 25%; animation: orbFloat 4.8s ease-in-out infinite 2s; }
.orb-6 { bottom: 5%; right: 25%; animation: orbFloat 5.2s ease-in-out infinite 2.5s; }

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



/* Replace .hero-visual styles with this */
.hero-visual { position: relative; text-align: center; min-height: 320px; }

.learning-flow {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 260px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    gap: 0;
}

.flow-path {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.path-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawPath 3s ease forwards;
}

@keyframes drawPath {
    to { stroke-dashoffset: 0; }
}

.flow-node {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.node-inner {
    width: 68px; height: 68px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(6,182,212,0.3);
    animation: nodePulse 2s ease-in-out infinite;
}

.node-icon { font-size: 1.8rem; }

.node-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.node-start .node-inner { animation-delay: 0s; }
.node-assess .node-inner { animation-delay: 0.3s; }
.node-learn .node-inner { animation-delay: 0.6s; }
.node-grow .node-inner { animation-delay: 0.9s; }

@keyframes nodePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 24px rgba(6,182,212,0.3); }
    50% { transform: scale(1.08); box-shadow: 0 12px 32px rgba(6,182,212,0.5); }
}

.flow-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 6px; height: 6px;
    background: #67e8f9;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(103,232,249,0.8);
}

.p-1 {
    top: 30%; left: 20%;
    animation: particleMove 4s linear infinite;
}

.p-2 {
    top: 50%; left: 50%;
    animation: particleMove 5s linear infinite 1s;
}

.p-3 {
    top: 60%; left: 75%;
    animation: particleMove 4.5s linear infinite 2s;
}

@keyframes particleMove {
    0% { transform: translateX(0) translateY(0); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateX(200px) translateY(-50px); opacity: 0; }
}
