﻿/* ============================================
   用易·企业数字云平台 首页（工业 × 数字化）
   ============================================ */
:root {
    --navy: #0a1628;
    --navy-2: #0e2038;
    --navy-3: #123a63;
    --blue: #2563eb;
    --blue-2: #1d4ed8;
    --cyan: #38bdf8;
    --amber: #f59e0b;
    --ink: #1f2937;
    --muted: #64748b;
    --line: #e6eaf2;
    --bg: #f6f8fb;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--white);
}
img {
    max-width: 100%;
    border: 0;
}
a {
    text-decoration: none;
    color: inherit;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- 导航 ---------- */
.pb_navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.75);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
}
.pb_navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 1px 10px rgba(16, 24, 40, 0.08);
    border-bottom-color: #eef1f6;
}
.pb_navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 66px;
}
.navbar-brand {
    display: inline-flex;
    align-items: center;
}
.navbar-brand img {
    height: 40px;
    width: auto;
}
.navbar-toggler {
    display: none;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    color: #ffffff;
    font-size: 20px;
    line-height: 1;
    padding: 6px 12px;
    cursor: pointer;
}
.pb_navbar.scrolled .navbar-toggler {
    border-color: #d1d5db;
    color: #334155;
}
.navbar-nav {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}
.nav-link {
    display: block;
    padding: 9px 14px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    border-radius: 8px;
    transition: all 0.15s ease;
}
.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}
.pb_navbar.scrolled .nav-link {
    color: #475569;
}
.pb_navbar.scrolled .nav-link:hover {
    color: var(--blue);
    background: #f0f5ff;
}
.nav-item.cta-btn .nav-link {
    background: var(--blue);
    color: #ffffff;
    font-weight: 600;
    border-radius: 999px;
    padding: 9px 20px;
}
.nav-item.cta-btn .nav-link:hover {
    background: var(--blue-2);
    color: #ffffff;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
    padding: 150px 0 90px;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(56, 189, 248, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.07) 1px, transparent 1px);
    background-size: 46px 46px;
    pointer-events: none;
}
.hero::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -120px;
    top: -140px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.35), transparent 65%);
    pointer-events: none;
}
.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 60px;
    align-items: center;
}
.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid rgba(56, 189, 248, 0.45);
    color: var(--cyan);
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 22px;
    background: rgba(56, 189, 248, 0.08);
}
.hero h1 {
    margin: 0 0 18px;
    font-size: clamp(34px, 4.6vw, 52px);
    line-height: 1.22;
    font-weight: 700;
    letter-spacing: 1px;
}
.hero h1 .accent {
    color: var(--cyan);
}
.hero .sub {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    margin: 0 0 30px;
}
.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 0 26px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.18s ease;
    font-family: inherit;
}
.btn-primary {
    background: var(--blue);
    color: #ffffff;
}
.btn-primary:hover {
    background: var(--blue-2);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}
.btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.14);
}
.hero-stats {
    display: flex;
    gap: 34px;
    margin-top: 44px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-stats div b {
    display: block;
    font-size: 22px;
    color: var(--amber);
    font-weight: 700;
}
.hero-stats div span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
}

/* 登录卡片 */
.login-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 34px 32px;
    box-shadow: 0 24px 60px rgba(2, 8, 23, 0.45);
    color: var(--ink);
    position: relative;
}
.login-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 16px 16px 0 0;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.login-card h2 {
    margin: 0 0 24px;
    font-size: 22px;
    text-align: center;
    font-weight: 700;
}
.form-group {
    margin-bottom: 14px;
}
.form-control {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #d7dce5;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: var(--ink);
    outline: none;
    background: #fbfcfe;
    transition: all 0.15s ease;
}
.form-control:focus {
    border-color: var(--blue);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
select.form-control {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
}
.btn-block {
    width: 100%;
}
#errmsg {
    margin-top: 12px;
    min-height: 20px;
    font-size: 13px;
    color: #dc2626;
    text-align: center;
}

