/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #fff;
    --border: #e5e7eb;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-block {
    display: block;
    width: 100%;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.required {
    color: #e74c3c;
}

/* 顶部导航 */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo img {
    height: 40px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--text-dark);
    font-size: 16px;
    transition: color 0.3s;
    padding: 8px 0;
}

.nav a:hover,
.nav a.active {
    color: var(--primary-color);
}

.nav .supplier-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
}

.nav .supplier-btn:hover {
    background: var(--primary-hover);
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero区域 */
.hero {
    margin-top: 70px;
    height: 500px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero .btn {
    background: var(--white);
    color: #667eea;
}

.hero .btn:hover {
    background: #f0f0f0;
}

/* 核心优势 */
.features {
    padding: 80px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* 服务预览 */
.services-preview {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: all 0.3s;
}

.service-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.service-card a {
    color: var(--primary-color);
    font-size: 14px;
}

/* 供应商区块 */
.supplier-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.supplier-box {
    text-align: center;
    color: var(--white);
}

.supplier-box h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.supplier-box p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.supplier-box ul {
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.supplier-box li {
    font-size: 16px;
}

.supplier-box .btn {
    background: var(--white);
    color: #f5576c;
}

/* 页脚 */
.footer {
    background: #1a1a2e;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-item h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-item p {
    color: #aaa;
    font-size: 14px;
    line-height: 2;
}

.friend-links {
    margin-top: 20px;
}

.friend-links h5 {
    font-size: 14px;
    margin-bottom: 10px;
    color: #fff;
}

.friend-links a {
    display: inline-block;
    color: #aaa;
    font-size: 12px;
    margin-right: 15px;
    transition: color 0.3s;
}

.friend-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #666;
}

/* 页面标题 */
.page-header {
    margin-top: 70px;
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 40px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

.page-header-supplier {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* 关于我们页面 */
.about-section {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 10px;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-light);
    font-size: 14px;
}

/* 企业文化 */
.culture-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.culture-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.culture-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.culture-card p {
    color: var(--text-light);
}

/* 团队介绍 */
.team-section {
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.team-avatar {
    font-size: 60px;
    margin-bottom: 20px;
}

.team-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.team-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* 服务详情页面 */
.services-section {
    padding: 80px 0;
}

.service-detail {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 50px 0;
    border-bottom: 1px solid var(--border);
}

.service-detail.reverse {
    flex-direction: row-reverse;
}

.service-detail-content {
    flex: 1;
}

.service-detail-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.service-desc {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.service-list li {
    position: relative;
    padding-left: 20px;
    color: var(--text-light);
}

.service-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.service-detail-icon {
    font-size: 100px;
    flex-shrink: 0;
}

/* 开发流程 */
.process-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.process-steps::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: var(--border);
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

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

.process-step h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.process-step p {
    color: var(--text-light);
    font-size: 14px;
}

/* CTA区域 */
.cta-section {
    padding: 80px 0;
    background: var(--primary-color);
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-section .btn {
    background: var(--white);
    color: var(--primary-color);
}

/* 供应商入驻页面 */
.supplier-benefits {
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.benefit-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.benefit-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* 入驻流程 */
.supplier-process {
    padding: 80px 0;
    background: var(--bg-light);
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.process-timeline::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 80px;
    right: 80px;
    height: 2px;
    background: var(--primary-color);
}

.timeline-item {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
    padding: 0 20px;
}

.timeline-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.timeline-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 14px;
}

/* 入驻表单 */
.supplier-form-section {
    padding: 80px 0;
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.supplier-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: normal;
}

.checkbox-group a {
    color: var(--primary-color);
}

/* FAQ */
.faq-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 20px;
    font-weight: 500;
    cursor: pointer;
    background: var(--white);
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--text-light);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* 案例展示页面 */
.cases-filter {
    padding: 40px 0;
    background: var(--bg-light);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.filter-btn {
    padding: 10px 25px;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.cases-section {
    padding: 60px 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.case-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.case-card:hover {
    transform: translateY(-5px);
}

.case-image {
    height: 180px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.case-content {
    padding: 20px;
}

.case-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #e0f2fe;
    color: var(--primary-color);
    font-size: 12px;
    border-radius: 15px;
    margin-bottom: 10px;
}

.case-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.case-content p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.case-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
}

/* 客户评价 */
.testimonials-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    color: var(--text-light);
    font-style: italic;
    line-height: 1.8;
}

.testimonial-author strong {
    display: block;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 14px;
}

/* 联系我们页面 */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 28px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 32px;
}

.contact-text h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.contact-text p {
    color: var(--text-light);
}

.contact-form-wrapper h2 {
    font-size: 28px;
    margin-bottom: 30px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.map-section {
    padding-bottom: 80px;
}

.map-placeholder {
    background: var(--bg-light);
    border-radius: 10px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-content {
    text-align: center;
}

.map-content span {
    font-size: 60px;
    display: block;
    margin-bottom: 20px;
}

.map-content p {
    color: var(--text-light);
}

.map-address {
    margin-top: 15px;
    font-size: 14px;
}

.service-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-item {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.service-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.service-item p {
    color: var(--text-light);
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .features-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid,
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .features-grid,
    .services-grid,
    .benefits-grid,
    .cases-grid,
    .team-grid,
    .culture-grid,
    .testimonials-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detail,
    .service-detail.reverse {
        flex-direction: column;
    }
    
    .process-steps,
    .process-timeline {
        flex-direction: column;
        gap: 30px;
    }
    
    .process-steps::before,
    .process-timeline::before {
        display: none;
    }
    
    .supplier-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        flex-wrap: wrap;
    }
}
