* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "huaweifont", sans-serif;
}

/* 头部导航 */
.header {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 0 30px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.hamburger {
    width: 44px;
    height: 44px;
    display: none;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: #000;
    position: relative;
    display: block;
}

.hamburger span::before,
.hamburger span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: #000;
}

.hamburger span::before {
    top: -6px;
}

.hamburger span::after {
    top: 6px;
}

.header {
    height: 80px;
    border-bottom: 1px solid #eee;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.logo img {
    height: 30px;
}

.logo .tag {
    background: #D32F2F;
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 3px;
}

.nav {
    display: flex;
    gap: 20px;
    font-size: 14px;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
}

.nav a {
    color: #000000;
    text-decoration: none;
}

.nav>a {
    display: flex;
    align-items: center;
    height: 35px;
    padding: 0 10px;
}

.nav .nav-item {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    cursor: pointer;
}

.nav .nav-item>a {
    color: #000000;
    text-decoration: none;
    padding: 0 10px;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav .nav-item img {
    transition: transform 0.3s ease;
}

.nav .nav-item:hover img {
    transform: rotate(180deg);
}

.nav .dropdown {
    /* margin-top: 20px; */
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    min-width: 720px;
    padding: 24px;
    margin-top: 10px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    z-index: 1000;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 20px;
}

.nav .dropdown::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
    background: transparent;
}

.nav .dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    color: #333;
    border-radius: 8px;
    background: #fff;
}

.nav .dropdown .dropdown-item .dropdown-icon {
    width: 28px;
    height: 28px;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    flex: 0 0 28px;
}

.nav .dropdown .dropdown-item .dropdown-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav .dropdown .dropdown-item .dropdown-title {
    font-size: 14px;
    color: #111;
    font-weight: 600;
    line-height: 1.6;
    margin: 0;
}

.nav .dropdown .dropdown-item .dropdown-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.nav .dropdown .dropdown-item:hover {
    background: #f5f5f5;
}

.nav .nav-item:hover .dropdown {
    display: grid;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 0 0 auto;
    height: 100%;
}

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

input,
select,
textarea,
button {
    min-height: 40px;
    font-size: 14px;
}

button,
a {
    line-height: 1;
    touch-action: manipulation;
}

@media (max-width: 768px) {


    html,
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 18px;
    }

    .header {
        height: 56px;
        line-height: 56px;
        padding: 0 16px;
    }

    .brand .logo {
        display: none;
    }

    .logo img {
        height: 24px;
    }

    .logo {
        order: 1;
    }

    .header-right {
        order: 2;
    }

    .hamburger {
        display: flex;
        order: 3;
    }

    .nav .nav-item img {
        display: none;
    }

    .header .nav {
        display: none;
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 8px 0 calc(12px + env(safe-area-inset-bottom));
        gap: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    }

    .header .nav .nav-item {
        width: 100%;
        height: auto;
        flex-direction: column;
        align-items: stretch;
    }

    .header .nav .nav-item.nav-products>a {
        justify-content: space-between;
    }

    .header .nav .nav-item.nav-products>a::after {
        content: "";
        width: 8px;
        height: 8px;
        border-right: 2px solid #999;
        border-bottom: 2px solid #999;
        transform: rotate(45deg);
        transition: transform 0.2s ease;
        margin-left: 12px;
        flex: 0 0 auto;
    }

    .header .nav .nav-item.nav-products.open>a::after {
        transform: rotate(-135deg);
    }

    .header-right {
        display: flex;
        align-items: center;
        gap: 8px;
        height: auto;
        margin-left: auto;
    }

    .header-right a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 32px;
        line-height: 32px;
        padding: 0 12px;
        border-radius: 999px;
        border: 1px solid #D32F2F;
        color: #D32F2F;
        background: transparent;
        box-shadow: none;
    }

    body.mobile-open .header .nav {
        display: flex;
    }

    .header .nav>a,
    .header .nav .nav-item>a {
        width: 100%;
        height: auto;
        min-height: 40px;
        padding: 10px 16px;
        line-height: 20px;
        font-size: 16px;
        font-weight: 500;
        color: #111;
        justify-content: flex-start;
        border-bottom: 1px solid #eee;
    }

    .header .nav>a:active,
    .header .nav .nav-item>a:active {
        background: #f6f6f6;
    }

    .header .nav>a:last-child {
        border-bottom: none;
    }

    .header .nav .dropdown {
        position: static;
        transform: none;
        min-width: auto;
        display: none;
        grid-template-columns: 1fr;
        padding: 0;
        gap: 0;
        width: 100%;
    }

    .header .nav .nav-item.open .dropdown {
        display: grid;
    }

    .header .nav .dropdown .dropdown-item {
        border-bottom: 1px solid #f0f0f0;
        border-radius: 0;
        padding: 8px 16px 8px 44px;
        background: #fafafa;
        width: 100%;
    }

    .header .nav .dropdown .dropdown-item:last-child {
        border-bottom: none;
    }

    .register-btn {
        background: transparent;
        color: #D32F2F;
        box-shadow: none;
        transform: none;
    }

    body.mobile-open .hamburger span {
        background: transparent;
    }

    body.mobile-open .hamburger span::before {
        top: 0;
        transform: rotate(45deg);
    }

    body.mobile-open .hamburger span::after {
        top: 0;
        transform: rotate(-45deg);
    }

    .banner {
        height: auto;
        margin-top: 56px;
        padding: 20px 16px;
        background-position: center;
        background-size: cover;
    }

    .banner-text {
        max-width: 100%;
    }

    .banner-images {
        max-width: 100%;
    }

    .banner-img-pc {
        width: 100%;
    }

    .banner-img-mobile {
        position: static;
        transform: none;
        width: 50%;
    }

    .features {
        padding: 24px 16px;
    }

    .features-container {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}

