﻿/* Override HomeLayout's global teal background */
.page {
    background-color: transparent !important;
}

.top-row {
    background-color: transparent !important;
}

.container-fluid {
    background-color: transparent !important;
}

main,
.content {
    background-color: transparent !important;
}

/* PAGE WRAPPER — remove teal background completely */
.ai-agents-wrapper {
    min-height: 100vh;
    width: 100%;
    position: relative;
    overflow-x: hidden;
    background: transparent !important;
}

/* FULL PAGE BACKGROUND IMAGE */
.ai-agents-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://edubuddydata.blob.core.windows.net/project-images/BackgroundImage.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 1;
    pointer-events: none;
}

/* REMOVE gradient layer completely */
.ai-agents-gradient {
    display: none !important;
}

/* Animation */
@keyframes greenFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* FLOATING CIRCLE GRADIENT ANIMATION */
.ai-agents-wrapper::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

@keyframes floatingCircle1 {
    0% {
        transform: translate(0, 0);
        opacity: 0.1;
    }

    25% {
        opacity: 0.25;
    }

    50% {
        transform: translate(100px, 100px);
        opacity: 0.15;
    }

    75% {
        opacity: 0.2;
    }

    100% {
        transform: translate(0, 0);
        opacity: 0.1;
    }
}

@keyframes floatingCircle2 {
    0% {
        transform: translate(0, 0);
        opacity: 0.08;
    }

    25% {
        opacity: 0.15;
    }

    50% {
        transform: translate(-80px, 120px);
        opacity: 0.12;
    }

    75% {
        opacity: 0.1;
    }

    100% {
        transform: translate(0, 0);
        opacity: 0.08;
    }
}

@keyframes floatingCircle3 {
    0% {
        transform: translate(0, 0);
        opacity: 0.12;
    }

    25% {
        opacity: 0.2;
    }

    50% {
        transform: translate(60px, -100px);
        opacity: 0.15;
    }

    75% {
        opacity: 0.18;
    }

    100% {
        transform: translate(0, 0);
        opacity: 0.12;
    }
}

.floating-circle {
    position: fixed;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 255, 107, 0.4), rgba(0, 255, 107, 0.05));
    pointer-events: none;
    z-index: 1;
}

.floating-circle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    animation: floatingCircle1 20s ease-in-out infinite;
}

.floating-circle-2 {
    width: 150px;
    height: 150px;
    top: 40%;
    right: 10%;
    animation: floatingCircle2 25s ease-in-out infinite;
}

.floating-circle-3 {
    width: 180px;
    height: 180px;
    bottom: 20%;
    left: 15%;
    animation: floatingCircle3 22s ease-in-out infinite;
}

/* HERO SECTION WITH ITS OWN IMAGE */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
    background-image: url('https://edubuddydata.blob.core.windows.net/project-images/AIAgentPage.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 10;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
        z-index: 1;
    }

.hero-content {
    text-align: center;
    max-width: 900px;
    animation: heroFadeIn 1s ease-out forwards;
    position: relative;
    z-index: 2;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #00ff6b;
    animation: titleGlow 3s ease-in-out infinite;
    letter-spacing: -1px;
    text-shadow: 0 0 20px rgba(0, 255, 107, 0.4), 0 0 40px rgba(0, 255, 107, 0.2);
}

@keyframes titleGlow {

    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(0, 255, 107, 0.3));
    }

    50% {
        filter: drop-shadow(0 0 40px rgba(0, 255, 107, 0.5));
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #c1ffc0;
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 300;
    animation: heroFadeIn 1.2s ease-out forwards;
    text-shadow: 0 0 10px rgba(0, 255, 107, 0.2);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: heroFadeIn 1.4s ease-out forwards;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.btn-primary-glow {
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    background: linear-gradient(135deg, #00ff6b 0%, #00cc54 100%);
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 0 rgba(0, 200, 100, 0.6), 0 12px 20px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 255, 107, 0.3);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    display: inline-block;
    white-space: nowrap;
    min-width: 160px;
    text-align: center;
}

    .btn-primary-glow:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 0 rgba(0, 200, 100, 0.6), 0 16px 30px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 255, 107, 0.5);
    }

    .btn-primary-glow:active {
        transform: translateY(-2px);
        box-shadow: 0 6px 0 rgba(0, 200, 100, 0.6), 0 8px 15px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 255, 107, 0.3);
    }

