/* Investors Page Specific Styles - AchieveAI Design System */

/* Ensure backdrop-filter support */
@supports (backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px)) {
    .backdrop-blur-12 {
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
    }
}

/* Fallback for browsers without backdrop-filter support */
@supports not ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
    .backdrop-blur-12 {
        background-color: rgba(18, 21, 30, 0.95) !important;
    }
}

/* Investor highlights animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.investor-highlight {
    animation: slideInLeft 0.6s ease-out;
}

.investor-highlight:nth-child(even) {
    animation: slideInRight 0.6s ease-out;
}

.investor-highlight:nth-child(2) {
    animation-delay: 0.1s;
}

.investor-highlight:nth-child(3) {
    animation-delay: 0.2s;
}

.investor-highlight:nth-child(4) {
    animation-delay: 0.3s;
}

/* Stats counter animation */
@keyframes countUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.stats-card {
    animation: countUp 0.8s ease-out;
}

.stats-card:nth-child(2) {
    animation-delay: 0.2s;
}

.stats-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* Document list hover effects */
.document-item {
    transition: all 0.3s ease;
    cursor: pointer;
}

.document-item:hover {
    background-color: rgba(77, 124, 254, 0.05);
    padding-left: 0.5rem;
    border-left: 3px solid #4D7CFE;
}

/* Investment CTA buttons */
.investment-cta {
    position: relative;
    overflow: hidden;
}

.investment-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.investment-cta:hover::before {
    left: 100%;
}

/* Metric highlights */
.metric-highlight {
    position: relative;
}

.metric-highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4D7CFE, #00ffa2);
    transition: width 0.5s ease;
}

.metric-highlight:hover::after {
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .investor-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Loading states */
.content-loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}