/**
 * 科纳云分账平台 v8.0 — 高品质视觉升级
 * 滚动入场动画 + Hero多层装饰 + 玻璃卡片 + 丰富色彩 + 精美图标区 + CTA粒子
 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --ap-blue: #2563EB;
    --ap-blue-dark: #1D4ED8;
    --ap-blue-light: #60A5FA;
    --ap-blue-50: #EFF6FF;
    --ap-indigo: #4F46E5;
    --ap-dark: #0F172A;
    --ap-gray: #64748B;
    --ap-gray-light: #94A3B8;
    --ap-bg: #F8FAFC;
    --ap-green: #059669;
    --ap-purple: #7C3AED;
    --ap-orange: #EA580C;
    --ap-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    --ap-radius: 20px;
    --ap-shadow: 0 8px 32px rgba(0,0,0,0.06);
    --ap-shadow-lg: 0 20px 60px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }
html, body { height: 100%; }

body.hf-login-page {
    font-family: var(--ap-font);
    background: #fff;
    color: #334155;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* =============================================
   公告条（保留以免报错）
   ============================================= */
.hf-announcement { display: none; }

/* =============================================
   滚动入场动画
   ============================================= */
.hf-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.hf-animate.visible {
    opacity: 1;
    transform: translateY(0);
}
.hf-animate-delay-1 { transition-delay: 0.1s; }
.hf-animate-delay-2 { transition-delay: 0.2s; }
.hf-animate-delay-3 { transition-delay: 0.3s; }

/* =============================================
   顶部公告条
   ============================================= */
.hf-announcement {
    background: linear-gradient(90deg, var(--ap-blue), var(--ap-indigo));
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    font-size: 13px;
    line-height: 1.6;
    position: relative;
    z-index: 101;
}
.hf-announcement a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    margin-left: 8px;
    background: rgba(255,255,255,0.2);
    padding: 2px 12px;
    border-radius: 10px;
    transition: background 0.2s;
}
.hf-announcement a:hover { background: rgba(255,255,255,0.3); }
.hf-announcement-close {
    position: absolute; right: 20px; top: 50%;
    transform: translateY(-50%);
    background: none; border: none; color: rgba(255,255,255,0.7);
    cursor: pointer; font-size: 18px; padding: 4px;
}
.hf-announcement-close:hover { color: #fff; }

/* =============================================
   导航栏
   ============================================= */
.hf-navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 72px;
    display: flex;
    align-items: center;
    padding: 0 60px;
    z-index: 100;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: box-shadow 0.3s, background 0.3s;
    border-bottom: 1px solid transparent;
}
.hf-navbar.scrolled {
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
    background: rgba(255,255,255,0.95);
    border-bottom-color: rgba(0,0,0,0.04);
}

.hf-nav-logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; margin-right: 56px; flex-shrink: 0;
}
.hf-nav-logo-icon {
    width: 38px; height: 38px;
    background: linear-gradient(135deg, var(--ap-blue), var(--ap-indigo));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}
.hf-nav-logo-icon svg { width: 22px; height: 22px; }
.hf-nav-logo-text {
    font-size: 20px; font-weight: 800; color: var(--ap-dark); white-space: nowrap;
    letter-spacing: 0.5px;
}

.hf-nav-links {
    display: flex; align-items: center; gap: 32px;
    list-style: none; flex: 1;
}
.hf-nav-links li a {
    color: var(--ap-dark); text-decoration: none;
    font-size: 14px; font-weight: 500;
    transition: color 0.2s;
    padding: 8px 0;
    position: relative;
}
.hf-nav-links li a:hover { color: var(--ap-blue); }
.hf-nav-links li a::after {
    content: ''; position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px; background: var(--ap-blue);
    transform: scaleX(0); transition: transform 0.25s;
    border-radius: 1px;
}
.hf-nav-links li a:hover::after { transform: scaleX(1); }

.hf-nav-right {
    display: flex; align-items: center; gap: 12px;
    margin-left: auto; flex-shrink: 0;
}
.hf-nav-phone {
    font-size: 13px; color: var(--ap-gray);
    margin-right: 8px; white-space: nowrap;
}
.hf-nav-phone .mdi { color: var(--ap-blue); margin-right: 2px; }

