body {
    margin: 0;
    background: #f7f8fa;
    font-size: 16px;
}

.home-wrap {
    --home-header-height: 68px;
    min-height: 100vh;
    background: linear-gradient(180deg, #0f1f17 0%, #0d1812 50%, #0a120e 100%);
    padding: 0;
    padding-top: var(--home-header-height);
    box-sizing: border-box;
    position: relative;
}

/* 可选：透过导航栏可见的点状背景 */
.home-wrap::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: radial-gradient(rgba(34, 139, 87, 0.15) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
}

/* 浅色页面（产品与价格 / 免费资源中心 / 文档中心 / 推广计划）不需要深色点阵背景 */
.pricing-wrap::before,
.free-resources-wrap::before,
.docs-wrap::before,
.promo-wrap::before {
    content: none;
}

.home-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    right: 0;
    height: var(--home-header-height);
    display: flex;
    align-items: center;
    background: transparent;
    transition: background 0.25s ease, backdrop-filter 0.25s ease, box-shadow 0.25s ease;
}

.home-header.is-scrolled {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.10);
}

/* 滚动后：白色磨砂背景下文字改为深色 */
.home-header.is-scrolled .home-logo {
    color: #111827;
}

.home-header.is-scrolled .home-nav {
    color: #111827;
}

.home-header.is-scrolled .home-nav-item,
.home-header.is-scrolled .home-nav-link {
    color: rgba(17, 24, 39, 0.92);
}

.home-header.is-scrolled .home-nav-item:hover,
.home-header.is-scrolled .home-nav-link:hover {
    background: rgba(15, 23, 42, 0.06);
    color: #111827;
}

.home-header.is-scrolled .home-nav-item-active::after {
    background: #111827;
}

.home-header.is-scrolled .home-lang-btn {
    color: rgba(17, 24, 39, 0.92);
}

.home-header.is-scrolled .home-lang-btn:hover {
    background: rgba(15, 23, 42, 0.06);
    color: #111827;
}

.home-header.is-scrolled .home-auth-avatar {
    background: rgba(15, 23, 42, 0.06);
    color: #111827;
}

.home-header.is-scrolled .home-auth-avatar:hover {
    background: rgba(15, 23, 42, 0.10);
}

.home-header.is-scrolled .home-auth-btn {
    border-color: rgba(148, 163, 184, 0.7);
    color: #111827;
    background: transparent;
    box-shadow: none;
}

.home-header.is-scrolled .home-auth-btn:hover {
    background: rgba(15, 23, 42, 0.04);
}

.home-header.is-scrolled .home-auth-btn-primary {
    background: #16a34a;
    border-color: #16a34a;
    color: #ffffff;
}

.home-header.is-scrolled .home-auth-btn-primary:hover {
    background: #15803d;
}

.home-header-inner {
    width: 100%;
    min-width: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.home-logo {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.02em;
    padding: 12px 8px 12px 16px;
    margin: 0 -8px 0 0;
    display: inline-block;
    box-sizing: border-box;
}

.home-logo:hover {
    color: rgba(255, 255, 255, 0.9);
}

.home-logo img,
.home-logo-img {
    height: 36px;
    width: auto;
    display: block;
}

/* 提高选择器优先级，确保覆盖 .home-logo img 的 display */
.home-logo .home-logo-img-light {
    display: block;
}

.home-logo .home-logo-img-dark {
    display: none;
}

.home-header.is-scrolled .home-logo .home-logo-img-light {
    display: none;
}

.home-header.is-scrolled .home-logo .home-logo-img-dark {
    display: block;
}

.home-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 28px;
    font-size: 15px;
    color: #fff;
}

.home-nav-item,
.home-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.95);
    font: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.home-nav-item:hover,
.home-nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.home-nav-item-active {
    color: #fff;
    font-weight: 500;
    background: none;
}

.home-nav-item-active::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 4px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
}

.home-nav-item-with-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.home-nav-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    background: linear-gradient(90deg, #e67e22, #d35400);
    border-radius: 999px;
}

.home-nav-arrow {
    font-size: 10px;
    opacity: 0.9;
}

