/* ===== 全局基础样式 ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1a1a2e;
    background: #fff;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

body.dark-mode {
    background: #0f0f23;
    color: #e0e0e0;
}

a {
    color: #1a73e8;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

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

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

/* ===== 辅助类 ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* ===== 渐变背景 ===== */
.gradient-bg {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 50%, #00bcd4 100%);
}

/* ===== 毛玻璃效果 ===== */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dark-mode .glass {
    background: rgba(15, 15, 35, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

/* ===== 卡片组件 ===== */
.card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.dark-mode .card {
    background: #1a1a3e;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.dark-mode .card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

/* ===== 按钮组件 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1.2;
}

.btn-primary {
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    color: #fff;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.5);
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    border: 2px solid #1a73e8;
    color: #1a73e8;
}

.btn-outline:hover {
    background: #1a73e8;
    color: #fff;
    text-decoration: none;
}

.dark-mode .btn-outline {
    border-color: #64b5f6;
    color: #64b5f6;
}

.dark-mode .btn-outline:hover {
    background: #64b5f6;
    color: #0f0f23;
}

/* ===== 区块样式 ===== */
.section {
    padding: 80px 0;
}

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

.section-title h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #1a73e8, #00bcd4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode .section-title h2 {
    background: linear-gradient(135deg, #64b5f6, #4dd0e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.dark-mode .section-title p {
    color: #aaa;
}

/* ===== 网格系统 ===== */
.grid {
    display: grid;
    gap: 30px;
}

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

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

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

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== 滚动动画 ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 响应式基础 ===== */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    .section {
        padding: 60px 0;
    }
    .section-title h2 {
        font-size: 28px;
    }
    .section-title p {
        font-size: 16px;
    }
}

/* ===== 头部导航 ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background 0.3s ease;
}

.dark-mode .header {
    background: rgba(15, 15, 35, 0.95);
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: #1a73e8;
    text-decoration: none;
}

.logo:hover {
    text-decoration: none;
}

.dark-mode .logo {
    color: #64b5f6;
}

.logo svg {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav a {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
    position: relative;
    text-decoration: none;
}

.nav a:hover, .nav a.active {
    color: #1a73e8;
    text-decoration: none;
}

.dark-mode .nav a {
    color: #ccc;
}

.dark-mode .nav a:hover, .dark-mode .nav a.active {
    color: #64b5f6;
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: #1a73e8;
    border-radius: 2px;
}

.dark-mode .nav a.active::after {
    background: #64b5f6;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.dark-mode .nav-toggle span {
    background: #ccc;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: background 0.3s ease;
}

.theme-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.dark-mode .theme-toggle {
    color: #ccc;
}

.dark-mode .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    .dark-mode .nav {
        background: rgba(15, 15, 35, 0.98);
        border-bottom-color: rgba(255, 255, 255, 0.05);
    }
    .nav.open {
        display: flex;
    }
    .nav-toggle {
        display: block;
    }
}

/* ===== Hero 区域 ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 70px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero h1 {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #1a73e8, #00bcd4, #0d47a1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode .hero h1 {
    background: linear-gradient(135deg, #64b5f6, #4dd0e1, #42a5f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 20px;
    color: #555;
    margin-bottom: 32px;
    line-height: 1.8;
}

.dark-mode .hero p {
    color: #bbb;
}

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

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.dark-mode .hero-stats {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.hero-stats .stat {
    text-align: center;
}

.hero-stats .stat-num {
    font-size: 32px;
    font-weight: 800;
    color: #1a73e8;
}

.dark-mode .hero-stats .stat-num {
    color: #64b5f6;
}

.hero-stats .stat-label {
    font-size: 14px;
    color: #888;
    margin-top: 4px;
}

.hero-visual {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 600px;
    opacity: 0.8;
    pointer-events: none;
}

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 40px;
    }
    .hero-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    .hero h1 {
        font-size: 32px;
    }
    .hero p {
        font-size: 18px;
    }
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-content {
        text-align: center;
    }
}

/* ===== Banner 轮播 ===== */
.banner-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 16px;
}

.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide .slide-content {
    text-align: center;
    color: #fff;
    max-width: 600px;
}

.banner-slide h3 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}

.banner-slide p {
    font-size: 18px;
    opacity: 0.9;
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.banner-dot.active {
    background: #fff;
}

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: none;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    transition: background 0.3s ease;
    z-index: 2;
}

.banner-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
}

.banner-arrow.prev {
    left: 20px;
}

.banner-arrow.next {
    right: 20px;
}