.hf-consult-btn {
    padding: 8px 20px;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    background: #fff;
    color: var(--ap-dark);
    font-size: 13px; font-weight: 500;
    cursor: pointer; transition: all 0.25s;
    font-family: var(--ap-font);
}
.hf-consult-btn:hover {
    border-color: var(--ap-blue); color: var(--ap-blue);
    box-shadow: 0 2px 8px rgba(37,99,235,0.1);
}

.hf-login-trigger {
    padding: 8px 24px;
    border: none;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--ap-blue), var(--ap-indigo));
    color: #fff;
    font-size: 13px; font-weight: 600;
    cursor: pointer; transition: all 0.25s;
    font-family: var(--ap-font);
    box-shadow: 0 2px 8px rgba(37,99,235,0.25);
}
.hf-login-trigger:hover {
    box-shadow: 0 6px 20px rgba(37,99,235,0.4);
    transform: translateY(-1px);
}

/* =============================================
   Hero区 — 轮播Banner + 多层装饰
   ============================================= */
.hf-hero {
    margin-top: 72px;
    position: relative;
    overflow: hidden;
    min-height: 560px;
}
.hf-hero-slider {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 300%;
}
.hf-hero-slide {
    width: 100%;
    min-height: 560px;
    padding: 120px 60px 80px;
    display: flex;
    align-items: center;
    color: #fff;
    position: relative;
    flex-shrink: 0;
}
.hf-hero-slide:nth-child(1) {
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 35%, #3b82f6 70%, #60a5fa 100%);
}
.hf-hero-slide:nth-child(2) {
    background: linear-gradient(135deg, #312e81 0%, #4338ca 35%, #6366f1 70%, #818cf8 100%);
}
.hf-hero-slide:nth-child(3) {
    background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 35%, #0284c7 70%, #38bdf8 100%);
}
/* 装饰圆 — 多层 */
.hf-hero-slide::before {
    content: '';
    position: absolute;
    top: -160px; right: -80px;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
}
.hf-hero-slide::after {
    content: '';
    position: absolute;
    bottom: -120px; left: 40%;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
}
/* 额外装饰层 */
.hf-hero-deco {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}
.hf-hero-deco-1 {
    top: 15%; right: 8%;
    width: 200px; height: 200px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: hfFloat 6s ease-in-out infinite;
}
.hf-hero-deco-2 {
    bottom: 20%; right: 15%;
    width: 120px; height: 120px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    transform: rotate(45deg);
    animation: hfFloat 8s ease-in-out infinite reverse;
}
.hf-hero-deco-3 {
    top: 30%; right: 25%;
    width: 12px; height: 12px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    animation: hfPulse 3s ease-in-out infinite;
}
.hf-hero-deco-4 {
    top: 50%; right: 12%;
    width: 8px; height: 8px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    animation: hfPulse 4s ease-in-out infinite 1s;
}
/* 右侧大图标装饰 */
.hf-hero-visual {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    width: 320px; height: 320px;
    z-index: 1;
    opacity: 0.15;
}
.hf-hero-visual .mdi {
    font-size: 280px;
    color: #fff;
}

@keyframes hfFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
@keyframes hfPulse {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hf-hero-content { position: relative; z-index: 2; max-width: 600px; }

.hf-hero-tag {
    display: inline-block;
    padding: 4px 16px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    font-size: 12px; font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hf-hero-title {
    font-size: 48px; font-weight: 800;
    line-height: 1.25; margin-bottom: 20px;
    letter-spacing: 1px;
    text-shadow: 0 2px 40px rgba(0,0,0,0.15);
}
.hf-hero-subtitle {
    font-size: 17px; font-weight: 400;
    color: rgba(255,255,255,0.8);
    line-height: 1.8; margin-bottom: 40px;
}
.hf-hero-cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 36px;
    background: #fff; color: var(--ap-blue);
    border: none; border-radius: 28px;
    font-size: 15px; font-weight: 600;
    cursor: pointer; transition: all 0.3s;
    font-family: var(--ap-font);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.hf-hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}

/* 轮播指示点 */
.hf-hero-dots {
    position: absolute;
    bottom: 36px; left: 60px;
    display: flex; gap: 10px;
    z-index: 5;
}
.hf-hero-dot {
    width: 32px; height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.3);
    border: none; cursor: pointer;
    transition: all 0.4s;
    padding: 0;
}
.hf-hero-dot.active {
    width: 52px;
    background: #fff;
    box-shadow: 0 0 8px rgba(255,255,255,0.4);
}

/* =============================================
   通用区块
   ============================================= */
.hf-section {
    padding: 100px 60px;
    max-width: 1240px;
    margin: 0 auto;
}
.hf-section-title {
    text-align: center;
    font-size: 36px; font-weight: 800;
    color: var(--ap-dark); margin-bottom: 16px;
    letter-spacing: 0.5px;
}
.hf-section-desc {
    text-align: center;
    font-size: 16px; color: var(--ap-gray);
    margin-bottom: 64px; max-width: 560px;
    margin-left: auto; margin-right: auto;
    line-height: 1.8;
}

/* =============================================
   核心业务能力 — 3大卡片（玻璃拟态）
   ============================================= */
.hf-core-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.hf-core-card {
    background: #fff;
    border: 1px solid rgba(226,232,240,0.6);
    border-radius: var(--ap-radius);
    padding: 44px 36px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.hf-core-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ap-blue), var(--ap-indigo));
    transform: scaleX(0); transition: transform 0.4s;
    transform-origin: left;
}
.hf-core-card:hover::before { transform: scaleX(1); }
.hf-core-card:hover {
    border-color: transparent;
    box-shadow: 0 20px 60px rgba(37,99,235,0.1), 0 4px 16px rgba(0,0,0,0.04);
    transform: translateY(-8px);
}
.hf-core-icon {
    width: 64px; height: 64px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; margin-bottom: 28px;
    position: relative;
}
.hf-core-icon.blue {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: var(--ap-blue);
    box-shadow: 0 4px 16px rgba(37,99,235,0.12);
}
.hf-core-icon.green {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: var(--ap-green);
    box-shadow: 0 4px 16px rgba(5,150,105,0.12);
}
.hf-core-icon.purple {
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    color: var(--ap-purple);
    box-shadow: 0 4px 16px rgba(124,58,237,0.12);
}
.hf-core-title {
    font-size: 21px; font-weight: 700;
    color: var(--ap-dark); margin-bottom: 14px;
}
.hf-core-desc {
    font-size: 14px; color: var(--ap-gray); line-height: 1.85;
}
.hf-core-link {
    display: inline-flex; align-items: center; gap: 4px;
    margin-top: 24px;
    font-size: 14px; font-weight: 600;
    color: var(--ap-blue); text-decoration: none;
    transition: gap 0.2s, color 0.2s;
}
.hf-core-link:hover { gap: 8px; color: var(--ap-indigo); }