.home-nav-dropdown {
    position: relative;
}

.home-nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    min-width: 340px;
    padding: 14px 14px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 28px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.22);
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease;
    z-index: 1001;
}

/* 下拉框顶部的透明桥接区：鼠标从导航移动到下拉框时不会因空隙而收回 */
.home-nav-dropdown-menu::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    height: 10px;
}

.home-nav-dropdown.is-open .home-nav-dropdown-menu,
.home-nav-dropdown:hover .home-nav-dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.home-nav-dropdown-item {
    display: block;
    padding: 8px 14px;
    font-size: 13px;
    color: rgba(17, 24, 39, 0.92);
    text-decoration: none;
    white-space: nowrap;
}

.home-nav-dropdown-item:hover {
    background: #eef9f2;
    color: #111827;
}

/* 产品与价格下拉（如截图） */
.home-price-dropdown {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-price-group-title {
    font-size: 13px;
    color: #6b7280;
    margin: 2px 10px 6px;
}

.home-price-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 4px 6px;
}

.home-price-item {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px 12px;
    border-radius: 18px;
    text-decoration: none;
    color: #111827;
    transition: background 0.18s ease;
}

.home-price-item:hover {
    background: #eef9f2;
}

.home-price-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: rgba(22, 163, 74, 0.12);
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px 20px;
}

.home-price-icon::after {
    content: none;
}

/* 4 个图标（CSS mask svg） */
/* 使用 img/menu_xxx.png 作为下拉图标 */
.home-price-icon-dynamic { background-image: url("../img/menu_dynamic.png"); }
.home-price-icon-static { background-image: url("../img/menu_static.png"); }
/* 仓库暂未提供对应 menu 图标时先兜底 */
.home-price-icon-dc { background-image: url("../img/menu-datacenter.png"); }
.home-price-icon-free { background-image: url("../img/menu-free.png"); }

.home-price-item-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}

.home-price-item-desc {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    color: #6b7280;
}

.home-price-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.home-price-badge-orange {
    color: #ffffff;
    background: #f97316;
}

.home-price-badge-red {
    color: #ffffff;
    background: #ef4444;
}

.home-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 16px 8px 0;
    margin: 0 0 0 -8px;
    box-sizing: border-box;
}

.home-auth-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.9);
    color: #ffffff;
    background: transparent;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.home-auth-btn-ghost {
    background: transparent;
}

.home-auth-btn-primary {
    background: #ffffff;
    color: #16a34a;
    border-color: #ffffff;
}

.home-auth-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.16);
}

.home-auth-btn-primary:hover {
    background: #f9fafb;
    color: #15803d;
}

.home-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 6px;
    border: none;
    background: transparent;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.95);
    cursor: pointer;
    transition: background 0.2s ease;
}

.home-lang-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.home-lang-flag {
    font-size: 16px;
    line-height: 1;
}

.home-auth-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.home-auth-avatar:hover {
    background: rgba(255, 255, 255, 0.2);
}

.home-auth-avatar-icon {
    width: 20px;
    height: 20px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") center/contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") center/contain no-repeat;
}

