/* ========================================
   智仪全球 - 供应链金融页面样式
   深色区块统一加 .is-dark，由 theme-fix.css 保证可读性
   ======================================== */

/* ===== Hero ===== */
.fin-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.9);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 12px;
    letter-spacing: 2px;
    margin: 18px 0 6px;
}
.fin-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 26px;
}
.fin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    text-decoration: none;
}
.fin-btn-primary {
    background: linear-gradient(135deg, #e2001a, #b00015);
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(226, 0, 26, 0.35);
}
.fin-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(226, 0, 26, 0.45); }
.fin-btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
}
.fin-btn-ghost:hover { background: rgba(255, 255, 255, 0.2); }
.fin-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.fin-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 34px;
    max-width: 780px;
}
.fin-stat {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 16px 12px;
    text-align: center;
}
.fin-stat strong {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: #ff6b6b;
}
.fin-stat span { font-size: 13px; color: rgba(255, 255, 255, 0.75); }

/* ===== 产品卡片 ===== */
.fin-product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}
.fin-product {
    background: #fff;
    border: 1px solid #e3e7ee;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}
.fin-product:hover {
    border-color: #e2001a;
    box-shadow: 0 10px 30px rgba(226, 0, 26, 0.10);
}
.fin-product-head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px 16px;
}
.fin-product-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}
.fin-product-head h3 { font-size: 19px; margin: 0; }
.fin-product-head .fin-product-en {
    font-size: 12px;
    color: #8a92a3;
    letter-spacing: 1px;
    display: block;
    margin-top: 2px;
}
.fin-product-body { padding: 0 24px 18px; flex: 1; }
.fin-product-body > p { color: #5a6272; font-size: 14px; line-height: 1.7; margin-bottom: 14px; }
.fin-product-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.fin-product-tags span {
    background: #f4f6f9;
    border: 1px solid #e3e7ee;
    color: #3a4150;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
}
.fin-product-terms {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px dashed #e3e7ee;
    margin: 0 24px;
    padding: 14px 0;
}
.fin-product-terms div { text-align: center; }
.fin-product-terms strong { display: block; color: #e2001a; font-size: 17px; }
.fin-product-terms span { font-size: 12px; color: #8a92a3; }
.fin-product-toggle {
    width: 100%;
    background: #f8f9fb;
    border: none;
    border-top: 1px solid #eef1f5;
    padding: 13px;
    font-size: 14px;
    font-weight: 600;
    color: #285ae6;
    cursor: pointer;
}
.fin-product-toggle:hover { background: #fef2f3; color: #e2001a; }
.fin-product-detail {
    display: none;
    padding: 6px 24px 20px;
    background: #fbfcfe;
    border-top: 1px solid #eef1f5;
}
.fin-product.open .fin-product-detail { display: block; }
.fin-product-detail h5 {
    font-size: 13px;
    color: #e2001a;
    margin: 14px 0 6px;
    letter-spacing: 1px;
}
.fin-product-detail ul { padding-left: 0; list-style: none; }
.fin-product-detail li {
    font-size: 13.5px;
    color: #5a6272;
    line-height: 1.8;
    padding-left: 18px;
    position: relative;
}
.fin-product-detail li::before {
    content: '·';
    position: absolute;
    left: 4px;
    color: #e2001a;
    font-weight: 900;
}

/* ===== 试算器（深色区块内）===== */
.fin-calc-section { padding: 70px 0; }
.calc-card {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    padding: 34px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 36px;
    backdrop-filter: blur(6px);
}
.calc-field { margin-bottom: 26px; }
.calc-field:last-child { margin-bottom: 0; }
.calc-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
}
.calc-field label output {
    color: #ff8a80;
    font-weight: 800;
    margin-left: 8px;
    font-size: 15px;
}
.calc-product-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.calc-product-chips button {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.85);
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 13.5px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.calc-product-chips button:hover { border-color: #ff6b6b; color: #fff; }
.calc-product-chips button.active {
    background: #e2001a;
    border-color: #e2001a;
    color: #fff;
    font-weight: 700;
}
input[type="range"] {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.22) !important;
    border: none !important;
    border-radius: 3px;
    padding: 0 !important;
    cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e2001a;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    cursor: grab;
}
input[type="range"]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #e2001a;
    border: 3px solid #fff;
    cursor: grab;
}
input[type="range"]:focus { box-shadow: none !important; }
.calc-range-hint {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 8px;
}
.calc-result-main {
    text-align: center;
    background: linear-gradient(135deg, rgba(226, 0, 26, 0.25), rgba(178, 0, 21, 0.35));
    border: 1px solid rgba(255, 107, 107, 0.4);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 18px;
}
.calc-result-label { font-size: 13px; color: rgba(255, 255, 255, 0.75); display: block; }
.calc-result-main strong {
    font-size: 38px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
}
.calc-result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.calc-result-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    padding: 12px 14px;
}
.calc-result-item span { font-size: 12px; color: rgba(255, 255, 255, 0.65); display: block; }
.calc-result-item strong { font-size: 15px; color: #fff; }
.calc-disclaimer {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.55) !important;
    margin: 16px 0 14px;
    line-height: 1.6;
}
.calc-apply-btn { width: 100%; }

/* ===== 流程步骤 ===== */
.fin-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}
.fin-step {
    background: #fff;
    border: 1px solid #e3e7ee;
    border-radius: 12px;
    padding: 26px 18px;
    text-align: center;
    position: relative;
    transition: all 0.25s ease;
}
.fin-step:hover { border-color: #e2001a; transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07); }
.fin-step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e2001a, #b00015);
    color: #fff;
    font-size: 19px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}
