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

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    font-size: 14px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* CSS变量 - 更深的紫色配色 */
:root {
    --primary-color: #206be7;
    --primary-dark: #182848;
    --secondary-color: #6e8efb;
    --accent-color: #8b5fbf;  /* 从 #a17fe0 改为更深的紫色 */
    --gradient-start: #206be7;
    --gradient-end: #8b5fbf;   /* 从 #a17fe0 改为更深的紫色 */
    --text-color: #333;
    --text-light: #6c757d;
    --border-color: #e9ecef;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    
    /* 字体大小变量 - 参考91wink */
    --font-size-xs: 12px;
    --font-size-sm: 13px;
    --font-size-base: 14px;
    --font-size-md: 15px;
    --font-size-lg: 16px;
    --font-size-xl: 18px;
    --font-size-2xl: 20px;
    --font-size-3xl: 24px;
    --font-size-4xl: 28px;
    --font-size-5xl: 32px;
    --font-size-6xl: 36px;
    
    /* 行高变量 */
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.6;
    --line-height-loose: 1.8;
}

/* 导航栏 - 更新渐变色 */
header {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: var(--font-size-2xl);
    font-weight: bold;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    transition: opacity 0.3s;
    font-size: var(--font-size-base);
}

nav ul li a:hover {
    opacity: 0.8;
}

/* 英雄区域 */
.hero {
    text-align: center;
    padding: 5rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: var(--font-size-5xl);
    margin-bottom: 1rem;
    line-height: var(--line-height-tight);
    font-weight: 700;
}

.hero p {
    font-size: var(--font-size-xl);
    margin-bottom: 2rem;
    line-height: var(--line-height-normal);
}

/* CTA按钮 - 更新配色 */
.cta-button {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--white);
    border: none;
    padding: 0.8rem 2rem;
    font-size: var(--font-size-lg);
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(75, 108, 183, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(75, 108, 183, 0.4);
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-color));
}

/* 服务部分 */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    text-align: center;
    font-size: var(--font-size-4xl);
    margin-bottom: 3rem;
    color: var(--text-color);
    font-weight: 600;
    line-height: var(--line-height-tight);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(75, 108, 183, 0.15);
}

.card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.card p {
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
}

/* 工作原理部分 */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
}

/* 步骤编号 - 更新配色 */
.step-number {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    font-size: var(--font-size-xl);
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(75, 108, 183, 0.3);
}

.step h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: var(--font-size-lg);
    font-weight: 600;
}

.step p {
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
}

/* 页脚 */
footer {
    background-color: var(--text-color);
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-size: var(--font-size-2xl);
    font-weight: bold;
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 1rem;
    font-size: var(--font-size-lg);
    font-weight: 600;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
    font-size: var(--font-size-sm);
}

.footer-links ul li a:hover {
    text-decoration: underline;
}

.footer-contact p {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-normal);
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: var(--font-size-sm);
}

/* 响应式设计 */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 1rem;
    }
    
    nav ul li {
        margin: 0 0.5rem;
    }
    
    .hero h1 {
        font-size: var(--font-size-4xl);
    }
    
    .hero p {
        font-size: var(--font-size-lg);
    }
    
    section h2 {
        font-size: var(--font-size-3xl);
    }
}

/* 页面头部 - 更新配色 */
.page-header {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
}

.page-header h1 {
    font-size: var(--font-size-4xl);
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: var(--line-height-tight);
}

.page-header p {
    font-size: var(--font-size-lg);
    max-width: 800px;
    margin: 0 auto;
    line-height: var(--line-height-normal);
}

/* 服务详情页 */
.services-detail {
    max-width: 900px;
    margin: 0 auto;
}

.service-item {
    margin-bottom: 4rem;
}

