
/* ========================================
   智能 AI 商业服务系统 - 前台完整样式
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    color: #26364b;
    background: #f3f6fb;
    line-height: 1.7;
}

.main-container {
    width: 100%;
  /*  min-height: 100vh;*/
    display: flex;
    flex-direction: column;
}

/* ========================================
   顶部标题区域
   ======================================== */

.site-header {
    width: 100%;
    padding: 65px 20px 115px;
    color: #ffffff;
    text-align: center;
    background: linear-gradient(135deg, #153968 0%, #205c9e 55%, #3284bd 100%);
    position: relative;
    overflow: hidden;
}

.site-header::before,
.site-header::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
    pointer-events: none;
}

.site-header::before {
    width: 380px;
    height: 380px;
    top: -220px;
    left: -100px;
}

.site-header::after {
    width: 500px;
    height: 500px;
    right: -180px;
    bottom: -370px;
}

.header-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.header-label {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
}

.site-header h1 {
    margin-bottom: 12px;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.5;
}

.site-header p {
    color: rgba(255, 255, 255, 0.84);
    font-size: 15px;
}

/* ========================================
   页面统一主面板
   匹配结果与需求输入共用一个面板
   ======================================== */

.page-content {
    width: calc(100% - 40px);
    max-width: 1080px;
    margin: -58px auto 50px;
    padding: 38px 42px;
    position: relative;
    z-index: 2;
    background: #ffffff;
    border: 1px solid #e8edf4;
    border-radius: 18px;
    box-shadow: 0 14px 45px rgba(30, 61, 100, 0.10);
}

/* ========================================
   通用标题
   ======================================== */

.section-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: #4382c5;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.section-heading h2,
.search-heading h2 {
    color: #1d3556;
    font-size: 25px;
    font-weight: 700;
}

.section-description,
.search-heading > p {
    margin-top: 7px;
    color: #8997a9;
    font-size: 14px;
}

/* ========================================
   需求匹配结果区域
   ======================================== */

.result-section {
    margin: 0;
    padding: 0 0 30px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.result-count {
    min-width: 125px;
    padding: 12px 18px;
    text-align: center;
    background: #edf5ff;
    border: 1px solid #dceaff;
    border-radius: 10px;
}

.result-count strong {
    display: block;
    color: #1769bd;
    font-size: 27px;
    line-height: 1.3;
}

.result-count span {
    display: block;
    margin-top: 3px;
    color: #6e87a5;
    font-size: 12px;
}

.result-requirement {
    margin-bottom: 22px;
    padding: 16px 19px;
    background: #f6f9fd;
    border-left: 3px solid #4386cc;
    border-radius: 5px;
}

.requirement-label {
    display: block;
    margin-bottom: 5px;
    color: #8292a7;
    font-size: 12px;
    font-weight: 700;
}

.result-requirement p {
    color: #40536b;
    font-size: 14px;
    word-break: break-word;
}

/* ========================================
   服务商列表与卡片
   ======================================== */

.provider-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.provider-card {
    padding: 23px 25px;
    background: #fbfcfe;
    border: 1px solid #e5ebf3;
    border-radius: 12px;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.provider-card:hover {
    border-color: #c6dcf5;
    box-shadow: 0 7px 22px rgba(34, 82, 135, 0.07);
    transform: translateY(-2px);
}

.provider-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 13px;
}

.provider-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px;
}

.provider-mark {
    display: inline-block;
    padding: 3px 9px;
    color: #2874bb;
    background: #edf5ff;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

.provider-title h3 {
    color: #243c5b;
    font-size: 19px;
    font-weight: 700;
    word-break: break-word;
}

.provider-score {
    flex-shrink: 0;
    text-align: right;
}

.provider-score span {
    display: block;
    color: #9aa6b5;
    font-size: 11px;
}

.provider-score strong {
    color: #2376c2;
    font-size: 21px;
    font-weight: 700;
}

.provider-introduction {
    margin-bottom: 15px;
    color: #62748b;
    font-size: 14px;
}

.provider-detail {
    margin-top: 12px;
}

.detail-label {
    display: block;
    margin-bottom: 4px;
    color: #8493a7;
    font-size: 12px;
    font-weight: 700;
}

.provider-detail p {
    color: #4e6077;
    font-size: 13px;
    word-break: break-word;
}

.keyword-content {
    color: #4778a8 !important;
}

.provider-card-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #edf1f6;
}

.provider-link {
    color: #2375bd;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
}

.provider-link:hover {
    color: #104f91;
}

.provider-link span {
    margin-left: 4px;
}

/* ========================================
   暂无匹配结果
   ======================================== */

.no-result {
    padding: 38px 25px;
    text-align: center;
    background: #f8fafd;
    border: 1px dashed #d9e3ef;
    border-radius: 11px;
}

.no-result-icon {
    width: 38px;
    height: 38px;
    margin: 0 auto 12px;
    color: #8b9bb0;
    background: #eaf0f7;
    border-radius: 50%;
    font-size: 23px;
    font-weight: 700;
    line-height: 38px;
}

.no-result h3 {
    margin-bottom: 7px;
    color: #425770;
    font-size: 17px;
}

.no-result p {
    max-width: 600px;
    margin: 0 auto;
    color: #8b99aa;
    font-size: 13px;
}

/* ========================================
   需求输入区域
   ======================================== */

