/* ===== 全局重置 & 基础 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

body {
    background: linear-gradient(135deg, #f0f7ee 0%, #e6f0e0 100%);
    color: #1a2a1a;
    line-height: 1.7;
    font-size: 16px;
    transition: background 0.3s, color 0.3s;
    min-height: 100vh;
}

body.dark {
    background: linear-gradient(135deg, #0f1a0f 0%, #1a2a1a 100%);
    color: #d4e0d4;
}

a {
    color: #1a7a3a;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    text-decoration: underline;
    color: #0f5a2a;
}

body.dark a {
    color: #5a9a5a;
}

body.dark a:hover {
    color: #8fc98f;
}

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

/* ===== 导航吸顶 ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(26, 122, 58, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    transition: background 0.3s, box-shadow 0.3s;
}

body.dark .navbar {
    background: rgba(15, 74, 31, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo span {
    color: #ffd966;
}

.nav-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: center;
}

.nav-links a {
    color: #fff;
    font-size: 0.95rem;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: border 0.2s, opacity 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffd966;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    border-bottom-color: transparent;
    text-decoration: none;
    opacity: 0.9;
}

.menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid #fff;
    color: #fff;
    font-size: 1.4rem;
    padding: 4px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    backdrop-filter: blur(4px);
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 10px;
        padding: 16px 0 8px;
        background: rgba(26, 122, 58, 0.95);
        backdrop-filter: blur(12px);
        border-radius: 0 0 12px 12px;
        margin-top: 8px;
    }
    .nav-links.open {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
}

/* ===== 返回顶部 ===== */
.back-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(26, 122, 58, 0.85);
    backdrop-filter: blur(8px);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s, background 0.3s, transform 0.3s;
    border: none;
}

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

.back-top:hover {
    background: rgba(15, 90, 42, 0.95);
    transform: translateY(-3px);
}

body.dark .back-top {
    background: rgba(15, 74, 31, 0.85);
    backdrop-filter: blur(8px);
}

body.dark .back-top:hover {
    background: rgba(10, 50, 20, 0.95);
}

/* ===== 暗黑模式切换 ===== */
.dark-toggle {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.3s, transform 0.2s;
    backdrop-filter: blur(4px);
}

.dark-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

/* ===== 通用标题 ===== */
.section-title {
    text-align: center;
    margin: 50px 0 30px;
    position: relative;
}

.section-title h2 {
    font-size: 2rem;
    color: #1a5a2a;
    display: inline-block;
    padding-bottom: 10px;
    border-bottom: 3px solid #1a7a3a;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #1a7a3a, transparent);
}

body.dark .section-title h2 {
    color: #8fc98f;
    border-bottom-color: #4a9a4a;
}

