/* ========================================
   WPS 365 装备制造业数字化办公解决方案 - 专题页样式
   参照 ship 设计风格
   ======================================== */

/* 变量定义 */
:root {
    --primary: #1a73e8;
    --primary-dark: #1557b0;
    --primary-light: #e8f0fe;
    --accent: #00c853;
    --dark: #1a1a2e;
    --dark-card: #252542;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-500: #adb5bd;
    --gray-700: #495057;
    --gradient-primary: linear-gradient(135deg, #1a73e8 0%, #6c5ce7 100%);
    --gradient-hero: linear-gradient(135deg, #0d1b3e 0%, #1a3a6e 40%, #1a73e8 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
    --radius: 12px;
    --radius-lg: 20px;
}

/* 全局 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: #333; overflow-x: hidden; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
.text-white-75 { color: rgba(255,255,255,0.75) !important; }

/* ========= 导航栏 ========= */
.navbar { padding: 12px 0; transition: all 0.3s ease; background: transparent; }
.navbar.scrolled { background: rgba(26,26,46,0.95) !important; backdrop-filter: blur(10px); box-shadow: 0 2px 20px rgba(0,0,0,0.2); padding: 8px 0; }
.brand-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; background: var(--primary); color: #fff;
    border-radius: 8px; font-weight: 700; font-size: 16px; margin-right: 6px;
}
.brand-icon-sm { width: 24px; height: 24px; font-size: 12px; border-radius: 6px; }
.nav-link { font-size: 14px; font-weight: 500; padding: 8px 16px !important; transition: color 0.3s; }
.nav-link:hover, .nav-link.active { color: #fff !important; }
.nav-cta { border-radius: 20px !important; font-weight: 600; font-size: 13px !important; }

/* ========= Section 通用 ========= */
.section-tag {
    display: inline-block; padding: 6px 18px; background: var(--primary-light);
    border-radius: 30px; color: var(--primary); font-size: 13px; font-weight: 600;
    margin-bottom: 16px; letter-spacing: 1px;
}
.section-tag-light { background: rgba(255,255,255,0.15); color: #fff; }
.section-title { font-size: 2.5rem; font-weight: 900; color: var(--dark); margin-bottom: 12px; }
.section-desc { font-size: 1rem; color: var(--gray-700); max-width: 650px; margin: 0 auto; line-height: 1.7; }

/* ========= Hero ========= */
.hero-section { background: var(--gradient-hero); position: relative; overflow: hidden; min-height: 100vh; }
.hero-canvas {
    position: absolute; inset: 0; width: 100%; height: 100%;
    display: block; pointer-events: none;
}
.hero-badge {
    display: inline-block; padding: 6px 18px; background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25); border-radius: 30px; color: #fff;
    font-size: 14px; font-weight: 500; margin-bottom: 24px; backdrop-filter: blur(5px);
}
.hero-title { color: #fff; font-size: 3.5rem; font-weight: 900; line-height: 1.2; margin-bottom: 20px; }
.text-gradient {
    background: linear-gradient(135deg, #64b5f6, #00e5ff);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-desc { color: rgba(255,255,255,0.8); font-size: 1.1rem; line-height: 1.8; margin-bottom: 32px; max-width: 560px; }
.hero-actions .btn-primary {
    background: var(--primary); border: none; border-radius: 30px; padding: 12px 32px;
    font-weight: 600; box-shadow: 0 4px 20px rgba(26,115,232,0.4); transition: all 0.3s;
}
.hero-actions .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 30px rgba(26,115,232,0.6); }
.hero-actions .btn-outline-light { border-radius: 30px; padding: 12px 32px; font-weight: 600; border-width: 2px; }
.hero-stats { display: flex; gap: 48px; margin-top: 48px; }
.stat-item { text-align: center; }
.stat-num { color: #fff; font-size: 2.5rem; font-weight: 900; }
.stat-label { color: rgba(255,255,255,0.6); font-size: 13px; margin-top: 4px; }

/* Hero Visual */
.hero-visual { position: relative; width: 400px; height: 400px; margin: 0 auto; }
.center-logo {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 120px; height: 120px; background: var(--gradient-primary); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: #fff;
    font-weight: 700; font-size: 1.2rem; z-index: 2; box-shadow: 0 0 40px rgba(26,115,232,0.5);
}
.logo-ring {
    position: absolute; inset: -20px; border: 2px solid rgba(26,115,232,0.3);
    border-radius: 50%; animation: pulse-ring 2s ease-in-out infinite;
}
@keyframes pulse-ring { 0%, 100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.1); opacity: 1; } }
.floating-card {
    position: absolute; background: rgba(255,255,255,0.12); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius); padding: 14px 20px;
    color: #fff; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; white-space: nowrap;
}
.floating-card i { font-size: 20px; }
.card-1 { top: 30px; left: 50%; animation: float-card1 6s ease-in-out infinite; }
.card-2 { top: 50%; right: 0; animation: float-card2 6s ease-in-out 1.5s infinite backwards; }
.card-3 { bottom: 30px; left: 50%; animation: float-card3 6s ease-in-out 3s infinite backwards; }
.card-4 { top: 50%; left: 0; animation: float-card4 6s ease-in-out 4.5s infinite backwards; }
@keyframes float-card1 { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-14px); } }
@keyframes float-card2 { 0%, 100% { transform: translateY(-50%) translateX(0); } 50% { transform: translateY(-50%) translateX(-10px); } }
@keyframes float-card3 { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(14px); } }
@keyframes float-card4 { 0%, 100% { transform: translateY(-50%) translateX(0); } 50% { transform: translateY(-50%) translateX(10px); } }

