* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

.header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 2px;
}

.logo p {
    font-size: 12px;
    opacity: 0.8;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav ul li {
    margin-left: 30px;
}

.nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.nav ul li a:hover,
.nav ul li a.active {
    color: #3498db;
}

.contact-btn a {
    background: #3498db;
    color: #fff;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s;
}

.contact-btn a:hover {
    background: #2980b9;
}

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    margin-bottom: 60px;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 35px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
    margin: 0 10px;
}

.btn-primary {
    background: #fff;
    color: #667eea;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: #3498db;
    color: #fff;
    border: 2px solid #3498db;
}

.btn-secondary:hover {
    background: #2980b9;
    border-color: #2980b9;
    color: #fff;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
}

.stat {
    text-align: center;
}

.stat .number {
    font-size: 48px;
    font-weight: 700;
    display: block;
}

.stat .label {
    font-size: 16px;
    opacity: 0.8;
}

.services-preview,
.templates-preview,
.process {
    padding: 80px 0;
    background: #fff;
}

.services-preview h3,
.templates-preview h3,
.process h3 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: #2c3e50;
}

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

.service-card,
.template-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-card .icon,
.template-card .template-image {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h4,
.template-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.service-card p,
.template-card p {
    font-size: 14px;
    color: #7f8c8d;
    line-height: 1.6;
}

.view-more {
    display: block;
    text-align: center;
    margin-top: 40px;
    color: #3498db;
    text-decoration: none;
    font-size: 16px;
}

.view-more:hover {
    text-decoration: underline;
}

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

.process-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    transform: translateY(-50%);
    z-index: 0;
}

.step {
    text-align: center;
    background: #fff;
    padding: 35px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.1);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.15);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    position: relative;
}

.step-icon::before {
    content: attr(data-step);
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #667eea;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.step h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #2c3e50;
    font-weight: 600;
}

.step p {
    font-size: 14px;
    color: #7f8c8d;
    line-height: 1.6;
}

.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
}

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

.footer-section {
    padding: 20px;
}

.footer-section:first-child {
    background: rgba(102, 126, 234, 0.1);
    border-radius: 15px;
    border-left: 4px solid #667eea;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.footer-section p {
    font-size: 14px;
    opacity: 0.85;
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.footer-section ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    opacity: 0.85;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: #667eea;
    transform: translateX(5px);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-left: 20px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(102, 126, 234, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-info h5 {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 2px;
}

.contact-info p {
    margin: 0;
    font-size: 14px;
    opacity: 0.75;
}

.qrcode-container {
    margin-top: 20px;
}

.qrcode-placeholder {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(255, 255, 255, 0.2);
}

.qrcode-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.qrcode-image {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

.qrcode-placeholder p {
    font-size: 12px;
    opacity: 0.8;
    margin: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.1);
    margin: 0 -20px -30px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 13px;
    opacity: 0.6;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 15px 0;
    margin-bottom: 20px;
    font-size: 14px;
    color: #7f8c8d;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.breadcrumb a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.breadcrumb span {
    color: #999;
    font-size: 12px;
}

.breadcrumb .current {
    color: #2c3e50;
    font-weight: 500;
}

/* 文章详情页右侧栏 */
.article-detail-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px;
}

.article-main {
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.article-main p,
.article-main li {
    overflow-wrap: break-word;
    word-break: break-all;
}

.article-main pre,
.article-main code {
    white-space: pre-wrap;
    word-wrap: break-word;
    display: block;
    overflow-x: auto;
    max-width: 100%;
}

.article-sidebar {
    position: relative;
}

.sidebar-sticky {
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.sidebar-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.sidebar-card h3 {
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
}

.sidebar-article-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-article-list li {
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
}

.sidebar-article-list li:last-child {
    border-bottom: none;
}

.sidebar-article-list a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    display: block;
    transition: color 0.3s;
}

.sidebar-article-list a:hover {
    color: #667eea;
}

.sidebar-article-list .article-date {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
    display: block;
}

@media (max-width: 992px) {
    .article-detail-container {
        grid-template-columns: 1fr;
    }
    .article-sidebar {
        display: none;
    }
}

.page-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.page-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.page-header p {
    opacity: 0.8;
}

.services-detail {
    padding: 60px 0;
    background: #fff;
}

.service-item {
    display: flex;
    gap: 30px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

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

.service-info h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.service-info p {
    color: #7f8c8d;
    margin-bottom: 15px;
}

.service-info ul {
    list-style: none;
    margin-bottom: 15px;
}

.service-info ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
}

.service-info ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.service-price {
    display: inline-flex;
    align-items: baseline;
}

.service-price .price {
    font-size: 28px;
    font-weight: 700;
    color: #e74c3c;
}

.service-price .unit {
    font-size: 14px;
    color: #7f8c8d;
    margin-left: 5px;
}

.packages {
    padding: 60px 0;
    background: #f5f5f5;
}

.packages h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 50px;
    color: #2c3e50;
}

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

.package-card {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    position: relative;
    border: 2px solid #e0e0e0;
}

.package-card.featured {
    border-color: #667eea;
    transform: scale(1.05);
}

.package-card h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.package-price {
    font-size: 36px;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 25px;
}

.package-card ul {
    list-style: none;
    margin-bottom: 30px;
}

.package-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.templates-detail {
    padding: 60px 0;
    background: #fff;
}

.templates-detail .templates-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.templates-detail .template-card {
    text-align: left;
}

.templates-detail .template-card ul {
    list-style: none;
    margin: 15px 0;
}

.templates-detail .template-card ul li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    font-size: 13px;
    color: #666;
}

