/* ============================================================
   rz-style.css — 商家入驻 浅色主题统一样式
   适用于 index / apply / help / rzlc / rzxy / xy 全部页面
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 14px; -webkit-text-size-adjust: 100%; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
                 "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: #333;
    background: #f4f6f9;
    line-height: 1.7;
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: #2563eb; }

ul, ol { list-style: none; }

img { max-width: 100%; display: block; }

input, select, textarea, button { font-family: inherit; font-size: inherit; outline: none; }

/* ---------- Layout helpers ---------- */
.w1200 { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.w { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* ============================================================
   TOP BAR (返回商城首页)
   ============================================================ */
.top-bar {
    background: #fff;
    border-bottom: 1px solid #e8ecf1;
    height: 40px;
    line-height: 40px;
}
.top-bar .w1200 { display: flex; align-items: center; justify-content: flex-end; }
.top-bar a {
    color: #6b7280;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.top-bar a:hover { color: #2563eb; }
.top-bar a::before {
    content: "";
    width: 6px; height: 6px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    display: inline-block;
    margin-right: 4px;
}

/* ============================================================
   NAV HEADER
   ============================================================ */
.nav-header {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-header .w1200 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 16px;
}
.nav-logo img { height: 40px; }
.nav-logo .brand-text {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: 1px;
    padding-left: 16px;
    border-left: 2px solid #e2e8f0;
}
.nav-menu {
    display: flex;
    gap: 8px;
}
.nav-menu li a {
    display: block;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 15px;
    color: #475569;
    font-weight: 500;
    transition: all .2s;
}
.nav-menu li a:hover { background: #eff6ff; color: #2563eb; }
.nav-menu li.active a {
    background: #2563eb;
    color: #fff;
}

/* ============================================================
   BANNER (index.html)
   ============================================================ */
.banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.banner::before {
    content: "";
    position: absolute;
    top: -50%; left: -10%;
    width: 600px; height: 600px;
    background: rgba(255,255,255,.05);
    border-radius: 50%;
}
.banner::after {
    content: "";
    position: absolute;
    bottom: -30%; right: -5%;
    width: 400px; height: 400px;
    background: rgba(255,255,255,.05);
    border-radius: 50%;
}
.banner-content { text-align: center; color: #fff; position: relative; z-index: 1; }
.banner-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 2px;
}
.banner-content p {
    font-size: 16px;
    opacity: .9;
    letter-spacing: 1px;
}

/* ============================================================
   ENTRY CARDS (index.html — 入驻帮手 + 三种入驻方式)
   ============================================================ */
.entry-section {
    max-width: 1200px;
    margin: -60px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}
.entry-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 20px;
}
.entry-helper {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.entry-helper h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
}
.entry-helper ul li {
    padding: 8px 0;
    color: #64748b;
    font-size: 14px;
    border-bottom: 1px dashed #e2e8f0;
}
.entry-helper ul li:last-child { border-bottom: none; }
.entry-helper .btn-check {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 28px;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 8px;
    font-weight: 500;
    transition: all .2s;
}
.entry-helper .btn-check:hover { background: #2563eb; color: #fff; }

.entry-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    transition: transform .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.entry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
}
.entry-card .card-icon {
    width: 72px; height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}
.entry-card.type-company .card-icon { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.entry-card.type-individual .card-icon { background: linear-gradient(135deg, #10b981, #059669); }
.entry-card.type-person .card-icon { background: linear-gradient(135deg, #f59e0b, #d97706); }

.entry-card .card-btn {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    transition: all .2s;
}
.entry-card.type-company .card-btn { background: #eff6ff; color: #2563eb; }
.entry-card.type-individual .card-btn { background: #ecfdf5; color: #059669; }
.entry-card.type-person .card-btn { background: #fffbeb; color: #d97706; }
.entry-card.type-company .card-btn:hover { background: #2563eb; color: #fff; }
.entry-card.type-individual .card-btn:hover { background: #059669; color: #fff; }
.entry-card.type-person .card-btn:hover { background: #d97706; color: #fff; }

.entry-card .card-desc { color: #94a3b8; font-size: 13px; }

/* ============================================================
   PROCESS STEPS (index.html, rzlc.html)
   ============================================================ */
.section { padding: 60px 0; }
.section-light { background: #fff; }

.section-title {
    text-align: center;
    margin-bottom: 48px;
}
.section-title h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}
.section-title .subtitle {
    font-size: 14px;
    color: #94a3b8;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.section-title .line {
    width: 48px;
    height: 3px;
    background: #2563eb;
    border-radius: 2px;
    margin: 12px auto 0;
}

.steps-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}
.step-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 20px;
    position: relative;
}
.step-item .step-num {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 12px rgba(37,99,235,.3);
}
.step-item .step-title {
    font-size: 17px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
}
.step-item .step-desc {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.8;
}
.step-arrow {
    flex: 0 0 40px;
    text-align: center;
    color: #cbd5e1;
    font-size: 24px;
}

/* ============================================================
   CONTENT CONTAINER (help, rzlc, rzxy, xy)
   ============================================================ */
.page-body { padding: 40px 0 60px; }

.page-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    overflow: hidden;
}
.page-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    border-bottom: 1px solid #f0f3f7;
}
.page-card-header h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1e293b;
}
.page-card-header .btn-apply {
    padding: 10px 28px;
    background: #2563eb;
    color: #fff;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    transition: background .2s;
}
.page-card-header .btn-apply:hover { background: #1d4ed8; }

.page-card-body { padding: 32px; }

/* ---------- Steps bar (rzlc.html) ---------- */
.steps-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 0;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 0;
}
.steps-bar .sb-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
}
.steps-bar .sb-num {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}
.steps-bar .sb-text { font-size: 15px; font-weight: 500; color: #334155; }
.steps-bar .sb-arrow { color: #cbd5e1; font-size: 20px; padding: 0 4px; }

/* ---------- Article content (rzlc.html, rzxy.html) ---------- */
.article-block { margin-bottom: 40px; }
.article-block:last-child { margin-bottom: 0; }
.article-block h3.block-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    padding-bottom: 12px;
    margin-bottom: 20px;
    border-bottom: 2px solid #eff6ff;
    position: relative;
}
.article-block h3.block-title::after {
    content: "";
    position: absolute;
    left: 0; bottom: -2px;
    width: 48px; height: 2px;
    background: #2563eb;
}
.article-block .block-intro {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 8px;
}
.article-block dl { margin-bottom: 0; }
.article-block dt {
    font-size: 15px;
    font-weight: 600;
    color: #334155;
    margin: 16px 0 8px;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}
.article-block dt:first-child { border-top: none; padding-top: 0; }
.article-block dd {
    font-size: 14px;
    color: #64748b;
    line-height: 2;
    padding: 3px 0 3px 12px;
    position: relative;
}
.article-block dd::before {
    content: "";
    position: absolute;
    left: 0; top: 14px;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: #93c5fd;
}

/* ---------- Agreement content (rzxy.html, xy.html) ---------- */
.agreement-item { margin-bottom: 32px; }
.agreement-item h2 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
    padding-left: 12px;
    border-left: 3px solid #2563eb;
}
.agreement-item p {
    font-size: 14px;
    color: #64748b;
    line-height: 2;
    margin-bottom: 8px;
}

/* ============================================================
   FAQ (help.html)
   ============================================================ */
.faq-list { }
.faq-item {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid #f1f5f9;
}
.faq-item:last-child { border-bottom: none; }
.faq-num {
    flex: 0 0 40px;
    width: 40px; height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #2563eb;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.faq-content { flex: 1; }
.faq-content .faq-q {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    cursor: pointer;
}
.faq-content .faq-a {
    font-size: 14px;
    color: #64748b;
    line-height: 1.9;
}

/* ============================================================
   FORM (apply.html, xy.html)
   ============================================================ */

/* Progress bar */
.progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
    background: #fff;
    border-bottom: 1px solid #f0f3f7;
}
.progress-bar .pb-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.progress-bar .pb-circle {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
}
.progress-bar .pb-item.passed .pb-circle { background: #dbeafe; color: #2563eb; }
.progress-bar .pb-item.ongoing .pb-circle { background: #2563eb; color: #fff; box-shadow: 0 2px 8px rgba(37,99,235,.3); }
.progress-bar .pb-item.tobe .pb-circle { background: #f1f5f9; color: #94a3b8; }
.progress-bar .pb-label { font-size: 14px; color: #64748b; }
.progress-bar .pb-item.ongoing .pb-label { color: #2563eb; font-weight: 600; }
.progress-bar .pb-line {
    width: 60px; height: 2px;
    background: #e2e8f0;
    margin: 0 12px;
}
.progress-bar .pb-line.done { background: #93c5fd; }

/* Form container */
.form-wrap {
    max-width: 860px;
    margin: 32px auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    overflow: hidden;
}
.form-section {
    border-bottom: 1px solid #f0f3f7;
}
.form-section:last-child { border-bottom: none; }
.form-section-title {
    padding: 20px 40px;
    font-size: 17px;
    font-weight: 600;
    color: #1e293b;
    background: #f8fafc;
    border-bottom: 1px solid #f0f3f7;
}
.form-section-body { padding: 24px 40px; }

.form-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}
.form-label {
    flex: 0 0 160px;
    text-align: right;
    padding-right: 16px;
    line-height: 40px;
    font-size: 14px;
    color: #475569;
}
.form-label .req { color: #ef4444; margin-right: 3px; }
.form-field { flex: 1; }
.form-field input[type="text"],
.form-field input[type="file"],
.form-field select,
.form-field textarea {
    width: 100%;
    max-width: 360px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #dde3ec;
    border-radius: 8px;
    background: #fff;
    color: #333;
    transition: border-color .2s, box-shadow .2s;
}
.form-field input[type="text"]:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}
.form-field textarea {
    height: auto;
    min-height: 80px;
    padding: 10px 12px;
    line-height: 1.7;
    resize: vertical;
}
.form-field select { cursor: pointer; }
.form-field .hint {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 6px;
}
.form-field .field-inline { display: flex; gap: 12px; flex-wrap: wrap; }
.form-field .field-inline select { flex: 1; min-width: 100px; max-width: 180px; }
.form-field .radio-group {
    display: flex;
    gap: 24px;
    line-height: 40px;
}
.form-field .radio-group label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 14px;
    color: #475569;
}
.form-field .radio-group input[type="radio"] {
    width: 16px; height: 16px;
    accent-color: #2563eb;
}
.form-note {
    padding: 12px 16px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    font-size: 13px;
    color: #92400e;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.form-note::before {
    content: "!";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: #f59e0b;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Form buttons */
.form-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 32px 40px;
    border-top: 1px solid #f0f3f7;
}
.btn {
    padding: 12px 40px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
}
.btn-primary { background: #2563eb; color: #fff; }
.btn-primary:hover { background: #1d4ed8; }
.btn-secondary { background: #f1f5f9; color: #475569; }
.btn-secondary:hover { background: #e2e8f0; }

/* Agreement checkbox (xy.html) */
.agreement-check {
    padding: 20px 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #475569;
}
.agreement-check input[type="checkbox"] {
    width: 18px; height: 18px;
    accent-color: #2563eb;
    cursor: pointer;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: #fff;
    border-top: 1px solid #e8ecf1;
    padding: 32px 0;
    margin-top: auto;
}
.footer .footer-info {
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
    line-height: 2;
}
.footer .footer-info a { color: #64748b; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .entry-grid { grid-template-columns: 1fr 1fr; }
    .nav-menu { gap: 4px; }
    .nav-menu li a { padding: 8px 12px; font-size: 14px; }
}
@media (max-width: 768px) {
    .nav-header .w1200 { flex-direction: column; height: auto; padding: 16px 20px; gap: 12px; }
    .nav-logo .brand-text { font-size: 16px; }
    .nav-menu { flex-wrap: wrap; justify-content: center; }
    .entry-grid { grid-template-columns: 1fr; }
    .banner { height: 240px; }
    .banner-content h1 { font-size: 24px; }
    .steps-row { flex-direction: column; }
    .step-arrow { transform: rotate(90deg); padding: 8px 0; }
    .form-row { flex-direction: column; }
    .form-label { text-align: left; padding-right: 0; padding-bottom: 4px; line-height: 1.6; }
    .form-field input, .form-field select, .form-field textarea { max-width: 100%; }
    .page-card-body { padding: 20px; }
    .page-card-header { padding: 16px 20px; flex-direction: column; gap: 12px; align-items: flex-start; }
    .form-section-body { padding: 20px; }
    .form-actions { padding: 20px; flex-direction: column; }
    .progress-bar { flex-wrap: wrap; gap: 8px; }
    .progress-bar .pb-line { width: 30px; }
    .steps-bar { flex-direction: column; gap: 12px; }
    .steps-bar .sb-arrow { transform: rotate(90deg); }
}