.btn-secondary-glow {
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border: 2px solid rgba(0, 255, 107, 0.8);
    border-radius: 50px;
    cursor: pointer;
    background: transparent;
    color: #00ff6b;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 0 rgba(0, 255, 107, 0.3), 0 10px 20px rgba(0, 0, 0, 0.2), inset 0 0 10px rgba(0, 255, 107, 0.1);
    transform: translateY(0);
    display: inline-block;
    white-space: nowrap;
    min-width: 160px;
    text-align: center;
}

    .btn-secondary-glow:hover {
        border-color: #00ff8f;
        background: rgba(0, 255, 107, 0.15);
        transform: translateY(-4px);
        box-shadow: 0 10px 0 rgba(0, 255, 107, 0.4), 0 14px 28px rgba(0, 0, 0, 0.3), inset 0 0 15px rgba(0, 255, 107, 0.15);
        color: #00ff8f;
    }

    .btn-secondary-glow:active {
        transform: translateY(-2px);
        box-shadow: 0 6px 0 rgba(0, 255, 107, 0.3), 0 8px 15px rgba(0, 0, 0, 0.2), inset 0 0 10px rgba(0, 255, 107, 0.1);
    }

/* FEATURES SECTION */
.features-section {
    padding: 100px 20px;
    background: transparent;
    position: relative;
    z-index: 10;
    opacity: 0;
    transform: scale(0.95) translateY(50px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

    .features-section.zoom-visible {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

.section-title {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 60px;
    color: #00ff6b;
    filter: drop-shadow(0 0 20px rgba(0, 255, 107, 0.3));
    text-shadow: 0 0 30px rgba(0, 255, 107, 0.4), 0 0 60px rgba(0, 255, 107, 0.2);
    animation: titleGlow 3s ease-in-out infinite;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(10, 15, 18, 0.7);
    border: 2px solid rgba(0, 255, 107, 0.25);
    /* green outline */
    border-radius: 15px;
    padding: 40px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 12px rgba(0, 255, 107, 0.12), inset 0 0 10px rgba(0, 255, 107, 0.04);
    /* Zoom in on scroll */
    opacity: 0;
    transform: scale(0.75) translateY(40px);
    transition: all 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

    .feature-card.card-zoom-visible {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

    .feature-card:hover {
        border-color: rgba(0, 255, 107, 0.7);
        box-shadow: 0 8px 30px rgba(0, 255, 107, 0.25), 0 0 50px rgba(0, 255, 107, 0.18), inset 0 0 18px rgba(0, 255, 107, 0.08);
        transform: translateY(-10px) scale(1.02);
        background: rgba(12, 25, 20, 0.88);
    }

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 12px rgba(0, 255, 107, 0.45));
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {

    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #00ff6b;
    text-shadow: 0 0 8px rgba(0, 255, 107, 0.3);
}

.feature-description {
    color: #c1ffc0;
    line-height: 1.6;
    font-size: 0.95rem;
    text-shadow: 0 0 5px rgba(0, 255, 107, 0.1);
}

/* CURRICULUM CAROUSEL SECTION */
.curriculum-carousel-section {
    padding: 80px 20px;
    background: transparent;
    position: relative;
    z-index: 10;
}

.carousel-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 50px;
    color: #00ff6b;
    filter: drop-shadow(0 0 20px rgba(0, 255, 107, 0.3));
    text-shadow: 0 0 25px rgba(0, 255, 107, 0.4), 0 0 50px rgba(0, 255, 107, 0.2);
}

.carousel-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #c1ffc0;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 0 8px rgba(0, 255, 107, 0.2);
}

.curriculum-carousel {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

    .curriculum-carousel::before,
    .curriculum-carousel::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 100px;
        z-index: 20;
        pointer-events: none;
    }

    .curriculum-carousel::before {
        left: 0;
        background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    }

    .curriculum-carousel::after {
        right: 0;
        background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    }

.carousel-track {
    display: flex;
    gap: 30px;
    padding: 20px;
    animation: scrollCarousel 30s linear infinite;
    will-change: transform;
}

    .carousel-track:hover {
        animation-play-state: paused;
    }

@keyframes scrollCarousel {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.curriculum-button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    min-width: 200px;
}

.curriculum-btn {
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border: 2px solid rgba(0, 255, 107, 0.4);
    border-radius: 50px;
    cursor: pointer;
    background: rgba(10, 15, 25, 0.6);
    color: #00ff6b;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 255, 107, 0.1), inset 0 0 10px rgba(0, 255, 107, 0.05);
    letter-spacing: 0.5px;
    text-shadow: 0 0 8px rgba(0, 255, 107, 0.2);
    white-space: nowrap;
}

    .curriculum-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #4f46e5 0%, #a855f7 100%);
        transition: left 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
        z-index: -1;
    }

    .curriculum-btn:hover {
        border-color: #a855f7;
        color: #ffffff;
        transform: translateY(-8px) scale(1.05);
        box-shadow: 0 12px 35px rgba(168, 85, 247, 0.35), 0 0 60px rgba(168, 85, 247, 0.2), inset 0 0 20px rgba(168, 85, 247, 0.1);
    }

        .curriculum-btn:hover::before {
            left: 0;
        }

    .curriculum-btn:active {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 8px 25px rgba(168, 85, 247, 0.25), 0 0 45px rgba(168, 85, 247, 0.15), inset 0 0 15px rgba(168, 85, 247, 0.08);
    }

/* AGENT SPOTLIGHT SECTION */
.agent-spotlight-section {
    padding: 100px 20px;
    background: transparent;
    position: relative;
    z-index: 10;
}

.spotlight-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

/* Image Side - Timeline */
.spotlight-image-side {
    flex: 1;
    min-width: 300px;
    position: relative;
    opacity: 0;
    animation: slideInLeftScroll 1s ease-out forwards;
}

    .spotlight-image-side.scroll-animated {
        animation: slideInLeftScroll 1s ease-out forwards;
    }

.spotlight-image {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    border: 3px solid rgba(0, 255, 107, 0.5);
    box-shadow: 0 0 30px rgba(0, 255, 107, 0.25), 0 0 60px rgba(0, 255, 107, 0.15), inset 0 0 20px rgba(0, 255, 107, 0.1);
    transition: all 0.5s ease;
    overflow: hidden;
    position: relative;
}

/* SYLLABUS SPOTLIGHT IMAGE HOVER OVERLAY */
.syllabus-spotlight-image {
    position: relative;
}

.spotlight-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: rgba(0, 0, 0, 0.95);
    border-radius: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 100;
    padding: 0;
}

    .spotlight-overlay.show {
        opacity: 1;
        pointer-events: auto;
    }