.service-item h2 {
    text-align: left;
    font-size: var(--font-size-3xl);
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.service-item p {
    margin-bottom: 1.5rem;
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
}

.service-item ul {
    list-style: disc;
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.service-item ul li {
    margin-bottom: 0.5rem;
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
}

/* 工作流程详情 */
.process-detail {
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.process-step .step-number {
    margin: 0 2rem 0 0;
    flex-shrink: 0;
}

.step-content h2 {
    text-align: left;
    font-size: var(--font-size-2xl);
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.step-content p {
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
}

.step-content ul {
    list-style: disc;
    margin-left: 2rem;
    margin-top: 1rem;
}

.step-content ul li {
    margin-bottom: 0.5rem;
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
}

/* 案例研究 */
.case-studies {
    max-width: 900px;
    margin: 0 auto;
}

.case-study {
    margin-bottom: 4rem;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.case-study h2 {
    text-align: left;
    font-size: var(--font-size-3xl);
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

.case-content h3 {
    font-size: var(--font-size-xl);
    margin: 1.5rem 0 1rem;
    color: var(--text-color);
    font-weight: 600;
}

.case-content p {
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
}

.case-content ul {
    list-style: disc;
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.case-content ul li {
    margin-bottom: 0.5rem;
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
}

/* 价格方案 */
.pricing-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(75, 108, 183, 0.15);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.plan-header {
    padding: 2rem;
    text-align: center;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.plan-header h2 {
    margin-bottom: 1rem;
    font-size: var(--font-size-2xl);
    font-weight: 600;
}

/* 价格显示 - 更新配色 */
.price {
    font-size: var(--font-size-4xl);
    font-weight: bold;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price span {
    font-size: var(--font-size-lg);
    font-weight: normal;
}

.plan-features {
    padding: 2rem;
}

.plan-features ul li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
}

/* 特性列表图标 - 更新配色 */
.plan-features ul li:before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 计划CTA按钮 - 更新配色 */
.plan-cta {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: var(--font-size-base);
}

.plan-cta:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(75, 108, 183, 0.3);
}

/* 联系表单 */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 10px;
}

.contact-info h2 {
    text-align: left;
    margin-bottom: 2rem;
    font-size: var(--font-size-2xl);
    font-weight: 600;
}

.info-item {
    display: flex;
    margin-bottom: 2rem;
}

/* 联系信息图标 - 更新配色 */
.info-item i {
    margin-right: 1rem;
    font-size: var(--font-size-xl);
    color: var(--primary-color);
}

.info-item h3 {
    font-size: var(--font-size-lg);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-item p {
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
}

.contact-form {
    padding: 2rem;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    text-align: left;
    margin-bottom: 1rem;
    font-size: var(--font-size-2xl);
    font-weight: 600;
}

.contact-form p {
    margin-bottom: 2rem;
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    font-size: var(--font-size-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: var(--font-size-base);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(75, 108, 183, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* 提交按钮 - 更新配色 */
.submit-btn {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: var(--font-size-base);
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px rgba(75, 108, 183, 0.3);
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(75, 108, 183, 0.4);
}

/* 成功弹窗样式 - 更新配色 */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-dialog {
    max-width: 500px;
}

#successModal .modal-content {
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: none;
}

#successModal .modal-header {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom: none;
    background: linear-gradient(135deg, var(--success-color), #20c997);
    color: white;
}

#successModal .modal-body {
    padding: 2rem;
    text-align: center;
    font-size: var(--font-size-base);
}

#successModal .modal-footer {
    border-top: none;
    justify-content: center;
    padding-bottom: 1.5rem;
}

#successModal .btn-primary {
    background: linear-gradient(135deg, var(--success-color), #20c997);
    border-color: var(--success-color);
    padding: 0.5rem 2rem;
    border-radius: 50px;
    font-size: var(--font-size-sm);
}

#successModal .bi-check-circle-fill {
    color: var(--success-color);
    font-size: var(--font-size-5xl);
    margin-bottom: 1rem;
}

/* 隐藏不需要的成功消息 */
.alert-success {
    display: none !important;
}

/* AI Search Grader 样式 */
.ai-grader-section {
    padding: 3rem 0;
}

.feature-list {
    list-style-type: none;
    padding-left: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
}

/* 特性列表图标 - 更新配色 */
.feature-list li:before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 评分圆圈 - 更新配色 */
.score-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--font-size-3xl);
    font-weight: bold;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    box-shadow: 0 4px 15px rgba(75, 108, 183, 0.3);
}

.suggestion-list {
    list-style-type: none;
    padding-left: 0;
}

.suggestion-list li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2.5rem;
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
}

/* 优先级徽章 - 更新配色 */
.priority-badge {
    position: absolute;
    left: 0;
    top: 0;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: var(--font-size-xs);
}

.priority-1 {
    background-color: var(--danger-color);
}

.priority-2 {
    background-color: #fd7e14;
}

.priority-3 {
    background-color: var(--warning-color);
}

.priority-4 {
    background-color: var(--success-color);
}

.action-list {
    list-style-type: none;
    padding-left: 0;
}

.action-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
}

/* 行动列表图标 - 更新配色 */
.action-list li:before {
    content: "→";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .contact-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 1rem;
    }
    
    .page-header {
        padding: 2rem 1rem;
    }
    
    .page-header h1 {
        font-size: var(--font-size-3xl);
    }
    
    .page-header p {
        font-size: var(--font-size-base);
    }
    
    .service-item h2 {
        font-size: var(--font-size-2xl);
    }
    
    .case-study h2 {
        font-size: var(--font-size-2xl);
    }
    
    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-form h2,
    .contact-info h2 {
        font-size: var(--font-size-xl);
    }
    
    .plan-header h2 {
        font-size: var(--font-size-xl);
    }
    
    .price {
        font-size: var(--font-size-3xl);
    }
} 