/* Page Specific Styles - Academic Theme (Indigo/Violet) */
.academic-hero {
    /* background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%); Indigo 950 to Indigo 900 */
    padding: 8rem 0 5rem;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.academic-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.academic-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #e0e7ff;
    /* Indigo 50 */
}

.academic-text span.highlight {
    color: #818cf8;
    /* Indigo 400 */
    background: linear-gradient(135deg, #818cf8, #6366f1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: #c7d2fe;
    /* Indigo 200 */
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.subtitle strong {
    color: #fff;
}

.academic-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Abstract Academic Interface - Indigo Theme */
.academic-interface {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(129, 140, 248, 0.2);
    border-radius: 20px;
    padding: 20px;
    width: 100%;
    max-width: 550px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
    position: relative;
}

.academic-interface:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
    border-color: rgba(129, 140, 248, 0.4);
}

/* Mockup Structure */
.mock-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(129, 140, 248, 0.1);
}

.mock-sidebar {
    width: 20%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mock-content {
    width: 75%;
}

.mock-line {
    height: 10px;
    background: rgba(129, 140, 248, 0.2);
    border-radius: 5px;
    margin-bottom: 10px;
}

.mock-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid rgba(129, 140, 248, 0.1);
}

.mock-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(129, 140, 248, 0.2);
    color: #818cf8;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

/* Button Styling - Indigo Theme */
.btn-neon {
    background: linear-gradient(90deg, #4f46e5, #6366f1);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    /* Standardized Shape */
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-neon:hover {
    background: linear-gradient(90deg, #6366f1, #818cf8) !important;
    /* Lighter Indigo */
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(99, 102, 241, 0.6);
    border-color: rgba(129, 140, 248, 0.5);
}

.btn-secondary-neon {
    background: transparent;
    color: white;
    padding: 0 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(129, 140, 248, 0.5);
    box-shadow: none;
}

.btn-secondary-neon:hover {
    background: linear-gradient(90deg, #6366f1, #818cf8);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(99, 102, 241, 0.6);
}

/* Feature Cards - Indigo Overlay */
.feature-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #eef2ff;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(79, 70, 229, 0.15);
    border-color: #c7d2fe;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: #eef2ff;
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e1b4b;
}

.feature-desc {
    color: #4b5563;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Timeline Styles */
.timeline-section {
    padding: 6rem 0;
    background-color: #f8fafc;
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-marker {
    width: 40px;
    height: 40px;
    background: #1e1b4b;
    /* Indigo 950 */
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 0 4px #eef2ff;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-content {
    width: 45%;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    text-align: left;
}

.timeline-title {
    font-size: 1.25rem;
    color: #1e1b4b;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.timeline-desc {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Stats Section */
.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #4f46e5;
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
}

.stat-label {
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Modules Dark Section */
.modules-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #1e1b4b 0%, #312e81 100%);
    position: relative;
    overflow: hidden;
}

.modules-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: #4f46e5;
    top: -100px;
    left: -100px;
    animation: float 6s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: #7c3aed;
    bottom: -150px;
    right: -150px;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    .academic-hero-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .academic-text h1 {
        font-size: 3rem;
    }

    .subtitle {
        margin: 0 auto 2rem;
    }

    .academic-visual {
        width: 100%;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .academic-hero {
        padding: 6rem 0 4rem;
        min-height: auto;
    }

    .academic-text h1 {
        font-size: 2.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    /* Timeline Mobile Fix */
    .timeline-container {
        padding-left: 0;
    }

    .timeline-line {
        left: 30px !important;
        transform: none !important;
        width: 4px;
        background: #e0e7ff;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px !important;
        /* Space for marker */
        padding-right: 0;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        flex-direction: column;
    }

    .timeline-item:nth-child(even),
    .timeline-item:nth-child(odd) {
        margin-top: 2rem;
    }

    .timeline-marker {
        left: 30px !important;
        transform: translateX(-50%) !important;
        top: 0 !important;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .timeline-content {
        width: 100% !important;
        margin: 0 !important;
        text-align: left !important;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        text-align: left !important;
    }
}

/* Responsive Comparison Section */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.comparison-card {
    padding: 3rem;
    border-radius: 20px;
}

@media (max-width: 991px) {
    .comparison-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .comparison-card {
        padding: 2rem !important;
    }

    .comparison-card[style*="scale"] {
        transform: scale(1) !important;
        margin-top: 1.5rem;
    }

    /* Responsive Interface */
    .academic-interface {
        max-width: 100% !important;
        transform: none !important;
        width: 100% !important;
    }

    .academic-interface:hover {
        transform: none !important;
    }
}