/* Audit Section Styles */
.audit-section {
    margin-top: 40px;
    padding: 30px 20px;
    position: relative;
    width: 100%;
    background: linear-gradient(180deg, rgba(6, 13, 45, 0) 0%, rgba(9, 25, 43, 0.2) 100%);
}

.audit-section-title {
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    text-shadow: 0 0 15px rgba(153, 69, 255, 0.5);
    letter-spacing: 0.5px;
}

.audit-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, #9945FF, #14F195);
    border-radius: 3px;
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px rgba(153, 69, 255, 0.5);
    }
    100% {
        box-shadow: 0 0 15px rgba(153, 69, 255, 0.8), 0 0 30px rgba(20, 241, 149, 0.4);
    }
}

.audit-cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: none;
    margin: 0 auto;
}

.audit-card {
    background: rgba(5, 17, 43, 0.6);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(0, 148, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.audit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 15px rgba(153, 69, 255, 0.3);
    border-color: rgba(153, 69, 255, 0.3);
}

.audit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(9, 9, 121, 0.03) 0%, rgba(0, 212, 255, 0.03) 100%);
    pointer-events: none;
}

.audit-logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
}

.audit-logo img {
    height: 35px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
    max-width: 140px;
}

.audit-logo svg {
    width: 16px;
    height: 16px;
    color: rgba(255, 255, 255, 0.7);
    transition: transform 0.2s ease;
}

.audit-logo:hover svg {
    transform: translateX(3px);
    color: #ffffff;
}

.audit-logo:hover img {
    filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(153, 69, 255, 0.5));
    transform: scale(1.05);
}

.logo-caption {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 8px 0 20px;
    font-family: 'Inter', sans-serif;
}

.audit-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    font-family: 'Outfit', sans-serif;
}

.audit-status {
    display: inline-block;
    background: rgba(20, 241, 149, 0.15);
    color: #14F195;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
    border: 1px solid rgba(20, 241, 149, 0.3);
    box-shadow: 0 0 10px rgba(20, 241, 149, 0.2);
    position: relative;
}

.audit-status::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #14F195;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 1.5s infinite;
}

.verification-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(20, 241, 149, 0.1);
    border: 1px solid rgba(20, 241, 149, 0.3);
    border-radius: 20px;
    padding: 8px 15px;
    color: #14F195;
    font-size: 14px;
    font-weight: 500;
    animation: verify-pulse 2s infinite;
    transition: all 0.3s ease;
}

.verification-badge:hover {
    background: rgba(20, 241, 149, 0.2);
    transform: translateY(-2px);
}

.verification-badge i {
    margin-right: 6px;
    font-size: 16px;
}

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

@keyframes verify-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(20, 241, 149, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(20, 241, 149, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(20, 241, 149, 0);
    }
}

.audit-description {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Inter', sans-serif;
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.audit-card:nth-child(1) {
    animation: fadeInUp 0.5s ease-out 0.1s forwards;
}

.audit-card:nth-child(2) {
    animation: fadeInUp 0.5s ease-out 0.3s forwards;
}

.audit-card {
    opacity: 0;
}

/* Media queries for responsive design */
@media (max-width: 1200px) {
    .audit-cards-container {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .audit-cards-container {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
    
    .audit-card {
        padding: 20px;
    }
    
    .audit-title {
        font-size: 20px;
    }
    
    .audit-section-title {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .audit-section {
        padding: 20px 10px;
    }
    
    .audit-card {
        padding: 15px;
    }
    
    .audit-description {
        font-size: 14px;
    }
}