.fin-step h4 { font-size: 16px; margin-bottom: 8px; color: #1a1a2e !important; }
.fin-step p { font-size: 13px; color: #5a6272; line-height: 1.7; margin: 0; }

/* ===== 申请表单 ===== */
.fin-form-wrap {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 26px;
    max-width: 1080px;
    margin: 0 auto;
}
.fin-form {
    background: #fff;
    border: 1px solid #e3e7ee;
    border-radius: 14px;
    padding: 34px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.fin-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.fin-form-group { margin-bottom: 20px; }
.fin-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2a3142;
    margin-bottom: 8px;
}
.fin-form-group label em { color: #e2001a; font-style: normal; }
.fin-form-group input,
.fin-form-group select,
.fin-form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 14.5px;
}
.fin-amount-input { display: flex; gap: 10px; }
.fin-amount-input input { flex: 1; }
.fin-amount-input select { width: 130px; flex-shrink: 0; }
.fin-form-agree { margin: 4px 0 20px; }
.fin-check {
    display: flex;
    gap: 10px;
    font-size: 13px;
    color: #5a6272;
    line-height: 1.6;
    cursor: pointer;
    align-items: flex-start;
}
.fin-check input { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; }
.fin-check a { color: #285ae6; }
.fin-form-msg {
    padding: 13px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 18px;
    line-height: 1.6;
}
.fin-form-msg.ok { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.fin-form-msg.err { background: #fef2f3; border: 1px solid #fecdd3; color: #b91c1c; }
.fin-form-msg .fin-ref {
    font-size: 20px;
    font-weight: 900;
    color: #16a34a;
    letter-spacing: 1px;
    display: inline-block;
    margin: 6px 0;
}
.fin-submit { width: 100%; font-size: 16px; padding: 15px; }
.fin-form-tip {
    text-align: center;
    font-size: 12px;
    color: #9aa2b1;
    margin-top: 14px;
    margin-bottom: 0;
}
.fin-form-aside {
    background: linear-gradient(160deg, #1a1a2e, #16213e);
    border-radius: 14px;
    padding: 28px 24px;
    color: rgba(255, 255, 255, 0.88);
    height: fit-content;
}
.fin-form-aside h4 {
    color: #fff !important;
    font-size: 15px;
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.fin-form-aside h4:not(:first-child) { margin-top: 24px; }
.fin-form-aside ul { list-style: none; padding: 0; margin: 0 0 8px; }
.fin-form-aside li {
    font-size: 13.5px;
    line-height: 2;
    padding-left: 20px;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
}
.fin-form-aside li::before { content: '✓'; position: absolute; left: 0; color: #ff6b6b; font-weight: 700; }
.fin-aside-cta {
    margin-top: 24px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px dashed rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
}
.fin-aside-cta p { font-size: 13px; margin-bottom: 8px; }
.fin-aside-cta a { color: #ff8a80; font-weight: 700; font-size: 14px; }

/* ===== 进度查询 ===== */
.fin-track-card {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e3e7ee;
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.fin-track-input-row { display: flex; gap: 12px; }
.fin-track-input-row input {
    flex: 1;
    padding: 13px 16px;
    font-size: 15px;
    letter-spacing: 1px;
}
.fin-track-input-row button { padding: 13px 34px; }
.fin-track-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 26px 0 20px;
    padding-top: 22px;
    border-top: 1px dashed #e3e7ee;
}
.fin-track-ref { font-size: 19px; font-weight: 900; color: #1a1a2e; letter-spacing: 1px; }
.fin-track-product { font-size: 13px; color: #8a92a3; margin-left: 12px; }
.fin-status-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}
.fin-status-badge.pending, .fin-status-badge.reviewing { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.fin-status-badge.approved { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.fin-status-badge.funded { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.fin-status-badge.rejected { background: #fef2f3; color: #b91c1c; border: 1px solid #fecdd3; }
.fin-track-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 20px;
    position: relative;
}
.fin-tstep { text-align: center; position: relative; }
.fin-tstep::before {
    content: '';
    position: absolute;
    top: 18px;
    left: -50%;
    width: 100%;
    height: 2px;
    background: #e3e7ee;
}
.fin-tstep:first-child::before { display: none; }
.fin-tstep i {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #eef1f5;
    border: 2px solid #e3e7ee;
    color: #9aa2b1;
    font-style: normal;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    position: relative;
    z-index: 1;
}
.fin-tstep span { font-size: 12.5px; color: #8a92a3; }
.fin-tstep.done i { background: #16a34a; border-color: #16a34a; color: #fff; }
.fin-tstep.done span { color: #16a34a; font-weight: 600; }
.fin-tstep.current i { background: #fff; border-color: #e2001a; color: #e2001a; box-shadow: 0 0 0 4px rgba(226, 0, 26, 0.15); }
.fin-tstep.current span { color: #e2001a; font-weight: 700; }
.fin-tstep.reject i { background: #b91c1c; border-color: #b91c1c; color: #fff; }
.fin-track-meta {
    background: #f8f9fb;
    border: 1px solid #eef1f5;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 13.5px;
    color: #5a6272;
    line-height: 1.9;
}
.fin-track-error {
    margin-top: 20px;
    padding: 13px 16px;
    background: #fef2f3;
    border: 1px solid #fecdd3;
    border-radius: 8px;
    color: #b91c1c;
    font-size: 14px;
}

/* ===== 材料清单 ===== */
.fin-docs-card {
    max-width: 860px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e3e7ee;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.fin-docs-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}
.fin-docs-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.fin-docs-tabs button {
    background: #f4f6f9;
    border: 1px solid #e3e7ee;
    color: #3a4150;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.fin-docs-tabs button.active {
    background: #e2001a;
    border-color: #e2001a;
    color: #fff;
    font-weight: 700;
}
.fin-docs-progress { display: flex; align-items: center; gap: 12px; }
.fin-docs-progress span { font-size: 13px; color: #5a6272; white-space: nowrap; }
.fin-progress-bar {
    width: 130px;
    height: 8px;
    background: #eef1f5;
    border-radius: 4px;
    overflow: hidden;
}
.fin-progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #e2001a, #ff6600);
    border-radius: 4px;
    transition: width 0.35s ease;
}
.fin-doc-list { list-style: none; padding: 0; margin: 0; }
.fin-doc-list li {
    border-bottom: 1px solid #f1f3f7;
}
.fin-doc-list li:last-child { border-bottom: none; }
.fin-doc-check {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 8px;
    cursor: pointer;
    font-size: 14.5px;
    color: #2a3142;
    transition: background 0.15s ease;
    border-radius: 8px;
}
.fin-doc-check:hover { background: #f8f9fb; }
.fin-doc-check input { width: 18px; height: 18px; accent-color: #e2001a; flex-shrink: 0; }
.fin-doc-check.checked { color: #9aa2b1; text-decoration: line-through; }
.fin-doc-check .fin-doc-req {
    margin-left: auto;
    font-size: 11.5px;
    padding: 2px 8px;
    border-radius: 4px;
    background: #fef2f3;
    color: #e2001a;
    white-space: nowrap;
}
.fin-doc-check .fin-doc-req.opt { background: #f4f6f9; color: #8a92a3; }
.fin-docs-tip {
    margin: 18px 0 0;
    font-size: 13px;
    color: #8a92a3;
    background: #f8f9fb;
    border-radius: 8px;
    padding: 12px 16px;
}

/* ===== 风控 ===== */
.fin-risk-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.fin-risk-card {
    background: #fff;
    border: 1px solid #e3e7ee;
    border-radius: 12px;
    padding: 26px 20px;
    text-align: center;
    transition: all 0.25s ease;
}
.fin-risk-card:hover { border-color: #285ae6; transform: translateY(-4px); box-shadow: 0 10px 24px rgba(40, 90, 230, 0.10); }
.fin-risk-icon { font-size: 34px; margin-bottom: 12px; }
.fin-risk-card h4 { font-size: 16px; margin-bottom: 8px; color: #1a1a2e !important; }
.fin-risk-card p { font-size: 13px; color: #5a6272; line-height: 1.7; margin: 0; }

/* ===== 案例 ===== */
.fin-case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.fin-case-card {
    background: #fff;
    border: 1px solid #e3e7ee;
    border-radius: 12px;
    padding: 26px 22px;
    transition: all 0.25s ease;
}
.fin-case-card:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08); transform: translateY(-4px); }
.fin-case-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
}
.fin-case-card h4 { font-size: 15.5px; margin-bottom: 10px; color: #1a1a2e !important; }
.fin-case-card p { font-size: 13.5px; color: #5a6272; line-height: 1.8; margin: 0 0 14px; }
.fin-case-card p strong { color: #e2001a; }
.fin-case-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    border-top: 1px dashed #e3e7ee;
    padding-top: 12px;
}
.fin-case-meta span { font-size: 12px; color: #8a92a3; }

/* ===== 合作机构 ===== */
.fin-banks {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}
.fin-banks span {
    background: #fff;
    border: 1px solid #e3e7ee;
    color: #3a4150;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 10px;
    transition: all 0.2s ease;
}
.fin-banks span:hover { border-color: #e2001a; color: #e2001a; box-shadow: 0 4px 12px rgba(226, 0, 26, 0.08); }

/* ===== FAQ ===== */
.fin-faq { max-width: 860px; margin: 0 auto; }
.fin-faq-item {
    background: #fff;
    border: 1px solid #e3e7ee;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
}
.fin-faq-q {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 18px 22px;
    font-size: 15.5px;
    font-weight: 600;
    color: #1a1a2e;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.fin-faq-q span {
    font-size: 20px;
    color: #e2001a;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}
.fin-faq-item.open .fin-faq-q span { transform: rotate(45deg); }
.fin-faq-a {
    display: none;
    padding: 0 22px 18px;
}
.fin-faq-item.open .fin-faq-a { display: block; }
.fin-faq-a p { font-size: 14px; color: #5a6272; line-height: 1.8; margin: 0; }

/* ===== 响应式 ===== */
@media (max-width: 960px) {
    .fin-product-grid { grid-template-columns: 1fr; }
    .calc-card { grid-template-columns: 1fr; padding: 24px; }
    .fin-steps { grid-template-columns: repeat(2, 1fr); }
    .fin-form-wrap { grid-template-columns: 1fr; }
    .fin-risk-grid { grid-template-columns: repeat(2, 1fr); }
    .fin-case-grid { grid-template-columns: 1fr; }
    .fin-hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .fin-form-row { grid-template-columns: 1fr; }
    .fin-steps { grid-template-columns: 1fr; }
    .fin-risk-grid { grid-template-columns: 1fr; }
    .fin-track-steps { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
    .fin-tstep:nth-child(3)::before { display: none; }
    .fin-track-input-row { flex-direction: column; }
    .fin-form { padding: 22px 18px; }
    .calc-result-main strong { font-size: 30px; }
}