/* =============================================
   产品展示条
   ============================================= */
.hf-product-banner {
    max-width: 1240px;
    margin: -24px auto 0;
    padding: 0 60px 80px;
}
.hf-product-banner-inner {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
    border-radius: var(--ap-radius);
    padding: 44px 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(37,99,235,0.2);
}
.hf-product-banner-inner::before {
    content: '';
    position: absolute;
    top: -60px; right: -40px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
}
.hf-product-banner-text { position: relative; z-index: 2; }
.hf-product-banner-text h3 {
    font-size: 24px; font-weight: 700;
    margin-bottom: 8px;
}
.hf-product-banner-text p {
    font-size: 15px; color: rgba(255,255,255,0.7);
}
.hf-product-banner-link {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 12px 32px;
    background: #fff;
    border: none;
    border-radius: 28px;
    color: var(--ap-blue); text-decoration: none;
    font-size: 14px; font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
    position: relative; z-index: 2;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.hf-product-banner-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* =============================================
   行业解决方案 — 8 Tab
   ============================================= */
.hf-solutions-section {
    padding: 100px 60px;
    background: var(--ap-bg);
}
.hf-solutions-inner {
    max-width: 1240px;
    margin: 0 auto;
}
.hf-solutions-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 16px;
}
.hf-solutions-header .hf-section-title {
    text-align: left; margin-bottom: 0;
}
.hf-solutions-more {
    font-size: 14px; color: var(--ap-blue);
    text-decoration: none; font-weight: 500;
    white-space: nowrap;
}
.hf-solutions-more:hover { text-decoration: underline; }
.hf-sol-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.hf-sol-tab {
    padding: 10px 28px;
    border: 1.5px solid #e2e8f0;
    border-radius: 28px;
    background: #fff;
    color: var(--ap-gray);
    font-size: 14px; font-weight: 500;
    cursor: pointer; transition: all 0.3s;
    font-family: var(--ap-font);
}
.hf-sol-tab:hover { border-color: var(--ap-blue); color: var(--ap-blue); background: var(--ap-blue-50); }
.hf-sol-tab.active {
    background: linear-gradient(135deg, var(--ap-blue), var(--ap-indigo));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(37,99,235,0.25);
}
.hf-sol-content {
    display: none;
    background: #fff;
    border-radius: var(--ap-radius);
    padding: 52px;
    box-shadow: var(--ap-shadow);
}
.hf-sol-content.active { display: flex; gap: 52px; align-items: center; }
.hf-sol-text { flex: 1; }
.hf-sol-text h3 {
    font-size: 26px; font-weight: 700;
    color: var(--ap-dark); margin-bottom: 16px;
}
.hf-sol-text p {
    font-size: 15px; color: var(--ap-gray);
    line-height: 1.85; margin-bottom: 28px;
}
.hf-sol-text a {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 14px; font-weight: 600;
    color: #fff; text-decoration: none;
    background: linear-gradient(135deg, var(--ap-blue), var(--ap-indigo));
    padding: 10px 24px;
    border-radius: 24px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(37,99,235,0.2);
}
.hf-sol-text a:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,99,235,0.3); }
.hf-sol-visual {
    width: 320px; min-width: 280px; height: 240px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 50%, #bfdbfe 100%);
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 80px; color: var(--ap-blue);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 -20px 40px rgba(37,99,235,0.06);
}
.hf-sol-visual::before {
    content: '';
    position: absolute;
    top: -30px; right: -30px;
    width: 100px; height: 100px;
    border-radius: 50%;
    background: rgba(37,99,235,0.06);
}
.hf-sol-visual::after {
    content: '';
    position: absolute;
    bottom: -20px; left: -20px;
    width: 80px; height: 80px;
    border-radius: 50%;
    background: rgba(37,99,235,0.04);
}

