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

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

body.dark-mode {
    background: #0d1117;
    color: #e6edf3;
}

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

/* 头部导航 */
header {
    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);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease;
}

.dark-mode header {
    background: rgba(13, 17, 23, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
}

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

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

.nav-links a:hover,
.nav-links a.active {
    color: #e94560;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #e94560;
    border-radius: 2px;
}

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

.nav-actions button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    color: #1a1a2e;
    transition: background 0.3s ease, color 0.3s ease;
}

.dark-mode .nav-actions button {
    color: #e6edf3;
}

.nav-actions button:hover {
    background: rgba(233, 69, 96, 0.1);
    color: #e94560;
}

.search-bar {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    animation: slideDown 0.3s ease;
}

.dark-mode .search-bar {
    background: rgba(13, 17, 23, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.search-bar.active {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-bar form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 8px;
}

.search-bar input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    background: #f5f7fa;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.dark-mode .search-bar input {
    background: #161b22;
    border-color: #30363d;
    color: #e6edf3;
}

.search-bar input:focus {
    border-color: #e94560;
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

.search-bar button {
    padding: 10px 20px;
    background: #e94560;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.2s ease;
}

.search-bar button:hover {
    background: #d63851;
    transform: scale(1.02);
}

.menu-toggle {
    display: none;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    padding: 80px 20px 20px;
    animation: fadeIn 0.3s ease;
}

.dark-mode .mobile-menu {
    background: rgba(13, 17, 23, 0.98);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    margin-bottom: 16px;
}

.mobile-menu a {
    text-decoration: none;
    color: #1a1a2e;
    font-size: 20px;
    font-weight: 500;
    display: block;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.dark-mode .mobile-menu a {
    color: #e6edf3;
}

.mobile-menu a:hover {
    color: #e94560;
}

/* 响应式导航 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
}

/* 英雄区渐变Banner */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.hero-slider {
    position: relative;
}

.slide {
    display: none;
    position: relative;
    min-height: 600px;
    align-items: center;
    justify-content: center;
    animation: slideFade 0.6s ease;
}

@keyframes slideFade {
    from {
        opacity: 0;
        transform: scale(1.02);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.slide.active {
    display: flex;
}

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

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

.slide-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 60px 20px;
    max-width: 800px;
    animation: contentUp 0.8s ease 0.2s both;
}

@keyframes contentUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-content h1 {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.slide-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    line-height: 1.6;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

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

.btn-primary,
.btn-secondary {
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #e94560;
    color: white;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 2;
}

.slider-prev,
.slider-next {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

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

.dot.active {
    background: #e94560;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* 英雄区响应式 */
@media (max-width: 768px) {
    .slide-content h1 {
        font-size: 32px;
    }
    .slide-content p {
        font-size: 16px;
    }
    .hero,
    .slide {
        min-height: 450px;
    }
    .btn-primary,
    .btn-secondary {
        padding: 12px 28px;
        font-size: 14px;
    }
}

/* 通用区块 */
section {
    padding: 80px 0;
    transition: background 0.3s ease;
}

h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 48px;
    text-align: center;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #e94560;
    border-radius: 2px;
    margin: 12px auto 0;
    transition: width 0.3s ease;
}

h2:hover::after {
    width: 100px;
}

.dark-mode h2::after {
    background: #e94560;
}

/* 关于我们 - 圆角卡片与毛玻璃 */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-text p {
    font-size: 16px;
    color: #555;
    margin-bottom: 16px;
    line-height: 1.8;
    transition: color 0.3s ease;
}

.dark-mode .about-text p {
    color: #b0b8c1;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(233, 69, 96, 0.05);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.dark-mode .stat-item {
    background: rgba(233, 69, 96, 0.1);
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.15);
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: #e94560;
    display: block;
}

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

.about-image svg {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image svg:hover {
    transform: scale(1.02);
}

/* 关于响应式 */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    h2 {
        font-size: 28px;
    }
}

/* 品牌历史 - 时间线 */
.brand-history {
    background: rgba(233, 69, 96, 0.03);
}

.dark-mode .brand-history {
    background: rgba(233, 69, 96, 0.05);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e94560;
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 40px;
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(5px);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #e94560;
    border: 3px solid #f5f7fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dark-mode .timeline-item::before {
    border-color: #0d1117;
}

.timeline-item:hover::before {
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(233, 69, 96, 0.5);
}

.timeline-year {
    font-size: 14px;
    font-weight: 700;
    color: #e94560;
    margin-bottom: 4px;
}

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

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

.dark-mode .timeline-content p {
    color: #b0b8c1;
}

/* 团队 - 圆角卡片 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-card {
    background: white;
    border-radius: 16px;
    padding: 32px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.dark-mode .team-card {
    background: #161b22;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

.team-card svg {
    width: 120px;
    height: 120px;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.team-card:hover svg {
    transform: rotate(5deg) scale(1.05);
}

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

.team-card p {
    color: #e94560;
    font-weight: 500;
    margin-bottom: 8px;
}

.team-desc {
    font-size: 14px;
    color: #888;
}

/* 团队响应式 */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* 产品中心 - 圆角卡片 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dark-mode .product-card {
    background: #161b22;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

.product-card svg {
    width: 100%;
    height: 160px;
    border-radius: 12px;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.product-card:hover svg {
    transform: scale(1.02);
}

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

.product-card p {
    color: #666;
    line-height: 1.6;
}

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

/* 产品响应式 */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* 产品优势 */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.advantage-item {
    text-align: center;
    padding: 32px 20px;
    background: rgba(233, 69, 96, 0.03);
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.dark-mode .advantage-item {
    background: rgba(233, 69, 96, 0.05);
}

.advantage-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.1);
}

.advantage-item svg {
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.advantage-item:hover svg {
    transform: rotate(10deg) scale(1.1);
}

.advantage-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.advantage-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.dark-mode .advantage-item p {
    color: #b0b8c1;
}

/* 优势响应式 */
@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* 解决方案 */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.solution-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dark-mode .solution-card {
    background: #161b22;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

.solution-card svg {
    width: 100%;
    height: 140px;
    border-radius: 12px;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.solution-card:hover svg {
    transform: scale(1.02);
}

.solution-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.solution-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.dark-mode .solution-card p {
    color: #b0b8c1;
}

/* 解决方案响应式 */
@media (max-width: 768px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }
}

/* 行业应用 */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.app-item {
    text-align: center;
    padding: 32px 20px;
    background: rgba(15, 52, 96, 0.03);
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.dark-mode .app-item {
    background: rgba(15, 52, 96, 0.05);
}

.app-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(15, 52, 96, 0.1);
}

.app-item svg {
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.app-item:hover svg {
    transform: scale(1.15);
}

.app-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.app-item p {
    color: #666;
    font-size: 14px;
}

.dark-mode .app-item p {
    color: #b0b8c1;
}

/* 应用响应式 */
@media (max-width: 768px) {
    .apps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* 案例展示 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dark-mode .case-card {
    background: #161b22;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

.case-card svg {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.case-card:hover svg {
    transform: scale(1.02);
}

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

.case-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.dark-mode .case-card p {
    color: #b0b8c1;
}

/* 案例响应式 */
@media (max-width: 768px) {
    .cases-grid {
        grid-template-columns: 1fr;
    }
}

/* 合作伙伴 */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.partner-item svg {
    width: 100%;
    height: 60px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-item:hover svg {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 合作伙伴响应式 */
@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

/* 客户评价 */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dark-mode .testimonial-card {
    background: #161b22;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-card svg {
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.testimonial-card:hover svg {
    transform: scale(1.1);
}

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

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

.testimonial-author {
    font-weight: 600;
    color: #e94560;
    font-size: 14px;
}

/* 评价响应式 */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* 新闻资讯 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dark-mode .news-card {
    background: #161b22;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

.news-card svg {
    width: 100%;
    height: 160px;
    border-radius: 12px;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.news-card:hover svg {
    transform: scale(1.02);
}

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

.news-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

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

.news-date {
    font-size: 13px;
    color: #999;
    display: block;
    margin-bottom: 12px;
}

.read-more {
    color: #e94560;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.read-more:hover {
    color: #d63851;
    padding-left: 4px;
}

.news-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
}

.prev-news,
.next-news {
    color: #e94560;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
}

.prev-news:hover,
.next-news:hover {
    color: #d63851;
    transform: translateX(2px);
}

/* 新闻响应式 */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* 常见问题 */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
    padding: 16px 0;
    transition: border-color 0.3s ease;
}

.dark-mode .faq-item {
    border-color: #30363d;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 0;
    color: #1a1a2e;
    transition: color 0.3s ease;
}

.dark-mode .faq-question {
    color: #e6edf3;
}

.faq-question:hover {
    color: #e94560;
}

.faq-question svg {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 8px 0 16px;
    color: #666;
    line-height: 1.7;
    animation: slideDown 0.3s ease;
}

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

.faq-item.active .faq-answer {
    display: block;
}

/* 使用指南 */
.howto-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
}

.step {
    padding: 32px 20px;
    background: rgba(233, 69, 96, 0.03);
    border-radius: 16px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.dark-mode .step {
    background: rgba(233, 69, 96, 0.05);
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.1);
}

.step-number {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #e94560;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.step:hover .step-number {
    transform: translateX(-50%) scale(1.1);
}

.step svg {
    margin: 16px 0;
    transition: transform 0.3s ease;
}

.step:hover svg {
    transform: rotate(360deg);
}

.step h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step p {
    color: #666;
    font-size: 14px;
}

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

/* 使用指南响应式 */
@media (max-width: 768px) {
    .howto-steps {
        grid-template-columns: 1fr;
    }
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.contact-item:hover svg {
    transform: scale(1.2);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    background: white;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.dark-mode .contact-form input,
.dark-mode .contact-form textarea {
    background: #161b22;
    border-color: #30363d;
    color: #e6edf3;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #e94560;
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

.contact-form button {
    padding: 14px 32px;
    background: #e94560;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
    background: #d63851;
    transform: scale(1.02);
}

/* 联系我们响应式 */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* 相关推荐 */
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-item {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

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

.related-item svg {
    width: 100%;
    height: 120px;
    border-radius: 12px;
    margin-bottom: 8px;
    transition: transform 0.3s ease;
}

.related-item:hover svg {
    transform: scale(1.02);
}

.related-item span {
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
}

.related-item:hover span {
    color: #e94560;
}

/* 相关推荐响应式 */
@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* 相关文章 */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-item {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dark-mode .article-item {
    background: #161b22;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

.article-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.article-item h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-item h3 a:hover {
    color: #e94560;
}

.article-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.dark-mode .article-item p {
    color: #b0b8c1;
}

.article-date {
    font-size: 13px;
    color: #999;
}

.articles-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
}

.prev-article,
.next-article {
    color: #e94560;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
}

.prev-article:hover,
.next-article:hover {
    color: #d63851;
    transform: translateX(2px);
}

/* 文章响应式 */
@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

/* 面包屑 */
.breadcrumb {
    padding: 16px 0;
    background: transparent;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list li+li::before {
    content: '/';
    margin-right: 8px;
    color: #999;
}

.breadcrumb-list a {
    color: #e94560;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
    text-decoration: underline;
    color: #d63851;
}

.breadcrumb-list span {
    color: #999;
}

/* 页脚 */
footer {
    background: #1a1a2e;
    color: #ccc;
    padding: 60px 0 0;
}

.dark-mode footer {
    background: #0d1117;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    color: #ccc;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    color: #e94560;
    transform: translateY(-2px);
}

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

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-col a:hover {
    color: #e94560;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright p {
    font-size: 13px;
    margin-bottom: 4px;
}

.footer-legal {
    display: flex;
    gap: 16px;
}

.footer-legal a {
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #e94560;
}

/* 页脚响应式 */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

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

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #e94560;
    color: white;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
}

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

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.5);
}

/* 返回顶部响应式 */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
    }
}

/* 滚动动画 - 使用IntersectionObserver在JS中实现，这里定义关键帧 */
@keyframes scrollFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 通用hover动画 */
a,
button,
.card {
    transition: all 0.3s ease;
}

/* 图片/卡片悬停阴影增强 */
.card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

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

/* 按钮点击反馈 */
button:active {
    transform: scale(0.96);
}

/* 输入框自动填充样式 */
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset;
    -webkit-text-fill-color: #1a1a2e;
}

.dark-mode input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #161b22 inset;
    -webkit-text-fill-color: #e6edf3;
}

/* 无障碍焦点样式 */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #e94560;
    outline-offset: 2px;
}

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

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

.dark-mode ::-webkit-scrollbar-track {
    background: #161b22;
}

::-webkit-scrollbar-thumb {
    background: #e94560;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d63851;
}

/* 选择文本颜色 */
::selection {
    background: #e94560;
    color: white;
}

.dark-mode ::selection {
    background: #e94560;
    color: white;
}

/* 打印样式 */
@media print {
    header,
    footer,
    .back-to-top,
    .mobile-menu,
    .slider-controls,
    .search-bar {
        display: none !important;
    }
    body {
        background: white;
        color: black;
    }
    section {
        padding: 20px 0;
        page-break-inside: avoid;
    }
}