/* 颜色变量 */
:root {
    --primary: #7209B7;
    --secondary: #FF5E94;
    --dark: #3A0CA3;
    --light: #F5F3FF;
    --light-accent: #E9D8FD;
    --text: #4A5568;
    --gray: #718096;
    --white: #FFFFFF;
}

/* 基本样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
}

body {
    color: var(--text);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary);
    margin-top: 0.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary);
}

/* 头部样式 */
.site-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: var(--white);
    padding: 2rem 0;
    position: relative;
}

.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath fill='%23FFFFFF' fill-opacity='0.05' d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z'%3E%3C/path%3E%3C/svg%3E");
    z-index: 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    margin-bottom: 3rem;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 180px;
    height: auto;
}

.logo-small {
    width: 90px;
    height: auto;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.lead {
    font-size: 1.2rem;
    color: var(--light);
    margin-bottom: 2rem;
}

/* 导航菜单 */
.main-nav ul {
    display: flex;
    list-style-type: none;
    gap: 2rem;
}

.main-nav a {
    color: var(--white);
    font-weight: 500;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: var(--light);
}

.main-nav a:hover::after {
    width: 100%;
}

/* 移动菜单 */
#menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    width: 35px;
    height: 30px;
    position: relative;
    z-index: 100;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--white);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transition: all 0.3s ease;
}

.menu-icon span:nth-child(1) {
    top: 0px;
}

.menu-icon span:nth-child(2) {
    top: 12px;
}

.menu-icon span:nth-child(3) {
    top: 24px;
}

#menu-toggle:checked + .menu-icon span:nth-child(1) {
    transform: rotate(45deg);
    top: 12px;
}

#menu-toggle:checked + .menu-icon span:nth-child(2) {
    opacity: 0;
}

#menu-toggle:checked + .menu-icon span:nth-child(3) {
    transform: rotate(-45deg);
    top: 12px;
}

/* 按钮样式 */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--secondary);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 94, 148, 0.4);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(114, 9, 183, 0.5);
}

/* 功能部分 */
.feature-section {
    padding: 5rem 0;
    background-color: var(--white);
    text-align: center;
}

.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
}

.feature-card {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    padding: 2.5rem 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--secondary);
}

.feature-icon {
    margin: 0 auto 1.5rem;
    width: 80px;
    height: 80px;
}

/* 工作原理部分 */
.how-it-works {
    padding: 5rem 0;
    background-color: var(--light);
    text-align: center;
}

.steps {
    max-width: 800px;
    margin: 3rem auto;
}

.step {
    display: flex;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.step-number {
    background: var(--primary);
    color: var(--white);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.step-content {
    flex-grow: 1;
}

.cta-center {
    margin-top: 3rem;
}

/* 展示部分 */
.showcase {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
}

.showcase-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.showcase-content {
    flex: 1;
    min-width: 300px;
}

.showcase-visual {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.showcase-image {
    max-width: 100%;
    height: auto;
}

.benefits-list {
    list-style-type: none;
    margin: 2rem 0;
}

.benefits-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--light-accent);
    position: relative;
    padding-left: 1.5rem;
}

.benefits-list li::before {
    content: '✓';
    color: var(--secondary);
    position: absolute;
    left: 0;
    top: 0.8rem;
}

/* FAQ部分 */
.faq {
    padding: 5rem 0;
    background-color: var(--white);
}

.faq-item {
    background: var(--light);
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

/* 页脚 */
.site-footer {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    color: var(--light);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-logo, .footer-links {
    flex: 1;
    min-width: 150px;
}

.footer-text {
    flex: 2;
    min-width: 200px;
    text-align: center;
}

.keywords {
    margin-top: 1rem;
    color: var(--light-accent);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--light);
}

.footer-links a:hover {
    color: var(--secondary);
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .menu-icon {
        display: block;
    }
    
    .menu-items {
        display: none;
    }
    
    #menu-toggle:checked ~ .menu-items {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        background: var(--primary);
        padding: 1.5rem;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        z-index: 200;
        min-width: 200px;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    h2::after {
        margin: 0.5rem auto 0;
    }
    
    .benefits-list li {
        padding-left: 0;
    }
    
    .benefits-list li::before {
        position: static;
        margin-right: 0.5rem;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card, .step, .faq-item {
    animation: fadeIn 0.6s ease-out forwards;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.4s;
}

.step:nth-child(2) {
    animation-delay: 0.2s;
}

.step:nth-child(3) {
    animation-delay: 0.4s;
}