.home-auth-avatar-loggedin {
    width: 100%;
    height: 100%;
    font-size: 14px;
    font-weight: 600;
    mask: none;
    -webkit-mask: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 旧版 Hero（已弃用，保留但不再影响当前页面） */
.home-hero-legacy {
    max-width: none;
    width: 100%;
    margin: 0 auto;
    padding: 56px 0 40px;
    text-align: center;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.home-hero-legacy h1 {
    margin: 0 0 12px;
    font-size: 28px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

.home-hero-legacy p {
    margin: 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.home-products {
    max-width: none;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.home-products-title {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 20px;
    padding: 0 4px;
}

.home-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.home-product-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 24px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.home-product-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.home-product-tag {
    display: inline-block;
    font-size: 12px;
    color: #7dd3a8;
    background: rgba(34, 139, 87, 0.25);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.home-product-name {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 8px;
}

.home-product-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin: 0;
}

/* 通用内容分区：全宽、每块至少一屏 */

.home-section {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: 72px 0;
    box-sizing: border-box;
}

.home-section-light {
    background: #f7f8fa;
    color: #111827;
}

.home-section-pricing-home {
    padding-top: 56px;
    padding-bottom: 96px;
}

.home-section-map {
    background: #ffffff;
}

.home-section-solution {
    background: #ffffff;
    color: #ecfdf3;
}

.home-section-inner {
    width: 100%;
    min-width: 0;
    margin: 0 auto;
    padding: 0 32px;
    box-sizing: border-box;
}

.home-section-inner-pricing-home {
    max-width: 1200px;
}

.home-pricing-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.home-pricing-illu {
    width: 180px;
    height: 180px;
    object-fit: contain;
    margin-top: -40px;
}

.home-section-types-full {
    display: flex;
    align-items: center;
}

.home-section-types-full .home-section-inner {
    padding-top: 32px;
    padding-bottom: 32px;
}

.home-section-inner-wide {
    max-width: none;
}

.home-section-title {
    margin: 0 0 8px;
    font-size: clamp(28px, 2.4vw, 42px);
    font-weight: 600;
}

.home-section-subtitle {
    margin: 0 0 28px;
    font-size: clamp(14px, 1.2vw, 18px);
    color: #6b7280;
    line-height: 1.8;
}

.home-section-solution .home-section-subtitle {
    color: #d1fae5;
}

/* Hero */

.home-hero {
    width: 100%;
    min-height: 760px;
    margin: 0 auto;
    padding: 112px 64px 56px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image:
        linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(2, 6, 23, 0.72) 42%, rgba(2, 6, 23, 0.36) 68%, rgba(2, 6, 23, 0.18) 100%),
        url("../img/bg.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    overflow: hidden;
}

.home-hero-main {
    max-width: 1100px;
}

.home-hero-main h1 {
    margin: 12px 0 16px;
    font-size: clamp(36px, 3.2vw, 56px);
    line-height: 1.15;
    font-weight: 700;
    color: #ffffff;
}

.home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.9fr) minmax(0, 1.5fr);
    gap: 40px;
    align-items: center;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}

.home-hero-left h1 {
    margin: 8px 0 16px;
    font-size: clamp(52px, 4.8vw, 76px);
    line-height: 1.1;
    font-weight: 800;
    color: #ffffff;
    max-width: 760px;
}

.home-hero-highlight {
    color: #4ade80;
}

.home-hero-subtitle {
    margin: 4px 0 18px;
    font-size: clamp(18px, 1.5vw, 24px);
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.55;
    max-width: 720px;
}

.home-hero-badges {
    display: flex;
    gap: 8px;
}

.home-hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    font-size: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.86);
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 6px;
}

.home-btn-primary,
.home-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 230px;
    height: 56px;
    padding: 0 32px;
    border-radius: 999px;
    font-size: 24px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
}

.home-btn-primary {
    background: linear-gradient(180deg, #4b5563 0%, #374151 100%);
    color: #ffffff;
}

.home-btn-primary:hover {
    background: linear-gradient(180deg, #4b5563 0%, #1f2937 100%);
}

.home-btn-secondary {
    background: #ffffff;
    color: #16a34a;
}

.home-btn-secondary:hover {
    background: #f3f4f6;
}

.home-hero-tip {
    margin: 8px 0 0;
    font-size: 12px;
    color: rgba(251, 146, 60, 0.95);
}

.home-hero-features-card {
    margin-top: 28px;
    padding: 22px 24px;
    border-radius: 40px;
    background: #ffffff;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.35);
}

.home-hero-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.home-hero-feature-icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #4ade80, #16a34a);
    flex: 0 0 auto;
}

.home-hero-feature-text {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.45;
}

.home-hero-feature-text strong {
    display: block;
    font-size: 15px;
    color: #111827;
    margin-bottom: 3px;
}

.home-hero-right {
    background: none;
    border-radius: 0;
    padding: 20px 8px 20px 24px;
    box-sizing: border-box;
}

.home-hero-metrics {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.home-hero-metrics li {
    padding: 0 0 0 22px;
    border-radius: 0;
    background: transparent;
    color: #ffffff;
    position: relative;
}

.home-hero-metrics li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 10px;
    width: 8px;
    height: 8px;
    background: #fb923c;
    transform: rotate(45deg);
    border-radius: 2px;
}

.metric-label {
    display: none;
}

.metric-value {
    display: block;
    font-size: 40px;
    font-weight: 800;
    color: #f9fafb;
    line-height: 1.1;
}

.metric-desc {
    display: block;
    margin-top: 8px;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.45;
}

/* 类型卡片 */

.home-type-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 640px));
    justify-content: center;
    align-items: stretch;
    gap: 56px;
}

