/* ===== 全局重置与基础 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
}
body {
    background: #f8fafc;
    color: #1e293b;
    line-height: 1.7;
    overflow-x: hidden;
}
a {
    color: #1a73e8;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 导航栏 ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    transition: box-shadow 0.3s;
}
.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.nav-logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a73e8;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-logo svg {
    width: 32px;
    height: 32px;
}
.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
}
.nav-links a {
    color: #475569;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
    transition: color 0.2s;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #1a73e8;
    transition: width 0.3s;
}
.nav-links a:hover::after {
    width: 100%;
}
.nav-links a:hover {
    color: #1a73e8;
    text-decoration: none;
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
}
.nav-toggle span {
    width: 26px;
    height: 3px;
    background: #1e293b;
    border-radius: 2px;
    transition: 0.3s;
}
.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.mobile-menu.active {
    display: block;
}
.mobile-menu a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
    font-weight: 500;
}

/* ===== 面包屑 ===== */
.breadcrumb {
    background: #fff;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.9rem;
}
.breadcrumb a {
    color: #64748b;
}
.breadcrumb span {
    color: #94a3b8;
    margin: 0 6px;
}
.breadcrumb .current {
    color: #1e293b;
    font-weight: 500;
}

/* ===== 首屏 ===== */
.hero {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    color: #fff;
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: heroGlow 8s ease-in-out infinite;
}
@keyframes heroGlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
}
.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    position: relative;
}
.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
    position: relative;
}
.hero .cta-btn {
    display: inline-block;
    background: #fff;
    color: #1a73e8;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.hero .cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

/* ===== 轮播 ===== */
.carousel {
    background: #fff;
    padding: 40px 0;
    border-bottom: 1px solid #e2e8f0;
}
.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.carousel-slide {
    min-width: 100%;
    padding: 40px;
    background: linear-gradient(135deg, #f0f4ff, #e8f0fe);
    display: flex;
    align-items: center;
    gap: 30px;
}
.carousel-slide:nth-child(2) {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
}
.carousel-slide:nth-child(3) {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
}
.carousel-text {
    flex: 1;
}
.carousel-text h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #1e293b;
}
.carousel-text p {
    color: #475569;
    font-size: 1rem;
}
.carousel-img {
    flex: 0 0 200px;
    text-align: center;
}
.carousel-img svg {
    width: 180px;
    height: 140px;
}
.carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}
.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}
.carousel-dot.active {
    background: #1a73e8;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    color: #1e293b;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    z-index: 2;
}
.carousel-btn:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}
.carousel-btn.prev {
    left: 10px;
}
.carousel-btn.next {
    right: 10px;
}

/* ===== 通用区块 ===== */
.section {
    padding: 60px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}
.section-title p {
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
    border: 1px solid #f1f5f9;
}
.card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}
.card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #0f172a;
}
.card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #334155;
}
.card p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.7;
}
.card svg {
    margin-bottom: 12px;
}
.badge {
    display: inline-block;
    background: #e8f0fe;
    color: #1a73e8;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* ===== 品牌介绍 ===== */
.brand-intro {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
}
.brand-content {
    display: flex;
    gap: 40px;
    align-items: center;
}
.brand-text {
    flex: 1;
}
.brand-text h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}
.brand-text p {
    margin-bottom: 12px;
    color: #475569;
}
.brand-stats {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}
.brand-stat {
    text-align: center;
}
.brand-stat .num {
    font-size: 2rem;
    font-weight: 700;
    color: #1a73e8;
}
.brand-stat .label {
    color: #64748b;
    font-size: 0.9rem;
}
.brand-logo {
    flex: 0 0 280px;
    text-align: center;
}
.brand-logo svg {
    width: 260px;
    height: 200px;
}

/* ===== 产品优势 ===== */
.product-advantage {
    background: #f8fafc;
}

/* ===== 解决方案 ===== */
.solutions {
    background: #fff;
}
.solution-item {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    padding: 20px;
    border-radius: 12px;
    background: #f8fafc;
    transition: all 0.3s;
}
.solution-item:hover {
    background: #e8f0fe;
}
.solution-icon {
    flex: 0 0 60px;
}
.solution-text {
    flex: 1;
}
.solution-text h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

