/* 通用重置 & 基础样式 */
:root {
    /* 主色体系 */
    --primary: #4150e3;
    --primary-hover: #3644c5;
    --primary-light: #f0f2ff;
    
    /* 中性色体系 */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-600: #6c757d;
    --gray-800: #1f2937;
    --black: #111827;
    
    /* 圆角 */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* 阴影 */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.16);
    
    /* 过渡 */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* 中文字体优先，兼顾风格与中文显示 */
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: #FFFFFF;
    color: #333333;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* 容器样式 */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem); /* 响应式内边距 */
    width: 100%;
}

/* 通用区块间距（响应式） */
section {
    padding: 5rem 0;
}

/* Banner区域样式 */
.hero {
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: calc(1.4rem + 1vw) !important;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}

.hero p {
    font-size: clamp(16px, 2vw, 18px);
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    padding: 0 1rem;
}

/* 主要内容标题样式 */
h2 {
    font-size: calc(1.325rem + .9vw) !important;
    font-weight: 600;
    color: #111827;
    line-height: 1.25;
    margin-bottom: 3rem;
}

.section-title {
    font-size: calc(1.325rem + .9vw) !important;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    line-height: 1.3;
    width: 100%;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: #4150e3;
    margin: 1rem auto 0;
}

/* 小标题样式 */
h3 {
    font-size: 1.25rem !important;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
}

/* 正文文本样式 */
p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 14px;
    color: var(--gray-600);
    text-align: center;
    max-width: 700px;
    margin: 0 auto clamp(1.3rem, 2.8vw, 1.8rem);
    line-height: 1.8;
    padding: 0 1rem;
}

/* 通用按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
    border: none;
    gap: 0.5rem;
    min-width: 120px;
    text-align: center;
}

.btn-primary {
    background-color: #4150e3;
    color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: #3644c5;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    color: #4150e3;
    border: 1px solid #4150e3;
}

.btn-outline:hover {
    background-color: #f0f2ff;
    transform: translateY(-2px);
}

/* 按钮组样式 */
.btn-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .btn-outline {
        margin-left: 0 !important;
    }
    
    .btn-group {
        flex-direction: column;
        align-items: center;
    }
    
    .hero h1 {
        font-size: clamp(24px, 6vw, 32px) !important;
    }
    
    .section-title {
        font-size: clamp(22px, 5vw, 28px) !important;
    }
}

/* 常见问题样式 */
.common-faq {
    padding: 80px 0;
    background: var(--gray-50);
    border-radius: var(--radius-xl);
}

.common-faq-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.common-faq-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: all 0.3s ease;
}

.common-faq-item:hover {
    box-shadow: 0 8px 24px rgba(65, 80, 227, 0.12);
    border-color: var(--primary);
    border-width: 2px;
}

.common-faq-question {
    padding: 22px 28px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 16px;
    position: relative;
}

.common-faq-question:hover {
    color: var(--primary);
    background: #f0f2ff;
}

.common-faq-icon {
    color: var(--primary);
    font-size: 20px;
    font-weight: 700;
    transition: all 0.3s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.common-faq-answer {
    padding: 0 28px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.8;
}

.common-faq-answer.show {
    padding: 0 28px 28px;
    max-height: 500px;
}

/* 针对超小屏（320px以下）的特殊适配 */
@media (max-width: 360px) {
    .container {
        padding: 0 0.75rem;
    }
    
    section {
        padding: 1.5rem 0;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .section-title::after {
        width: 40px;
    }
    
    .common-faq-question {
        padding: 16px 20px;
        font-size: 14px;
    }
    
    .common-faq-answer {
        padding: 0 20px;
        font-size: 14px;
    }
    
    .common-faq-answer.show {
        padding: 0 20px 16px;
    }
}