.home-type-card {
    background: #f2f2f2;
    border-radius: 100px;
    padding: 60px 64px 64px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.10);
    border: none;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    min-height: 720px;
}

.home-type-card-style {
    background: #f2f2f2;
}

.home-type-hero {
    background: #f2f2f2;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 60px;
    margin-bottom: 36px;
}

.home-type-card-dynamic .home-type-hero {
    background: #f2f2f2;
}

.home-type-illustration {
    width: min(420px, 90%);
    height: 220px;
    object-fit: contain;
    object-position: center;
    display: block;
}

.home-type-body {
    padding: 0;
    text-align: center;
}

.home-type-title {
    margin: 0;
    font-size: 36px;
    font-weight: 800;
    color: #333333;
    letter-spacing: 0.02em;
}

.home-type-subtitle-strong {
    margin: 10px 0 28px;
    font-size: 18px;
    color: #28c445;
    font-weight: 700;
}

.home-type-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 32px;
    text-align: left;
}

.home-type-feature {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    align-items: start;
}

.home-type-check {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(40, 196, 69, 0.12);
    border: 1px solid rgba(40, 196, 69, 0.35);
    position: relative;
    margin-top: 2px;
}

.home-type-check::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 4px;
    width: 8px;
    height: 4px;
    border-left: 2px solid #28c445;
    border-bottom: 2px solid #28c445;
    transform: rotate(-45deg);
}

.home-type-feature-title {
    font-size: 14px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 2px;
}

.home-type-feature-desc {
    font-size: 12px;
    color: #666666;
    line-height: 1.55;
}

/* 方案与价格 */

.home-product-tabs {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #eef0f2;
    border-radius: 999px;
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
}

.home-product-tab {
    flex: 1 1 0;
    height: 48px;
    padding: 0 18px;
    border: none;
    background: transparent;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    white-space: nowrap;
}

.home-product-tab:hover {
    background: rgba(17, 24, 39, 0.06);
}

.home-product-tab.is-active {
    background: #16a34a;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(22, 163, 74, 0.28);
}

.home-product-tab.is-active:hover {
    background: #15803d;
}

.home-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    align-items: stretch;
}

.home-pricing-card {
    background: #f2f2f2;
    border-radius: 36px;
    padding: 26px 26px 22px;
    border: none;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-height: 380px;
}

.home-pricing-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 12px;
}

.home-pricing-card h3::before {
    content: "";
    width: 34px;
    height: 34px;
    border-radius: 10px;
    flex: 0 0 auto;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.home-pricing-card-dynamic h3::before {
    background-image: url("../img/menu_dynamic.png");
}

.home-pricing-card-static h3::before {
    background-image: url("../img/menu_static.png");
}

.home-pricing-card-datacenter h3::before {
    background-image: url("../img/menu-datacenter.png");
}

.home-pricing-desc {
    margin: 0 0 16px;
    font-size: 13px;
    color: #4b5563;
    line-height: 1.7;
}

.home-pricing-list {
    list-style: none;
    margin: 10px 0 18px;
    padding: 0;
    font-size: 12px;
    color: rgba(17, 24, 39, 0.78);
    line-height: 1.45;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
}

.home-pricing-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 22px;
}

.home-pricing-list li::before {
    content: "✓";
    width: 16px;
    height: 16px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    color: #28c445;
    background: rgba(40, 196, 69, 0.12);
    box-shadow: inset 0 0 0 1px rgba(40, 196, 69, 0.22);
    flex: 0 0 auto;
}