/* ===== 行业应用 ===== */
.industry-app {
    background: #f8fafc;
}

/* ===== 客户案例 ===== */
.cases {
    background: #fff;
}
.case-card {
    padding: 24px;
    border-radius: 12px;
    background: #f8fafc;
    border-left: 4px solid #1a73e8;
}
.case-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.case-card .tag {
    color: #1a73e8;
    font-weight: 600;
    font-size: 0.85rem;
}

/* ===== 客户评价 ===== */
.testimonials {
    background: #f1f5f9;
}
.testimonial-card {
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    position: relative;
}
.testimonial-card::before {
    content: '"';
    font-size: 3rem;
    color: #1a73e8;
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Georgia;
}
.testimonial-card p {
    font-style: italic;
    color: #475569;
    margin-bottom: 12px;
}
.testimonial-author {
    font-weight: 600;
    color: #0f172a;
    font-size: 0.9rem;
}
.testimonial-role {
    color: #64748b;
    font-size: 0.85rem;
}

/* ===== 新闻中心 ===== */
.news {
    background: #fff;
}
.news-card {
    border-bottom: 1px solid #f1f5f9;
    padding: 20px 0;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.news-card:last-child {
    border: none;
}
.news-date {
    flex: 0 0 80px;
    text-align: center;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 8px;
}
.news-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a73e8;
    display: block;
}
.news-date .month {
    font-size: 0.85rem;
    color: #64748b;
}
.news-text {
    flex: 1;
}
.news-text h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}
.news-text p {
    color: #64748b;
    font-size: 0.9rem;
}
.news-text .read-more {
    color: #1a73e8;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===== FAQ ===== */
.faq {
    background: #f8fafc;
}
.faq-item {
    margin-bottom: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.faq-question {
    width: 100%;
    padding: 18px 24px;
    background: #fff;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}
.faq-question:hover {
    background: #f8fafc;
}
.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    color: #1a73e8;
    transition: transform 0.3s;
}
.faq-item.active .faq-question::after {
    content: '−';
}
.faq-answer {
    padding: 0 24px 18px;
    color: #475569;
    line-height: 1.8;
    display: none;
}
.faq-item.active .faq-answer {
    display: block;
}

/* ===== HowTo ===== */
.howto {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
}
.howto-steps {
    counter-reset: step;
}
.howto-step {
    padding: 20px 0 20px 50px;
    position: relative;
    border-left: 3px solid #e2e8f0;
    margin-left: 20px;
}
.howto-step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: -18px;
    top: 18px;
    width: 36px;
    height: 36px;
    background: #1a73e8;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}
.howto-step h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}
.howto-step p {
    color: #475569;
    font-size: 0.95rem;
}
.howto-step:last-child {
    border-left-color: transparent;
}

/* ===== 文章 ===== */
.articles {
    background: #f8fafc;
}
.article-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
    transition: all 0.3s;
}
.article-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}
.article-card .date {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-bottom: 8px;
}
.article-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #0f172a;
}
.article-card p {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 12px;
}
.article-card .read-more {
    color: #1a73e8;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===== 联系我们 ===== */
.contact {
    background: #fff;
}
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.contact-item {
    text-align: center;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
}
.contact-item svg {
    margin-bottom: 10px;
}
.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 6px;
}
.contact-item p {
    color: #475569;
    font-size: 0.9rem;
}

/* ===== 友情链接 ===== */
.friend-links {
    background: #f1f5f9;
    padding: 30px 0;
}
.friend-links .links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}
.friend-links a {
    color: #64748b;
    font-size: 0.9rem;
    padding: 4px 12px;
    background: #fff;
    border-radius: 20px;
    transition: all 0.2s;
}
.friend-links a:hover {
    color: #1a73e8;
    background: #e8f0fe;
    text-decoration: none;
}

