/* Educational AI Tracking Background */
.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    background-color: rgba(248, 250, 252, 0.4);
}

.educational-visual {
    position: relative;
    width: 100%;
    height: 100%;
    transition: all 0.6s ease;
    font-size: 1.0rem;
}

/* Progress graph lines */
.graph-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, rgba(41, 128, 185, 0.1), rgba(41, 128, 185, 0.5));
    transform-origin: left center;
}

.line-1 {
    width: 70%;
    top: 30%;
    right: 10%;
    transform: rotate(-5deg);
}

.line-2 {
    width: 60%;
    top: 50%;
    right: 15%;
    transform: rotate(3deg);
}

.line-3 {
    width: 80%;
    top: 70%;
    right: 5%;
    transform: rotate(-8deg);
}

/* Data points */
.data-point {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(52, 152, 219, 0.8);
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.2);
    transition: all 0.4s ease;
}

.point-1 {
    top: 29%;
    right: 40%;
}

.point-2 {
    top: 28%;
    right: 25%;
}

.point-3 {
    top: 49%;
    right: 30%;
}

.point-4 {
    top: 51%;
    right: 55%;
}

.point-5 {
    top: 67%;
    right: 35%;
}

.point-label {
    position: absolute;
    font-size: 10px;
    color: rgba(52, 152, 219, 0.8);
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    font-weight: 500;
}

/* AI analysis visualization */
.analysis-circle {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 1px dashed rgba(52, 152, 219, 0.3);
    border-radius: 50%;
    top: 45%;
    right: 30%;
    animation: rotate 30s linear infinite;
}

/* Triangle element */
.analysis-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 75px solid transparent;
    border-right: 75px solid transparent;
    border-bottom: 127px solid rgba(41, 128, 185, 0.05);
    top: 15%;
    right: 15%;
    transform: rotate(15deg);
    transition: all 0.8s ease;
}

.brain-pattern {
    position: absolute;
    width: 225px;
    height: 225px;
    background-image: radial-gradient(circle, rgba(41, 128, 185, 0.02) 1px, transparent 1px),
    radial-gradient(circle, rgba(41, 128, 185, 0.02) 1px, transparent 1px);
    background-size: 15px 15px;
    background-position: 0 0, 7px 7px;
    top: 35%;
    right: 20%;
    opacity: 0.5;
    animation: pulse 8s ease-in-out infinite;
}

/* Hover animations */
.hero:hover .graph-line.line-1 {
    transform: rotate(-3deg) translateY(-3px);
    background: linear-gradient(90deg, rgba(41, 128, 185, 0.2), rgba(41, 128, 185, 0.7));
}

.hero:hover .graph-line.line-2 {
    transform: rotate(5deg) translateY(-2px);
    background: linear-gradient(90deg, rgba(41, 128, 185, 0.2), rgba(41, 128, 185, 0.7));
}

.hero:hover .graph-line.line-3 {
    transform: rotate(-6deg) translateY(-4px);
    background: linear-gradient(90deg, rgba(41, 128, 185, 0.2), rgba(41, 128, 185, 0.7));
}

.hero:hover .data-point {
    transform: scale(1.4);
    box-shadow: 0 0 0 6px rgba(52, 152, 219, 0.15);
}

.hero:hover .point-label {
    opacity: 1;
}

.hero:hover .analysis-circle {
    border: 1px dashed rgba(52, 152, 219, 0.6);
}

.hero:hover .analysis-triangle {
    transform: rotate(25deg) translateY(-15px);
    border-bottom-color: rgba(41, 128, 185, 0.1);
}

.hero:hover .brain-pattern {
    opacity: 0.7;
}

/* Animations */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
    100% {
        opacity: 0.5;
        transform: scale(1);
    }
}