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

:root {
    --primary-color: #165DFF;
    --primary-dark: #0E42B3;
    --primary-light: #E8F3FF;
    --secondary-color: #00B42A;
    --warning-color: #FF7D00;
    --danger-color: #F53F3F;
    --text-primary: #1D2129;
    --text-secondary: #4E5969;
    --text-light: #86909C;
    --border-color: #E5E6EB;
    --bg-light: #F7F8FA;
    --bg-white: #FFFFFF;
    --border-radius: 4px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 2px 8px rgba(0,0,0,0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
}

/* 动效控制 - 兼容reduced-motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.section {
    padding: 60px 0;
}

.section-gray {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    margin-top: 16px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: var(--border-radius);
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    line-height: 1.5;
}

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

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

.btn-secondary {
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-color: var(--primary-light);
}

.btn-secondary:hover {
    background-color: #D4E7FF;
    color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

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

/* 顶部信息栏 */
.top-bar {
    background-color: #0E42B3;
    color: white;
    font-size: 13px;
    line-height: 36px;
}

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

.top-bar-right a {
    color: white;
    margin-left: 20px;
}

.top-bar-right a:hover {
    opacity: 0.85;
}

/* 头部 */
.site-header {
    background-color: white;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-text h1 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 4px 0;
}

.brand-text p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

.search-box {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.search-box input {
    border: none;
    padding: 8px 12px;
    width: 260px;
    font-size: 14px;
    outline: none;
}

.search-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0 16px;
    cursor: pointer;
    font-size: 14px;
}

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

/* 主导航 */
.main-nav {
    background-color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 12px 0;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background-color: white;
    border-radius: 1px;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-item a {
    display: block;
    padding: 0 20px;
    line-height: 50px;
    color: white;
    font-size: 15px;
    transition: background-color 0.2s ease;
}

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

.nav-consult {
    background-color: var(--danger-color) !important;
    font-weight: 500;
}

.nav-consult:hover {
    background-color: #CB2634 !important;
}

/* Hero区域 */
.hero-banner {
    position: relative;
    height: 480px;
    overflow: hidden;
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
}

.hero-text {
    max-width: 650px;
    color: white;
}

.hero-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 28px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    font-size: 15px;
    padding: 12px 28px;
}

.hero-buttons .btn-outline {
    border-color: white;
    color: white;
}

.hero-buttons .btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
}

/* 快捷导航 */
.quick-nav {
    background-color: white;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-color);
}

.quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.quick-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 10px;
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
    color: var(--text-primary);
    text-align: center;
}

.quick-nav-item:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.quick-nav-icon {
    color: var(--primary-color);
}

.quick-nav-item span {
    font-size: 14px;
    font-weight: 500;
}

/* 服务分类 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    transition: all 0.2s ease;
}

.service-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.service-icon {
    width: 56px;
    height: 56px;
    background-color: var(--primary-light);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.service-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.service-features {
    margin-bottom: 16px;
}

.service-features li {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.service-link {
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
}

/* 技术区域 */
.tech-notice {
    background-color: #FFF7E8;
    border-left: 4px solid var(--warning-color);
    padding: 16px 20px;
    margin-bottom: 30px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    color: #7D4A00;
}

.tech-notice p {
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.technology-tabs {
    background-color: white;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.tech-tab-nav {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-light);
}

.tech-tab {
    flex: 1;
    padding: 16px 12px;
    border: none;
    background: none;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
    line-height: 1.5;
}

.tech-tab small {
    font-size: 12px;
    color: var(--text-light);
    font-weight: normal;
}

.tech-tab.active {
    color: var(--primary-color);
    background-color: white;
    border-bottom-color: var(--primary-color);
}

.tech-tab:hover {
    color: var(--primary-color);
}

.tech-tab-content {
    display: none;
    padding: 30px;
}

.tech-tab-content.active {
    display: block;
}

.tech-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.tech-text h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.tech-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0 10px;
    color: var(--text-primary);
}

.tech-text p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.tech-text ul {
    margin: 12px 0;
    padding-left: 20px;
}

.tech-text ul li {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
    list-style-type: disc;
    padding-left: 4px;
}