/* ---------- 通用区块 ---------- */
.section {
    padding: 90px 0;
}
.section.light {
    background: var(--bg);
}
.section.dark {
    background: linear-gradient(135deg, var(--navy), var(--navy-2));
    color: #ffffff;
}
.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 54px;
}
.section-head .badge {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--blue);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.section.dark .section-head .badge {
    color: var(--cyan);
}
.section-head h2 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
}
.section.dark .section-head h2 {
    color: #ffffff;
}
.section-head p {
    color: var(--muted);
    margin: 12px 0 0;
    font-size: 15px;
}
.section.dark .section-head p {
    color: rgba(255, 255, 255, 0.7);
}

/* ---------- 数字化工序流程 ---------- */
.flow {
    background: linear-gradient(135deg, var(--navy), var(--navy-2));
    color: #ffffff;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}
.flow::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(56, 189, 248, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.05) 1px, transparent 1px);
    background-size: 46px 46px;
    pointer-events: none;
}
.flow .section-head {
    position: relative;
}
.flow .section-head .badge {
    color: var(--amber);
}
.flow-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}
.flow-step {
    position: relative;
    text-align: center;
    padding: 26px 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    transition: all 0.2s ease;
}
.flow-step:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-3px);
}
.flow-step .ic-wrap {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(56, 189, 248, 0.14);
    color: var(--cyan);
}
.flow-step .no {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 22px;
    line-height: 22px;
    border-radius: 50%;
    background: var(--amber);
    color: var(--navy);
    font-size: 12px;
    font-weight: 700;
}
.flow-step b {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
}
.flow-step span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}
.flow-arrow {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--amber);
    z-index: 2;
    opacity: 0.9;
}

/* ---------- 卡片 ---------- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.feature-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 28px 26px;
    transition: all 0.2s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(16, 24, 40, 0.08);
    border-color: #dbe4f5;
}
.feature-card .ic {
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.22);
}
.feature-card .ic svg {
    width: 26px;
    height: 26px;
}
.feature-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
}
.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

/* ---------- 分栏（移动端/托管） ---------- */
.split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 50px;
    align-items: center;
}
.split .phone {
    text-align: center;
}
.split .phone img {
    max-height: 520px;
}
.split h2 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 700;
}
.split .lead {
    color: var(--muted);
    margin: 0 0 26px;
}
.mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.mini-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.mini-item .ic {
    width: 44px;
    height: 44px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--blue);
    background: #eef4ff;
}
.mini-item .ic svg {
    width: 22px;
    height: 22px;
}
.mini-item h3 {
    margin: 2px 0 4px;
    font-size: 16px;
    font-weight: 700;
}
.mini-item p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

/* ---------- FAQ ---------- */
.faq-list {
    max-width: 860px;
    margin: 0 auto;
}
.faq-item {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-item > a {
    display: block;
    padding: 18px 22px;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    padding-right: 46px;
}
.faq-item > a::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--blue);
    font-size: 20px;
}
.faq-item > a[aria-expanded="true"]::after {
    content: "−";
}
.faq-item .collapse:not(.show) {
    display: none;
}
.faq-item .collapse.show {
    display: block;
}
.faq-item .faq-body {
    padding: 0 22px 20px;
    color: var(--muted);
    font-size: 14px;
}
.faq-item .faq-body a {
    color: var(--blue);
}
.faq-item .faq-body a:hover {
    text-decoration: underline;
}

