/* 全局样式 */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-color: #333;
    --light-text: #666;
    --bg-color: #fff;
    --light-bg: #f8fafc;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

/* 导航栏 */
.navbar {
    background-color: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
}

.logo span {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

/* 英雄区 */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 30px;
}

.hero .small {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    box-shadow: var(--shadow);
    border-radius: 10px;
    overflow: hidden;
}

/* 功能介绍 */
.features {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--light-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card h3 span {
    font-size: 1rem;
    color: var(--light-text);
    font-weight: normal;
}

.feature-card p {
    color: var(--light-text);
}

/* 工作流程 */
.how-it-works {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.workflow {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.workflow-step {
    flex: 1;
    min-width: 250px;
    background-color: var(--bg-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    position: relative;
    text-align: center;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.workflow-step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.workflow-step h3 span {
    font-size: 0.9rem;
    color: var(--light-text);
    font-weight: normal;
}

.workflow-step p {
    color: var(--light-text);
}

/* 定价方案 */
.pricing {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.pricing-card {
    max-width: 400px;
    margin: 0 auto;
    background-color: var(--light-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.pricing-header {
    background-color: var(--primary-color);
    color: white;
    padding: 30px;
    text-align: center;
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
}

.original-price {
    text-decoration: line-through;
    font-size: 1.5rem;
    opacity: 0.7;
    margin-right: 10px;
}

.period {
    font-size: 1rem;
    font-weight: normal;
}

.pricing-features {
    padding: 30px;
}

.pricing-features ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.pricing-features ul li i {
    color: var(--success-color);
    margin-right: 10px;
}

.pricing-cta {
    padding: 0 30px 30px;
    text-align: center;
}

/* 关于我们 */
.about {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
}

/* 联系我们 */
.contact {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* 页脚 */
footer {
    background-color: #1e293b;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.footer-logo span {
    color: var(--accent-color);
}

.footer-logo p {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h3,
.footer-legal h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}

.footer-links ul,
.footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* 隐私政策和服务条款页面 */
.policy-content {
    padding: 120px 20px 60px;
    max-width: 800px;
    margin: 0 auto;
}

.policy-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.policy-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
}

.policy-content p,
.policy-content li {
    margin-bottom: 15px;
    line-height: 1.8;
}

.policy-content ol,
.policy-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.policy-content ol li {
    list-style-type: decimal;
}

.policy-content ul li {
    list-style-type: disc;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}