.illustration-box {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 20px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

/* 医疗团队 */
.team-intro {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.team-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.team-notice {
    background-color: var(--primary-light);
    padding: 16px 20px;
    border-radius: var(--border-radius);
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 20px;
    color: var(--primary-dark);
}

.team-notice p {
    font-size: 13px;
    margin: 0;
    color: var(--primary-dark);
}

.team-illustration .illustration-box {
    height: auto;
    padding: 30px;
}

.service-flow h3 {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
}

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

.flow-item {
    text-align: center;
    padding: 24px;
    background-color: white;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.flow-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    margin: 0 auto 16px;
}

.flow-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.flow-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 就诊指南 */
.guide-steps {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 10px;
}

.step-item {
    flex: 1;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 24px;
    border: 1px solid var(--border-color);
}

.step-number {
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
}

.step-content h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.step-arrow {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.guide-notice {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 24px;
    border: 1px solid var(--border-color);
}

.guide-notice h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.guide-notice ul {
    padding-left: 20px;
}

.guide-notice ul li {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
    list-style-type: disc;
    margin-bottom: 8px;
}

/* 风险提示 */
.warning-box {
    background-color: #FFF1F0;
    border: 1px solid #FFCCC7;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.warning-header {
    background-color: var(--danger-color);
    color: white;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.warning-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.warning-content {
    padding: 24px;
}

.warning-content ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.warning-content ul li {
    font-size: 14px;
    line-height: 1.7;
    color: #7D1F1A;
    padding-left: 24px;
    position: relative;
}

.warning-content ul li::before {
    content: '!';
    position: absolute;
    left: 0;
    top: 2px;
    width: 16px;
    height: 16px;
    background-color: var(--danger-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* ========== 资讯列表核心样式 - 严格遵循规范 ========== */
ul.article-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

ul.article-cards > li.article-card {
    min-width: 0;
    width: auto;
    max-width: none;
    margin: 0;
    float: none;
    box-sizing: border-box;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.2s ease;
}

ul.article-cards > li.article-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.article-card .card-thumb {
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.article-card .card-thumb img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .card-thumb img {
    transform: scale(1.05);
}

.article-card .card-body {
    padding: 16px;
}

.article-card .card-title {
    overflow-wrap: anywhere;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.5;
    color: var(--text-primary);
}

.article-card .card-title a {
    color: var(--text-primary);
}

.article-card .card-title a:hover {
    color: var(--primary-color);
}

.article-card .card-date {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.article-card .card-summary {
    overflow-wrap: anywhere;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* FAQ */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 18px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: var(--bg-light);
}

.faq-question h4 {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
}

.faq-icon {
    width: 20px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--text-light);
    transition: all 0.2s ease;
}

.faq-icon::before {
    width: 12px;
    height: 2px;
    top: 9px;
    left: 4px;
}

.faq-icon::after {
    width: 2px;
    height: 12px;
    top: 4px;
    left: 9px;
}

.faq-item.active .faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 24px 20px;
    max-height: 1000px;
}

.faq-answer p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* 关于我们 */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.about-text p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.about-services {
    margin: 20px 0;
    padding-left: 20px;
}

.about-services li {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
    list-style-type: disc;
    margin-bottom: 8px;
}

.about-notice {
    background-color: #FFF7E8;
    border-left: 4px solid var(--warning-color);
    padding: 16px 20px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin-top: 20px;
}

.about-notice p {
    font-size: 13px;
    line-height: 1.7;
    color: #7D4A00;
    margin: 0 0 8px 0;
}

.about-notice p:last-child {
    margin-bottom: 0;
}

.sidebar-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 24px;
    border: 1px solid var(--border-color);
}

.sidebar-card h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-card ul li {
    font-size: 14px;
    line-height: 2;
    color: var(--text-secondary);
}

/* 联系我们 */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-info h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.contact-methods {
    margin-bottom: 24px;
}

.contact-method-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-method-item:last-child {
    border-bottom: none;
}

.method-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary-light);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.method-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.method-phone {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    display: inline-block;
    margin-bottom: 4px;
}

.method-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.contact-notice {
    background-color: var(--bg-light);
    padding: 16px 20px;
    border-radius: var(--border-radius);
    font-size: 13px;
    color: var(--text-secondary);
}

.contact-form-wrapper {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    border: 1px solid var(--border-color);
}

.contact-form-wrapper h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-desc {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease;
}

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

.form-group textarea {
    resize: vertical;
}

.form-success {
    text-align: center;
    padding: 30px 20px;
}

.form-success p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 12px;
    line-height: 1.6;
}

/* 页脚 */
.site-footer {
    background-color: #1D2129;
    color: white;
    padding-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand-text h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.footer-brand-text p {
    font-size: 12px;
    opacity: 0.7;
    margin: 0;
}

.footer-desc {
    font-size: 13px;
    line-height: 1.7;
    opacity: 0.8;
    margin-bottom: 12px;
}

.footer-notice {
    font-size: 12px;
    line-height: 1.7;
    opacity: 0.6;
    padding: 12px;
    background-color: rgba(255,255,255,0.05);
    border-radius: var(--border-radius);
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.footer-links li a:hover {
    color: white;
}

.footer-contact .contact-item {
    margin-bottom: 16px;
    font-size: 14px;
}

.contact-label {
    opacity: 0.7;
    display: block;
    margin-bottom: 4px;
}

.contact-phone {
    font-size: 18px;
    font-weight: 600;
    color: white;
}

.group-links a {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    margin-right: 12px;
    display: inline-block;
    margin-bottom: 6px;
}

.group-links a:hover {
    color: white;
}

.footer-links-inline {
    margin-top: 16px;
    font-size: 13px;
}

.footer-links-inline a {
    color: rgba(255,255,255,0.7);
    margin: 0 4px;
}

.footer-links-inline a:hover {
    color: white;
}

.footer-links-inline span {
    opacity: 0.5;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    opacity: 0.6;
}

.footer-bottom p {
    margin-bottom: 6px;
}

.footer-bottom p:last-child {
    margin-bottom: 0;
}

/* 返回顶部 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
}

/* ========== 文章详情页样式 ========== */
.article-detail-page .container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    padding: 30px 20px 60px;
}

.article-breadcrumb {
    grid-column: 1 / -1;
    font-size: 14px;
    color: var(--text-secondary);
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.article-breadcrumb a {
    color: var(--text-secondary);
}

.article-breadcrumb a:hover {
    color: var(--primary-color);
}

.article-main {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    border: 1px solid var(--border-color);
}

.article-header {
    margin-bottom: 24px;
}

.article-title {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.article-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.article-summary {
    background-color: var(--bg-light);
    padding: 16px 20px;
    border-radius: var(--border-radius);
    border-left: 3px solid var(--primary-color);
}

.article-summary p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

.article-cover {
    margin: 24px 0;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.article-cover img {
    width: 100%;
}

.article-content {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-primary);
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin: 30px 0 16px;
    font-weight: 600;
}

.article-content h2 {
    font-size: 22px;
}

.article-content h3 {
    font-size: 19px;
}

.article-content h4 {
    font-size: 17px;
}

.article-content ul,
.article-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

.article-content ul li {
    list-style-type: disc;
    margin-bottom: 8px;
    line-height: 1.8;
}

.article-content ol li {
    list-style-type: decimal;
    margin-bottom: 8px;
    line-height: 1.8;
}

.article-content img {
    margin: 20px auto;
    border-radius: var(--border-radius);
    max-width: 100%;
}

.article-disclaimer {
    margin: 40px 0;
}

.disclaimer-box {
    background-color: #FFF7E8;
    border: 1px solid #FFE4B5;
    border-radius: var(--border-radius);
    padding: 20px;
}

.disclaimer-box h4 {
    font-size: 16px;
    font-weight: 600;
    color: #7D4A00;
    margin-bottom: 12px;
}

.disclaimer-box p {
    font-size: 13px;
    line-height: 1.7;
    color: #7D4A00;
    margin-bottom: 8px;
}

.disclaimer-box p:last-child {
    margin-bottom: 0;
}

.article-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.related-topics h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.topic-card {
    background-color: var(--bg-light);
    padding: 16px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.topic-card:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-color);
}

.topic-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.topic-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-box {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 20px;
    border: 1px solid var(--border-color);
}

.sidebar-box h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-box p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.sidebar-box ul li {
    margin-bottom: 8px;
}

.sidebar-box ul li a {
    font-size: 14px;
    color: var(--text-secondary);
}

.sidebar-box ul li a:hover {
    color: var(--primary-color);
}

.text-link {
    font-size: 14px;
    font-weight: 500;
}

/* 响应式样式 */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quick-nav-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .flow-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .guide-steps {
        flex-wrap: wrap;
    }
    
    .step-item {
        flex: calc(50% - 20px);
        margin-bottom: 20px;
    }
    
    .step-arrow {
        display: none;
    }
    
    .tech-content-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-illustration {
        order: -1;
    }
    
    .team-intro {
        grid-template-columns: 1fr;
    }
    
    .warning-content ul {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .article-detail-page .container {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        order: -1;
    }
    
    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .site-header {
        padding: 12px 0;
    }
    
    .site-header .container {
        flex-direction: column;
        gap: 12px;
    }
    
    .header-search {
        width: 100%;
    }
    
    .search-box {
        width: 100%;
    }
    
    .search-box input {
        flex: 1;
        width: auto;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        z-index: 999;
    }
    
    .nav-list.show {
        display: flex;
    }
    
    .main-nav {
        position: relative;
    }
    
    .nav-item a {
        line-height: 46px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .hero-banner {
        height: 380px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-tab-nav {
        flex-wrap: wrap;
    }
    
    .tech-tab {
        flex: calc(50% - 0px);
        padding: 12px 8px;
        font-size: 14px;
    }
    
    .tech-tab-content {
        padding: 20px;
    }
    
    .tech-text h3 {
        font-size: 18px;
    }
    
    .flow-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .article-main {
        padding: 20px;
    }
    
    .article-title {
        font-size: 22px;
    }
    
    .article-actions {
        flex-direction: column;
    }
    
    .article-actions .btn {
        width: 100%;
    }
    
    .topics-grid {
        grid-template-columns: 1fr;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}