.syllabus-spotlight-question {
    position: relative;
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.95), rgba(40, 35, 95, 0.92));
    border-bottom: 2px solid #4f46e5;
    border-radius: 20px 20px 0 0;
    padding: 16px 14px;
    color: #4f46e5;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    flex-shrink: 0;
    opacity: 0;
    animation: fadeInOverlay 0.25s ease forwards;
}

    .syllabus-spotlight-question.show {
        opacity: 1;
    }

.syllabus-spotlight-answer {
    position: relative;
    background: rgba(20, 15, 50, 0.95);
    border-radius: 0 0 20px 20px;
    padding: 14px;
    flex: 1;
    overflow-y: auto;
    opacity: 0;
    animation: fadeInAnswer 0.2s ease forwards;
}

    .syllabus-spotlight-answer.show {
        opacity: 1;
    }

.spotlight-image:hover .spotlight-overlay {
    opacity: 1;
    pointer-events: auto;
}

/* EXAM BUILDER SPOTLIGHT IMAGE HOVER OVERLAY */
.exam-builder-spotlight-image {
    position: relative;
}

.exam-builder-spotlight-question {
    position: relative;
    background: linear-gradient(135deg, rgba(92, 50, 10, 0.95), rgba(110, 65, 15, 0.92));
    border-bottom: 2px solid #f59e0b;
    border-radius: 20px 20px 0 0;
    padding: 16px 14px;
    color: #f59e0b;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    flex-shrink: 0;
    opacity: 0;
    animation: fadeInOverlay 0.25s ease forwards;
}

    .exam-builder-spotlight-question.show {
        opacity: 1;
    }

.exam-builder-spotlight-answer {
    position: relative;
    background: rgba(40, 30, 10, 0.95);
    border-radius: 0 0 20px 20px;
    padding: 14px;
    flex: 1;
    overflow-y: auto;
    opacity: 0;
    animation: fadeInAnswer 0.2s ease forwards;
}

    .exam-builder-spotlight-answer.show {
        opacity: 1;
    }

.spotlight-image:hover {
    border-color: rgba(0, 255, 107, 0.8);
    box-shadow: 0 0 50px rgba(0, 255, 107, 0.4), 0 0 100px rgba(0, 255, 107, 0.2), inset 0 0 25px rgba(0, 255, 107, 0.15);
    transform: translateY(-10px) scale(1.02);
}

.spotlight-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Content Side - Timeline */
.spotlight-content-side {
    flex: 1;
    min-width: 300px;
    opacity: 0;
    animation: slideInRightScroll 1s ease-out forwards;
}

    .spotlight-content-side.scroll-animated {
        animation: slideInRightScroll 1s ease-out forwards;
    }

