/* ============================================================
   小禾科技 - 统一公共样式表 (common.css)
   适用：全站所有页面
   规范：移动优先 + clamp() 响应式字体 + Bootstrap 4 Grid
   ============================================================ */

/* ========== 1. CSS 变量体系 ========== */
:root {
    --primary: #0A6CFF;
    --primary-dark: #0856CC;
    --secondary: #00BFA5;
    --bg-light: #F4F8FF;
    --bg-white: #FFFFFF;
    --bg-hero: #F8FAFC;
    --text-dark: #16213E;
    --text-gray: #5A6072;
    --text-light: #94A3B8;
    --footer-bg: #1E293B;
    --dark-bg: #0F172A;
    --border-radius: 12px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;

    /* 页面主题色（各页面可按需覆写） */
    --page-hero-bg: linear-gradient(135deg, #F8FAFC 0%, #EEF2FF 100%);
    --page-badge-bg: linear-gradient(135deg, var(--primary), var(--secondary));
    --page-icon-bg: linear-gradient(135deg, var(--bg-light), #DDE7FD);
    --page-icon-border: var(--primary);
}

/* ========== 2. 基础重置（移动优先）========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Microsoft YaHei', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    display: none;
}

/* ========== 3. clamp() 响应式字体（严禁固定px）========== */
h1 {
    font-size: clamp(1.75rem, 2.5vw + 1rem, 3rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.5rem, 2vw + 0.5rem, 2.25rem);
    font-weight: 600;
}

h3 {
    font-size: clamp(1.125rem, 1.5vw + 0.25rem, 1.5rem);
    font-weight: 600;
}

h4 {
    font-size: clamp(1rem, 1.3vw + 0.2rem, 1.25rem);
    font-weight: 600;
}

p,
span {
    font-size: clamp(0.875rem, 1vw + 0.125rem, 1.125rem);
}

small {
    font-size: clamp(0.75rem, 0.9vw + 0.1rem, 0.875rem);
}

/* 图片自适应 */
img {
    max-width: 100%;
    height: auto;
}

/* ========== 4. 导航栏（全站统一）========== */
.navbar-custom {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    z-index: 1050;
}

.navbar-custom.scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
}

/* 顶层 flex 行 */
.navbar-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* padding: clamp(0.5rem, 1vw, 1rem) 0;   最小值:	0.5rem（约 8px）; 首选值：	1vw（视口宽度的 1%）；最大值1rem（约 16px）*/
    padding: clamp(0.2rem, 0.5rem, 0.5rem) 0;
    transition: padding 0.3s ease;
}