/* ===== 页脚 ===== */
.footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 40px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}
.footer h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 16px;
}
.footer a {
    color: #94a3b8;
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer a:hover {
    color: #fff;
    text-decoration: none;
}
.footer p {
    font-size: 0.9rem;
    margin-bottom: 6px;
}
.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}
.footer-bottom a {
    color: #94a3b8;
    display: inline;
    margin: 0 8px;
}

/* ===== 返回顶部 ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.4rem;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.4);
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.5);
}

/* ===== 暗黑模式切换 ===== */
.dark-mode-toggle {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: #1e293b;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    z-index: 999;
}
.dark-mode-toggle:hover {
    transform: translateY(-4px);
}

/* ===== 暗黑模式 ===== */
body.dark {
    background: #0f172a;
    color: #e2e8f0;
}
body.dark .navbar {
    background: rgba(15, 23, 42, 0.95);
    border-bottom-color: #1e293b;
}
body.dark .nav-links a {
    color: #94a3b8;
}
body.dark .nav-links a:hover {
    color: #60a5fa;
}
body.dark .card,
body.dark .faq-item,
body.dark .article-card,
body.dark .testimonial-card,
body.dark .case-card {
    background: #1e293b;
    border-color: #334155;
}
body.dark .card p,
body.dark .faq-answer,
body.dark .solution-text p {
    color: #94a3b8;
}
body.dark .section-title h2 {
    color: #f1f5f9;
}
body.dark .breadcrumb {
    background: #1e293b;
    border-bottom-color: #334155;
}
body.dark .breadcrumb .current {
    color: #e2e8f0;
}
body.dark .carousel-slide {
    background: linear-gradient(135deg, #1e293b, #334155);
}
body.dark .carousel-text h3 {
    color: #f1f5f9;
}
body.dark .carousel-text p {
    color: #94a3b8;
}
body.dark .solution-item {
    background: #1e293b;
}
body.dark .solution-item:hover {
    background: #334155;
}
body.dark .contact-item {
    background: #1e293b;
}
body.dark .contact-item p {
    color: #94a3b8;
}
body.dark .friend-links {
    background: #1e293b;
}
body.dark .friend-links a {
    background: #334155;
    color: #94a3b8;
}
body.dark .news-date {
    background: #334155;
}
body.dark .news-text p {
    color: #94a3b8;
}
body.dark .faq-question {
    background: #1e293b;
    color: #e2e8f0;
}
body.dark .faq-question:hover {
    background: #334155;
}
body.dark .brand-intro {
    background: #1e293b;
    border-bottom-color: #334155;
}
body.dark .brand-text p {
    color: #94a3b8;
}
body.dark .product-advantage {
    background: #0f172a;
}
body.dark .solutions {
    background: #1e293b;
}
body.dark .industry-app {
    background: #0f172a;
}
body.dark .cases {
    background: #1e293b;
}
body.dark .testimonials {
    background: #0f172a;
}
body.dark .news {
    background: #1e293b;
}
body.dark .faq {
    background: #0f172a;
}
body.dark .howto {
    background: #1e293b;
    border-bottom-color: #334155;
}
body.dark .articles {
    background: #0f172a;
}
body.dark .contact {
    background: #1e293b;
}
body.dark .mobile-menu {
    background: #1e293b;
    border-bottom-color: #334155;
}
body.dark .mobile-menu a {
    color: #94a3b8;
    border-bottom-color: #334155;
}

/* ===== 滚动动画 ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .nav-toggle {
        display: flex;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    .brand-content {
        flex-direction: column;
    }
    .brand-logo {
        flex: 0 0 auto;
    }
    .carousel-slide {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
    .carousel-img {
        flex: 0 0 auto;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .brand-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    .howto-step {
        padding-left: 40px;
        margin-left: 10px;
    }
    .howto-step::before {
        left: -14px;
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    .news-card {
        flex-direction: column;
    }
    .news-date {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 6px 12px;
    }
    .news-date .day {
        font-size: 1.2rem;
        display: inline;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    .section-title h2 {
        font-size: 1.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}