.spotlight-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #00ff6b;
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(0, 255, 107, 0.3);
}

.spotlight-timeline {
    position: relative;
    padding-left: 50px;
}

    .spotlight-timeline::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background: linear-gradient(180deg, rgba(0, 255, 107, 0.8) 0%, rgba(0, 255, 107, 0.4) 50%, rgba(0, 255, 107, 0.1) 100%);
        border-radius: 2px;
    }

.timeline-item {
    margin-bottom: 35px;
    opacity: 0;
    animation: timelineItemFade 0.8s ease-out forwards;
    position: relative;
}

    .timeline-item:nth-child(1) {
        animation-delay: 0.3s;
    }

    .timeline-item:nth-child(2) {
        animation-delay: 0.4s;
    }

    .timeline-item:nth-child(3) {
        animation-delay: 0.5s;
    }

    .timeline-item:nth-child(4) {
        animation-delay: 0.6s;
    }

@keyframes timelineItemFade {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -57px;
    top: 3px;
    width: 16px;
    height: 16px;
    background: #00ff8f;
    border: 3px solid rgba(10, 20, 40, 0.95);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(0, 255, 143, 0.8), 0 0 20px rgba(0, 255, 107, 0.4);
    transition: all 0.3s ease;
}

.timeline-item:hover::before {
    width: 24px;
    height: 24px;
    left: -61px;
    box-shadow: 0 0 25px rgba(0, 255, 143, 1), 0 0 40px rgba(0, 255, 107, 0.6);
}

.timeline-item-icon {
    font-size: 1.5rem;
    margin-right: 12px;
    display: inline-block;
    animation: iconBounce 0.6s ease-out forwards;
}

.timeline-item:nth-child(1) .timeline-item-icon {
    animation-delay: 0.3s;
}

.timeline-item:nth-child(2) .timeline-item-icon {
    animation-delay: 0.4s;
}

.timeline-item:nth-child(3) .timeline-item-icon {
    animation-delay: 0.5s;
}

.timeline-item:nth-child(4) .timeline-item-icon {
    animation-delay: 0.6s;
}

@keyframes iconBounce {
    from {
        opacity: 0;
        transform: scale(0) translateY(-10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.timeline-item-heading {
    font-size: 1.2rem;
    font-weight: 800;
    color: #00ff8f;
    text-shadow: 0 0 10px rgba(0, 255, 143, 0.5), 0 0 20px rgba(0, 255, 107, 0.2);
    margin: 0 0 6px 0;
    display: flex;
    align-items: center;
}

.timeline-item-text {
    font-size: 1rem;
    color: #c1ffc0;
    line-height: 1.5;
    font-weight: 400;
    margin: 0;
}

/* REVERSED SPOTLIGHT LAYOUT (Image on Right) */
.spotlight-container.reverse {
    flex-direction: row-reverse;
}

    .spotlight-container.reverse .spotlight-image-side {
        animation: slideInRightScroll 1s ease-out forwards;
    }

    .spotlight-container.reverse .spotlight-content-side {
        animation: slideInLeftScroll 1s ease-out forwards;
    }

/* RESPONSIVE TIMELINE */
@media (max-width: 968px) {
    .spotlight-container {
        flex-direction: column;
        gap: 40px;
    }

        .spotlight-container.reverse {
            flex-direction: column;
        }

    .spotlight-image-side {
        display: flex;
        justify-content: center;
    }

    .spotlight-image {
        max-width: 100%;
    }
}

.agents-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    perspective: 1200px;
}

/* FLIP CARD CONTAINER */
.agent-card-wrapper {
    position: relative;
    height: 220px;
    cursor: pointer;
}

.agent-card {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-style: preserve-3d;
}

.agent-card-wrapper:hover .agent-card {
    transform: rotateY(180deg);
}

/* CARD FRONT SIDE */
.agent-card-front,
.agent-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 40px;
    border-radius: 20px;
    border: 3px solid;
    background: rgba(10, 20, 40, 0.9);
    backdrop-filter: blur(15px);
}

.agent-card-front {
    border-color: #00ff6b;
    box-shadow: 0 0 12px rgba(0, 255, 107, 0.25), 0 0 20px rgba(0, 255, 107, 0.15), inset 0 0 10px rgba(0, 255, 107, 0.06), 0 4px 16px rgba(0, 255, 107, 0.12);
    transition: all 0.4s ease;
}

    .agent-card-front:hover {
        border-color: #00ff8f;
        box-shadow: 0 0 18px rgba(0, 255, 107, 0.35), 0 0 32px rgba(0, 255, 107, 0.2), inset 0 0 15px rgba(0, 255, 107, 0.1), 0 6px 24px rgba(0, 255, 107, 0.2);
    }

/* CARD BACK SIDE */
.agent-card-back {
    transform: rotateY(180deg);
    border-color: #00ff8f;
    box-shadow: 0 0 12px rgba(0, 255, 143, 0.25), 0 0 20px rgba(0, 255, 143, 0.15), inset 0 0 10px rgba(0, 255, 143, 0.06), 0 4px 16px rgba(0, 255, 143, 0.12);
    text-align: center;
}

.agent-icon {
    font-size: 2rem;
    margin-bottom: 5px;
    animation: iconPulse 3s ease-in-out infinite;
    filter: drop-shadow(0 0 6px rgba(0, 255, 107, 0.5));
}

@keyframes iconPulse {

    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 6px rgba(0, 255, 107, 0.5));
    }

    50% {
        transform: scale(1.08);
        filter: drop-shadow(0 0 12px rgba(0, 255, 107, 0.75));
    }
}

