/* 自定义样式补充Tailwind CSS */

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 卡片悬停效果 */
.price-card {
    transition: all 0.3s ease;
}

.price-card: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);
}

/* 渐变背景 */
.gradient-bg {
    background: linear-gradient(135deg, #3b82f6 0%, #0ea5e9 70%, #06b6d4 100%);
    position: relative;
}

.gradient-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 0;
}

.gradient-bg > * {
    position: relative;
    z-index: 1;
}

/* 自定义动画 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease-in-out;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .mobile-padding {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* 按钮悬停效果 */
.btn-primary {
    transition: all 0.2s ease;
}

.btn-primary:hover {
    filter: brightness(110%);
    transform: translateY(-2px);
}

/* 特性图标样式 */
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background-color: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
    margin-bottom: 1rem;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #0ea5e9;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0284c7;
}

/* FAQ 折叠面板样式 */
.faq-item {
    border-bottom: 1px solid #e5e7eb;
    padding: 1.25rem 0;
}

.faq-question {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    margin-top: 1rem;
}