.search-section {
    margin: 0;
    padding: 30px 0 0;
    background: transparent;
    border: none;
    border-top: 1px solid #e9eef5;
    border-radius: 0;
    box-shadow: none;
}

.search-heading {
    margin-bottom: 25px;
}

.search-heading > p {
    max-width: 720px;
}

.input-label {
    display: block;
    margin-bottom: 9px;
    color: #52657d;
    font-size: 13px;
    font-weight: 700;
}

.search-section form {
    width: 100%;
}

.search-section textarea {
    display: block;
    width: 100%;
    min-height: 145px;
    padding: 17px 19px;
    border: 1px solid #dce5f0;
    border-radius: 9px;
    outline: none;
    resize: vertical;
    background: #f9fbfe;
    color: #34445b;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.9;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.search-section textarea::placeholder {
    color: #a4b0bf;
}

.search-section textarea:focus {
    border-color: #4387ce;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(67, 135, 206, 0.10);
}

/* ========================================
   表单底部与提交按钮
   ======================================== */

.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 17px;
}

.input-tip {
    color: #9aa6b5;
    font-size: 12px;
}

.search-section button {
    min-width: 205px;
    height: 48px;
    padding: 0 22px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #2678c8, #155ca9);
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(23, 105, 194, 0.20);
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.search-section button:hover {
    background: linear-gradient(135deg, #1c69b7, #104f94);
    box-shadow: 0 6px 16px rgba(23, 105, 194, 0.28);
    transform: translateY(-1px);
}

.search-section button span {
    margin-left: 7px;
}

/* ========================================
   错误提示
   ======================================== */

.error-message {
    margin-bottom: 18px;
    padding: 12px 16px;
    color: #b54747;
    background: #fff4f3;
    border: 1px solid #f3d5d2;
    border-radius: 7px;
    font-size: 13px;
}

/* ========================================
   页脚
   ======================================== */

.site-footer {
    width: 100%;
    margin-top: auto;
    padding: 23px 15px;
    border-top: 1px solid #e5ebf3;
    text-align: center;
    background: #ffffff;
}

.site-footer p {
    color: #65758a;
    font-size: 13px;
    font-weight: 700;
}

.site-footer span {
    display: block;
    margin-top: 3px;
    color: #a0acba;
    font-size: 11px;
}

/* ========================================
   平板适配
   ======================================== */

@media screen and (max-width: 768px) {

    .site-header {
        padding: 55px 18px 100px;
    }

    .site-header h1 {
        font-size: 31px;
    }

    .page-content {
        width: calc(100% - 30px);
        padding: 28px 25px;
        margin-top: -48px;
    }

    .section-heading h2,
    .search-heading h2 {
        font-size: 23px;
    }
}

/* ========================================
   手机适配
   ======================================== */

@media screen and (max-width: 480px) {

    .site-header {
        padding: 48px 15px 88px;
    }

    .header-label {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .site-header h1 {
        font-size: 25px;
        letter-spacing: 1px;
    }

    .site-header p {
        max-width: 320px;
        margin: 0 auto;
        font-size: 12px;
    }

    .page-content {
        width: calc(100% - 24px);
        padding: 23px 17px;
        margin-top: -40px;
        margin-bottom: 30px;
        border-radius: 13px;
    }

    .result-section {
        padding-bottom: 23px;
    }

    .search-section {
        padding-top: 23px;
    }

    .section-heading {
        align-items: flex-start;
        gap: 10px;
    }

    .section-heading h2,
    .search-heading h2 {
        font-size: 20px;
    }

    .section-description,
    .search-heading > p {
        font-size: 12px;
    }

    .result-count {
        min-width: 88px;
        padding: 9px 10px;
    }

    .result-count strong {
        font-size: 23px;
    }

    .result-count span {
        font-size: 10px;
    }

    .result-requirement {
        padding: 13px 14px;
    }

    .provider-card {
        padding: 18px 15px;
    }

    .provider-card-header {
        align-items: flex-start;
    }

    .provider-title {
        gap: 7px;
    }

    .provider-title h3 {
        font-size: 16px;
    }

    .provider-score strong {
        font-size: 18px;
    }

    .provider-introduction {
        font-size: 13px;
    }

    .form-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .input-tip {
        line-height: 1.6;
    }

    .search-section button {
        width: 100%;
        min-width: 0;
        height: 47px;
    }

    .no-result {
        padding: 30px 15px;
    }

    .site-footer {
        padding: 19px 10px;
    }
}

/* ========================================
   WSaiOS-SI 品牌展示
   ======================================== */

.header-system-name {
    margin-top: 5px;
    color: #ffffff;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 1px;
}

.header-description {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    letter-spacing: 1px;
}

.header-theory {
    margin-top: 13px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 10px;
    letter-spacing: 1.5px;
}

/* 主面板底部理论标识 */

.panel-brand {
    margin-top: 28px;
    padding-top: 19px;
    border-top: 1px solid #edf1f6;
    text-align: center;
}

.panel-brand span {
    color: #4382c5;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.panel-brand p {
    margin-top: 4px;
    color: #98a5b5;
    font-size: 12px;
}

/* 手机适配 */

@media screen and (max-width: 480px) {

    .header-system-name {
        font-size: 16px;
    }

    .header-description {
        font-size: 12px;
        line-height: 1.8;
    }

    .header-theory {
        font-size: 9px;
        letter-spacing: 0.5px;
    }
}