.agent-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #00ff6b;
    margin-bottom: 3px;
    text-shadow: 0 0 8px rgba(0, 255, 107, 0.4);
}

.agent-card-subtitle {
    font-size: 0.75rem;
    color: #a0ff9f;
    font-weight: 600;
    margin-bottom: 0;
    letter-spacing: 0.5px;
}

.agent-card-back-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.agent-card-back-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #00ff8f;
    text-shadow: 0 0 8px rgba(0, 255, 143, 0.4);
}

.agent-card-back-description {
    color: #c1ffc0;
    font-size: 0.8rem;
    line-height: 1.35;
    margin: 0;
}

/* SCROLL ANIMATIONS */
.agent-card-wrapper:nth-child(1) {
    animation: slideInRight 0.8s ease-out forwards 0.1s;
}

.agent-card-wrapper:nth-child(2) {
    animation: slideInRight 0.8s ease-out forwards 0.2s;
}

.agent-card-wrapper:nth-child(3) {
    animation: slideInLeft 0.8s ease-out forwards 0.1s;
}

.agent-card-wrapper:nth-child(4) {
    animation: slideInLeft 0.8s ease-out forwards 0.2s;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeftScroll {
    from {
        opacity: 0;
        transform: translateX(-80px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRightScroll {
    from {
        opacity: 0;
        transform: translateX(80px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* SYLLABUS AGENT HOVER-TO-REVEAL STYLES */
.agent-card-syllabus .agent-card-back-content {
    gap: 0;
    justify-content: space-between;
    padding: 0;
}

.agent-question-overlay {
    position: relative;
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.95), rgba(40, 35, 95, 0.92));
    border: 2px solid #4f46e5;
    border-radius: 12px;
    padding: 14px;
    color: #4f46e5;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    flex-shrink: 0;
    margin: 15px;
    margin-bottom: 8px;
    min-height: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    animation: fadeInOverlay 0.25s ease forwards;
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.agent-question-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.syllabus-answer-wrapper {
    position: relative;
    background: rgba(20, 15, 50, 0.95);
    border: 2px solid #fbbf24;
    border-radius: 10px;
    padding: 12px;
    flex: 1;
    margin: 0 15px 15px 15px;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    animation: fadeInAnswer 0.2s ease forwards;
}

@keyframes fadeInAnswer {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.syllabus-answer-wrapper.show {
    opacity: 1;
    pointer-events: auto;
}

.typing-text {
    color: #fbbf24;
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    line-height: 1.3;
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 0.9em;
    background-color: #fbbf24;
    margin-left: 2px;
    animation: cursorBlink 1s infinite;
    vertical-align: text-bottom;
}

@keyframes cursorBlink {

    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Accessibility: respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {

    .agent-question-overlay,
    .syllabus-answer-wrapper,
    .typing-cursor {
        animation: none !important;
    }
}

/* SCROLLBAR STYLING FOR ANSWER BOX */
.syllabus-answer-wrapper::-webkit-scrollbar {
    width: 5px;
}

.syllabus-answer-wrapper::-webkit-scrollbar-track {
    background: rgba(75, 70, 100, 0.3);
    border-radius: 5px;
}

.syllabus-answer-wrapper::-webkit-scrollbar-thumb {
    background: #fbbf24;
    border-radius: 5px;
}

    .syllabus-answer-wrapper::-webkit-scrollbar-thumb:hover {
        background: #fcd34d;
    }

.syllabus-answer-wrapper::-webkit-scrollbar-track {
    background: rgba(75, 70, 100, 0.3);
    border-radius: 10px;
}

.syllabus-answer-wrapper::-webkit-scrollbar-thumb {
    background: #fbbf24;
    border-radius: 10px;
    opacity: 0.6;
}

    .syllabus-answer-wrapper::-webkit-scrollbar-thumb:hover {
        background: #fcd34d;
        opacity: 0.8;
    }

.agent-btn {
    padding: 10px 25px;
    background: linear-gradient(135deg, #555555 0%, #777777 100%);
    color: #ffffff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(150, 150, 150, 0.3);
}

    .agent-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 0 25px rgba(150, 150, 150, 0.5);
    }

/* STATS SECTION */
.stats-section {
    padding: 80px 20px;
    background: transparent;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 15px;
    background: rgba(10, 15, 18, 0.5);
    border: 2px solid rgba(0, 255, 107, 0.2);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.8) translateY(40px);
}

    .stat-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(0, 255, 107, 0.2), transparent);
        transition: left 0.6s ease;
        z-index: -1;
    }

    .stat-item:hover::before {
        left: 100%;
    }

    .stat-item:hover {
        border-color: rgba(0, 255, 107, 0.8);
        background: rgba(10, 30, 20, 0.8);
        box-shadow: 0 0 30px rgba(0, 255, 107, 0.35), 0 0 50px rgba(0, 255, 107, 0.15), inset 0 0 15px rgba(0, 255, 107, 0.1);
        transform: scale(1.08) translateY(-15px);
    }

    .stat-item.card-zoom-visible {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

    .stat-item:nth-child(1) {
        animation-delay: 0s;
    }

    .stat-item:nth-child(2) {
        animation-delay: 0.15s;
    }

    .stat-item:nth-child(3) {
        animation-delay: 0.3s;
    }

    .stat-item:nth-child(4) {
        animation-delay: 0.45s;
    }

@keyframes statBounce {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(40px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #00ff6b;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 20px rgba(0, 255, 107, 0.4));
    text-shadow: 0 0 15px rgba(0, 255, 107, 0.3);
    transition: all 0.4s ease;
    display: inline-block;
    min-width: 150px;
}

.stat-item:hover .stat-number {
    font-size: 3.5rem;
    color: #00ff8f;
    filter: drop-shadow(0 0 30px rgba(0, 255, 107, 0.6));
    text-shadow: 0 0 25px rgba(0, 255, 107, 0.5), 0 0 40px rgba(0, 255, 107, 0.3);
    transform: scale(1.1) translateY(-5px);
}

.stat-label {
    color: #c1ffc0;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(0, 255, 107, 0.2);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.stat-item:hover .stat-label {
    color: #00ff8f;
    font-size: 1.2rem;
    text-shadow: 0 0 12px rgba(0, 255, 107, 0.4);
}

/* TESTIMONIALS SECTION */
.testimonials-section {
    padding: 100px 20px;
    background: transparent;
    position: relative;
    z-index: 10;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: rgba(20, 20, 20, 0.7);
    border: 2px solid rgba(0, 255, 107, 0.3);
    border-radius: 15px;
    padding: 30px;
    animation: testimonialIn 0.8s ease-out forwards;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 0 12px rgba(0, 255, 107, 0.15), inset 0 0 10px rgba(0, 255, 107, 0.05);
}

@keyframes testimonialIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.testimonial-card:hover {
    border-color: rgba(0, 255, 107, 0.7);
    box-shadow: 0 0 25px rgba(0, 255, 107, 0.35), 0 0 40px rgba(0, 255, 107, 0.15), inset 0 0 15px rgba(0, 255, 107, 0.1);
    transform: translateY(-5px);
    background: rgba(25, 40, 35, 0.8);
}

.testimonial-text {
    color: #e0f2e8;
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.8;
    font-style: italic;
    text-shadow: 0 0 5px rgba(0, 255, 107, 0.1);
    transition: color 0.3s ease;
}

.testimonial-card:hover .testimonial-text {
    color: #c1ffc0;
    text-shadow: 0 0 8px rgba(0, 255, 107, 0.2);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(0, 255, 107, 0.3) 0%, rgba(0, 200, 80, 0.4) 100%);
    border: 2px solid rgba(0, 255, 107, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #00ff6b;
    box-shadow: 0 0 15px rgba(0, 255, 107, 0.4), inset 0 0 8px rgba(0, 255, 107, 0.2);
    transition: all 0.3s ease;
}

.testimonial-card:hover .author-avatar {
    background: linear-gradient(135deg, rgba(0, 255, 107, 0.5) 0%, rgba(0, 200, 80, 0.6) 100%);
    box-shadow: 0 0 25px rgba(0, 255, 107, 0.6), inset 0 0 12px rgba(0, 255, 107, 0.3);
    border-color: #00ff6b;
}

.author-info h4 {
    color: #00ff6b;
    margin-bottom: 5px;
    text-shadow: 0 0 8px rgba(0, 255, 107, 0.3);
}

.author-info p {
    color: #c1ffc0;
    font-size: 0.9rem;
}

/* CTA SECTION */
.cta-section {
    padding: 100px 20px;
    text-align: center;
    background: transparent;
    position: relative;
    z-index: 10;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: #00ff6b;
    filter: drop-shadow(0 0 20px rgba(0, 255, 107, 0.4));
    text-shadow: 0 0 20px rgba(0, 255, 107, 0.3);
}

.cta-subtitle {
    font-size: 1.3rem;
    color: #c1ffc0;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 0 8px rgba(0, 255, 107, 0.2);
}

/* FOOTER */
.footer {
    background: rgba(0, 0, 0, 0.95);
    border-top: 1px solid rgba(0, 255, 107, 0.2);
    padding: 60px 20px 20px;
    color: #c1ffc0;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #00ff6b;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 255, 107, 0.3);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #c1ffc0;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .footer-section a:hover {
        color: #00ff8f;
        text-shadow: 0 0 8px rgba(0, 255, 107, 0.3);
    }

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 255, 107, 0.1);
    color: #a0ff9f;
    text-shadow: 0 0 5px rgba(0, 255, 107, 0.2);
}

/* FADE IN ON SCROLL */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

    .fade-in-on-scroll.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* ZOOM IN ON SCROLL ANIMATION */
.zoom-in-on-scroll {
    opacity: 0;
    transform: scale(0.8) translateY(50px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

    .zoom-in-on-scroll.visible {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

/* ENHANCED ZOOM ANIMATION FOR MAIN SECTIONS */
.zoom-section {
    opacity: 0;
    transform: scale(0.85) translateY(60px);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

    .zoom-section.zoom-visible {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

/* APPLY ZOOM ANIMATION TO SECTIONS */
.features-section,
.agent-spotlight-section,
.agents-section,
.stats-section,
.testimonials-section,
.cta-section {
    opacity: 0;
    transform: scale(0.95) translateY(50px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

    .features-section.zoom-visible,
    .agent-spotlight-section.zoom-visible,
    .agents-section.zoom-visible,
    .stats-section.zoom-visible,
    .testimonials-section.zoom-visible,
    .cta-section.zoom-visible {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

/* STAGGERED ZOOM ANIMATION FOR CARDS */
.agent-card-wrapper,
.testimonial-card,
.stat-item {
    opacity: 0;
    transform: scale(0.8) translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

    .agent-card-wrapper.card-zoom-visible,
    .testimonial-card.card-zoom-visible,
    .stat-item.card-zoom-visible {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

/* TIMELINE ITEMS ZOOM ANIMATION */
.timeline-item {
    opacity: 0;
    transform: scale(0.9) translateX(-20px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

    .timeline-item.timeline-zoom-visible {
        opacity: 1;
        transform: scale(1) translateX(0);
    }

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        padding: 0 20px;
    }

    .btn-primary-glow,
    .btn-secondary-glow {
        width: 100%;
        max-width: none;
        padding: 14px 20px;
        font-size: 1rem;
        min-width: auto;
    }

        .btn-primary-glow:hover,
        .btn-secondary-glow:hover {
            transform: translateY(-3px);
        }

    .stat-number {
        font-size: 2rem;
    }

    /* CAROUSEL RESPONSIVE */
    .carousel-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .carousel-subtitle {
        font-size: 0.95rem;
        margin-bottom: 40px;
    }

    .carousel-track {
        gap: 20px;
        padding: 15px;
        animation: scrollCarouselMobile 40s linear infinite;
    }

    .curriculum-button-wrapper {
        min-width: 160px;
    }

    .curriculum-btn {
        padding: 14px 30px;
        font-size: 0.95rem;
    }

    @keyframes scrollCarouselMobile {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-50%);
        }
    }

    /* AGENTS GRID RESPONSIVE */
    .agents-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 100%;
    }

    .agent-card-wrapper {
        height: 200px;
    }

    .agent-card-title {
        font-size: 1.15rem;
    }

    .agent-card-back-title {
        font-size: 1.05rem;
    }

    .agent-card-back-description {
        font-size: 0.75rem;
    }

    .agent-icon {
        font-size: 1.8rem;
    }
}

@media (max-width: 600px) {
    .cta-buttons {
        padding: 0 15px;
        gap: 12px;
    }

    .btn-primary-glow,
    .btn-secondary-glow {
        padding: 12px 16px;
        font-size: 0.95rem;
        border-radius: 40px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 40px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cta-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .cta-buttons {
        padding: 0 10px;
        gap: 10px;
    }

    .btn-primary-glow,
    .btn-secondary-glow {
        padding: 10px 14px;
        font-size: 0.9rem;
        letter-spacing: -0.3px;
    }

        .btn-primary-glow:hover,
        .btn-secondary-glow:hover {
            transform: translateY(-2px);
        }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .cta-title {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 1.3rem;
        margin-bottom: 30px;
    }

    .cta-subtitle {
        font-size: 0.9rem;
    }

    .agents-grid {
        gap: 20px;
    }

    .agent-card-wrapper {
        height: 180px;
    }

    .agent-card-front,
    .agent-card-back {
        padding: 18px 25px;
    }

    .agent-card-title {
        font-size: 1rem;
    }

    .agent-card-back-title {
        font-size: 0.95rem;
    }

    .agent-card-back-description {
        font-size: 0.7rem;
        line-height: 1.3;
    }

    .agent-icon {
        font-size: 1.6rem;
    }

    .spotlight-title {
        font-size: 1.8rem;
    }

    .timeline-item-heading {
        font-size: 1rem;
    }

    .timeline-item-text {
        font-size: 0.9rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

.exam-builder-spotlight-answer.show {
    opacity: 1;
}

/* HELP AGENT SPOTLIGHT IMAGE HOVER OVERLAY */
.help-agent-spotlight-image {
    position: relative;
}

.help-agent-spotlight-question {
    position: relative;
    background: linear-gradient(135deg, rgba(25, 50, 80, 0.95), rgba(35, 65, 100, 0.92));
    border-bottom: 2px solid #06b6d4;
    border-radius: 20px 20px 0 0;
    padding: 16px 14px;
    color: #06b6d4;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    flex-shrink: 0;
    opacity: 0;
    animation: fadeInOverlay 0.25s ease forwards;
}

    .help-agent-spotlight-question.show {
        opacity: 1;
    }

.help-agent-spotlight-answer {
    position: relative;
    background: rgba(15, 30, 45, 0.95);
    border-radius: 0 0 20px 20px;
    padding: 14px;
    flex: 1;
    overflow-y: auto;
    opacity: 0;
    animation: fadeInAnswer 0.2s ease forwards;
}

    .help-agent-spotlight-answer.show {
        opacity: 1;
    }

/* TEACHER COPILOT SPOTLIGHT IMAGE HOVER OVERLAY */
.teacher-copilot-spotlight-image {
    position: relative;
}

.teacher-copilot-spotlight-question {
    position: relative;
    background: linear-gradient(135deg, rgba(25, 50, 80, 0.95), rgba(35, 65, 100, 0.92));
    border-bottom: 2px solid #06b6d4;
    border-radius: 20px 20px 0 0;
    padding: 16px 14px;
    color: #06b6d4;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    flex-shrink: 0;
    opacity: 0;
    animation: fadeInOverlay 0.25s ease forwards;
}

    .teacher-copilot-spotlight-question.show {
        opacity: 1;
    }

.teacher-copilot-spotlight-answer {
    position: relative;
    background: rgba(15, 30, 45, 0.95);
    border-radius: 0 0 20px 20px;
    padding: 14px;
    flex: 1;
    overflow-y: auto;
    opacity: 0;
    animation: fadeInAnswer 0.2s ease forwards;
}

    .teacher-copilot-spotlight-answer.show {
        opacity: 1;
    }

    .teacher-copilot-spotlight-answer .typing-text {
        color: #fbbf24;
        font-family: 'Courier New', monospace;
        font-size: 0.7rem;
        line-height: 1.3;
        margin: 0;
        white-space: pre-wrap;
        word-wrap: break-word;
    }

    .teacher-copilot-spotlight-answer .typing-cursor {
        display: inline-block;
        width: 2px;
        height: 0.9em;
        background-color: #fbbf24;
        margin-left: 2px;
        animation: cursorBlink 1s infinite;
        vertical-align: text-bottom;
    }