.search-input {
    height: 36px;
    width: 180px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.header-right a {
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    line-height: normal;
}

.header-right a.header2-right {
    color: #333 !important;
    padding: 8px 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

.header-right a.header2-right:hover {
    color: #D32F2F !important;
    background-color: rgba(211, 47, 47, 0.05);
}

.header2-right {
    font-size: 14px;
    color: #000000;
    text-decoration: none;
}

.register-btn {
    background: #D32F2F;
    color: #fff;
    padding: 8px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(211, 47, 47, 0.3);
    line-height: normal;
    display: flex;
    align-items: center;
}

.register-btn:hover {
    background: #b71c1c;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.4);
    transform: translateY(-1px);
}

/* Banner区域 */
.banner {
    width: 100%;

    height: 600px;
    margin-top: 80px;
    background-image: url(img/banner4.webp);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    padding: 0 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

/* 如果图片显示不全，可以尝试以下替代方案 */
/* 方案1：完整显示图片（不裁剪） */
/* .banner { background-size: contain; } */
/* 方案2：拉伸填满（可能变形） */
/* .banner { background-size: 100% 100%; } */
/* 方案3：保持宽度，高度自适应 */
/* .banner { background-size: 100% auto; height: auto; padding-bottom: 40%; } */
/* Banner左侧文字区域 */
.banner-text {
    max-width: 500px;
    z-index: 2;
}

.banner-text h1 {
    font-size: 60px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #000;
    line-height: 1.2;
}

.banner-text h1 .ai-highlight {
    color: #D32F2F;
}

.banner-text .subtitle {
    font-size: 22px;
    color: #000;
    margin-bottom: 45px;
    line-height: 1.6;
}

.banner-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.banner-tag {
    padding: 15px 20px;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 700;
    border: none;
}

.banner-tag.purple {
    background: #D32F2F;
    color: #fff;
}

.banner-tag.black {
    background: #D32F2F;
    color: #fff;
}

.banner-btn {
    display: inline-block;
    padding: 15px 35px;
    background: #D32F2F;
    color: #ffffff;
    border: none;
    border-radius: 40px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.banner-btn:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
    color: red;
}

/* Banner右侧图片展示区域 */
.banner-images {
    position: relative;
    z-index: 4;
    max-width: 900px;
}

.banner-img-pc {
    width: 700px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: block;
    position: relative;
    z-index: 1;
}

.banner-img-pc:hover {
    transform: translateY(-5px);
}

.banner-img-mobile {
    width: 280px;
    height: auto;
    border-radius: 12px;

    transition: transform 0.3s ease;
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
    transform: translate(20%, 20%);

    padding: 0;
}

.banner-img-mobile:hover {
    transform: translate(20%, 15%);
}

.banner-images img {
    max-width: 100%;
    height: auto;
}

/* 新增：四个小板块区域 */
.features {
    width: 100%;
    padding: 60px 50px;
    background-color: #fff;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 25px 20px;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #e8f4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.feature-icon img {
    width: 30px;
    height: 30px;
}

.feature-card h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

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

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
}

.nav-tabs {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid #eee;
}

.nav-tabs a {
    text-decoration: none;
    color: #666;
    padding: 0.5rem 0;
    font-size: 1rem;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
    cursor: pointer;
}

.nav-tabs a.active {
    color: #000;
    border-bottom-color: #000;
    font-weight: 500;
}

.product-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    /* 左侧大卡片、右侧两列小卡片 */
    grid-auto-rows: minmax(180px, 1fr);
    /* 两行等高 */
    gap: 1.5rem;
    align-items: stretch;
}

/* 新增：默认隐藏所有tab内容，只显示激活的 */
.tab-content {
    display: none;
}

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

.product-card {
    background-color: #fafafa;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-card.hero {
    grid-column: 1 / 2;
    /* 固定在第一列 */
    grid-row: 1 / 3;
    /* 占据两行，形成左侧大卡片 */
    background: linear-gradient(135deg, #fff8f0 0%, #fff 100%);
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

.product-card.hero .product-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40%;
    /* 图片更大一些，接近示例图效果 */
    opacity: 0.9;
}

.product-card.hero .product-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.product-card.hero .product-desc {
    font-size: 1rem;
    max-width: 50%;
}

.product-card.hero .btn {
    padding: 0.6rem 1rem;
    font-size: 1rem;
}

.product-logo {
    width: 2rem;
    height: 2rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.3rem;
}

.product-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border: 1px solid #ffffff;
    border-radius: 16px;
    text-decoration: none;
    color: #ffffff;
    font-size: 0.9rem;
    width: fit-content;
    transition: all 0.3s;
}

.btn:hover {
    background-color: #000000;
}

.view-all {
    text-align: center;
    margin-top: 2rem;
}

.view-all a {
    color: #0066cc;
    text-decoration: none;
    font-size: 0.95rem;
    cursor: pointer;
}

/* 内容容器框架 */
.content-container {
    max-width: 1750px;
    width: 90%;
    margin: 0 auto;
    padding: 0 20px;
}

.jiejuefangan-body {
    padding: 40px 20px;
    background-color: #fff;
}

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #333;
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.tab-item {
    padding: 10px 20px;
    margin: 0 15px;
    cursor: pointer;
    color: #666;
    font-size: 16px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.tab-item.active {
    color: #333;
    border-bottom-color: #333;
    font-weight: 500;
}

.solutions-container {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 0 0 30px;
    scroll-snap-type: none;
    flex-wrap: nowrap;
    scrollbar-width: none
}

.solution-card {
    flex: 0 0 260px;
    /* 固定卡片宽度，排成一排 */
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    scroll-snap-align: start;
}

.solution-card .card-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 背景图铺满卡片 */
}

.solution-card .card-content {
    position: absolute;
    inset: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.55) 0%,
            rgba(0, 0, 0, 0.10) 40%,
            rgba(0, 0, 0, 0.75) 100%);
    /* 顶部和底部稍微压暗，文字更清晰 */
}