.home-pricing-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.home-pricing-price {
    font-size: 26px;
    font-weight: 700;
    color: #16a34a;
    letter-spacing: -0.02em;
}

.home-pricing-unit {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
}

.home-pricing-btn {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 999px;
    border: none;
    background: #111827;
    color: #fff;
    cursor: pointer;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-weight: 600;
    transition: background 0.2s ease;
}

.home-pricing-btn:hover {
    background: #1f2937;
}

/* 热门国家和地区 */

.home-map-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 14px;
}

.home-map-card {
    background: #f9fafb;
    border-radius: 16px;
    padding: 22px 18px;
    border: 1px solid #e5e7eb;
}

.home-map-country {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #111827;
}

.home-map-metric {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    color: #6b7280;
}

/* 首页：复用“产品与价格”页的国家/地区模块样式 */
.pricing-map-section {
    min-height: auto;
    padding: 32px 0 44px;
    background: #f7f8fa;
}

.pricing-map-wrap {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    background: #eaf6ef;
    border-radius: 44px;
    padding: 44px 48px 46px;
    overflow: hidden;
    box-shadow: 0 18px 60px rgba(15, 23, 42, 0.06);
}

.pricing-map-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(42, 168, 70, 0.18) 1px, transparent 1px);
    background-size: 14px 14px;
    opacity: 0.55;
    pointer-events: none;
}

.pricing-map-wrap::after {
    content: "";
    position: absolute;
    inset: -40px -60px;
    background:
            radial-gradient(circle at 25% 25%, rgba(42, 168, 70, 0.18), transparent 55%),
            radial-gradient(circle at 80% 35%, rgba(42, 168, 70, 0.14), transparent 55%);
    pointer-events: none;
    opacity: 0.85;
}

.pricing-map-title,
.pricing-map-metrics,
.pricing-map-subtitle,
.pricing-map-grid {
    position: relative;
    z-index: 1;
}

.pricing-map-title {
    margin: 0;
    text-align: center;
    font-size: 28px;
    font-weight: 1000;
    color: rgba(17, 24, 39, 0.90);
    letter-spacing: 0.01em;
}

.pricing-map-metrics {
    margin-top: 10px;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    color: rgba(17, 24, 39, 0.58);
}

.pricing-map-metrics .dot {
    display: inline-block;
    margin: 0 10px;
    opacity: 0.6;
}

.pricing-map-subtitle {
    margin-top: 20px;
    text-align: center;
    font-size: 18px;
    font-weight: 1000;
    color: rgba(17, 24, 39, 0.86);
}

.pricing-map-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px 18px;
    justify-items: center;
}

.pricing-map-card {
    width: 100%;
    max-width: 210px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 22px;
    padding: 18px 18px 16px;
    text-align: center;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(4px);
}

.pricing-map-card img {
    width: 48px;
    height: 32px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.10);
    margin-bottom: 8px;
}

.pricing-map-country {
    font-size: 13px;
    font-weight: 900;
    color: rgba(17, 24, 39, 0.78);
}

.pricing-map-count {
    margin-top: 6px;
    font-size: 14px;
    font-weight: 1000;
    color: rgba(17, 24, 39, 0.86);
}

@media (max-width: 1024px) {
    .pricing-map-wrap {
        padding: 32px 18px 32px;
        border-radius: 30px;
    }

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

    .pricing-map-card {
        max-width: none;
    }
}

/* 应用场景与解决方案 */

.home-solution-card {
    background: #16a34a;
    border-radius: 48px;
    padding: 80px 80px 72px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.55);
    color: #ecfdf3;
    min-height: 700px;
    border: none;
}

.home-solution-header {
    text-align: center;
    margin-bottom: 28px;
}

.home-solution-title {
    margin: 0 0 8px;
    font-size: clamp(56px, 4.2vw, 74px);
    font-weight: 800;
    color: #f9fafb;
}

.home-solution-subtitle {
    margin: 0;
    font-size: 17px;
    color: rgba(236, 253, 245, 0.92);
}

.home-solution-body {
    display: grid;
    grid-template-columns: 1.1fr 2.3fr;
    gap: 32px;
    margin-top: 24px;
}