/* =============================================
   为什么选择 — 5个Tab+数据
   ============================================= */
.hf-why-section {
    padding: 100px 60px;
    max-width: 1240px;
    margin: 0 auto;
}
.hf-why-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 52px;
    border-bottom: 2px solid #f1f5f9;
}
.hf-why-tab {
    padding: 16px 28px;
    background: none; border: none;
    color: var(--ap-gray);
    font-size: 15px; font-weight: 600;
    cursor: pointer; transition: all 0.25s;
    font-family: var(--ap-font);
    position: relative;
}
.hf-why-tab:hover { color: var(--ap-blue); }
.hf-why-tab.active { color: var(--ap-blue); }
.hf-why-tab.active::after {
    content: ''; position: absolute;
    bottom: -2px; left: 16%; right: 16%;
    height: 3px;
    background: linear-gradient(90deg, var(--ap-blue), var(--ap-indigo));
    border-radius: 2px;
}
.hf-why-content { display: none; }
.hf-why-content.active { display: block; }
.hf-why-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}
.hf-why-stat {
    text-align: center;
    padding: 40px 24px 36px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 12px rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
}
.hf-why-stat::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ap-blue), var(--ap-blue-light));
    opacity: 0;
    transition: opacity 0.3s;
}
.hf-why-stat:hover::before { opacity: 1; }
.hf-why-stat:hover {
    box-shadow: 0 12px 40px rgba(37,99,235,0.08);
    transform: translateY(-6px);
    border-color: transparent;
}
.hf-why-stat-num {
    font-size: 42px; font-weight: 800;
    background: linear-gradient(135deg, var(--ap-blue), var(--ap-indigo));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    line-height: 1.2;
}
.hf-why-stat-num span {
    font-size: 20px; font-weight: 500;
}
.hf-why-stat-label {
    font-size: 14px; color: var(--ap-gray); font-weight: 500;
}

/* =============================================
   客户信赖之选
   ============================================= */
