/**
 * Story 2.6 · 供应商入驻落地页
 */

.page-supplier .section-header {
    text-align: center;
    margin-bottom: 32px;
}
.page-supplier .section-header h2 {
    font-size: 26px;
    color: #1a3a5f;
    margin: 0 0 8px;
}
.page-supplier .section-header p {
    color: #8a96a3;
    font-size: 14px;
    margin: 0;
}

/* ── Hero ─────────────────────────────── */
.sup-hero {
    background: linear-gradient(135deg, #1a3a5f 0%, #2c5fa0 50%, #2d7dd2 100%);
    color: #fff;
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}
.sup-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08), transparent 50%),
                       radial-gradient(circle at 80% 70%, rgba(255,255,255,0.06), transparent 50%);
    pointer-events: none;
}
.sup-hero-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}
.sup-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(255,255,255,0.15);
    border-radius: 50px;
    font-size: 13px;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}
.sup-hero-content h1 {
    font-size: 42px;
    font-weight: 600;
    margin: 0 0 16px;
    color: #fff;
    letter-spacing: 0.5px;
}
.sup-hero-subtitle {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.9;
    margin: 0 0 36px;
}
.sup-hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 36px;
}
.sup-hero-stats .stat-item strong {
    display: block;
    font-size: 32px;
    font-weight: 600;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}
.sup-hero-stats .stat-item span {
    font-size: 13px;
    opacity: 0.75;
}
.sup-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: #fff;
    color: #1a3a5f;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: transform .15s, box-shadow .15s;
}
.sup-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* ── 合作流程 ────────────────────────── */
.sup-process {
    padding: 80px 0;
    background: #f9fafc;
}
.sup-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.step-item {
    text-align: center;
    padding: 32px 20px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e8ecf2;
    position: relative;
    transition: transform .2s, box-shadow .2s;
}
.step-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(26, 58, 95, 0.08);
}
.step-item .step-num {
    font-size: 36px;
    font-weight: 700;
    color: #2c5fa0;
    line-height: 1;
    margin-bottom: 12px;
    opacity: 0.85;
}
.step-item h3 {
    font-size: 17px;
    color: #1a3a5f;
    margin: 0 0 8px;
}
.step-item p {
    font-size: 13px;
    color: #6a7889;
    line-height: 1.6;
    margin: 0;
}

/* ── 合作品牌 ─────────────────────────── */
.sup-partners {
    padding: 80px 0;
}
.sup-partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
    padding: 32px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e8ecf2;
}
.sup-partner-logo {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 4px;
    background: #fafbfc;
    transition: background .2s;
}
.sup-partner-logo:hover { background: #f0f4f9; }
.sup-partner-logo img {
    max-height: 40px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.85;
    transition: filter .2s, opacity .2s;
}
.sup-partner-logo:hover img { filter: none; opacity: 1; }

/* ── 入驻权益 ────────────────────────── */
.sup-benefits {
    padding: 80px 0;
    background: #f9fafc;
}
.sup-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.benefit-card {
    background: #fff;
    padding: 32px 24px;
    border-radius: 8px;
    border: 1px solid #e8ecf2;
    text-align: center;
    transition: transform .2s, box-shadow .2s;
}
.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(26, 58, 95, 0.08);
}
.benefit-card i {
    font-size: 36px;
    color: #2c5fa0;
    margin-bottom: 16px;
    display: block;
}
.benefit-card h3 {
    font-size: 17px;
    color: #1a3a5f;
    margin: 0 0 8px;
}
.benefit-card p {
    font-size: 13px;
    color: #6a7889;
    line-height: 1.6;
    margin: 0;
}

/* ── 申请表单 ────────────────────────── */
.sup-apply {
    padding: 80px 0 100px;
    background: linear-gradient(180deg, #fff 0%, #f9fafc 100%);
}
.sup-apply-card {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 12px;
    padding: 48px 56px;
    box-shadow: 0 4px 24px rgba(26, 58, 95, 0.06);
}
.sup-form { margin-top: 8px; }
.sup-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
    margin-bottom: 16px;
}
.sup-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}
.sup-field label {
    font-size: 13px;
    color: #2b3a4d;
    margin-bottom: 6px;
    font-weight: 500;
}
.sup-field .req { color: #d9534f; }
.sup-field input,
.sup-field select,
.sup-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d3d9e1;
    border-radius: 4px;
    background: #fbfcfd;
    font-size: 14px;
    color: #1a2533;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.sup-field select { appearance: none; padding-right: 32px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238a96a3' d='M2 4l4 4 4-4z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.sup-field input:focus,
.sup-field select:focus,
.sup-field textarea:focus {
    outline: none;
    border-color: #2c5fa0;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(44, 95, 160, 0.12);
}
.sup-field textarea { resize: vertical; min-height: 100px; }

.sup-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 24px;
}
.sup-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 36px;
    background: linear-gradient(135deg, #2c5fa0, #1a3a5f);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s, opacity .15s;
}
.sup-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(44, 95, 160, 0.25);
}
.sup-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.sup-submit .btn-loading { display: none; }
.sup-submit.is-loading .btn-text { display: none; }
.sup-submit.is-loading .btn-loading { display: inline-flex; align-items: center; gap: 6px; }

.sup-privacy {
    font-size: 12px;
    color: #8a96a3;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sup-feedback {
    margin-top: 16px;
    padding: 0;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
}
.sup-feedback.is-success { padding: 12px 16px; background: #eaf6ec; color: #1f7a3a; border: 1px solid #c8e8d2; }
.sup-feedback.is-error   { padding: 12px 16px; background: #fdecea; color: #b32a25; border: 1px solid #f5c2bf; }

@media (max-width: 768px) {
    .sup-hero { padding: 56px 0 64px; }
    .sup-hero-content h1 { font-size: 28px; }
    .sup-hero-subtitle { font-size: 14px; }
    .sup-hero-stats { gap: 24px; }
    .sup-hero-stats .stat-item strong { font-size: 24px; }
    .sup-process, .sup-partners, .sup-benefits, .sup-apply { padding: 56px 0; }
    .sup-steps, .sup-benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .sup-apply-card { padding: 32px 24px; }
    .sup-grid { grid-template-columns: 1fr; }
    .sup-actions { flex-direction: column; align-items: stretch; gap: 12px; }
    .sup-submit { justify-content: center; }
}