.home-solution-sidebar {
    border: none;
    padding-right: 32px;
}

.home-solution-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.home-scenario-item {
    position: relative;
    padding: 8px 8px 8px 54px;
    border-radius: 0;
    cursor: pointer;
    font-size: 30px;
    font-weight: 700;
    color: rgba(220, 252, 231, 0.68);
    transition: color 0.16s ease, transform 0.16s ease, font-size 0.16s ease;
    background: transparent;
}

.home-scenario-item:hover {
    color: #ffffff;
}

.home-scenario-item.is-active {
    background: transparent;
    color: #ffffff;
    transform: translateX(4px);
    font-size: 44px;
    --home-scenario-indicator-size: 0.7em;
}

.home-scenario-item.is-active::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 50%;
    width: var(--home-scenario-indicator-size, 24px);
    height: var(--home-scenario-indicator-size, 24px);
    margin-top: calc(var(--home-scenario-indicator-size, 24px) / -2);
    background: url("../img/icon_solution_hand.png") center/contain no-repeat;
}

.home-solution-main {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.home-scenario-hero {
    border-radius: 24px;
    padding: 32px 32px 28px;
    text-align: center;
    border: none;
}

.home-scenario-hero img {
    display: block;
    max-width: 960px;
    width: 100%;
    height: 340px;
    object-fit: contain;
    margin: 0 auto;
}

.home-solution-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    font-size: 17px;
}

.home-solution-columns h4 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
    color: #ecfdf5;
}

.home-solution-columns ul {
    margin: 0;
    padding-left: 18px;
    color: #e5f5e9;
    font-size: 18px;
    line-height: 1.65;
}

/* 左侧菜单里的非激活项视觉层级更弱（参考图） */
.home-scenario-item:not(.is-active) {
    transform: translateX(0);
}

/* 对比卡片 */

#section-compare .home-section-title {
    text-align: center;
    font-weight: 800;
}

#section-compare .home-section-subtitle {
    text-align: center;
    font-weight: 400;
    font-size: clamp(13px, 1.15vw, 16px);
    color: #6b7280;
    margin-bottom: 34px;
}

.home-compare-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 26px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.home-compare-card {
    border-radius: 34px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #f3f4f6;
    color: rgba(17, 24, 39, 0.92);
    font-size: 14px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.home-compare-top {
    height: 72px;
    background: rgba(17, 24, 39, 0.04);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.home-compare-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.home-compare-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 22px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    font-weight: 700;
    color: rgba(55, 65, 81, 0.92);
}

.home-compare-row:first-child {
    border-top: none;
}

.home-compare-row::before {
    content: "";
    width: 18px;
    height: 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    flex: 0 0 auto;
}

.home-compare-row-ok::before {
    content: "✓";
    color: #16a34a;
    background: rgba(22, 163, 74, 0.14);
    box-shadow: inset 0 0 0 1px rgba(22, 163, 74, 0.22);
}

.home-compare-row-no::before {
    content: "×";
    color: #ef4444;
    background: rgba(239, 68, 68, 0.12);
    box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.22);
}

.home-compare-card-main {
    background: #16a34a;
    color: #ffffff;
    box-shadow: 0 24px 70px rgba(22, 163, 74, 0.28);
    border: none;
    border-radius: 46px;
}

.home-compare-brand {
    padding: 28px 24px 20px;
    text-align: center;
    font-weight: 950;
    letter-spacing: -0.02em;
    font-size: 34px;
    color: #ffffff;
}

.home-compare-list-main .home-compare-row {
    padding: 12px 24px;
    border-top: 1px dashed rgba(255, 255, 255, 0.26);
    color: rgba(255, 255, 255, 0.96);
    flex-wrap: wrap;
}

.home-compare-list-main .home-compare-row::before {
    content: "✓";
    color: #facc15;
    background: transparent;
    box-shadow: none;
    font-size: 16px;
}

.home-compare-row-btn {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
}

.home-compare-row-btn span {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.01em;
}

