* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: #f7fafc;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 40px 0;
}

.section-alt {
    background: #fff;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    color: #1a202c;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    color: #1a202c;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2d3748;
}

p {
    margin-bottom: 1rem;
    color: #4a5568;
}

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.hero h1 a {
    color: white;
    text-decoration: none;
}

.hero p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-card {
    text-align: center;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.table-container {
    overflow-x: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

th {
    background: #f7fafc;
    font-weight: 600;
    color: #2d3748;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.process-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}

.contact-info {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-item {
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.link-item {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: #4a5568;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.link-item:hover {
    background: #f7fafc;
    transform: translateY(-2px);
}

.footer {
    background: #2d3748;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.contact-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    z-index: 1000;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
}

.contact-btn {
    padding: 15px;
    text-align: center;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    background: none;
    cursor: pointer;
}

.contact-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.contact-btn:active {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(0.98);
}

.contact-btn:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

/* 为底部联系栏预留空间 */
body {
    padding-bottom: 30px;
}

/* Toast提示样式 */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.toast.show {
    opacity: 1;
}

/* 文章列表样式 */
.articles-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* 文章详情页样式 */
.article-section {
    padding: 40px 0;
    background: #f7fafc;
}

.article-detail-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.article-detail-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a202c;
    line-height: 1.3;
    text-align: left;
}

.article-content {
    margin-top: 2rem;
    line-height: 1.8;
    color: #2d3748;
    font-size: 1rem;
    text-align: left;
}

.article-content p {
    margin-bottom: 1.5rem;
    text-align: left;
}

.article-content h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #1a202c;
    text-align: left;
}

.article-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1a202c;
    text-align: left;
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #2d3748;
    text-align: left;
}

.article-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #2d3748;
    text-align: left;
}

.article-content h5,
.article-content h6 {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: #2d3748;
    text-align: left;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    display: block;
}

.article-content ul,
.article-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.article-content li {
    margin-bottom: 0.5rem;
    text-align: left;
}

.article-content blockquote {
    border-left: 4px solid #667eea;
    padding-left: 1rem;
    margin: 1.5rem 0;
    color: #4a5568;
    font-style: italic;
    background: #f7fafc;
    padding: 1rem 1rem 1rem 1.5rem;
    border-radius: 4px;
}

.article-content code {
    background: #f7fafc;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #e53e3e;
}

.article-content pre {
    background: #2d3748;
    color: #f7fafc;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.article-content pre code {
    background: none;
    color: inherit;
    padding: 0;
}

.article-content a {
    color: #667eea;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.article-content a:hover {
    color: #764ba2;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.article-content table th,
.article-content table td {
    padding: 0.75rem;
    text-align: left;
    border: 1px solid #e2e8f0;
}

.article-content table th {
    background: #f7fafc;
    font-weight: 600;
}

.article-content hr {
    border: none;
    border-top: 2px solid #e2e8f0;
    margin: 2rem 0;
}

.article-content strong {
    font-weight: 600;
    color: #1a202c;
}

.article-content em {
    font-style: italic;
}

/* 相关文章样式 */
.related-articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.related-article-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.related-article-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.related-article-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.related-article-title a {
    color: #2d3748;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-article-title a:hover {
    color: #667eea;
}

.related-article-summary {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 0.5rem;
}

/* 文章标签卡片 */
.article-tags-card {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.article-tags-card h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-badge {
    background: #667eea;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.article-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.article-item:last-child {
    border-bottom: none;
}

.article-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.article-title a {
    color: #2d3748;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: #667eea;
}

.article-meta {
    font-size: 0.85rem;
    color: #718096;
    margin-bottom: 0.75rem;
}

.article-meta .date {
    margin-right: 0.5rem;
}

.article-meta .tag {
    color: #667eea;
}

.article-summary {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 移动端优化 - 所有样式都针对移动端设计 */
.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.card {
    padding: 1.5rem;
    margin: 0.8rem 0;
}

.service-card {
    aspect-ratio: auto;
    min-height: 120px;
}

.contact-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
}

.links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.link-item {
    padding: 0.8rem;
    font-size: 0.9rem;
}
/* 标签云
区域 */

