/* 基础样式 */
:root {
    --primary-color: #0066ff;
    --text-color: #333;
    --bg-light: #f5f7fa;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* 导航栏 */
.navbar {
    padding: 1rem 0;
    background: linear-gradient(135deg, #f0f7ff 0%, #f8faff 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
}

/* 按钮样式 */
.btn-blue {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    margin-left: 1rem;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* 主要内容区域 */
.hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f0f7ff 0%, #f8faff 100%);
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    white-space: nowrap;
}

.highlight {
    color: #FFD700;
}

.subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
}

.hero-image {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.15),
        0 20px 60px rgba(0, 0, 0, 0.1);
    margin-left: 2rem;
}

/* 功能展示区域 */
.section-what,
.section-why {
    padding: 5rem 0;
}

.section-what {
    background: linear-gradient(135deg, #fff5f6 0%, #fff9f9 100%);
}

.section-why {
    background: linear-gradient(135deg, #f0f7ff 0%, #f8faff 100%);
}

.feature-image {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.15),
        0 20px 60px rgba(0, 0, 0, 0.1);
}

.feature-list {
    margin-top: 2rem;
    margin-left: 3rem;
}

.section-what h2 {
    margin-left: 3rem;
    margin-bottom: 1rem;
}

.feature-item {
    margin-bottom: 2rem;
}

.feature-item h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* 功能盒子 */
.feature-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.feature-box h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-box p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* 用户评价 */
.section-testimonials {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f0f7ff 0%, #f8faff 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    color: var(--text-color);
}

.user-title {
    font-size: 0.875rem;
    color: #666;
}

/* 底部 */
.footer {
    background: var(--bg-light);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    padding: 0 8rem;
}

.footer-brand {
    max-width: 300px;
}

.brand-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.brand-desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.brand-desc br + br + span {
    display: inline-block;
    margin-top: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 4rem;
}

.qrcode-group {
    text-align: center;
    order: -1;
    margin-right: 6rem;
}

.qrcode-image {
    width: 120px;
    height: 120px;
    margin-bottom: 0.5rem;
}

.qrcode-text {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.link-group h5 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.link-group a {
    display: block;
    color: #666;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        padding: 0 2rem;
    }
    
    .footer-brand {
        margin-right: 0;
        text-align: center;
    }
    
    .qrcode-group {
        margin-right: 0;
        margin-bottom: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .qrcode-group {
        margin: 0 auto;
    }
}

@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h1 {
        white-space: normal;
    }
    
    .hero-image {
        margin-left: 0;
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* 常见问题 */
.section-faq {
    padding: 5rem 0;
    background: linear-gradient(135deg, #fff5f6 0%, #fff9f9 100%);
}

.accordion-item {
    border: none;
    background: none;
    margin-bottom: 1rem;
}

.accordion-button {
    background: var(--bg-light);
    border: none;
    border-radius: 8px !important;
    padding: 1.25rem;
    font-weight: 500;
    color: var(--text-color);
}

.accordion-button:not(.collapsed) {
    background: var(--bg-light);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button::after {
    background-size: 1rem;
    width: 1rem;
    height: 1rem;
}

.accordion-body {
    padding: 1rem 1.25rem;
    color: #666;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.section-features {
    background: linear-gradient(135deg, #fff5f6 0%, #fff9f9 100%);
}

.section-features .container {
    padding: 5rem 0;
}

.section-why h2 {
    margin-left: 3rem;
    margin-bottom: 1rem;
}

.section-why .feature-list {
    margin-left: 3rem;
}

@media (max-width: 1200px) {
    .footer-content {
        padding: 0 4rem;
    }
}