.hf-trust-section {
    padding: 100px 60px;
    background: var(--ap-bg);
}
.hf-trust-inner {
    max-width: 1240px;
    margin: 0 auto;
}
.hf-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.hf-trust-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    color: inherit;
    display: block;
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}
.hf-trust-card::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ap-blue), var(--ap-indigo));
    transform: scaleX(0);
    transition: transform 0.3s;
}
.hf-trust-card:hover::after { transform: scaleX(1); }
.hf-trust-card:hover {
    box-shadow: var(--ap-shadow-lg);
    transform: translateY(-6px);
    border-color: transparent;
}
.hf-trust-card-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    transition: transform 0.3s;
}
.hf-trust-card:hover .hf-trust-card-icon { transform: scale(1.1); }
.hf-trust-card:nth-child(1) .hf-trust-card-icon { background: #fef3c7; color: #d97706; }
.hf-trust-card:nth-child(2) .hf-trust-card-icon { background: #dbeafe; color: #2563eb; }
.hf-trust-card:nth-child(3) .hf-trust-card-icon { background: #d1fae5; color: #059669; }
.hf-trust-card:nth-child(4) .hf-trust-card-icon { background: #fce7f3; color: #db2777; }
.hf-trust-card:nth-child(5) .hf-trust-card-icon { background: #ede9fe; color: #7c3aed; }
.hf-trust-card:nth-child(6) .hf-trust-card-icon { background: #ffedd5; color: #ea580c; }
.hf-trust-card-name {
    font-size: 17px; font-weight: 700;
    color: var(--ap-dark); margin-bottom: 10px;
}
.hf-trust-card-desc {
    font-size: 14px; color: var(--ap-gray);
    line-height: 1.75;
}
.hf-trust-more {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 48px;
    font-size: 14px; font-weight: 600;
    color: var(--ap-blue);
    text-decoration: none;
    padding: 10px 28px;
    border: 1.5px solid var(--ap-blue);
    border-radius: 28px;
    transition: all 0.3s;
}
.hf-trust-more:hover {
    background: var(--ap-blue); color: #fff;
    box-shadow: 0 4px 16px rgba(37,99,235,0.25);
}
.hf-trust-more-wrap { text-align: center; }

/* =============================================
   新闻与活动
   ============================================= */
.hf-news-section {
    padding: 100px 60px;
    max-width: 1240px;
    margin: 0 auto;
}
.hf-news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.hf-news-featured {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 60%, #3b82f6 100%);
    border-radius: var(--ap-radius);
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    color: #fff;
    min-height: 300px;
    box-shadow: 0 12px 40px rgba(37,99,235,0.2);
    transition: transform 0.3s;
}
.hf-news-featured:hover { transform: translateY(-4px); }
.hf-news-featured::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 160px; height: 160px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
}
.hf-news-featured::after {
    content: '';
    position: absolute;
    bottom: -30px; left: 30%;
    width: 120px; height: 120px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}
.hf-news-featured-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    font-size: 12px; font-weight: 500;
    margin-bottom: 16px;
    width: fit-content;
}
.hf-news-featured-date {
    font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 12px;
}
.hf-news-featured-title {
    font-size: 22px; font-weight: 700;
    line-height: 1.5;
    position: relative; z-index: 2;
}
.hf-news-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.hf-news-item {
    padding: 22px 0;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none; color: inherit;
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 16px;
    transition: all 0.2s;
}
.hf-news-item:first-child { padding-top: 0; }
.hf-news-item:last-child { border-bottom: none; }
.hf-news-item:hover .hf-news-item-title { color: var(--ap-blue); }
.hf-news-item-title {
    font-size: 15px; font-weight: 500;
    color: var(--ap-dark); line-height: 1.6;
    flex: 1; transition: color 0.2s;
}
.hf-news-item-date {
    font-size: 12px; color: var(--ap-gray-light);
    white-space: nowrap; flex-shrink: 0;
    background: var(--ap-bg);
    padding: 4px 10px;
    border-radius: 8px;
}

/* =============================================
   CTA区 — 大气渐变 + 装饰
   ============================================= */
.hf-cta-section {
    padding: 120px 60px;
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 40%, #3b82f6 100%);
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.hf-cta-section::before {
    content: '';
    position: absolute;
    top: -100px; left: 10%;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}
.hf-cta-section::after {
    content: '';
    position: absolute;
    bottom: -80px; right: 15%;
    width: 250px; height: 250px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}
.hf-cta-title {
    font-size: 36px; font-weight: 800;
    margin-bottom: 16px; letter-spacing: 2px;
    position: relative; z-index: 2;
}
.hf-cta-desc {
    font-size: 16px; color: rgba(255,255,255,0.75);
    margin-bottom: 40px;
    position: relative; z-index: 2;
}
.hf-cta-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 16px 44px;
    background: #fff; color: var(--ap-blue);
    border: none; border-radius: 28px;
    font-size: 16px; font-weight: 700;
    cursor: pointer; transition: all 0.3s;
    font-family: var(--ap-font);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    position: relative; z-index: 2;
}
.hf-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}

/* =============================================
   页脚 — 深色多列+许可证
   ============================================= */
.hf-footer {
    background: linear-gradient(180deg, #0f172a, #1e293b);
    color: rgba(255,255,255,0.5);
    padding: 64px 60px 24px;
}
.hf-footer-top {
    max-width: 1240px;
    margin: 0 auto 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hf-footer-slogan {
    font-size: 18px; font-weight: 700;
    color: rgba(255,255,255,0.8);
    letter-spacing: 1px;
}
.hf-footer-phone {
    font-size: 15px; color: rgba(255,255,255,0.6);
    font-weight: 500;
}
.hf-footer-phone .mdi { margin-right: 6px; color: var(--ap-blue-light); }
.hf-footer-badges {
    display: flex; gap: 12px; margin-top: 14px;
}
.hf-footer-badge {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; color: rgba(255,255,255,0.4);
    padding: 6px 14px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
}
.hf-footer-badge .mdi { color: var(--ap-blue-light); font-size: 15px; }
.hf-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 32px;
    max-width: 1240px;
    margin: 0 auto 36px;
}
.hf-footer-col h4 {
    font-size: 14px; font-weight: 600;
    color: rgba(255,255,255,0.75);
    margin-bottom: 18px;
}
.hf-footer-col a {
    display: block; font-size: 13px;
    color: rgba(255,255,255,0.35);
    text-decoration: none; margin-bottom: 12px;
    transition: color 0.2s;
}
.hf-footer-col a:hover { color: rgba(255,255,255,0.8); }
.hf-footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
    max-width: 1240px;
    margin: 0 auto;
}
.hf-footer-bottom p {
    font-size: 12px; color: rgba(255,255,255,0.25);
    margin: 0; line-height: 2;
}
.hf-footer-bottom a {
    color: rgba(255,255,255,0.35); text-decoration: none;
}
.hf-footer-bottom a:hover { color: rgba(255,255,255,0.7); }
.hf-footer-legal {
    display: inline-flex; gap: 20px;
    margin-top: 6px;
}
.hf-footer-legal a {
    font-size: 12px; color: rgba(255,255,255,0.3);
    text-decoration: none;
}
.hf-footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* =============================================
   右下角浮动按钮
   ============================================= */
.hf-floating {
    position: fixed;
    right: 24px; bottom: 24px;
    z-index: 90;
    display: flex; flex-direction: column;
    gap: 10px;
}
.hf-float-btn {
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: none; cursor: pointer;
    font-size: 22px;
    transition: all 0.3s;
}
.hf-float-contact {
    background: linear-gradient(135deg, var(--ap-blue), var(--ap-indigo));
    color: #fff;
    box-shadow: 0 6px 24px rgba(37,99,235,0.3);
}
.hf-float-contact:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(37,99,235,0.4);
}
.hf-float-top {
    background: #fff; color: var(--ap-gray);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    opacity: 0; visibility: hidden;
    transform: translateY(8px);
    transition: all 0.3s;
}
.hf-float-top.visible {
    opacity: 1; visibility: visible;
    transform: translateY(0);
}
.hf-float-top:hover {
    color: var(--ap-blue);
    box-shadow: 0 6px 24px rgba(37,99,235,0.15);
}

/* =============================================
   登录弹窗
   ============================================= */
.hf-modal-overlay {
    position: fixed; inset: 0;
    background: rgba(15,23,42,0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: all 0.35s ease;
}
.hf-modal-overlay.active { opacity: 1; visibility: visible; }

.hf-modal {
    width: 420px; max-width: 92vw;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 32px 80px rgba(0,0,0,0.2), 0 0 0 1px rgba(0,0,0,0.04);
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    color: #333;
}
.hf-modal-overlay.active .hf-modal { transform: scale(1) translateY(0); }

.hf-modal::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ap-blue), var(--ap-indigo), var(--ap-blue-light));
    border-radius: 20px 20px 0 0;
}

