/* 基础样式和动画 */
@layer utilities {
    .content-auto {
        content-visibility: auto;
    }
    .gradient-primary {
        background: linear-gradient(90deg, #0056b3 0%, #003d82 100%);
    }
    .text-shadow {
        text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    }
    .card-hover {
        transition: all 0.3s ease;
    }
    .card-hover:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    }
    .pulse-animation {
        animation: pulse 2s infinite;
    }
    .fade-in {
        animation: fadeIn 0.5s ease-in;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 123, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 123, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 123, 0, 0);
    }
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(10px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0);
    }
}

/* FAQ 特定样式 */
.faq-item {
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #0056b3;
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.1);
}

.faq-content {
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
}

.faq-content.open {
    max-height: 200px; /* 根据内容调整 */
}

.faq-icon.rotate {
    transform: rotate(45deg);
}

/* 证书项悬停效果 */
.certificate-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* 消息提示样式 */
.message {
    max-width: 400px;
    word-wrap: break-word;
    transform: translateY(-20px);
    animation: slideInDown 0.3s ease-out forwards;
}

@keyframes slideInDown {
    to {
        transform: translateY(0);
    }
}

.message.fade-out {
    animation: slideOutUp 0.3s ease-in forwards;
}

@keyframes slideOutUp {
    to {
        transform: translateY(-20px);
        opacity: 0;
    }
}