.templates-detail .template-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #3498db;
}

.template-features {
    padding: 60px 0;
    background: #f5f5f5;
}

.template-features h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 50px;
    color: #2c3e50;
}

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

.feature-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 15px;
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.feature-item p {
    font-size: 14px;
    color: #7f8c8d;
}

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

.contact-content .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h3,
.contact-form h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #2c3e50;
}

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

.info-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #2c3e50;
}

.info-item p {
    font-size: 14px;
    color: #7f8c8d;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.form-group textarea {
    resize: vertical;
}

.faq {
    padding: 60px 0;
    background: #f5f5f5;
}

.faq h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: #2c3e50;
}

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

.faq-item {
    background: #fff;
    padding: 20px 30px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.faq-item h4 {
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.faq-item p {
    font-size: 14px;
    color: #7f8c8d;
    line-height: 1.6;
}

.news-list {
    padding: 60px 0;
    background: #fff;
}

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

.news-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.news-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.news-card h3 a {
    color: #2c3e50;
    text-decoration: none;
}

.news-card h3 a:hover {
    color: #3498db;
}

.news-summary {
    font-size: 14px;
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 15px;
}

.news-meta span {
    margin-right: 20px;
}

.read-more {
    color: #3498db;
    text-decoration: none;
    font-size: 14px;
}

.read-more:hover {
    text-decoration: underline;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    padding: 20px 0;
}

.pagination-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 50px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 42px;
    padding: 0 20px;
    border-radius: 50px;
    text-decoration: none;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #fff;
    border: 1px solid #e8e8e8;
    cursor: pointer;
}

.page-btn .arrow {
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
}

.page-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-color: transparent;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f0f0f0;
    color: #bbb;
    border-color: #e8e8e8;
}

.page-btn.disabled:hover {
    transform: none;
    box-shadow: none;
    background: #f0f0f0;
    color: #bbb;
    border-color: #e8e8e8;
}

.page-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
}

.page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 50%;
    text-decoration: none;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #fff;
    border: 1px solid #e8e8e8;
}

.page-num:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-color: transparent;
    transform: scale(1.08);
}

.page-num.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    transform: scale(1.08);
}

.page-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 40px;
    color: #bbb;
    font-size: 16px;
    letter-spacing: 2px;
}

.news-detail {
    padding: 60px 0;
    background: #fff;
}

.news-detail h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.news-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin: 30px 0;
}