.home-compare-detail {
    padding: 6px 0 0 30px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-6px);
    transition: max-height 0.28s ease, opacity 0.22s ease, transform 0.22s ease;
    pointer-events: none;
    flex: 0 0 100%;
    width: 100%;
}

.home-compare-detail p {
    margin: 0;
    font-size: 14px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.86);
}

.home-compare-row.is-open .home-compare-detail {
    max-height: 260px;
    opacity: 1;
    transform: translateY(0);
    padding-bottom: 8px;
    pointer-events: auto;
}

.home-compare-row.is-open .home-compare-row-btn span {
    color: #ffffff;
}

.home-compare-row-btn {
    transition: opacity 0.18s ease;
}

.home-compare-row.is-open .home-compare-row-btn {
    opacity: 1;
}

.home-compare-card-muted {
    opacity: 1;
    background: #f0f0f0;
}

.home-compare-card-muted .home-compare-top {
    background: #f0f0f0;
    border-bottom: none;
}

/* 两侧卡片：虚线分隔线，且不连接到左右边框 */
.home-compare-card-muted .home-compare-row {
    border-top: none;
}

.home-compare-card-muted .home-compare-row::after {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 0;
    border-top: 1px dashed rgba(15, 23, 42, 0.18);
}

.home-compare-card-muted .home-compare-list::after {
    content: '';
    display: block;
    margin: 0 20px 18px;
    border-bottom: 1px dashed rgba(15, 23, 42, 0.18);
}

@media (max-width: 1024px) {
    .home-compare-grid {
        grid-template-columns: 1fr;
        max-width: 640px;
    }
    .home-compare-top {
        height: 56px;
    }
    .home-compare-brand {
        font-size: 30px;
    }
}

/* 卡片悬停浮动效果 */
.home-type-card:hover,
.home-pricing-card:hover,
.home-compare-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
    border-color: rgba(34, 197, 94, 0.45);
}

/* 方案与价格卡片：Hover 背景变绿、文字变白、按钮变白 */
.home-pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
    background: #16a34a;
}

.home-pricing-card:hover h3,
.home-pricing-card:hover .home-pricing-desc,
.home-pricing-card:hover .home-pricing-list,
.home-pricing-card:hover .home-pricing-price,
.home-pricing-card:hover .home-pricing-unit {
    color: #ffffff;
}

.home-pricing-card:hover .home-pricing-list li::before {
    color: #16a34a;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.home-pricing-card:hover .home-pricing-btn {
    background: #ffffff;
    color: #16a34a;
}

/* 支付系统 */

#section-payment,
#section-faq {
    min-height: auto;
    padding-top: 28px;
    padding-bottom: 28px;
    background: #f7f8fa;
    overflow: hidden;
}

/* 让“支付系统”和“常见问题”连在一起 */
#section-payment {
    padding-bottom: 0;
    border-bottom: none;
    box-shadow: none;
    padding-bottom: 1px; /* 防止子元素 margin 折叠露出底色形成“黑线” */
}

#section-faq {
    padding-top: 0;
    border-top: none;
    box-shadow: none;
    margin-top: -1px; /* 与上一块背景拼合，消除 1px 缝隙 */
}

#section-payment .home-section-title,
#section-payment .home-section-subtitle {
    text-align: center;
}

#section-payment .home-section-title {
    font-weight: 800;
    font-size: clamp(44px, 3.6vw, 68px);
}

#section-payment .home-section-subtitle {
    font-size: clamp(18px, 1.7vw, 26px);
    margin-bottom: 26px;
}

.home-payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 18px;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.home-payment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 120px;
}

.home-payment-badge {
    width: 84px;
    height: 84px;
    border-radius: 999px;
    background: #0b0b0b;
    display: grid;
    place-items: center;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
}

.home-payment-badge img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.home-payment-label {
    font-size: 18px;
    color: rgba(0, 0, 0, 0.72);
}

/* FAQ */

.home-faq-list {
    max-width: 960px;
    margin: 0 auto;
}

.home-faq-arrow {
    font-size: 11px;
}

#section-faq .home-section-title,
#section-faq .home-section-subtitle {
    text-align: center;
}

#section-faq .home-section-title {
    font-weight: 800;
    font-size: clamp(48px, 3.9vw, 72px);
}

