/* 电商核定征收园区网站 - 主样式文件 */

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

/* 字体设置 */
body {
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "STHeiti", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    background-color: #f5f7fa;
}

/* 链接样式 */
a {
    text-decoration: none;
    color: #2563eb;
    transition: all 0.3s ease;
}

a:hover {
    color: #1d4ed8;
}

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

/* 头部样式 */
.header {
    background: linear-gradient(135deg, #1a5f2a 0%, #2d8a47 100%);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a5f2a;
    font-size: 24px;
}

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

.nav a {
    color: #fff;
    font-size: 16px;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav a:hover {
    background: rgba(255,255,255,0.2);
}

/* 移动端导航 */
.mobile-menu-btn {
    display: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* 横幅区域 */
.hero {
    background: linear-gradient(135deg, #1a5f2a 0%, #2d8a47 50%, #3db35d 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    position: relative;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
    position: relative;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    position: relative;
    animation: fadeInUp 0.8s ease 0.4s both;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255,107,53,0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,107,53,0.5);
}

.btn-secondary {
    background: #fff;
    color: #1a5f2a;
}

.btn-secondary:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 特点优势区块 */
.features {
    padding: 80px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    color: #1a5f2a;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: #f9fafb;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: #2d8a47;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1a5f2a 0%, #2d8a47 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: #fff;
}

.feature-card h3 {
    font-size: 22px;
    color: #1a5f2a;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    font-size: 15px;
}

/* 服务区块 */
.services {
    padding: 80px 0;
    background: #f5f7fa;
}

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

.service-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #e8f5e9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
    color: #2d8a47;
}

.service-card h3 {
    font-size: 20px;
    color: #1a5f2a;
    margin-bottom: 12px;
}

.service-card p {
    color: #666;
    font-size: 15px;
}

/* 关于我们 */
.about {
    padding: 80px 0;
    background: #fff;
}

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

.about-text h2 {
    font-size: 36px;
    color: #1a5f2a;
    margin-bottom: 20px;
}

.about-text p {
    color: #666;
    margin-bottom: 20px;
    font-size: 16px;
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 统计数字 */
.stats {
    padding: 60px 0;
    background: linear-gradient(135deg, #1a5f2a 0%, #2d8a47 100%);
    color: #fff;
}

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

.stat-item h3 {
    font-size: 48px;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 18px;
    opacity: 0.9;
}

/* 流程步骤 */
.process {
    padding: 80px 0;
    background: #f5f7fa;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.process-step {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1a5f2a 0%, #2d8a47 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.process-step h3 {
    font-size: 20px;
    color: #1a5f2a;
    margin-bottom: 12px;
}

.process-step p {
    color: #666;
    font-size: 15px;
}

/* 收费标准 */
.pricing {
    padding: 80px 0;
    background: #fff;
}

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

.pricing-card {
    background: #f9fafb;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pricing-card.featured {
    border-color: #2d8a47;
    transform: scale(1.05);
}

.pricing-card h3 {
    font-size: 24px;
    color: #1a5f2a;
    margin-bottom: 20px;
}

.price {
    font-size: 36px;
    color: #ff6b35;
    font-weight: bold;
    margin-bottom: 10px;
}

.price span {
    font-size: 16px;
    color: #666;
    font-weight: normal;
}

.pricing-card ul {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.pricing-card li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

.pricing-card li:last-child {
    border-bottom: none;
}

/* 底部 */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0 30px;
}

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

.footer-section h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #2d8a47;
}

.footer-section p,
.footer-section a {
    color: #aaa;
    font-size: 15px;
    margin-bottom: 10px;
    display: block;
}

.footer-section a:hover {
    color: #2d8a47;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #aaa;
    font-size: 14px;
}

/* 面包屑 */
.breadcrumb {
    background: #f5f7fa;
    padding: 15px 0;
}

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

.breadcrumb a {
    color: #666;
}

.breadcrumb span {
    color: #1a5f2a;
    margin: 0 10px;
}

/* 内容区域 */
.content {
    padding: 60px 0;
    background: #fff;
}

.content-title {
    text-align: center;
    margin-bottom: 50px;
}

.content-title h1 {
    font-size: 40px;
    color: #1a5f2a;
    margin-bottom: 15px;
}

.content-title p {
    font-size: 18px;
    color: #666;
}

/* 文章卡片 */
.article-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.article-card {
    background: #f9fafb;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-content {
    padding: 25px;
}

.article-content h3 {
    font-size: 20px;
    color: #1a5f2a;
    margin-bottom: 12px;
}

.article-content p {
    color: #666;
    font-size: 15px;
    margin-bottom: 15px;
}

.article-content a {
    color: #2d8a47;
    font-weight: bold;
}

/* 表单样式 */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #f9fafb;
    padding: 40px;
    border-radius: 15px;
}

.form-container h3 {
    text-align: center;
    color: #1a5f2a;
    margin-bottom: 30px;
    font-size: 28px;
}

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

.form-item label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: bold;
}

.form-item input,
.form-item textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-item input:focus,
.form-item textarea:focus {
    outline: none;
    border-color: #2d8a47;
}

.form-item textarea {
    resize: vertical;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #1a5f2a 0%, #2d8a47 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(45,138,71,0.4);
}

.tips {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.tips.error {
    background: #fee;
    color: #c33;
    display: block;
}

.tips.success {
    background: #efe;
    color: #3c3;
    display: block;
}

/* 白皮书样式 */
.whitepaper-hero {
    background: linear-gradient(135deg, #1a5f2a 0%, #2d8a47 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

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

.whitepaper-hero p {
    font-size: 20px;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto 30px;
}

.whitepaper-content {
    padding: 60px 0;
    background: #fff;
}

.whitepaper-chapter {
    max-width: 900px;
    margin: 0 auto;
}

.chapter {
    background: #f9fafb;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
}

.chapter h2 {
    font-size: 28px;
    color: #1a5f2a;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #2d8a47;
}

.chapter h3 {
    font-size: 22px;
    color: #333;
    margin: 25px 0 15px;
}

.chapter p {
    color: #666;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.9;
}

.chapter ul {
    margin: 15px 0;
    padding-left: 25px;
}

.chapter li {
    color: #666;
    margin-bottom: 10px;
    font-size: 16px;
}

/* 城市列表 */
.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.city-card {
    background: #f9fafb;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.city-card:hover {
    border-color: #2d8a47;
    transform: translateY(-3px);
}

.city-card a {
    color: #1a5f2a;
    font-size: 18px;
    font-weight: bold;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a {
    padding: 10px 15px;
    background: #f9fafb;
    border-radius: 5px;
    color: #333;
    transition: all 0.3s;
}

.pagination a:hover,
.pagination a.active {
    background: #2d8a47;
    color: #fff;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 20px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .features-grid,
    .services-grid,
    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.featured {
        transform: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .whitepaper-hero h1 {
        font-size: 32px;
    }

    .contact-form {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 12px 30px;
        font-size: 16px;
    }

    .section-title h2 {
        font-size: 28px;
    }
}

/* SEO优化相关样式 */
.article-detail {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 15px;
}

.article-detail h1 {
    font-size: 36px;
    color: #1a5f2a;
    margin-bottom: 20px;
}

.article-detail .meta {
    color: #888;
    font-size: 14px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.article-detail h2 {
    font-size: 28px;
    color: #1a5f2a;
    margin: 40px 0 20px;
}

.article-detail h3 {
    font-size: 22px;
    color: #333;
    margin: 30px 0 15px;
}

.article-detail p {
    color: #666;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.9;
}

.article-detail ul,
.article-detail ol {
    margin: 20px 0;
    padding-left: 25px;
}

.article-detail li {
    color: #666;
    margin-bottom: 12px;
    font-size: 16px;
}

.article-detail blockquote {
    background: #f9fafb;
    border-left: 4px solid #2d8a47;
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #666;
}

.related-articles {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #eee;
}

.related-articles h3 {
    font-size: 24px;
    color: #1a5f2a;
    margin-bottom: 25px;
}

/* 页面内导航 */
.page-nav {
    background: #f5f7fa;
    padding: 15px 0;
    margin-bottom: 40px;
}

.page-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-nav a {
    color: #666;
    font-size: 15px;
    transition: color 0.3s;
}

.page-nav a:hover,
.page-nav a.active {
    color: #2d8a47;
}

/* FAQ 折叠面板 */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #f9fafb;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: #1a5f2a;
}

.faq-answer {
    padding: 0 20px 20px;
    color: #666;
    display: none;
}

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

/* 证书展示 */
.certificates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.certificate {
    text-align: center;
}

.certificate img {
    width: 100%;
    max-width: 200px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.certificate p {
    margin-top: 10px;
    color: #666;
    font-size: 14px;
}

/* 合作伙伴 */
.partners {
    padding: 60px 0;
    background: #f5f7fa;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
}

.partner-logo {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}