.news-content h1,
.news-content h2,
.news-content h3,
.news-content h4,
.news-content h5,
.news-content h6 {
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.news-content h1 {
    font-size: 28px;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.news-content h2 {
    font-size: 24px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 8px;
}

.news-content h3 {
    font-size: 20px;
}

.news-content h4 {
    font-size: 18px;
}

.news-content h5 {
    font-size: 16px;
}

.news-content h6 {
    font-size: 14px;
    color: #666;
}

.news-content p {
    margin-bottom: 18px;
    line-height: 1.8;
}

.news-content a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.news-content a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.news-content ul,
.news-content ol {
    margin-bottom: 18px;
    padding-left: 28px;
}

.news-content ul li,
.news-content ol li {
    margin-bottom: 8px;
    line-height: 1.8;
}

.news-content ul li {
    list-style-type: disc;
}

.news-content ol li {
    list-style-type: decimal;
}

.news-content blockquote {
    margin: 20px 0;
    padding: 15px 20px;
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    color: #555;
    border-radius: 0 8px 8px 0;
}

.news-content blockquote p {
    margin-bottom: 0;
}

.news-content code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    color: #e74c3c;
}

.news-content pre {
    background: #f6f8fa;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 18px;
    border: 1px solid #e1e4e8;
}

.news-content pre code {
    background: transparent;
    padding: 0;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
}

.news-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

.news-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 18px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.news-content table th {
    background: #f8f9fa;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #667eea;
}

.news-content table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
}

.news-content table tr:hover td {
    background: #f8f9fa;
}

.news-content hr {
    margin: 30px 0;
    border: none;
    border-top: 1px solid #e0e0e0;
}

.news-content strong,
.news-content b {
    font-weight: 600;
    color: #2c3e50;
}

.news-content em,
.news-content i {
    font-style: italic;
}

.news-content del {
    text-decoration: line-through;
    color: #999;
}

.news-content input[type="checkbox"] {
    margin-right: 8px;
}

.back-link {
    display: inline-block;
    padding: 12px 25px;
    background: #f8f9fa;
    color: #3498db;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s;
}

.back-link:hover {
    background: #e9ecef;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 992px) {
    .hero h2 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .services-grid,
    .templates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 12px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .header .contact-btn {
        display: none;
    }
    
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #2c3e50;
        display: none;
        padding: 20px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav.active {
        display: block;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav ul li {
        margin: 0;
    }
    
    .nav ul li a {
        display: block;
        padding: 10px 15px;
        border-radius: 5px;
    }
    
    .nav ul li a:hover {
        background: rgba(255,255,255,0.1);
    }
    
    .hero {
        padding: 50px 0;
    }
    
    .hero h2 {
        font-size: 26px;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 28px;
        font-size: 14px;
        margin: 5px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 25px;
    }
    
    .stat-item h3 {
        font-size: 28px;
    }
    
    .section-title h3 {
        font-size: 22px;
    }
    
    .services-grid,
    .templates-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 25px;
    }
    
    .process-step {
        padding: 20px;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .package-card.featured {
        transform: none;
    }
    
    .contact-content .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        margin: 0 -12px -30px;
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .service-item {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .service-item img {
        width: 100%;
        height: auto;
    }
    
    .faq-item {
        padding: 15px 20px;
    }
    
    .news-card {
        flex-direction: column;
    }
    
    .news-image {
        width: 100%;
        height: 180px;
    }
    
    .news-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 22px;
    }
    
    .hero p {
        font-size: 14px;
    }
    
    .stat-item h3 {
        font-size: 24px;
    }
    
    .section-title h3 {
        font-size: 20px;
    }
    
    .template-card {
        padding: 20px;
    }
    
    .template-card h4 {
        font-size: 16px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
    }
}

/* 文章上下篇导航 */
.article-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.article-nav .nav-prev,
.article-nav .nav-next {
    flex: 1;
    max-width: 50%;
}

.article-nav .nav-next {
    text-align: right;
}

.article-nav .nav-label {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.article-nav a {
    color: #3498db;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: color 0.3s;
}

.article-nav a:hover {
    color: #2980b9;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .article-nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .article-nav .nav-prev,
    .article-nav .nav-next {
        max-width: 100%;
    }
    
    .article-nav .nav-next {
        text-align: left;
    }
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
    z-index: 99;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, #2980b9 0%, #2471a3 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.5);
}

.back-to-top span {
    font-size: 24px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}