/* ========= 痛点 ========= */
.pain-section { padding: 100px 0; background: #fff; }
.pain-card {
    background: var(--gray-100); border: 1px solid var(--gray-200); border-radius: var(--radius);
    padding: 32px 24px; height: 100%; transition: all 0.3s;
}
.pain-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(26,115,232,0.2); }
.pain-icon {
    width: 56px; height: 56px; background: #fff3e0; border-radius: 14px;
    display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
    color: #f57c00; margin-bottom: 16px;
}
.pain-card h5 { font-weight: 700; color: var(--dark); margin-bottom: 10px; font-size: 1.05rem; }
.pain-card p { font-size: 0.88rem; color: var(--gray-700); line-height: 1.7; margin: 0; }

/* ========= 转型方向 ========= */
.transform-section { padding: 100px 0; background: var(--gradient-hero); }
.transform-card {
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius); padding: 32px 24px; height: 100%; color: #fff; transition: all 0.3s;
}
.transform-card:hover { background: rgba(255,255,255,0.14); transform: translateY(-5px); }
.transform-icon {
    width: 52px; height: 52px; background: rgba(255,255,255,0.15); border-radius: 14px;
    display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
    color: #fff; margin-bottom: 16px;
}
.transform-card h5 { font-weight: 700; margin-bottom: 14px; }
.transform-card ul { list-style: none; padding: 0; margin: 0; }
.transform-card li { font-size: 0.88rem; color: rgba(255,255,255,0.8); padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.transform-card li:last-child { border-bottom: none; }

/* ========= 产品架构 ========= */
.product-section { padding: 100px 0; background: var(--gray-100); }
.product-card {
    background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius);
    padding: 32px 24px; height: 100%; transition: all 0.3s; text-align: center;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.product-icon {
    width: 64px; height: 64px; background: var(--gradient-primary); border-radius: 16px;
    display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem;
    color: #fff; margin-bottom: 16px;
}
.product-card h5 { font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.product-card p { font-size: 0.88rem; color: var(--gray-700); line-height: 1.7; margin: 0; }

/* 价值亮点 */
.value-highlight { padding: 32px; }
.value-highlight h3 { font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.value-item {
    background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius);
    padding: 20px 16px; text-align: center; transition: all 0.3s;
}
.value-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.value-item i { font-size: 1.5rem; color: var(--primary); margin-bottom: 8px; display: block; }
.value-item h6 { font-weight: 700; color: var(--dark); margin-bottom: 4px; font-size: 0.9rem; }
.value-item p { font-size: 0.8rem; color: var(--gray-700); margin: 0; }

/* 解决方案卡片 */
.solve-card {
    background: var(--gradient-primary); border-radius: var(--radius-lg);
    padding: 40px 32px; color: #fff; height: 100%;
}
.solve-card h4 { font-weight: 800; margin-bottom: 24px; }
.solve-list { display: flex; flex-direction: column; gap: 14px; }
.solve-item {
    display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,0.15);
    border-radius: 10px; padding: 14px 18px; font-weight: 500; font-size: 0.95rem;
}
.solve-tag {
    width: 36px; height: 36px; background: #fff; color: var(--primary); border-radius: 10px;
    display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.9rem; flex-shrink: 0;
}

/* ========= 应用场景 ========= */
.scenarios-section { padding: 100px 0; background: var(--dark); }
.scenario-card {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius); padding: 32px 24px; height: 100%; color: #fff; transition: all 0.3s;
}
.scenario-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,0.2); }
.scenario-header { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.scenario-num {
    width: 40px; height: 40px; background: var(--gradient-primary); border-radius: 12px;
    display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.85rem; flex-shrink: 0;
}
.scenario-header h5 { font-weight: 700; margin: 0; }
.scenario-list { list-style: none; padding: 0; margin: 0; }
.scenario-list li {
    padding: 7px 0; font-size: 0.88rem; color: rgba(255,255,255,0.8);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.scenario-list li::before { content: "\2713"; margin-right: 8px; color: var(--accent); font-weight: 700; }
.scenario-list li:last-child { border-bottom: none; }

/* ========= 轻维表 ========= */
.qwb-section { padding: 100px 0; background: #fff; }
.qwb-item {
    background: var(--gray-100); border: 1px solid var(--gray-200); border-radius: var(--radius);
    padding: 28px 16px; text-align: center; height: 100%; transition: all 0.3s;
}
.qwb-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(26,115,232,0.2); }
.qwb-icon {
    width: 48px; height: 48px; background: var(--gradient-primary); border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: #fff; margin-bottom: 12px;
}
.qwb-item h6 { font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.qwb-item p { font-size: 0.8rem; color: var(--gray-700); margin: 0; }

/* ========= 安全能力 ========= */
.security-section { padding: 100px 0; background: var(--gradient-hero); }
.security-card {
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius); padding: 32px 24px; text-align: center; height: 100%;
    color: #fff; transition: all 0.3s;
}
.security-card:hover { background: rgba(255,255,255,0.14); transform: translateY(-5px); }
.security-icon {
    width: 56px; height: 56px; background: rgba(255,255,255,0.15); border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem;
    color: #fff; margin-bottom: 16px;
}
.security-card h5 { font-weight: 700; margin-bottom: 10px; }
.security-card p { font-size: 0.88rem; color: rgba(255,255,255,0.75); margin: 0; line-height: 1.7; }

/* 安全流程 */
.security-flow {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius); overflow: hidden;
}
.flow-step { padding: 24px 20px; color: #fff; }
.flow-step-mid { background: rgba(255,255,255,0.06); }
.flow-label {
    display: inline-block; padding: 4px 14px; background: rgba(255,255,255,0.15);
    border-radius: 20px; font-size: 0.8rem; font-weight: 600; margin-bottom: 10px;
}
.flow-step p { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin: 0; }

/* ========= 客户案例 ========= */
.cases-section { padding: 100px 0; background: var(--gray-100); }
.case-card {
    background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius);
    padding: 32px; height: 100%; transition: all 0.3s;
}
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.case-header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.case-icon {
    width: 48px; height: 48px; background: var(--gradient-primary); border-radius: 12px;
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
    color: #fff; flex-shrink: 0;
}
.case-header h5 { font-weight: 700; color: var(--dark); margin-bottom: 6px; font-size: 1rem; }
.case-tag {
    display: inline-block; padding: 2px 10px; background: var(--primary-light);
    color: var(--primary); font-size: 0.75rem; font-weight: 600; border-radius: 20px;
}
.case-problem, .case-result {
    padding: 12px 0; font-size: 0.88rem; color: var(--gray-700); line-height: 1.7;
    border-bottom: 1px solid var(--gray-200);
}
.case-result { border-bottom: none; }
.case-problem strong, .case-result strong { color: var(--dark); }
.customer-tag {
    display: inline-flex; align-items: center; gap: 6px; padding: 10px 24px;
    background: #fff; border: 1px solid var(--gray-200); border-radius: 30px;
    font-size: 0.9rem; font-weight: 600; color: var(--dark); transition: all 0.3s;
}
.customer-tag:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.customer-tag i { color: var(--primary); }

/* ========= 留资 ========= */
.lead-section { background: var(--gradient-hero); padding: 100px 0; position: relative; overflow: hidden; }
.lead-section::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(26,115,232,0.3), transparent 60%),
                radial-gradient(circle at 80% 80%, rgba(108,92,231,0.2), transparent 50%);
}
.lead-info { position: relative; z-index: 1; }
.lead-title { color: #fff; font-size: 2.2rem; font-weight: 900; line-height: 1.3; margin-bottom: 16px; }
.lead-desc { color: rgba(255,255,255,0.75); font-size: 15px; line-height: 1.8; margin-bottom: 28px; }
.lead-highlights { margin-bottom: 32px; }
.lead-highlight-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.9); font-size: 14px; margin-bottom: 12px; }
.lead-highlight-item i { color: #00e676; font-size: 18px; flex-shrink: 0; }
.lead-form-wrapper {
    position: relative; z-index: 1; background: #fff; border-radius: var(--radius-lg);
    padding: 40px; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.lead-form-header { margin-bottom: 24px; }
.lead-form-header h4 { font-weight: 800; margin-bottom: 4px; color: var(--dark); }
.lead-form-header p { color: var(--gray-700); font-size: 14px; margin: 0; }
.lead-form .form-label { font-size: 13px; font-weight: 600; color: var(--gray-700); margin-bottom: 4px; }
.lead-form .form-control, .lead-form .form-select {
    border-radius: 10px; padding: 10px 14px; font-size: 14px; border-color: var(--gray-200); transition: all 0.3s;
}
.lead-form .form-control:focus, .lead-form .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,115,232,0.15); }
.btn-submit {
    border-radius: 12px !important; padding: 14px !important; font-weight: 700; font-size: 16px !important;
    background: var(--gradient-primary) !important; border: none !important; transition: all 0.3s;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(26,115,232,0.4); }