/* ---------- 注册 ---------- */
.regist {
    position: relative;
    overflow: hidden;
}
.regist::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(56, 189, 248, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.06) 1px, transparent 1px);
    background-size: 46px 46px;
    pointer-events: none;
}
.regist-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 60px;
    align-items: center;
}
.regist h2 {
    margin: 0 0 14px;
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
}
.regist .sub {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    margin: 0;
}
.regist-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 30px;
    box-shadow: 0 24px 60px rgba(2, 8, 23, 0.4);
    color: var(--ink);
}
.regist-card h3 {
    margin: 0 0 22px;
    font-size: 20px;
    text-align: center;
    font-weight: 700;
}
.regist-card .verify-row {
    display: flex;
    gap: 10px;
}
.regist-card .verify-row .form-control {
    flex: 0 0 128px;
    text-align: center;
}
.regist-card .verify-btn {
    flex: 1;
    height: 46px;
    border: 0;
    border-radius: 10px;
    background: var(--blue);
    color: #ffffff;
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
}
.regist-card .verify-btn:hover {
    background: var(--blue-2);
}

/* ---------- 页脚 ---------- */
.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0;
    text-align: center;
    font-size: 13px;
}
.site-footer .brand-line {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}
.site-footer a {
    color: var(--cyan);
}
.site-footer a:hover {
    text-decoration: underline;
}

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
    .navbar-toggler {
        display: inline-block;
    }
    .navbar-collapse {
        position: absolute;
        top: 66px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 10px 30px rgba(16, 24, 40, 0.12);
        padding: 14px 20px;
        display: none;
    }
    .navbar-collapse.collapse.show {
        display: block;
    }
    .navbar-nav {
        flex-direction: column;
        align-items: stretch;
    }
    .navbar-nav .nav-link {
        color: #334155;
        padding: 12px 14px;
    }
    .hero-grid,
    .regist-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero {
        padding: 120px 0 70px;
    }
    .flow-steps {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 30px;
    }
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .split {
        grid-template-columns: 1fr;
    }
    .split .phone img {
        max-height: 360px;
    }
}
@media (max-width: 640px) {
    .cards-grid,
    .mini-grid {
        grid-template-columns: 1fr;
    }
    .flow-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-stats {
        gap: 18px;
        flex-wrap: wrap;
    }
    .section {
        padding: 64px 0;
    }
}

/* ---------- 提示条（framerwork MsgTips 依赖） ---------- */
.mtip > span {
    vertical-align: 3px;
    line-height: 1;
    display: inline-block;
    width: auto;
    font-size: 24px;
}
.mtip {
    border-radius: 0 0 4px 4px;
    padding-top: 10px;
    padding-left: 25px;
    padding-right: 25px;
    padding-bottom: 10px;
    color: #fff;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
}
.mtip.error {
    background-color: #bf3358;
    background-image: -moz-linear-gradient(top, #e34447, #bf3358);
    background-image: -ms-linear-gradient(top, #e34447, #bf3358);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#e34447), to(#bf3358));
    background-image: -webkit-linear-gradient(top, #e34447, #bf3358);
    background-image: -o-linear-gradient(top, #e34447, #bf3358);
    background-image: linear-gradient(top, #e34447, #bf3358);
    border: 1px solid #ca3e3e;
}
.mtip.success {
    background-color: #43ab00;
    background-image: -moz-linear-gradient(top, #43ab00, #388e00);
    background-image: -ms-linear-gradient(top, #43ab00, #388e00);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#43ab00), to(#388e00));
    background-image: -webkit-linear-gradient(top, #43ab00, #388e00);
    background-image: -o-linear-gradient(top, #43ab00, #388e00);
    background-image: linear-gradient(top, #43ab00, #388e00);
    border: 1px solid #338100;
}
.mtip.warning {
    background-color: orange;
    background-image: -moz-linear-gradient(top, #0f76cd, #086cc1);
    background-image: -ms-linear-gradient(top, #0f76cd, #086cc1);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0f76cd), to(#086cc1));
    background-image: -webkit-linear-gradient(top, #0f76cd, #086cc1);
    background-image: -o-linear-gradient(top, #0f76cd, #086cc1);
    background-image: linear-gradient(top, #0f76cd, #086cc1);
    border: 1px solid #006096;
}
.tip_container {
    display: none;
    z-index: 9999;
    position: fixed;
    top: 0;
    text-align: left;
    width: auto;
    _width: auto;
}