@media (max-width: 768px) {
    .banner-slider {
        height: 350px;
    }
    .banner-slide h3 {
        font-size: 24px;
    }
    .banner-slide p {
        font-size: 16px;
    }
    .banner-arrow {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}

/* ===== 统计网格 ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.05), rgba(0, 188, 212, 0.05));
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
}

.dark-mode .stat-item {
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.1), rgba(0, 188, 212, 0.1));
}

.stat-item .num {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, #1a73e8, #00bcd4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode .stat-item .num {
    background: linear-gradient(135deg, #64b5f6, #4dd0e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item .label {
    font-size: 16px;
    color: #666;
    margin-top: 8px;
}

.dark-mode .stat-item .label {
    color: #aaa;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .stat-item .num {
        font-size: 36px;
    }
}

/* ===== 产品卡片 ===== */
.product-card {
    padding: 32px;
    text-align: center;
}

.product-card svg {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
}

.product-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.product-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}

.dark-mode .product-card p {
    color: #aaa;
}

/* ===== 案例卡片 ===== */
.case-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    height: 300px;
}

.case-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.case-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: #fff;
}

.case-overlay h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.case-overlay p {
    font-size: 14px;
    opacity: 0.9;
}

/* ===== 评价卡片 ===== */
.testimonial-card {
    padding: 32px;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    left: 24px;
    font-size: 64px;
    color: rgba(26, 115, 232, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card p {
    font-size: 16px;
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

.dark-mode .testimonial-card p {
    color: #bbb;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author svg {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
}

.testimonial-author .name {
    font-weight: 700;
}

.testimonial-author .role {
    font-size: 14px;
    color: #888;
}

/* ===== 合作伙伴 ===== */
.partner-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.partner-item {
    opacity: 0.6;
    transition: opacity 0.3s ease, filter 0.3s ease;
    filter: grayscale(1);
}

.partner-item:hover {
    opacity: 1;
    filter: grayscale(0);
}

.partner-item svg {
    height: 40px;
    width: auto;
}

/* ===== FAQ 手风琴 ===== */
.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 16px 0;
}

.dark-mode .faq-item {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    padding: 8px 0;
    user-select: none;
}

.faq-question .icon {
    transition: transform 0.3s ease;
    font-size: 24px;
    line-height: 1;
}

.faq-item.open .faq-question .icon {
    transform: rotate(45deg);
}

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

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 16px;
}

.faq-answer p {
    color: #666;
    line-height: 1.8;
}

.dark-mode .faq-answer p {
    color: #aaa;
}

/* ===== HowTo 步骤 ===== */
.howto-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    counter-reset: step;
}

.howto-step {
    position: relative;
    padding: 32px;
    text-align: center;
    background: rgba(26, 115, 232, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(26, 115, 232, 0.1);
    transition: transform 0.3s ease;
}

.howto-step:hover {
    transform: translateY(-4px);
}

.dark-mode .howto-step {
    background: rgba(26, 115, 232, 0.05);
    border-color: rgba(26, 115, 232, 0.2);
}

.howto-step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #1a73e8, #00bcd4);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.howto-step h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    margin-top: 8px;
}

.howto-step p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}

.dark-mode .howto-step p {
    color: #aaa;
}

/* ===== 联系区域 ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: #555;
}

.dark-mode .contact-info p {
    color: #aaa;
}

.contact-info svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    padding: 14px 18px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 16px;
    background: #fff;
    transition: border-color 0.3s ease;
    font-family: inherit;
    color: inherit;
}

.dark-mode .contact-form input,
.dark-mode .contact-form textarea {
    background: #1a1a3e;
    border-color: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #1a73e8;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== 页脚 ===== */
.footer {
    background: #0f0f23;
    color: #ccc;
    padding: 60px 0 20px;
}

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

.footer h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer a {
    color: #aaa;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #64b5f6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== 返回顶部按钮 ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

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

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.5);
}

/* ===== 搜索模态框 ===== */
.search-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.search-modal.open {
    display: flex;
}

.search-modal .search-box {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.dark-mode .search-modal .search-box {
    background: #1a1a3e;
}

.search-modal input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 18px;
    background: transparent;
    color: inherit;
    font-family: inherit;
}

.search-modal input:focus {
    outline: none;
    border-color: #1a73e8;
}

.search-modal .search-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
}

/* ===== 新闻卡片 ===== */
.news-card {
    padding: 24px;
}

.news-card .date {
    font-size: 14px;
    color: #888;
    margin-bottom: 8px;
}

.news-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.news-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}

.dark-mode .news-card p {
    color: #aaa;
}

.news-card .read-more {
    color: #1a73e8;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
}

.dark-mode .news-card .read-more {
    color: #64b5f6;
}

/* ===== 文章导航 ===== */
.article-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}

/* ===== 暗色模式额外调整 ===== */
.dark-mode .gradient-bg {
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 50%, #006064 100%);
}

/* ===== 打印样式 ===== */
@media print {
    .header, .back-to-top, .search-modal, .nav-toggle, .theme-toggle {
        display: none !important;
    }
    .hero {
        min-height: auto;
        padding: 20px 0;
    }
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    .fade-in {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ===== 高分辨率屏幕优化 ===== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .card {
        -webkit-font-smoothing: antialiased;
    }
}

/* ===== 减少动画偏好 ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .fade-in {
        opacity: 1 !important;
        transform: none !important;
    }
}