.btn-submit:active { transform: translateY(0); }
.btn-submit.submitting { pointer-events: none; opacity: 0.7; }
.lead-success { text-align: center; padding: 60px 20px; }
.lead-success .success-icon { font-size: 64px; color: #00c853; margin-bottom: 20px; animation: success-bounce 0.6s ease; }
@keyframes success-bounce { 0% { transform: scale(0); } 50% { transform: scale(1.2); } 100% { transform: scale(1); } }
.lead-success h4 { font-weight: 800; margin-bottom: 10px; color: var(--dark); }
.lead-success p { color: var(--gray-700); font-size: 15px; }
.spin-icon { display: inline-block; animation: spin 1s linear infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* ========= Footer ========= */
.site-footer { background: var(--dark); color: #fff; padding: 48px 0 24px; }
.site-footer h6 { font-weight: 700; margin-bottom: 16px; font-size: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--gray-500); text-decoration: none; font-size: 13px; transition: color 0.3s; }
.footer-links a:hover { color: #fff; }
.social-links { display: flex; gap: 12px; }
.social-links a {
    width: 36px; height: 36px; background: rgba(255,255,255,0.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; transition: all 0.3s; position: relative;
}
.social-links a:hover { background: var(--primary); }
.footer-phone { color: #fff; font-size: 1.25rem; font-weight: 700; margin-bottom: 6px; }
.wechat-trigger .wechat-qrcode {
    display: none; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
    width: 140px; height: auto; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    margin-bottom: 10px; background: #fff; padding: 4px;
}
.wechat-trigger:hover .wechat-qrcode { display: block; }

/* ========= 回到顶部 ========= */
.back-to-top {
    position: fixed; bottom: 30px; right: 30px; width: 44px; height: 44px;
    background: var(--primary); color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; text-decoration: none;
    opacity: 0; visibility: hidden; transition: all 0.3s; box-shadow: var(--shadow-md); z-index: 999;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); color: #fff; transform: translateY(-3px); }

/* ========= 响应式 ========= */
@media (max-width: 991.98px) {
    .hero-title { font-size: 2.5rem; }
    .hero-stats { gap: 24px; }
    .stat-num { font-size: 1.8rem; }
    .section-title { font-size: 2rem; }
    .lead-title { font-size: 1.6rem; }
    .lead-form-wrapper { padding: 24px; }
    .nav-link { margin-left: 0; }
}
@media (max-width: 575.98px) {
    .hero-title { font-size: 2rem; }
    .hero-stats { flex-direction: column; gap: 16px; align-items: flex-start; }
    .section-title { font-size: 1.6rem; }
    .pain-section, .transform-section, .product-section, .scenarios-section,
    .qwb-section, .security-section, .cases-section, .lead-section { padding: 60px 0; }
}