.navbar-custom.scrolled .navbar-top-row {
    padding: clamp(0.35rem, 0.8vw, 0.75rem) 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.navbar-logo {
    height: 40px;
    width: auto;
}

/* 中间菜单容器 */
.navbar-menu-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.navbar-menu-horizontal {
    display: flex;
    align-items: center;
    justify-content: space-around;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link-custom {
    display: block;
    font-family: 'Source Han Sans', 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Microsoft YaHei', sans-serif;
    font-size: 20px;
    font-weight: normal;
    color: #666666 !important;
    line-height: normal;
    text-align: center;
    padding: clamp(0.5rem, 1vw, 0.75rem) clamp(0.75rem, 1.5vw, 1.25rem) !important;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.nav-link-custom:hover {
    color: #0534BA !important;
    text-decoration: none;
}

.nav-link-custom.active {
    color: #0534BA !important;
}

/* 右侧 CTA + 汉堡 */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* 下拉菜单 */
.dropdown-menu-custom {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    margin-top: 12px;
    padding: clamp(0.5rem, 1vw, 0.75rem) 0;
    min-width: 200px;
}

.dropdown-item-custom {
    font-size: clamp(0.875rem, 1vw, 1rem);
    padding: clamp(0.5rem, 1vw, 0.65rem) clamp(1rem, 2vw, 1.5rem);
    color: var(--text-gray);
    transition: var(--transition);
}

.dropdown-item-custom:hover {
    background-color: var(--bg-light);
    color: var(--primary);
    padding-left: calc(clamp(1rem, 2vw, 1.5rem) + 6px);
}

/* CTA 按钮 */
.btn-nav-cta {
    width: 104px;
    height: 39px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8px 20px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(270deg, #0534BA 0%, #0047F7 100%);
    font-family: 'Source Han Sans', 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Microsoft YaHei', sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: normal;
    text-align: center;
    color: #FFFFFF !important;
    transition: opacity 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-nav-cta:hover {
    opacity: 0.9;
    color: #FFFFFF !important;
    text-decoration: none;
}

/* 汉堡菜单 */
.navbar-toggler-custom {
    border: none;
    padding: 8px 12px;
    outline: none !important;
    background: transparent;
}

.navbar-toggler-custom:focus {
    outline: none !important;
    box-shadow: none;
}

.hamburger-icon {
    width: 26px;
    height: 18px;
    position: relative;
    display: inline-block;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
    position: absolute;
    left: 0;
}

.hamburger-icon span:nth-child(1) {
    top: 0;
}

.hamburger-icon span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-icon span:nth-child(3) {
    bottom: 0;
}

/* 移动端折叠菜单 */
.navbar-collapse-mobile {
    background-color: rgba(255, 255, 255, 0.98);
    border-top: 1px solid #eee;
    display: none;
    /* 允许菜单区域独立滚动，避免展开子菜单后内容被裁切无法选择 */
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.navbar-collapse-mobile::-webkit-scrollbar {
    display: none;
}

.navbar-collapse-mobile.show {
    display: block;
}

.navbar-mobile-list {
    list-style: none;
    margin: 0;
    padding: 0.5rem 1rem;
}

.navbar-mobile-list .nav-item {
    padding: 0.25rem 0;
}

.navbar-mobile-list .nav-link-custom {
    text-align: left;
    padding: 0.5rem 1rem !important;
}

/* 移动端下拉 */
.navbar-mobile-list .dropdown-menu-custom {
    position: static !important;
    float: none;
    box-shadow: none;
    margin-top: 0;
    padding: 0 0 0 1rem;
    background: transparent;
    display: none;
}

.navbar-mobile-list .dropdown-menu-custom.show {
    display: block;
}

/* ========== 导航栏移动端适配 ========== */
@media (max-width: 991.98px) {
    .navbar-top-row {
        padding: 0.5rem 0;
        flex-wrap: nowrap;
    }

    .navbar-brand.ml-4 {
        margin-left: 1rem !important;
    }

    .navbar-logo {
        height: 32px;
    }

    .navbar-right {
        gap: 6px;
    }

    .navbar-right.mr-4 {
        margin-right: 1rem !important;
    }

    .btn-nav-cta {
        width: auto;
        min-width: 72px;
        height: 32px;
        padding: 6px 14px;
        font-size: 14px;
        border-radius: 8px;
        flex-direction: row;
        white-space: nowrap;
    }

    .navbar-toggler-custom {
        padding: 4px 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .hamburger-icon {
        width: 22px;
        height: 16px;
    }

    .hamburger-icon span {
        height: 2px;
    }
}

/* 小屏手机：≤480px */
@media (max-width: 480px) {
    .navbar-brand.ml-4 {
        margin-left: 0.5rem !important;
    }

    .navbar-logo {
        height: 26px;
    }

    .navbar-right.mr-4 {
        margin-right: 0.5rem !important;
    }

    .btn-nav-cta {
        min-width: 56px;
        height: 28px;
        padding: 4px 10px;
        font-size: 12px;
        border-radius: 6px;
    }

    .navbar-right {
        gap: 4px;
    }

    .navbar-toggler-custom {
        padding: 4px 6px;
    }

    .hamburger-icon {
        width: 20px;
        height: 14px;
    }
}

/* ========== 5. 通用按钮 ========== */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary), #2563EB);
    color: white;
    border: none;
    border-radius: 50px;
    padding: clamp(0.65rem, 1.2vw, 0.875rem) clamp(1.5rem, 3vw, 2.25rem);
    font-size: clamp(0.875rem, 1vw, 1rem);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(10, 108, 255, 0.3);
    text-decoration: none;
    display: inline-block;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(10, 108, 255, 0.45);
    color: white;
    text-decoration: none;
}

.btn-outline-custom {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50px;
    padding: clamp(0.6rem, 1.15vw, 0.82rem) clamp(1.48rem, 2.95vw, 2.22rem);
    font-size: clamp(0.87rem, 1vw, 1rem);
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-outline-custom:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(10, 108, 255, 0.3);
    text-decoration: none;
}

/* ========== 6. Hero 首屏区域（公共基础）========== */
.hero-section {
    min-height: 85vh;
    /* background: var(--page-hero-bg); */
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 65%;
    height: 140%;
    background: radial-gradient(circle, rgba(10, 108, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-block;
    background: var(--page-badge-bg);
    color: white;
    padding: clamp(0.35rem, 0.8vw, 0.5rem) clamp(0.875rem, 1.5vw, 1.25rem);
    border-radius: 50px;
    font-size: clamp(0.75rem, 0.95vw, 0.875rem);
    font-weight: 600;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.hero-title {
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.hero-subtitle {
    color: var(--text-gray);
    line-height: 1.85;
    margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    font-size: clamp(0.875rem, 1vw, 1rem);
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.stats-number {
    color: var(--primary);
    font-weight: 700;
    font-size: clamp(1rem, 1.2vw, 1.25rem);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.75rem, 1.5vw, 1rem);
}

/* Hero 右侧占位图 */
.hero-image-placeholder {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1;
    background: linear-gradient(145deg, #EEF2FF, #DDE7FD);
    border-radius: 24px;
    border: 3px dashed var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: clamp(2rem, 4vw, 3rem) auto 0;
    position: relative;
    overflow: hidden;
}

.hero-image-placeholder::after {
    content: '🏠 智慧社区 3D 插图占位';
    color: var(--primary);
    font-size: clamp(0.875rem, 1.1vw, 1.125rem);
    font-weight: 600;
    text-align: center;
    padding: 1rem;
}

/* 住宅物业页的 3D 图文字覆写 */
.hero-image-placeholder.residential::after {
    content: '🏠 住宅物业 3D 插图占位';
}

/* 占位页面的 hero 居中对齐 */
.hero-section.hero-centered {
    text-align: center;
}

.hero-section.hero-centered .hero-subtitle {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.hero-section.hero-centered .hero-buttons {
    justify-content: center;
}



/* ========== 7. 占位内容区块（通用）========== */
.placeholder-section {
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.placeholder-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    transition: var(--transition);
    height: 100%;
}

.placeholder-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.placeholder-icon {
    width: clamp(60px, 8vw, 80px);
    height: clamp(60px, 8vw, 80px);
    background: var(--page-icon-bg);
    border: 2px dashed var(--page-icon-border);
    border-radius: 16px;
    margin: 0 auto clamp(1rem, 2vw, 1.5rem);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--page-icon-border);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}

/* ========== 8. Footer 页脚（全站统一）========== */
.footer-custom {
    background: #222222;
    color: rgba(255, 255, 255, 0.8);
    box-sizing: border-box;
    padding: clamp(5rem, 8rem, 6rem) 0 clamp(0.2rem, 0.5rem, 0.5rem);
    position: relative;
}

.footer-brand {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.footer-company-name {
    font-size: clamp(0.625rem, 1vw, 0.75rem);
    font-weight: bold;
    line-height: normal;
    letter-spacing: 0em;
    font-variation-settings: "opsz" auto;
    font-feature-settings: "kern" on;
    color: rgba(255, 255, 255, 0.8);
    z-index: 1;
}

.footer-logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.footer-slogan {
    font-size: clamp(0.75rem, 1.3vw, 0.875rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.25rem;
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    text-decoration: none;
    margin-top: 1rem;
    transition: var(--transition);
}

.footer-cta:hover {
    color: #FFFFFF;
    text-decoration: none;
}

.footer-cta .cta-arrow {
    display: inline-block;
    margin-left: 2px;
}

.footer-desc {
    font-size: clamp(0.813rem, 0.95vw, 0.875rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.footer-title {
    color: #FFFFFF;
    font-size: clamp(0.938rem, 1.1vw, 1.063rem);
    font-weight: 600;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: clamp(0.5rem, 1vw, 0.75rem);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    transition: var(--transition);
}

.footer-links a:hover {
    color: #FFFFFF;
    padding-left: 4px;
    text-decoration: none;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: clamp(0.75rem, 1.2vw, 1rem);
    font-size: clamp(0.813rem, 0.95vw, 0.875rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-item img {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* 地址双行 */
.footer-contact-address {
    align-items: flex-start;
}

.footer-address-lines {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-address-lines span {
    line-height: 1.5;
}

.footer-qr-list {
    display: flex;
    gap: clamp(0.75rem, 1.5vw, 1.25rem);
    margin-top: clamp(1rem, 2vw, 1.5rem);
    position: relative;
    z-index: 1;
}

.footer-qr-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-qr-item img {
    width: clamp(72px, 9vw, 96px);
    height: clamp(72px, 9vw, 96px);
    object-fit: contain;
    border-radius: 8px;
    background: #FFFFFF;
    padding: 4px;
}

.footer-qr-item span {
    display: block;
    margin-top: 6px;
    font-size: clamp(0.625rem, 0.75vw, 0.75rem);
    color: rgba(255, 255, 255, 0.8);
}

.footer-light-img {
    position: absolute;
    top: 75%;
    right: 40%;
    pointer-events: none;
    z-index: 0;
}

.qr-placeholder {
    width: clamp(90px, 11vw, 120px);
    height: clamp(90px, 11vw, 120px);
    background: white;
    border-radius: 12px;
    border: 2px dashed var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: clamp(0.625rem, 0.8vw, 0.75rem);
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    padding-top: clamp(1rem, 1rem, 1.5rem);
    margin-top: clamp(1.5rem, 1.5rem, 2.5rem);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(0.75rem, 1.3vw, 0.875rem);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #FFFFFF;
    text-decoration: none;
}

@media (max-width: 991.98px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* 移动端：解决方案 & 关于我们 并排 */
.footer-solutions-about-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.footer-half-col {
    width: 50%;
}

@media (min-width: 992px) {
    .footer-solutions-about-wrapper {
        display: block;
    }

    .footer-half-col {
        width: auto;
        display: inline-block;
        vertical-align: top;
    }

    .footer-half-col+.footer-half-col {
        margin-left: clamp(1rem, 2vw, 1.5rem);
    }
}

/* ========== 9. 动画 ========== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== 10. 首页特定样式 ========== */
/* 首页 Hero 装饰层 */
.index-hero::before {
    top: -50%;
    right: -20%;
    width: 70%;
    height: 150%;
    background: radial-gradient(circle, rgba(10, 108, 255, 0.05) 0%, transparent 70%);
}

/* ========== 11. 住宅物业解决方案页 ========== */

/* --- Tab 切换栏 --- */
.tab-nav-section {
    background: var(--bg-white);
    border-bottom: 1px solid #E2E8F0;
    position: sticky;
    top: 70px;
    z-index: 1020;
}

.tab-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tab-nav-list::-webkit-scrollbar {
    display: none;
}

.tab-nav-item {
    flex-shrink: 0;
    padding: clamp(0.9rem, 1.8vw, 1.2rem) clamp(1.25rem, 2.5vw, 2rem);
    cursor: pointer;
    font-size: clamp(0.875rem, 1vw, 1rem);
    font-weight: 500;
    color: var(--text-gray);
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

.tab-nav-item:hover {
    color: var(--primary);
}

.tab-nav-item.active {
    color: var(--primary);
    font-weight: 600;
    border-bottom-color: var(--primary);
}

/* --- 通用区块标题 --- */
.section-header {
    text-align: center;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-header h2 {
    color: var(--text-dark);
    margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
}

.section-header p {
    color: var(--text-gray);
    max-width: 650px;
    margin: 0 auto;
}

/* --- 痛点区块 --- */
.pain-section {
    background: var(--bg-light);
    padding: clamp(3rem, 7vw, 5rem) 0;
}

.pain-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-left: 4px solid transparent;
}

.pain-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--primary);
}

.pain-card-icon {
    width: clamp(56px, 7vw, 72px);
    height: clamp(56px, 7vw, 72px);
    background: linear-gradient(135deg, #EEF2FF, #DDE7FD);
    border: 2px dashed var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    margin-bottom: clamp(1rem, 2vw, 1.25rem);
}

.pain-card h4 {
    color: var(--text-dark);
    margin-bottom: clamp(0.6rem, 1.2vw, 0.875rem);
}

.pain-card p {
    color: var(--text-gray);
    line-height: 1.75;
}

/* --- 方案概述区块 --- */
.solution-section {
    background: var(--bg-white);
    padding: clamp(3rem, 7vw, 5rem) 0;
}

.solution-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    padding: clamp(1.75rem, 3.5vw, 2.5rem);
    height: 100%;
    transition: var(--transition);
    border-top: 4px solid var(--primary);
}

.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.solution-card-icon {
    width: clamp(64px, 8vw, 80px);
    height: clamp(64px, 8vw, 80px);
    background: linear-gradient(135deg, var(--bg-light), #DDE7FD);
    border: 2px solid rgba(10, 108, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.solution-card h4 {
    color: var(--text-dark);
    margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
}

.solution-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solution-list li {
    padding: clamp(0.4rem, 0.8vw, 0.55rem) 0;
    color: var(--text-gray);
    font-size: clamp(0.813rem, 0.95vw, 0.875rem);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.solution-list li::before {
    content: '✓';
    color: var(--secondary);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

/* --- 深色横幅 CTA --- */
.dark-banner {
    background-image: url(../img/middle-ban1.png);
    padding: clamp(3rem, 7vw, 4.5rem) 0;
    color: white;
    position: relative;
    overflow: hidden;

}

.dark-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(10, 108, 255, 0.15) 0%, transparent 60%);
}

.dark-banner h2 {
    color: white;
    margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
}

.dark-banner p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.dark-banner .btn-primary-custom {
    display: inline-block;
}

.dark-banner-image {
    width: 100%;
    aspect-ratio: 4/3;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: clamp(0.813rem, 1vw, 0.875rem);
    margin: clamp(1.5rem, 3vw, 2rem) auto 0;
}

/* --- 六大中心功能模块 --- */
.centers-section {
    background: var(--bg-light);
    padding: clamp(3rem, 7vw, 5rem) 0;
}

.center-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: clamp(1.5rem, 3vw, 2rem);
    height: 100%;
    transition: var(--transition);
    text-align: center;
}

.center-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.center-card-icon {
    width: clamp(68px, 9vw, 88px);
    height: clamp(68px, 9vw, 88px);
    background: linear-gradient(135deg, #f0f7ff, #e0efff);
    border: 2px dashed var(--primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    margin: 0 auto clamp(1rem, 2vw, 1.25rem);
}

.center-card h4 {
    color: var(--text-dark);
    margin-bottom: clamp(0.5rem, 1vw, 0.75rem);
}

.center-card p {
    color: var(--text-gray);
    font-size: clamp(0.813rem, 0.95vw, 0.875rem);
    line-height: 1.7;
}

/* --- 应用场景区块 --- */
.scenarios-section {
    background: var(--bg-white);
    padding: clamp(3rem, 7vw, 5rem) 0;
}

.scenario-card {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: clamp(1.5rem, 3vw, 2rem);
    height: 100%;
    transition: var(--transition);
    border: 1px solid transparent;
}

.scenario-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    background: var(--bg-white);
}

.scenario-image {
    width: 100%;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #EEF2FF, #DDE7FD);
    border: 2px dashed var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: clamp(0.813rem, 1vw, 0.875rem);
    margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
}

.scenario-card h4 {
    color: var(--text-dark);
    margin-bottom: clamp(0.35rem, 0.8vw, 0.5rem);
}

.scenario-card p {
    color: var(--text-gray);
    font-size: clamp(0.813rem, 0.95vw, 0.875rem);
    margin: 0;
}

/* --- 底部表单 CTA --- */
.form-cta-section {
    background: linear-gradient(135deg, var(--primary), #2563EB);
    padding: clamp(3rem, 7vw, 5rem) 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.form-cta-section::before {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
}

.form-cta-section h2 {
    color: white;
    margin-bottom: clamp(0.5rem, 1vw, 0.75rem);
}

.form-cta-section .section-header p {
    color: rgba(255, 255, 255, 0.85);
}

.glass-form-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: clamp(1.75rem, 3.5vw, 2.75rem);
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.form-control-custom {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid transparent;
    border-radius: 10px;
    padding: clamp(0.7rem, 1.3vw, 0.875rem) clamp(1rem, 2vw, 1.25rem);
    font-size: clamp(0.875rem, 1vw, 1rem);
    color: var(--text-dark);
    transition: var(--transition);
    width: 100%;
}

.form-control-custom:focus {
    background: white;
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(0, 191, 165, 0.15);
    outline: none;
}

.form-control-custom::placeholder {
    color: var(--text-light);
}

.btn-submit {
    background: linear-gradient(135deg, var(--secondary), #00d4aa);
    color: white;
    border: none;
    border-radius: 50px;
    padding: clamp(0.7rem, 1.3vw, 0.875rem) clamp(2rem, 4vw, 3rem);
    font-size: clamp(0.938rem, 1.1vw, 1.063rem);
    font-weight: 600;
    transition: var(--transition);
    width: 100%;
    cursor: pointer;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 191, 165, 0.45);
    color: white;
}

/* ========== 12. 新闻页特定样式 ========== */
.news-image {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #D1FAE5, #A7F3D0);
    border: 2px dashed var(--secondary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: clamp(0.813rem, 1vw, 0.875rem);
    margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
}

/* ========== 13. 平板/桌面端增强（min-width: 768px）========== */
@media (min-width: 768px) {
    .hero-section {
        min-height: 90vh;
    }

    .hero-stats {
        justify-content: flex-start;
    }

    .tab-nav-list {
        justify-content: center;
    }

    .hero-section.hero-centered {
        min-height: 80vh;
    }
}

/* ========== 14. 大屏增强（min-width: 992px）========== */
@media (min-width: 992px) {
    .hero-image-placeholder {
        margin: 0 auto;
        max-width: 520px;
        min-height: 450px;
    }

    .dark-banner-image {
        margin: 0 auto;
        max-width: 380px;
        min-height: 280px;
    }
}

/* ========== 15. 超大屏增强（min-width: 1024px）========== */
@media (min-width: 1024px) {
    .hero-section {
        min-height: 92vh;
    }
}

/* ========== 16. 首页专用样式 ========== */

/* --- Hero 波浪装饰 --- */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,40 C360,80 720,0 1080,40 C1260,60 1380,50 1440,40 L1440,80 L0,80 Z'/%3E%3Cpath fill='rgba(10,108,255,0.06)' d='M0,55 C360,95 720,15 1080,55 C1260,75 1380,65 1440,55 L1440,80 L0,80 Z'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: cover;
    pointer-events: none;
}


/* --- 底部表单 CTA 首页覆写 --- */
.form-cta-home {
    background: url('../img/submit-infor-ban.png') no-repeat center center;
    background-size: cover;
    position: relative;
}

.form-cta-home::before {
    display: none;
}

.form-cta-home .section-header h2 {
    font-family: 'Source Han Sans', 'PingFang SC', 'Noto Sans SC', sans-serif;
    font-size: clamp(2rem, 4vw, 48px);
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0em;
    font-feature-settings: "kern" on;
    color: #FFFFFF;
    text-align: center;
    z-index: 3;
}

.form-cta-home .section-header p {
    font-family: 'Source Han Sans', 'PingFang SC', 'Noto Sans SC', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0em;
    font-variation-settings: "opsz" auto;
    font-feature-settings: "kern" on;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    z-index: 4;
}

/* --- 提交表单卡片（首页专用蓝色卡片）--- */
.submit-form-card {
    max-width: 680px;
    margin: 0 auto;
    border-radius: 20px;
    opacity: 1;
    display: flex;
    flex-direction: column;
    padding: 40px;
    gap: 20px;
    background: #458AF9;
    box-sizing: border-box;
    border: 3px solid rgba(255, 255, 255, 0.4);
    z-index: 5;
    position: relative;
}

.submit-form-card-title {
    font-family: 'Source Han Sans', 'PingFang SC', 'Noto Sans SC', sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0em;
    font-variation-settings: "opsz" auto;
    font-feature-settings: "kern" on;
    color: #FFFFFF;
    z-index: 0;
    margin-bottom: 0;
}

/* --- 表单控件（透明底白边框）--- */
.form-control-cta {
    display: flex;
    flex-direction: column;
    padding: 10px 14px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: #FFFFFF !important;
    font-size: 15px;
    font-family: 'Source Han Sans', 'PingFang SC', 'Noto Sans SC', sans-serif;
    height: auto;
    min-height: 46px;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.form-control-cta::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Source Han Sans', 'PingFang SC', 'Noto Sans SC', sans-serif;
}

.form-control-cta:focus {
    border-color: rgba(255, 255, 255, 0.8) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    box-shadow: none !important;
    outline: none !important;
    color: #FFFFFF !important;
}

select.form-control-cta {
    color: rgba(255, 255, 255, 0.9);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 34px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffffff' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px 8px;
    cursor: pointer;
}

select.form-control-cta option {
    background: #458AF9;
    color: #FFFFFF;
}

textarea.form-control-cta {
    resize: vertical;
    min-height: 100px;
}

.form-control-cta:-webkit-autofill,
.form-control-cta:-webkit-autofill:hover,
.form-control-cta:-webkit-autofill:focus {
    -webkit-text-fill-color: #FFFFFF;
    -webkit-box-shadow: 0 0 0 30px #458AF9 inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* --- 表单验证码（4位数字）--- */
.code-row[hidden] {
    display: none !important;
}

.code-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.code-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

.code-num {
    display: inline-block;
    min-width: 64px;
    padding: 2px 10px;
    text-align: center;
    letter-spacing: 4px;
    font-weight: 700;
    font-size: 18px;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.12);
    border: 1px dashed rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    user-select: none;
    font-family: 'Courier New', monospace;
}

.code-refresh {
    font-size: 13px;
    color: #FFE08A;
    cursor: pointer;
    text-decoration: underline;
    white-space: nowrap;
}

.code-refresh:hover {
    color: #FFF3C4;
}

.code-row .code-error {
    margin: 2px 0 0;
}

/* 移动端微调 */
@media (max-width: 767px) {
    .code-num {
        font-size: 16px;
        min-width: 56px;
    }
    .code-label {
        font-size: 13px;
    }
}

/* --- 提交按钮（首页专用）--- */
.btn-submit-cta {
    height: 68px;
    border-radius: 10px;
    opacity: 1;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px 48px;
    gap: 10px;
    align-self: stretch;
    background: linear-gradient(270deg, #0534ba 0%, #0047f7 100%);
    border: none !important;
    font-family: 'Source Han Sans', 'PingFang SC', 'Noto Sans SC', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
    text-align: center;
    letter-spacing: 0em;
    font-variation-settings: "opsz" auto;
    font-feature-settings: "kern" on;
    color: #FFFFFF;
    transition: opacity 0.3s ease, transform 0.2s ease;
    width: 100%;
}

.btn-submit-cta:hover {
    opacity: 0.88;
    color: #FFFFFF;
    transform: translateY(-1px);
}

.btn-submit-cta:active {
    transform: translateY(0);
    opacity: 0.8;
}

/* --- 提交表单底部提示 --- */
.submit-form-footer {
    font-size: 13px;
    font-family: 'Source Han Sans', 'PingFang SC', 'Noto Sans SC', sans-serif;
    color: rgba(255, 255, 255, 0.6);
    text-align: left;
    margin: 0;
    padding: 0;
}

/* --- 移动端表单适配 --- */
@media (max-width: 767px) {
    .submit-form-card {
        padding: 24px 20px;
        gap: 16px;
        border-radius: 16px;
        border-width: 2px;
    }

    .submit-form-card-title {
        font-size: 18px;
    }

    .btn-submit-cta {
        height: 48px !important;
        min-height: 0 !important;
        line-height: 48px;
        font-size: clamp(14px, 3.5vw, 16px);
        padding: 0 clamp(16px, 5vw, 28px) !important;
        border-radius: clamp(6px, 1.5vw, 8px);
    }

    .form-control-cta {
        /* max-height: 42px; */
        font-size: 14px;
    }
}

/* ========== 17. 首页专用工具类 ========== */

/* 文字颜色 */
.text-primary-blue {
    color: #0534BA !important;
}

.text-light-blue {
    color: #93C5FD !important;
}

/* 痛点卡片颜色变体 */
.pain-card-red {
    border-left-color: #EF4444;
}

.pain-card-orange {
    border-left-color: #F59E0B;
}

.pain-card-blue {
    border-left-color: #0A6CFF;
}

.pain-card-teal {
    border-left-color: #00BFA5;
}

.pain-icon-red {
    background: linear-gradient(135deg, #FEF2F2, #FECACA);
    border-color: #EF4444;
}

.pain-icon-orange {
    background: linear-gradient(135deg, #FFFBEB, #FDE68A);
    border-color: #F59E0B;
}

.pain-icon-blue {
    background: linear-gradient(135deg, #EFF6FF, #BFDBFE);
    border-color: #0A6CFF;
}

.pain-icon-teal {
    background: linear-gradient(135deg, #ECFDF5, #A7F3D0);
    border-color: #00BFA5;
}



/* 深蓝横幅变体 */
.dark-banner-product {
    /* background / aspect-ratio 由 JS 模块 createDarkBanner() 动态注入 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: clamp(1rem, 2.5vw, 2rem) 0;
}

.dark-banner-product::before {
    display: none;
}

.dark-banner-product-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

.dark-banner-product-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(1rem, 5vw, 4rem);
    position: relative;
    z-index: 1;
    padding: 0 50px;
}

.dark-banner-product-text {
    flex: 1;
    text-align: left;
}

.dark-banner-product-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    color: #FFFFFF;
    font-family: "Source Han Sans", "Noto Sans SC", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: normal;
}

.dark-banner-product-logo-img {
    height: 28px;
    width: auto;
}

.dark-banner-product h2 {
    font-family: "Source Han Sans", "Noto Sans SC", sans-serif;
    font-size: clamp(2rem, 5vw, 48px);
    font-weight: bold;
    line-height: normal;
    text-align: left;
    letter-spacing: 0;
    color: #FFFFFF;
    margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
}

.dark-banner-product p {
    font-family: "Source Han Sans", "Noto Sans SC", sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: normal;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
    text-align: left;
}

.dark-banner-product-btn {
    border-radius: 10px;
    opacity: 1;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 48px;
    gap: 10px;
    background: #222222;
    font-family: "Source Han Sans", "Noto Sans SC", sans-serif;
    font-size: 1rem;
    font-weight: normal;
    line-height: normal;
    letter-spacing: 0;
    color: rgba(255, 255, 255);
    text-decoration: none;
    border: none;
    flex-shrink: 0;
    white-space: nowrap;
    margin-top: -1.5rem;
    transition: var(--transition);
}

.dark-banner-product-btn:hover {
    background: #333333;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}



@media (max-width: 1919px) {
    .dark-banner-product-container {
        max-width: 1200px;
    }

    .dark-banner-product h2 {
        font-size: clamp(1.75rem, 4vw, 36px);
    }
}

@media (max-width: 1610px) {
    .dark-banner-product-container {
        max-width: 1100px;
    }

    .dark-banner-product h2 {
        font-size: clamp(1.2rem, 4vw, 28px);
    }

    .dark-banner-description {
        font-size: clamp(1rem, 4vw, 20px);
        margin-top: -16px;
    }

    .dark-banner-product-btn {
        padding: 8px 28px;
        font-size: 0.95rem;
    }
}

/* ≤1199px：缩小 container 最大宽度，内部元素等比例缩小 */
@media (max-width: 1199px) {
    .dark-banner-product-container {
        max-width: 800px;
    }

    .dark-banner-product-inner {
        gap: clamp(1rem, 3vw, 2.5rem);
        padding: 0 30px;
    }

    .dark-banner-product-logo-img {
        height: 24px;
    }

    .dark-banner-product h2 {
        font-size: clamp(1.2rem, 4vw, 28px);
    }

    .dark-banner-product p {
        font-size: 15px;
    }

    .dark-banner-product-btn {
        padding: 8px 28px;
        font-size: 0.95rem;
    }
}

/* ≤991px：移动端布局，文字左上 / 按钮右下，按百分比等比例缩小 */
@media (max-width: 991px) {
    .dark-banner-product-container {
        max-width: 800px;
    }

    .dark-banner-product {
        padding: clamp(0.5rem, 1.5vw, 1rem) 0;
    }

    /* 移动端：文字左上，按钮绝对定位到右下角，互不影响布局 */
    .dark-banner-product-inner {
        position: relative;
        flex-direction: column;
        align-items: flex-start;
        padding: 0 20px;
    }

    .dark-banner-product-text {
        text-align: left;
    }

    .dark-banner-product-logo {
        justify-content: flex-start;
    }

    .dark-banner-product-logo img {
        height: clamp(20px, 5vw, 28px);
    }

    .dark-banner-product h2 {
        text-align: left;
        font-size: clamp(1.2rem, 4vw, 2rem);
        margin-bottom: clamp(2rem, 3vw, 4rem);
    }

    .dark-banner-product p {
        text-align: left;
        font-size: clamp(0.75rem, 2vw, 1rem);
    }

    .dark-banner-product-btn {
        position: absolute;
        top: -10px;
        right: 0px;
        font-size: clamp(0.8rem, 2.5vw, 1rem);
        padding: clamp(6px, 1.5vw, 12px) clamp(20px, 5vw, 48px);
        margin-top: 0;
    }
}

/* ≤767px：进一步等比例缩小 */
@media (max-width: 767px) {
    .dark-banner-product-container {
        max-width: 400px;
    }

    .dark-banner-product-inner {
        padding: 0 16px;
        gap: clamp(0.75rem, 2vw, 1.5rem);
    }

    .dark-banner-product-logo {
        margin-bottom: clamp(0.3rem, 1vw, 0.6rem);
    }

    .dark-banner-product-logo-img {
        height: clamp(18px, 4.5vw, 24px);
    }

    .dark-banner-product h2 {
        font-size: clamp(1.1rem, 3.5vw, 1.6rem);
        margin-bottom: clamp(2rem, 3vw, 4rem);
    }

    .dark-banner-product p {
        font-size: clamp(0.8rem, 1.8vw, 1rem);
    }

    .dark-banner-product-btn {
        font-size: clamp(0.75rem, 2.2vw, 0.9rem);
        padding: clamp(5px, 1.2vw, 10px) clamp(16px, 4vw, 38px);
    }
}

/* ≤480px：超小屏，最小尺寸保持可读 */
@media (max-width: 480px) {
    .dark-banner-product-container {
        max-width: 100%;
    }

    .dark-banner-product-inner {
        padding: 0 12px;
        gap: 0.75rem;
    }

    .dark-banner-product-logo {
        margin-bottom: 0.35rem;
        gap: 0.35rem;
        font-size: 0.85rem;
    }

    .dark-banner-product-logo-img {
        height: 18px;
    }

    .dark-banner-product h2 {
        font-size: clamp(1rem, 5vw, 1.25rem);
        margin-bottom: clamp(1.5rem, 3vw, 3.5rem);
    }

    .dark-banner-product p {
        font-size: clamp(0.65rem, 3vw, 0.8rem);
    }

    .dark-banner-product-btn {
        font-size: clamp(0.7rem, 3vw, 0.85rem);
        padding: 5px clamp(12px, 4vw, 20px);
        border-radius: 8px;
    }
}



/* 表单 CTA 紧凑变体 */
.section-header-compact {
    margin-bottom: clamp(1.5rem, 3vw, 2rem) !important;
}

.glass-form-compact {
    max-width: 640px;
    margin: 0 auto;
}

.form-group-compact {
    margin-bottom: clamp(0.85rem, 1.6vw, 1.1rem);
}

.form-group-compact-last {
    margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

/* Footer 首页变体 */
.footer-logo-img {
    height: 36px;
    width: auto;
}

.footer-logo-fallback {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #0534BA, #0A6CFF);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 14px;
    vertical-align: middle;
}

.footer-address {
    font-size: clamp(0.75rem, 0.88vw, 0.813rem);
}

.footer-bottom-link {
    color: #94A3B8;
}

.footer-bottom-link:hover {
    color: var(--secondary);
}


/* ====================18. Block 2-3 之间：页面内锚点导航 ==================== */
.section-anchor-nav-box {
    width: 100%;
    background-color: #F4FBFF;
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin-top: clamp(1.5rem, 3vw, 2.5rem); */
}

.section-anchor-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: clamp(10px, 1.2vw, 14px) clamp(12px, 2vw, 24px);
    margin-bottom: 0;
    background: #FFFFFF;
    border-radius: 4px;
    opacity: 1;
    box-shadow: 0px 0px 16px 0px rgba(5, 52, 186, 0.16);
}

.section-anchor-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    padding: 0;
    list-style: none;
    margin: 0;
}

.section-anchor-list li a {
    font-family: "Source Han Sans", "Noto Sans SC", sans-serif;
    font-size: clamp(14px, 1.1vw, 16px);
    font-weight: 500;
    line-height: 1.5;
    color: #666666;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 14px;
}

.section-anchor-list li a:hover {
    color: #0534BA;
    text-decoration: none;
}

.section-anchor-list li a.active {
    color: #0534BA;
}

.section-anchor-list li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #0534BA;
    border-radius: 2px;
}

/* 锚点导航响应式 */
/* 平板：≤1199px */
@media (max-width: 1199px) {
    .section-anchor-list li a {
        font-size: 15px;
        padding-bottom: 12px;
    }
}

/* 平板竖屏：≤991px */
@media (max-width: 991px) {
    .section-anchor-nav-box {
        padding: 0 16px;
    }

    .section-anchor-nav {
        padding: 12px 20px;
    }

    .section-anchor-list {
        gap: 1.5rem;
        justify-content: space-around;
        flex-wrap: wrap;
    }

    .section-anchor-list li a {
        font-size: 14px;
    }
}

/* 手机横屏：≤767px */
@media (max-width: 767px) {
    .section-anchor-nav-box {
        padding: 0 12px;
    }

    .section-anchor-nav {
        padding: 10px 14px;
    }

    .section-anchor-list {
        gap: 0.5rem;
        justify-content: space-around;
        flex-wrap: nowrap;
        padding-bottom: 2px;
    }

    .section-anchor-list li a {
        font-size: 13px;
        padding-bottom: 8px;
        white-space: nowrap;
    }

    .anchor-hide-mobile {
        display: none;
    }
}

/* 小手机：≤480px */
@media (max-width: 480px) {
    .section-anchor-nav-box {
        padding: 0 8px;
    }

    .section-anchor-nav {
        padding: 8px 10px;
    }

    .section-anchor-list {
        gap: 0.25rem;
        justify-content: space-around;
        flex-wrap: nowrap;
        padding-bottom: 2px;
    }

    .section-anchor-list li a {
        font-size: 12px;
        padding-bottom: 6px;
        white-space: nowrap;
    }

    .anchor-hide-mobile {
        display: none;
    }
}

/* ========== 19. Banner 轮播（通用）========== */
/* 容器 */
.about-hero {
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    padding: 0;
    margin: 0;
    background: #F4FBFF;
}

/* 轮播容器 */
.banner-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    contain: paint;
}

/* 横向 track —— width 由 JS 动态设置 */
.banner-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(0%);
}

.banner-slide {
    position: relative;
    flex-shrink: 0;
    /* 默认占满容器宽度，随屏幕缩放；轮播页面（about/index 等）由 JS 动态覆盖 */
    width: 100%;
}

.banner-bg {
    width: 100%;
    height: auto;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

/* 左右切换箭头（PC / 移动端一致显示，大小随屏幕缩小） */
.carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 20;
    width: clamp(34px, 4vw, 48px);
    height: clamp(34px, 4vw, 48px);
    border: 1px solid #0047f7;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 0;
    outline: none;
    transform: translateY(-50%);
    /* 让箭头在圆圈内真正居中 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-arrow:hover {
    background: #fff;
}

.carousel-arrow::before {
    content: '';
    width: clamp(9px, 1.1vw, 13px);
    height: clamp(9px, 1.1vw, 13px);
    border-top: 2px solid #0534BA;
    border-right: 2px solid #0534BA;
    box-sizing: border-box;
    margin: 0;
}

.carousel-prev {
    left: clamp(12px, 2vw, 28px);
}

.carousel-prev::before {
    /* 左箭头：左上 L 形旋转 45° 后水平向左 */
    border-top: 2px solid #0534BA;
    border-right: none;
    border-bottom: none;
    border-left: 2px solid #0534BA;
    transform: rotate(-45deg);
     margin-right: -4px;
}

.carousel-next {
    right: clamp(12px, 2vw, 28px);
}

.carousel-next::before {
    /* 右箭头：右上 L 形旋转 45° 后水平向右 */
    transform: rotate(45deg);
     margin-left: -4px;
}

/* banner 内容覆盖在背景图上 */
.banner-slide .container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1140px;
    z-index: 2;
    padding: 0 15px;
}

.banner-content {
    text-align: left;
}

/* 标签 */
.banner-label {
    display: inline-block;
    font-family: "Source Han Sans", "Noto Sans SC", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: normal;
    text-align: center;
    letter-spacing: 0em;
    font-variation-settings: "opsz" auto;
    font-feature-settings: "kern" on;
    color: #0534BA;
    margin-bottom: clamp(8px, 1vw, 14px);
}

/* 大标题 */
.banner-title {
    font-family: "Source Han Sans", "Noto Sans SC", sans-serif;
    font-size: 48px;
    font-weight: bold;
    line-height: normal;
    letter-spacing: 0em;
    font-feature-settings: "kern" on;
    color: #222222;
    margin-bottom: clamp(12px, 1.5vw, 20px);
}

/* 副标题 */
.banner-subtitle {
    font-family: "Source Han Sans", "Noto Sans SC", sans-serif;
    font-size: 36px;
    font-weight: normal;
    line-height: normal;
    letter-spacing: 0em;
    font-variation-settings: "opsz" auto;
    font-feature-settings: "kern" on;
    color: #222222;
    margin-bottom: clamp(16px, 2vw, 28px);
}

/* 数字特殊字体 */
.banner-num {
    font-family: "DingTalk JinBuTi", "Source Han Sans", sans-serif;
    font-size: 40px;
    color: #0534BA;
}

/* 列表 */
.banner-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 1vw, 14px);
}

.banner-point {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-family: "Source Han Sans", "Noto Sans SC", sans-serif;
    font-size: clamp(13px, 1.1vw, 16px);
    font-weight: normal;
    line-height: 1.7;
    color: #444444;
    margin: 0;
}

.banner-point::before {
    content: '';
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-top: clamp(2px, 0.25vw, 3px);
    border-radius: 50%;
    opacity: 1;
    background: url("../img/li-icon.png") center / cover no-repeat;
}

/* ===== 首页第一张 banner（index 原始 Hero）===== */
.index-hero-slide .banner-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;

}

/* .index-hero-left {
    flex: 0 0 58.333%;
    max-width: 58.333%;
}

.index-hero-right {
    flex: 0 0 41.667%;
    max-width: 41.667%;
} */

/* ===== Banner 轮播响应式 ===== */

/* 中屏：≤1489px —— 屏幕小于 1489 时，左侧文字移到底部占满整行，右侧数据统计横着排成一排 */
@media (max-width: 1489px) {
    .index-hero-slide .home-hero-title {
        font-size: clamp(30px, 3.4vw, 46px);
    }

    .index-hero-slide .home-hero-desc {
        font-size: clamp(13px, 1.3vw, 17px);
    }

    /* 整体改为上下布局：文字在上、数据在下 */
    .index-hero-slide .banner-content {
        flex-direction: column;
        align-items: stretch;
    }

    /* 左侧文字占满整行，落到底部区域，并加大与顶部的间距 */
    .index-hero-slide .index-hero-left {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        padding-top: clamp(2.5rem, 7vw, 5rem);
    }

    /* 右侧容器占满整行，数据居中 */
    .index-hero-slide .index-hero-right {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        margin-top: clamp(1.5rem, 4vw, 2.5rem);
        display: flex;
        justify-content: center;
    }

    /* 数据统计容器占满整行 */
    .index-hero-slide .index-hero-data {
        flex: 0 0 100%;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    /* 4 组数据横着排成一排（flex 4 等分，避免被其他 grid/flex 规则干扰） */
    .index-hero-slide .home-data-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        width: 100%;
        gap: clamp(8px, 1.5vw, 20px);
    }

    /* 每组数据等宽（25%）横排，确保只占一排 */
    .index-hero-slide .home-data-item {
        flex: 1 1 0% !important;
        min-width: 0 !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .index-hero-slide .home-data-number {
        margin-right: 0;
        margin-bottom: clamp(4px, 0.6vw, 8px);
        text-align: center;
        font-size: clamp(28px, 2.8vw, 42px);
    }

    .index-hero-slide .home-data-text {
        margin-right: 0;
        align-items: center;
        text-align: center;
    }
}

/* 平板：≤1199px —— 左右放不下时改为上下堆叠：左侧文字在上、右侧数据卡在下 */
@media (max-width: 1199px) {
    .banner-title {
        font-size: 44px;
    }

    .banner-subtitle {
        font-size: 32px;
    }

    /* 第一张 banner：上下堆叠，左列占满，右列在下方居中显示 */
    .index-hero-slide .banner-content {
        flex-direction: column;
        align-items: stretch;
    }

    .index-hero-left {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .index-hero-right {
        flex: 0 0 100%;
        max-width: 100%;
        margin-top: clamp(1.5rem, 4vw, 2.5rem);
        display: flex;
        justify-content: center;
    }

    /* 右侧卡片在堆叠时仍保持横排一排（窄屏允许换行） */
    .index-hero-slide .home-data-card {
        flex: 1 1 0;
        max-width: none;
        width: auto;
    }

    .index-hero-slide .home-hero-desc {
        max-width: 100%;
        font-size: clamp(14px, 1.6vw, 18px);
    }

    .index-hero-slide .home-data-number {
        font-size: clamp(32px, 3.4vw, 46px);
    }
}

/* 笔记本/小平板：≤1024px —— 沿用 ≤1199px 的上下堆叠，仅微调间距 */
@media (max-width: 1024px) {
    .index-hero-slide .home-hero-title {
        font-size: clamp(34px, 5.2vw, 50px);
    }
}

/* 平板竖屏：≤991px */
@media (max-width: 991px) {
    .banner-label {
        font-size: 16px;
    }

    .banner-title {
        font-size: 36px;
    }

    .banner-subtitle {
        font-size: 26px;
    }

    .banner-num {
        font-size: 28px;
    }

    .banner-point {
        font-size: 14px;
    }

    /* 991px 以下沿用 ≤1199px 的上下堆叠布局，这里仅微调右栏间距 */
    .index-hero-right {
        margin-top: clamp(1.25rem, 3.5vw, 2rem);
    }
}

/* 手机端：≤767px */
@media (max-width: 767px) {
    .banner-slide .container {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -60%);
        padding: 0 20px;
    }

    /* 住宅物业 Hero：加大顶部间距，参考 about.html 使命 banner */
    .residential-hero .banner-slide .container {
        top: 55%;
        transform: translate(-50%, -55%);
    }

    .banner-content {
        max-width: 100%;
        text-align: left;
    }

    .banner-label {
        font-size: clamp(10px, 2.8vw, 14px);
        margin-bottom: clamp(6px, 2vw, 10px);
    }

    .banner-title {
        font-size: clamp(16px, 5vw, 22px);
        line-height: 1.3;
        margin-bottom: clamp(6px, 1.8vw, 10px);
    }

    .banner-subtitle {
        font-size: clamp(13px, 3.8vw, 16px);
        margin-bottom: 0;
    }

    .banner-num {
        font-size: clamp(15px, 4.2vw, 18px);
    }

    /* 移动端隐藏列表 */
    .banner-points {
        display: none;
    }

    /* 移动端显示左右切换箭头（大小由 clamp 自动缩小），箭头下移到 banner 中下部避免与内容重叠 */
    .carousel-arrow {
         display: none;
    }

    /* 移动端首页第一张：只显示左侧文案，隐藏右侧卡片 */
    .index-hero-right {
        display: none !important;
    }

    .index-hero-left {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* 移动端首页第一张：窄屏空间有限，隐藏描述和数据行，只保留核心标题+按钮 */
    .index-hero-slide .home-hero-desc,
    .index-hero-slide .home-data-row {
        display: none !important;
    }

    /* 移动端首页第一张：内容整体靠左，向下偏移 */
    .index-hero-slide .container {
        top: 50%;
        transform: translate(-50%, -45%);
    }

    /* 第一行文字：参照 banner-label 样式（小号蓝色标签） */
    .index-hero-slide .home-hero-title:not(.home-hero-title-blue) {
        font-size: clamp(10px, 2.8vw, 14px) !important;
        font-weight: 500 !important;
        line-height: 1.3 !important;
        margin-bottom: clamp(6px, 2vw, 10px) !important;
        text-align: left !important;
        color: #0534BA !important;
    }

    /* 第二行文字：参照 banner-title 样式（大号加粗标题） */
    .index-hero-slide .home-hero-title-blue {
        font-size: clamp(16px, 5vw, 22px) !important;
        font-weight: bold !important;
        line-height: 1.3 !important;
        margin-bottom: clamp(6px, 1.8vw, 10px) !important;
        text-align: left !important;
    }

    .index-hero-slide .home-hero-buttons {
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 8px !important;
        margin: 0 !important;
    }

    .index-hero-slide .btn-home-primary,
    .index-hero-slide .btn-home-outline {
        padding: 4px 16px !important;
        font-size: 11px !important;
        line-height: 1.4 !important;
        border-radius: 16px !important;
        width: auto !important;
        height: auto !important;
        flex: 0 0 auto !important;
    }

    /* 解决方案页（community / residential）Hero 按钮：移动端参照 index.html 小号横排样式 */
    .residential-hero .home-hero-buttons {
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 8px !important;
        /* margin: 0 !important; */
    }

    .residential-hero .btn-home-primary,
    .residential-hero .btn-home-outline {
        padding: 4px 16px !important;
        font-size: 11px !important;
        line-height: 1.4 !important;
        border-radius: 16px !important;
        width: auto !important;
        height: auto !important;
        flex: 0 0 auto !important;
    }
}

/* 小手机：≤480px */
@media (max-width: 480px) {
    .banner-slide .container {
        top: 50%;
        transform: translate(-50%, -60%);
        padding: 0 16px;
    }

    .banner-title {
        font-size: 16px;
    }

    .banner-subtitle {
        font-size: 13px;
    }

    .banner-num {
        font-size: 15px;
    }

    .footer-custom {
        padding: 20px;
    }

}

/* 大屏手机：≤640px —— 第一张 banner 进一步缩小标题与按钮，避免拥挤 */
@media (max-width: 640px) {
    .index-hero-slide .home-hero-title:not(.home-hero-title-blue) {
        font-size: clamp(10px, 3vw, 13px) !important;
    }

    .index-hero-slide .home-hero-title-blue {
        font-size: clamp(15px, 5.2vw, 20px) !important;
    }

    .index-hero-slide .home-hero-buttons {
        gap: 6px !important;
    }

    .index-hero-slide .btn-home-primary,
    .index-hero-slide .btn-home-outline {
        padding: 4px 12px !important;
        font-size: 10px !important;
    }
}

/* 极小屏手机：≤360px —— 第一张 banner 极限压缩，防止文字溢出 */
@media (max-width: 360px) {
    .index-hero-slide .home-hero-title-blue {
        font-size: clamp(14px, 5vw, 18px) !important;
        line-height: 1.25 !important;
    }

    .index-hero-slide .home-hero-buttons {
        gap: 5px !important;
    }

    .index-hero-slide .btn-home-primary,
    .index-hero-slide .btn-home-outline {
        padding: 3px 10px !important;
        font-size: 10px !important;
        border-radius: 14px !important;
    }

    .banner-slide .container {
        padding: 0 12px;
    }
}