.solution-card .card-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
}

.solution-card .card-desc {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.card-white {
    background-color: #000000;
    color: #333;
}

.card-white .card-desc {
    color: #666;
}

.view-all {
    text-align: center;
    margin-top: 30px;
}

.view-all a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.view-all a:hover {
    text-decoration: underline;
}

/* 整体容器 */
.hero-section {
    width: 100%;
    height: 680px;
    background: url('img/qiche-v5.webp') no-repeat center center/cover;
    color: #ffffff;
    /* 整块文案使用白色，适配深色背景 */
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 80px 120px 60px;
    /* 上下左右留白，类似参考图 */
    box-sizing: border-box;
}

/* 顶部导航栏 */
.nav {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 2rem 0;
    font-size: 1rem;
}

.nav a {
    color: rgb(0, 0, 0);
    text-decoration: none;
}

.nav a.active {
    font-weight: bold;
}

/* 客户案例模块内导航文字为白色，激活态下边框也是白色，适配深色背景 */
.hero-section .nav {
    height: auto;
    align-content: flex-start;
}

.hero-section .nav a {
    color: #ffffff;
}

.hero-section .nav a.active {
    border-bottom-color: #ffffff;
}

/* 主标题 */

.main-title {
    text-align: center;
    font-size: 2rem;
    /* 增大字体 */
    font-weight: 500;
    /* 加粗 */
    margin: 1rem 0 1rem;
    /* 增加上下间距 */
    letter-spacing: 1px;
    /* 增加字间距，更美观 */
    /* 标题固定宽度，居中显示 */
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

/* 内容卡片 */
.content-card {
    width: 520px;
    margin-left: 0;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* 客户案例 Tab 内容：只显示当前激活项 */
.hero-content {
    display: none;
}

.hero-content.active {
    display: flex;
}

/* 品牌标识 */
.brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.brand .logo {
    width: 40px;
    height: 40px;
    background: #1677ff;
    border-radius: 4px;
}

.brand h2 {
    font-size: 1.5rem;
    font-weight: 500;
}

/* 副标题和描述 */
.subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* 特性列表 */
.features {
    display: flex;
    gap: 3rem;
    margin-top: 1rem;
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.85);
    line-height: 1.5;
}

/* 按钮 */
.btn {
    width: 100px;
    border: 1px solid #D32F2F;
    border-radius: 4px;
    background: #D32F2F;
    color: white;
    cursor: pointer;

    transition: background 0.3s;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #D32F2F;
}

/* 按钮2 */
.btn2 {
    width: 120px;
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border: 1px solid #d11212;
    border-radius: 16px;

    border-radius: 4px;
    background: #fdfdfd;
    color: rgb(0, 0, 0);
    cursor: pointer;
    text-decoration: none;

    transition: background 0.3s;
}

.btn2:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #D32F2F;
}

.top-section {
    display: flex;
    justify-content: space-around;
    padding: 40px 20px;
    background: #fff;
    gap: 20px;
}

.top-section .card {
    flex: 1;
    max-width: 400px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 4px;
    text-align: center;
}

.top-section .card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.top-section .card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.top-section .card .btn {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid #333;
    border-radius: 20px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
}

.middle-section {
    display: flex;
    justify-content: space-around;
    padding: 30px 20px;
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
}

.middle-section .item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.middle-section .item .icon {
    width: 24px;
    height: 24px;
    display: inline-block;
}

.bottom-section {
    display: flex;
    justify-content: space-between;
    padding: 40px 60px;
    background: #f5f5f5;
    font-size: 14px;
}

.bottom-section .column {
    flex: 1;
    margin-right: 20px;
}

.bottom-section .column h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
}