#section-faq .home-section-subtitle {
    font-size: clamp(18px, 1.7vw, 26px);
    margin-bottom: 18px;
}

.home-faq-grid {
    max-width: 1100px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 64px;
    align-items: start;
    margin-top: 10px;
}

.home-faq-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.home-faq-item {
    width: 100%;
    background: transparent;
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.home-faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 22px 6px;
    font-size: 22px;
    color: rgba(0, 0, 0, 0.86);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

/* 每列第一项无顶线、最后一项有底线 */
.home-faq-col .home-faq-item:first-child {
    border-top: none;
}

.home-faq-col .home-faq-item:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.home-faq-question span:first-child {
    text-align: left;
    line-height: 1.4;
    padding-right: 16px;
}

.home-faq-question .home-faq-arrow {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.5);
    transition: transform 0.18s ease;
}

.home-faq-item.is-open .home-faq-arrow {
    transform: rotate(180deg);
}

.home-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
    padding: 0 6px;
}

.home-faq-answer p {
    margin: 0;
    padding: 0 0 18px;
    color: rgba(0, 0, 0, 0.62);
    font-size: 15px;
    line-height: 1.85;
}

.home-faq-item.is-open .home-faq-answer {
    max-height: 240px;
}

@media (max-width: 860px) {
    .home-faq-grid {
        grid-template-columns: 1fr;
        column-gap: 0;
    }
}

/* 合作伙伴 */

.home-partner-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.home-partner-pill {
    padding: 10px 18px;
    border-radius: 999px;
    background: #111827;
    color: #f9fafb;
    font-size: 14px;
}

/* 响应式：让“占满一页”在不同尺寸都成立 */
@media (max-width: 1024px) {
    .home-hero-features-card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-type-grid {
        grid-template-columns: 1fr;
    }

    .home-type-feature-grid {
        grid-template-columns: 1fr;
    }

    .home-solution-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .home-section-inner {
        padding: 0 16px;
    }

    .home-hero {
        padding: 92px 16px 44px;
        min-height: 560px;
    }

    .home-hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .home-hero-left h1 {
        font-size: clamp(34px, 9vw, 48px);
    }

    .home-hero-subtitle {
        font-size: 14px;
    }

    .home-hero-right {
        padding-left: 0;
    }

    .metric-value {
        font-size: 26px;
    }

    .metric-desc {
        font-size: 13px;
    }

    .home-product-tabs {
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
    }

    .home-solution-body {
        grid-template-columns: 1fr;
    }

    .home-solution-sidebar {
        border-right: none;
        border-bottom: 1px solid rgba(209, 250, 229, 0.4);
        padding-right: 0;
        padding-bottom: 12px;
        margin-bottom: 10px;
    }

    /* 首页：方案与价格（移动端更紧凑） */
    .home-pricing-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .home-pricing-card {
        min-height: auto;
    }
    .home-pricing-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* 页脚：全宽贴边 */

.home-footer {
    background: #020617;
    color: #e5e7eb;
    padding: 28px 0 16px;
    border-radius: 56px 56px 0 0;
    width: 100%;
    box-sizing: border-box;
}

.home-footer-inner {
    width: 100%;
    min-width: 0;
    margin: 0 auto;
    padding: 0 24px 8px;
    display: grid;
    grid-template-columns: 2.2fr repeat(4, minmax(0, 1fr));
    gap: 20px;
    box-sizing: border-box;
}

.home-footer-logo {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.home-footer-logo img {
    height: 32px;
    width: auto;
    display: block;
}

.home-footer-desc {
    margin: 0;
    font-size: 12px;
    color: #9ca3af;
}

.home-footer-col h4 {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 500;
}

.home-footer-col a {
    display: block;
    font-size: 12px;
    color: #9ca3af;
    text-decoration: none;
    margin-bottom: 4px;
}

.home-footer-col a:hover {
    color: #e5e7eb;
}

.home-footer-bottom {
    border-top: 1px solid #111827;
    padding-top: 8px;
    text-align: center;
    font-size: 11px;
    color: #6b7280;
}