/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #EDF2F7;
    color: #1A202C;
}

.hero-section {
    background: linear-gradient(135deg, #F7FAFC 0%, #EDF2F7 100%);
}

.feature-card {
    transition: all 0.3s ease;
}

.feature-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);
}

.btn-primary {
    background-color: #4A5568;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #2D3748;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(74, 85, 104, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #4A5568;
    color: #4A5568;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #4A5568;
    color: white;
}

.demo-image {
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.demo-image:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.navbar {
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(247, 250, 252, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.mobile-menu {
    transition: all 0.3s ease;
    transform: translateX(-100%);
}

.mobile-menu.open {
    transform: translateX(0);
}

/* 功能轮播样式 */
.feature-slider {
    position: relative;
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    height: 1.2em;
}

.feature-slider-item {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.feature-slider-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* FAQ 手风琴样式 */
.faq-item {
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
}

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

.faq-answer {
    display: none;
}

.faq-answer.active {
    display: block;
}