.hf-modal-close {
    position: absolute; top: 16px; right: 16px;
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    border: none; background: #f1f5f9; border-radius: 50%;
    cursor: pointer; font-size: 18px; color: #94a3b8;
    transition: all 0.2s; z-index: 10;
}
.hf-modal-close:hover { background: #e2e8f0; color: #334155; }

.hf-modal-body { padding: 40px 36px 28px; }

.hf-form-header { margin-bottom: 28px; text-align: center; }
.hf-form-logo {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, var(--ap-blue), var(--ap-indigo));
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 6px 20px rgba(37,99,235,0.25);
}
.hf-form-logo svg { width: 28px; height: 28px; }
.hf-form-header h2 { font-size: 20px; font-weight: 700; color: var(--ap-dark); margin-bottom: 4px; }
.hf-form-header p { font-size: 13px; color: #94a3b8; margin: 0; }

.hf-login-tabs { display: flex; margin-bottom: 24px; border-bottom: 2px solid #f1f5f9; }
.hf-login-tab {
    flex: 1; padding: 10px 0; text-align: center;
    font-size: 14px; font-weight: 600; color: #94a3b8;
    cursor: pointer; position: relative;
    background: none; border: none; outline: none;
    font-family: var(--ap-font);
    transition: color 0.2s;
}
.hf-login-tab.active { color: var(--ap-blue); }
.hf-login-tab.active::after {
    content: ''; position: absolute;
    bottom: -2px; left: 20%; width: 60%; height: 2px;
    background: linear-gradient(90deg, var(--ap-blue), var(--ap-indigo));
    border-radius: 1px;
}

.hf-form .hf-field { margin-bottom: 18px; }
.hf-form .hf-label { display: block; font-size: 13px; font-weight: 600; color: #475569; margin-bottom: 6px; }
.hf-input-wrap { position: relative; }
.hf-input-wrap .hf-icon {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    color: #94a3b8; font-size: 18px; pointer-events: none; z-index: 2;
    transition: color 0.2s;
}
.hf-input {
    width: 100%; height: 46px;
    padding: 0 14px 0 42px;
    border: 1.5px solid #e2e8f0; border-radius: 12px;
    font-size: 14px; color: #1e293b; background: #f8fafc;
    transition: all 0.25s; outline: none;
    font-family: var(--ap-font);
}
.hf-input::placeholder { color: #94a3b8; }
.hf-input:hover { border-color: #cbd5e1; }
.hf-input:focus {
    border-color: var(--ap-blue); background: #fff;
    box-shadow: 0 0 0 4px rgba(37,99,235,0.08);
}
.hf-input:focus ~ .hf-icon,
.hf-input-wrap:focus-within .hf-icon { color: var(--ap-blue); }

.hf-captcha-row { display: flex; gap: 10px; }
.hf-captcha-row .hf-input-wrap { flex: 1; }
.hf-captcha-img {
    width: 110px; min-width: 110px; height: 46px;
    border-radius: 12px; overflow: hidden;
    cursor: pointer; border: 1.5px solid #e2e8f0;
    display: flex; align-items: center; justify-content: center;
    background: #f8fafc;
    transition: border-color 0.2s;
}
.hf-captcha-img:hover { border-color: var(--ap-blue); }
.hf-captcha-img img { width: 100%; height: 100%; object-fit: cover; }

.hf-submit-btn {
    width: 100%; height: 50px;
    background: linear-gradient(135deg, var(--ap-blue), var(--ap-indigo));
    color: #fff;
    border: none; border-radius: 12px;
    font-size: 15px; font-weight: 700; letter-spacing: 2px;
    cursor: pointer; transition: all 0.3s;
    font-family: var(--ap-font);
    box-shadow: 0 4px 16px rgba(37,99,235,0.25);
}
.hf-submit-btn:hover {
    box-shadow: 0 8px 28px rgba(37,99,235,0.35);
    transform: translateY(-1px);
}
.hf-submit-btn:active { transform: scale(0.99) translateY(0); }

.hf-security-notice {
    display: flex; align-items: center; justify-content: center;
    gap: 4px; margin-top: 16px; font-size: 11px; color: #94a3b8;
}
.hf-security-notice .hf-lock-icon { font-size: 13px; color: var(--ap-green); }

.hf-modal-footer { padding: 0 36px 24px; text-align: center; }
.hf-modal-divider { display: flex; align-items: center; margin-bottom: 14px; gap: 12px; }
.hf-modal-divider::before, .hf-modal-divider::after { content: ''; flex: 1; height: 1px; background: #f1f5f9; }
.hf-modal-divider span { font-size: 11px; color: #94a3b8; white-space: nowrap; }
.hf-modal-partners { display: flex; justify-content: center; gap: 12px; }
.hf-modal-partner {
    display: flex; align-items: center; gap: 5px;
    padding: 5px 14px; border-radius: 14px;
    background: #f8fafc; font-size: 11px; color: #64748b;
    border: 1px solid #f1f5f9;
}
.hf-partner-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.hf-partner-dot.wechat { background: #07C160; }
.hf-partner-dot.alipay { background: #1677FF; }
.hf-partner-dot.unionpay { background: #E60012; }

/* 通知/加载 */
.hf-submit-btn.loading { pointer-events: none; opacity: 0.8; }
.hf-submit-btn.loading::after {
    content: ''; display: inline-block;
    width: 14px; height: 14px; margin-left: 8px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff; border-radius: 50%;
    animation: hfSpin 0.6s linear infinite; vertical-align: middle;
}
@keyframes hfSpin { to { transform: rotate(360deg); } }
.hf-form .alert { border-radius: 10px; border: none; padding: 10px 14px; margin-bottom: 14px; font-size: 13px; font-weight: 500; }
.hf-form .alert-danger { background: #fef2f2; color: #dc2626; }
.hf-form .alert-success { background: #f0fdf4; color: #16a34a; }

/* =============================================
   响应式
   ============================================= */
@media (max-width: 1024px) {
    .hf-core-grid { grid-template-columns: 1fr; }
    .hf-hero-slide .hf-hero-title { font-size: 36px; }
    .hf-hero-visual { display: none; }
    .hf-footer-grid { grid-template-columns: repeat(3, 1fr); }
    .hf-sol-content.active { flex-direction: column; }
    .hf-sol-visual { width: 100%; min-width: auto; }
    .hf-news-grid { grid-template-columns: 1fr; }
    .hf-trust-grid { grid-template-columns: repeat(2, 1fr); }
    .hf-product-banner-inner { flex-direction: column; gap: 24px; text-align: center; }
}
@media (max-width: 768px) {
    .hf-announcement { font-size: 12px; padding: 8px 40px 8px 16px; }
    .hf-navbar { padding: 0 20px; height: 60px; }
    .hf-nav-links { display: none; }
    .hf-nav-phone { display: none; }
    .hf-hero { min-height: 420px; margin-top: 60px; }
    .hf-hero-slide { padding: 80px 20px 60px; min-height: 420px; }
    .hf-hero-slide .hf-hero-title { font-size: 30px; }
    .hf-hero-subtitle { font-size: 15px; }
    .hf-hero-dots { left: 20px; bottom: 24px; }
    .hf-hero-deco { display: none; }
    .hf-section, .hf-solutions-section, .hf-why-section, .hf-cta-section,
    .hf-trust-section, .hf-news-section { padding: 60px 20px; }
    .hf-section-title { font-size: 28px; }
    .hf-product-banner { padding: 0 20px 48px; }
    .hf-why-tabs { flex-wrap: wrap; gap: 4px; }
    .hf-why-tab { padding: 10px 16px; font-size: 13px; }
    .hf-sol-tabs { gap: 6px; }
    .hf-sol-tab { padding: 8px 18px; font-size: 13px; }
    .hf-consult-btn { display: none; }
    .hf-footer { padding: 40px 20px 16px; }
    .hf-footer-top { flex-direction: column; gap: 16px; text-align: center; }
    .hf-footer-badges { justify-content: center; }
    .hf-footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .hf-trust-grid { grid-template-columns: 1fr; }
    .hf-modal-body { padding: 32px 24px 20px; }
    .hf-modal-footer { padding: 0 24px 20px; }
    .hf-floating { right: 16px; bottom: 16px; }
    .hf-float-btn { width: 44px; height: 44px; font-size: 20px; }
}
@media (max-width: 480px) {
    .hf-hero-slide .hf-hero-title { font-size: 26px; }
    .hf-section-title { font-size: 24px; }
    .hf-cta-title { font-size: 26px; }
    .hf-modal { border-radius: 14px; }
    .hf-footer-grid { grid-template-columns: 1fr; }
}