body.dark .section-title h2::after {
    background: linear-gradient(90deg, transparent, #4a9a4a, transparent);
}

.section-title p {
    color: #4a6a4a;
    margin-top: 8px;
    font-size: 1rem;
}

body.dark .section-title p {
    color: #8a9a8a;
}

/* ===== 轮播 ===== */
.carousel {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-radius: 16px;
    margin: 20px 0;
    background: #d9e6d6;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

body.dark .carousel {
    background: #1f2f1f;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.carousel-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 40px;
    text-align: center;
    background: linear-gradient(135deg, #d4e8d0 0%, #b8d4b0 50%, #a0c8a0 100%);
    position: relative;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

body.dark .carousel-slide {
    background: linear-gradient(135deg, #1f3a1f 0%, #2a4f2a 50%, #1a3a1a 100%);
}

.carousel-slide h3 {
    font-size: 2.2rem;
    color: #1a5a2a;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
}

body.dark .carousel-slide h3 {
    color: #a0d4a0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.carousel-slide p {
    font-size: 1.1rem;
    max-width: 700px;
    color: #2a4a2a;
    position: relative;
}

body.dark .carousel-slide p {
    color: #b0d0b0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 122, 58, 0.7);
    backdrop-filter: blur(4px);
    color: #fff;
    border: none;
    padding: 12px 16px;
    font-size: 1.6rem;
    cursor: pointer;
    border-radius: 10px;
    transition: background 0.3s, transform 0.2s;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(26, 122, 58, 0.95);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 16px;
}

.carousel-btn.next {
    right: 16px;
}

.carousel-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.carousel-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    backdrop-filter: blur(2px);
}

.carousel-dots span.active {
    background: #ffd966;
    transform: scale(1.3);
}

.carousel-dots span:hover {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .carousel {
        height: 300px;
        border-radius: 12px;
    }
    .carousel-slide h3 {
        font-size: 1.6rem;
    }
    .carousel-slide p {
        font-size: 0.95rem;
    }
    .carousel-btn {
        padding: 8px 12px;
        font-size: 1.2rem;
    }
}

/* ===== 品牌介绍 ===== */
.brand-intro {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 40px 32px;
    margin: 30px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}

body.dark .brand-intro {
    background: rgba(26, 42, 26, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-intro h1 {
    font-size: 2.2rem;
    color: #1a5a2a;
    margin-bottom: 20px;
    text-align: center;
    background: linear-gradient(135deg, #1a5a2a, #2a8a4a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dark .brand-intro h1 {
    background: linear-gradient(135deg, #8fc98f, #a0d4a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-intro p {
    font-size: 1.05rem;
    margin-bottom: 16px;
    text-indent: 2em;
    color: #2a4a2a;
}

body.dark .brand-intro p {
    color: #b0c8b0;
}

.brand-intro .highlight {
    background: rgba(232, 244, 224, 0.8);
    backdrop-filter: blur(8px);
    padding: 20px;
    border-radius: 16px;
    border-left: 5px solid #1a7a3a;
    margin: 20px 0;
    transition: background 0.3s, border-color 0.3s;
}

body.dark .brand-intro .highlight {
    background: rgba(31, 58, 31, 0.8);
    backdrop-filter: blur(8px);
    border-left-color: #4a9a4a;
}

/* ===== 网格卡片 ===== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 20px 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 20px 0;
}

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

.card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 28px 22px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark .card {
    background: rgba(26, 42, 26, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.95);
}

body.dark .card:hover {
    background: rgba(36, 56, 36, 0.95);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.card h3 {
    color: #1a5a2a;
    margin-bottom: 10px;
    font-size: 1.2rem;
    transition: color 0.3s;
}

body.dark .card h3 {
    color: #8fc98f;
}

.card p {
    color: #3a5a3a;
    font-size: 0.95rem;
    line-height: 1.6;
    transition: color 0.3s;
}

body.dark .card p {
    color: #b0c8b0;
}

.card svg {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    fill: #1a7a3a;
    transition: transform 0.3s, fill 0.3s;
}

.card:hover svg {
    transform: scale(1.1);
    fill: #0f5a2a;
}

body.dark .card svg {
    fill: #5a9a5a;
}

body.dark .card:hover svg {
    fill: #7ab87a;
}

/* ===== 文章列表 ===== */
.article-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.article-item {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

body.dark .article-item {
    background: rgba(26, 42, 26, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.article-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

body.dark .article-item:hover {
    background: rgba(36, 56, 36, 0.95);
}

.article-item .date {
    color: #6a8a6a;
    font-size: 0.85rem;
    margin-bottom: 6px;
}

body.dark .article-item .date {
    color: #7a9a7a;
}

.article-item h4 {
    font-size: 1.1rem;
    color: #1a5a2a;
    margin-bottom: 8px;
    transition: color 0.3s;
}

body.dark .article-item h4 {
    color: #8fc98f;
}

.article-item p {
    color: #3a5a3a;
    font-size: 0.92rem;
    margin-bottom: 10px;
    transition: color 0.3s;
}

body.dark .article-item p {
    color: #b0c8b0;
}

.article-item .read-more {
    color: #1a7a3a;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
}

.article-item .read-more:hover {
    color: #0f5a2a;
    padding-left: 4px;
    text-decoration: none;
}

body.dark .article-item .read-more {
    color: #5a9a5a;
}

body.dark .article-item .read-more:hover {
    color: #8fc98f;
}

/* ===== FAQ ===== */
.faq-item {
    border-bottom: 1px solid rgba(200, 220, 200, 0.5);
    padding: 18px 0;
    cursor: pointer;
    transition: border-color 0.3s;
}

body.dark .faq-item {
    border-color: rgba(47, 74, 47, 0.5);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.05rem;
    color: #1a4a2a;
    transition: color 0.3s;
}

body.dark .faq-question {
    color: #8fc98f;
}

.faq-question .icon {
    font-size: 1.4rem;
    transition: transform 0.3s, color 0.3s;
    color: #1a7a3a;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(26, 122, 58, 0.1);
}

body.dark .faq-question .icon {
    color: #5a9a5a;
    background: rgba(90, 154, 90, 0.1);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), padding 0.3s;
    padding-top: 0;
    color: #3a5a3a;
    line-height: 1.7;
}

body.dark .faq-answer {
    color: #b0c8b0;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding-top: 14px;
}

/* ===== HowTo ===== */
.howto-section {
    background: rgba(238, 247, 234, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 36px 30px;
    margin: 30px 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.3s, border-color 0.3s;
}

body.dark .howto-section {
    background: rgba(26, 47, 26, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.howto-step {
    display: flex;
    gap: 16px;
    margin-bottom: 18px;
    align-items: flex-start;
    transition: transform 0.2s;
}

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

.howto-step .num {
    background: linear-gradient(135deg, #1a7a3a, #2a9a4a);
    color: #fff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(26, 122, 58, 0.3);
}

body.dark .howto-step .num {
    background: linear-gradient(135deg, #2a5a2a, #3a7a3a);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.howto-step .content {
    flex: 1;
}

.howto-step .content h4 {
    color: #1a5a2a;
    margin-bottom: 4px;
    transition: color 0.3s;
}

body.dark .howto-step .content h4 {
    color: #8fc98f;
}

.howto-step .content p {
    color: #3a5a3a;
    transition: color 0.3s;
}

body.dark .howto-step .content p {
    color: #b0c8b0;
}

/* ===== 联系我们 ===== */
.contact-info {
    background: linear-gradient(135deg, #1a7a3a 0%, #2a8a4a 100%);
    color: #fff;
    border-radius: 20px;
    padding: 40px 32px;
    margin: 30px 0;
    box-shadow: 0 4px 24px rgba(26, 122, 58, 0.2);
    transition: background 0.3s, box-shadow 0.3s;
}

body.dark .contact-info {
    background: linear-gradient(135deg, #0f4a1f 0%, #1a5a2a 100%);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.contact-info h2 {
    color: #ffd966;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.contact-info p {
    margin-bottom: 8px;
    font-size: 1rem;
    line-height: 1.7;
}

.contact-info a {
    color: #ffd966;
    transition: opacity 0.2s;
}

.contact-info a:hover {
    opacity: 0.85;
    text-decoration: underline;
}

/* ===== 底部 ===== */
footer {
    background: linear-gradient(135deg, #0f2a0f 0%, #1a3a1a 100%);
    color: #b0d0b0;
    padding: 40px 0 20px;
    margin-top: 50px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a7a3a, #ffd966, #1a7a3a);
}

body.dark footer {
    background: linear-gradient(135deg, #081a08 0%, #0f2a0f 100%);
}

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

footer h4 {
    color: #ffd966;
    margin-bottom: 12px;
    font-size: 1.1rem;
    position: relative;
    display: inline-block;
}

footer h4::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #ffd966;
}

footer a {
    color: #b0d0b0;
    display: block;
    margin-bottom: 6px;
    font-size: 0.9rem;
    transition: color 0.2s, padding-left 0.2s;
}

footer a:hover {
    color: #fff;
    padding-left: 4px;
    text-decoration: none;
}

footer .copyright {
    text-align: center;
    border-top: 1px solid rgba(47, 74, 47, 0.5);
    padding-top: 20px;
    font-size: 0.85rem;
    color: #7a9a7a;
    line-height: 1.8;
}

/* ===== 面包屑 ===== */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.9rem;
    color: #4a6a4a;
    padding: 12px 0;
    margin-bottom: 10px;
}

body.dark .breadcrumb {
    color: #8a9a8a;
}

.breadcrumb a {
    color: #1a7a3a;
    transition: color 0.2s;
}

body.dark .breadcrumb a {
    color: #5a9a5a;
}

.breadcrumb a:hover {
    color: #0f5a2a;
    text-decoration: underline;
}

body.dark .breadcrumb a:hover {
    color: #8fc98f;
}

.breadcrumb span {
    color: #6a8a6a;
}

body.dark .breadcrumb span {
    color: #7a9a7a;
}

/* ===== 滚动动画 ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ===== 数字动画 ===== */
.stat-number {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1a7a3a;
    transition: color 0.3s;
    background: linear-gradient(135deg, #1a7a3a, #2a9a4a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dark .stat-number {
    background: linear-gradient(135deg, #5a9a5a, #7ab87a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== 搜索 ===== */
.search-box {
    display: flex;
    max-width: 400px;
    margin: 10px auto 20px;
    border-radius: 30px;
    overflow: hidden;
    border: 2px solid #1a7a3a;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(26, 122, 58, 0.1);
}

.search-box:focus-within {
    border-color: #0f5a2a;
    box-shadow: 0 2px 12px rgba(26, 122, 58, 0.2);
}

body.dark .search-box {
    border-color: #4a9a4a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

body.dark .search-box:focus-within {
    border-color: #5a9a5a;
    box-shadow: 0 2px 12px rgba(74, 154, 74, 0.3);
}

.search-box input {
    flex: 1;
    padding: 12px 18px;
    border: none;
    outline: none;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: background 0.3s;
}

body.dark .search-box input {
    background: rgba(31, 47, 31, 0.9);
    color: #d4e0d4;
}

.search-box button {
    background: linear-gradient(135deg, #1a7a3a, #2a8a4a);
    color: #fff;
    border: none;
    padding: 12px 22px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
}

.search-box button:hover {
    background: linear-gradient(135deg, #0f5a2a, #1a7a3a);
    transform: scale(1.02);
}

/* ===== 图片懒加载占位 ===== */
.svg-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80px;
}

/* ===== 友情链接 ===== */
.friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding: 10px 0;
}

.friend-links a {
    color: #4a7a4a;
    font-size: 0.9rem;
    padding: 4px 14px;
    background: rgba(232, 244, 224, 0.7);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    transition: background 0.2s, transform 0.2s, color 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark .friend-links a {
    background: rgba(31, 58, 31, 0.7);
    backdrop-filter: blur(4px);
    color: #8fc98f;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.friend-links a:hover {
    background: rgba(208, 232, 200, 0.9);
    transform: translateY(-2px);
    text-decoration: none;
    color: #1a5a2a;
}

body.dark .friend-links a:hover {
    background: rgba(41, 68, 41, 0.9);
    color: #a0d4a0;
}

/* ===== 响应式微调 ===== */
@media (max-width: 480px) {
    .brand-intro h1 {
        font-size: 1.6rem;
    }
    .section-title h2 {
        font-size: 1.5rem;
    }
    .brand-intro {
        padding: 24px 16px;
    }
    .contact-info {
        padding: 24px 16px;
    }
    .howto-section {
        padding: 24px 16px;
    }
    .back-top {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
        bottom: 20px;
        right: 20px;
    }
}

/* ===== 额外动画 ===== */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.card.loading {
    background: linear-gradient(90deg, rgba(255,255,255,0.8) 25%, rgba(255,255,255,0.95) 50%, rgba(255,255,255,0.8) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

body.dark .card.loading {
    background: linear-gradient(90deg, rgba(26,42,26,0.8) 25%, rgba(36,56,36,0.95) 50%, rgba(26,42,26,0.8) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 选中文本颜色 */
::selection {
    background: #1a7a3a;
    color: #fff;
}

body.dark ::selection {
    background: #4a9a4a;
    color: #fff;
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #e8f0e0;
}

body.dark ::-webkit-scrollbar-track {
    background: #1a2a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #1a7a3a, #2a8a4a);
    border-radius: 4px;
}

body.dark ::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #2a5a2a, #3a7a3a);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0f5a2a, #1a7a3a);
}