.bottom-section .column ul {
    list-style: none;
}

.bottom-section .column ul li {
    margin-bottom: 10px;
}

.bottom-section .column ul li a {
    color: #666;
    text-decoration: none;
}

.bottom-section .column ul li a:hover {
    color: #007bff;
}

.app-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.app-logo img {
    width: 100%;
    height: 100%;
}

.hotline {
    font-size: 20px;
    color: #333;
    margin: 10px 0;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 12px;
}

.social-links a {
    display: inline-block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e0e0e0;
    text-align: center;
    line-height: 32px;
    color: #666;
    text-decoration: none;
}

/* 底部版权与备案信息 */
.footer-legal {
    background: #e8e8e8;
    color: #555;
    font-size: 12px;
    padding: 20px 60px 24px;
    border-top: 1px solid #ddd;
}

.footer-legal-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-legal-line {
    margin: 0 0 10px 0;
    line-height: 1.8;
}

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

.footer-sep {
    margin: 0 8px;
    color: #999;
}

.footer-legal-icons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 16px;
}

.footer-legal-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c9302c 0%, #d9534f 100%);
    vertical-align: middle;
    margin-right: 4px;
}

.footer-logo {
    margin-bottom: 12px;
}

.footer-logo img {
    height: 32px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .header {
        height: 56px;
        padding: 0 16px;
    }

    .logo img {
        height: 24px;
    }

    .logo {
        order: 1;
    }

    .header-right {
        order: 2;
    }

    .hamburger {
        display: flex;
        order: 3;
    }

    .hamburger span,
    .hamburger span::before,
    .hamburger span::after {
        transition: transform 0.2s ease, top 0.2s ease, background-color 0.2s ease;
    }

    .header .nav {
        display: none;
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 8px 0 calc(12px + env(safe-area-inset-bottom));
        gap: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    }

    body.mobile-open .header .nav {
        display: flex;
    }

    .header-right {
        display: flex;
        align-items: center;
        gap: 8px;
        height: auto;
        margin-left: auto;
        position: static;
        background: transparent;
        padding: 0;
        box-shadow: none;
    }

    .header-right a.header2-right {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 32px;
        line-height: 32px;
        padding: 0 12px;
        border-radius: 999px;
        border: 1px solid #D32F2F;
        color: #D32F2F !important;
        background: transparent;
        box-shadow: none;
        transform: none;
    }

    .header-right a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 32px;
        line-height: 32px;
        padding: 0 12px;
        border-radius: 999px;
        border: 1px solid #D32F2F;
        color: #D32F2F !important;
        background: transparent;
        box-shadow: none;
        transform: none;
    }

    .header .nav>a,
    .header .nav .nav-item>a {
        width: 100%;
        height: auto;
        min-height: 40px;
        padding: 10px 16px;
        line-height: 20px;
        font-size: 16px;
        font-weight: 500;
        justify-content: flex-start;
        border-bottom: 1px solid #eee;
    }

    .header .nav>a:active,
    .header .nav .nav-item>a:active {
        background: #f6f6f6;
    }

    .header .nav>a:last-child {
        border-bottom: none;
    }

    .header .nav .nav-item:hover .dropdown {
        display: none;
    }

    .header .nav .dropdown {
        margin-top: 0;
        position: static;
        top: auto;
        left: auto;
        transform: none;
        min-width: 0;
        padding: 0;
        box-shadow: none;
        border-radius: 0;
        grid-template-columns: 1fr;
        gap: 0;
        width: 100%;
    }

    .header .nav .nav-item.open .dropdown {
        display: grid;
    }

    .header .nav .dropdown .dropdown-item {
        border-bottom: 1px solid #f0f0f0;
        border-radius: 0;
        padding: 8px 16px 8px 44px;
        background: #fafafa;
        width: 100%;
    }

    .header .nav .dropdown .dropdown-item:last-child {
        border-bottom: none;
    }

    .register-btn {
        background: transparent;
        color: #D32F2F;
        box-shadow: none;
        transform: none;
    }

    body.mobile-open .hamburger span {
        background: transparent;
    }

    body.mobile-open .hamburger span::before {
        top: 0;
        transform: rotate(45deg);
    }

    body.mobile-open .hamburger span::after {
        top: 0;
        transform: rotate(-45deg);
    }

    .banner {
        height: auto;
        margin-top: 56px;
        padding: 20px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .banner-text {
        max-width: 100%;
        padding: 10px;
    }

    .banner-text h1 {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .banner-text .subtitle {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .banner-tag {
        padding: 10px 14px;
        font-size: 14px;
        font-weight: 600;
    }

    .banner-images {
        max-width: 100%;
        width: 100%;
    }

    .banner-img-pc {
        width: 100%;
    }

    .banner-img-mobile {
        display: none;
        position: static;
        transform: none;
        width: min(52%, 220px);
        margin-left: auto;
        margin-top: 10px;
    }

    .features {
        padding: 24px 16px;
    }

    .features-container {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

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

    .page-header h1 {
        font-size: 20px;
        padding: 0 16px;
        line-height: 1.5;
    }

    .nav-tabs {
        gap: 20px;
        padding: 0 16px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-tabs a {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .content-container {
        width: 100%;
        max-width: none;
        padding: 0 16px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 12px;
    }

    .product-card.hero {
        grid-column: auto;
        grid-row: auto;
        padding: 18px;
    }

    .product-card.hero .product-desc {
        max-width: 100%;
    }

    .product-card.hero .product-image {
        position: static;
        width: min(70%, 260px);
        margin: 12px 0 0 auto;
    }

    .btn {
        width: fit-content;
    }

    #jiejue {
        padding: 0 0 8px;
    }

    .solutions-container {
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding: 0 16px 16px;
        scrollbar-width: none
    }

    .solution-card {
        flex: 0 0 240px;
        height: 360px;
    }

    .hero-section {
        height: auto;
        min-height: 520px;
        padding: 56px 16px 24px;
    }

    .main-title {
        font-size: 22px;
        padding: 0 8px;
    }

    .hero-section .nav {
        justify-content: flex-start;
        gap: 10px 14px;
        padding: 12px 0 8px;
        flex-wrap: wrap;
        overflow: visible;
        white-space: normal;
        height: auto;
        align-content: flex-start;
    }

    .hero-section .nav a {
        flex: 0 0 auto;
        font-size: 14px;
        padding: 6px 0;
        border-bottom: 2px solid transparent;
        font-weight: 500;
    }

    .hero-section .nav a.active {
        font-weight: 500;
        border-bottom-color: #ffffff;
    }

    .content-card {
        width: 100%;
        max-width: 100%;
        gap: 18px;
    }

    .subtitle {
        font-size: 20px;
    }

    .top-section {
        flex-direction: column;
        padding: 24px 16px;
    }

    .top-section .card {
        max-width: none;
    }

    .middle-section {
        flex-wrap: wrap;
        justify-content: flex-start;
        padding: 16px;
        gap: 12px;
    }

    .middle-section .item {
        width: calc(50% - 6px);
    }

    .bottom-section {
        flex-direction: column;
        padding: 24px 16px;
        gap: 16px;
    }

    .bottom-section .column {
        margin-right: 0;
    }

    .footer-legal {
        padding: 16px;
    }
}

@media (max-width: 420px) {
    .features-container {
        grid-template-columns: 1fr;
    }

    .middle-section .item {
        width: 100%;
    }
}
