* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    color: #1D2129;
    background: #F5F7FA;
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ========== 顶部导航 ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    z-index: 100;
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}
.logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-wrap img {
    height: 36px;
    width: auto;
}
.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: #165DFF;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.btn {
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}
.btn-primary {
    background: #165DFF;
    color: #fff;
}
.btn-primary:hover { background: #0e42d2; }
.btn-outline {
    background: #fff;
    color: #165DFF;
    border: 1px solid #165DFF;
}
.btn-outline:hover { background: #f0f5ff; }

/* ========== 首屏 ========== */
.hero {
    padding-top: 110px;
    padding-bottom: 50px;
    background: linear-gradient(180deg, #e8f0ff 0%, #F5F7FA 100%);
}
.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hero-text h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1D2129;
}
.hero-text p {
    font-size: 18px;
    color: #4E5969;
    max-width: 520px;
    line-height: 1.8;
}

/* 右侧轮播预览 */
.hero-preview {
    width: 520px;
    height: 360px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(22, 93, 255, 0.1);
    position: relative;
    overflow: hidden;
}
.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}
.carousel-slide {
    width: 100%;
    height: 100%;
    padding: 24px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

/* 红色印章效果 */
.stamp {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 92px;
    height: 92px;
    border: 3px solid #d9001b;
    border-radius: 50%;
    color: #d9001b;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.35;
    transform: rotate(-12deg);
    opacity: 0.82;
    z-index: 10;
    background: rgba(255,255,255,0.25);
    letter-spacing: 1px;
}

.preview-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #165DFF;
    display: flex;
    align-items: center;
    gap: 8px;
}
.preview-title::before {
    content: "";
    width: 4px;
    height: 16px;
    background: #165DFF;
    border-radius: 2px;
}

/* 风险项样式 */
.risk-item {
    padding: 10px 12px;
    background: #fff7e8;
    border-left: 3px solid #ff7d00;
    border-radius: 4px;
    margin-bottom: 10px;
}
.risk-item.level-high {
    background: #fff1f0;
    border-left-color: #f53f3f;
}
.risk-item.level-normal {
    background: #e8ffea;
    border-left-color: #00b42a;
}
.risk-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}
.risk-name {
    font-size: 13px;
    font-weight: 600;
}
.risk-tag {
    font-size: 11px;
    padding: 1px 6px;
    border-radius: 3px;
    background: #ff7d00;
    color: #fff;
    flex-shrink: 0;
}
.risk-tag.high { background: #f53f3f; }
.risk-tag.normal { background: #00b42a; }
.risk-desc {
    font-size: 12px;
    color: #4E5969;
    line-height: 1.5;
}
.preview-footer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f2f3f5;
    font-size: 12px;
    color: #86909c;
    display: flex;
    justify-content: space-between;
}

/* 答复函样式 */
.reply-item {
    margin-bottom: 12px;
}
.reply-label {
    font-size: 12px;
    color: #86909c;
    margin-bottom: 4px;
    font-weight: 500;
}
.reply-content {
    font-size: 12px;
    color: #1D2129;
    line-height: 1.6;
    padding: 8px 10px;
    background: #f7f8fa;
    border-radius: 4px;
}
.reply-content.highlight {
    background: #e8f0ff;
    color: #165DFF;
    font-weight: 500;
}

/* 全生命周期样式 */
.lifecycle-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 16px;
}
.lifecycle-item {
    text-align: center;
    padding: 10px 6px;
    background: #f7f8fa;
    border-radius: 6px;
    font-size: 12px;
    color: #4E5969;
    border: 1px solid #e5e6eb;
    transition: all 0.2s;
}
.lifecycle-item:hover {
    border-color: #165DFF;
    color: #165DFF;
    background: #f0f5ff;
}
.lifecycle-item .num {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #165DFF;
    margin-bottom: 4px;
}
.lifecycle-desc {
    margin-top: 16px;
    text-align: center;
    font-size: 13px;
    color: #4E5969;
    padding: 10px;
    background: #f0f5ff;
    border-radius: 6px;
}

/* 轮播指示器 */
.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c9cdd4;
    cursor: pointer;
    transition: all 0.2s;
}
.carousel-dot.active {
    background: #165DFF;
    width: 20px;
    border-radius: 4px;
}

/* ========== 通用区块 ========== */
.section {
    padding: 72px 0;
}
.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.section-title {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 12px;
}
.section-desc {
    text-align: center;
    color: #4E5969;
    font-size: 16px;
    margin-bottom: 48px;
}

/* ========== 产品形态 ========== */
.product-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.product-card {
    background: #fff;
    border-radius: 10px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #e5e6eb;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-color: #165DFF;
}
.product-icon {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: #e8f0ff;
    color: #165DFF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    font-weight: 700;
}
.product-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}
.product-card p {
    color: #4E5969;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}
.product-card p:last-child {
    margin-bottom: 0;
}

/* ========== 工具能力 ========== */
.tool-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.tool-card {
    background: #fff;
    border-radius: 10px;
    padding: 40px 32px;
    border: 1px solid #e5e6eb;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.tool-card h3 {
    font-size: 22px;
    color: #165DFF;
}
.tool-card p {
    color: #4E5969;
    font-size: 15px;
    flex: 1;
}
.tool-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f5ff;
    color: #165DFF;
    border-radius: 4px;
    font-size: 13px;
    width: fit-content;
}

/* ========== 合作背书 ========== */
.trust-section {
    background: #fff;
}
.company-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px 48px;
    margin-bottom: 48px;
}
.logo-item {
    width: 160px;
    height: 60px;
    background: #f5f7fa;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #86909c;
    font-size: 16px;
    font-weight: 500;
}
.news-list {
    max-width: 900px;
    margin: 0 auto;
}
.news-item {
    padding: 16px 0;
    border-bottom: 1px solid #f2f3f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.news-item:last-child { border-bottom: none; }
.news-title {
    font-size: 15px;
    color: #1D2129;
}
.news-time {
    font-size: 14px;
    color: #86909c;
}

/* ========== 入驻优势 ========== */
.advantage-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.advantage-item {
    text-align: center;
    padding: 24px 16px;
}
.advantage-item h4 {
    font-size: 18px;
    margin-bottom: 12px;
}
.advantage-item p {
    font-size: 14px;
    color: #4E5969;
}

/* ========== 页脚 ========== */
.footer {
    background: #1D2129;
    color: #86909c;
    padding: 24px 0;
    font-size: 13px;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.footer-bottom {
    text-align: center;
}

/* ========== 企业入驻弹窗 ========== */
.modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}
.modal-mask.show { display: flex; }
.modal {
    background: #fff;
    border-radius: 10px;
    width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 20px 32px;
}
.modal-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-close {
    color: #86909c;
    cursor: pointer;
    font-size: 20px;
}
.form-item {
    margin-bottom: 12px;
}
.form-item label {
    display: block;
    font-size: 14px;
    color: #4E5969;
    margin-bottom: 6px;
}
.form-item input {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e5e6eb;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
}
.form-item input:focus { border-color: #165DFF; }
.form-item textarea {
    width: 100%;
    height: 56px;
    padding: 8px 12px;
    border: 1px solid #e5e6eb;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    resize: none;
    font-family: inherit;
}
.form-item textarea:focus { border-color: #165DFF; }
.form-tip {
    font-size: 12px;
    color: #86909c;
    margin-top: 4px;
}
.modal-footer {
    margin-top: 16px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* ========== 登录页 ========== */
.login-body {
    background: linear-gradient(135deg, #e8f0ff 0%, #f5f7fa 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-container {
    width: 100%;
    max-width: 420px;
    padding: 0 24px;
}
.login-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px 36px;
    box-shadow: 0 8px 32px rgba(22, 93, 255, 0.08);
}
.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
}
.login-logo img {
    height: 36px;
    width: auto;
}
.login-logo span {
    font-size: 20px;
    font-weight: 700;
    color: #165DFF;
}
.login-title {
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    color: #1D2129;
    margin-bottom: 28px;
}
.login-form .form-item {
    margin-bottom: 18px;
}
.login-form .form-item label {
    display: block;
    font-size: 14px;
    color: #4E5969;
    margin-bottom: 8px;
}
.login-form .form-item input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #e5e6eb;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}
.login-form .form-item input:focus {
    border-color: #165DFF;
}
.btn-block {
    width: 100%;
    height: 44px;
    font-size: 15px;
    margin-top: 8px;
}
.login-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #86909c;
}
.login-footer a {
    color: #165DFF;
    text-decoration: none;
    margin-left: 4px;
}

/* ========== 后台主框架 ========== */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background: #f5f7fa;
}
.admin-sidebar {
    width: 220px;
    background: #fff;
    border-right: 1px solid #e5e6eb;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}
.sidebar-logo {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-bottom: 1px solid #f2f3f5;
}
.sidebar-logo img {
    height: 28px;
}
.sidebar-logo span {
    font-size: 16px;
    font-weight: 700;
    color: #165DFF;
}
.sidebar-menu {
    flex: 1;
    padding: 12px 0;
}
.menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    font-size: 14px;
    color: #4E5969;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}
.menu-item:hover {
    background: #f2f3f5;
    color: #1D2129;
}
.menu-item.active {
    background: #e8f0ff;
    color: #165DFF;
    font-weight: 500;
}
.admin-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.admin-header {
    height: 64px;
    background: #fff;
    border-bottom: 1px solid #e5e6eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}
.header-title {
    font-size: 16px;
    font-weight: 500;
    color: #1D2129;
}
.header-user {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #4E5969;
    cursor: pointer;
}
.admin-content {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

.header-logout {
    font-size: 20px;
    color: #4E5969;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
    line-height: 1;
}
.header-logout:hover {
    color: #165DFF;
    background: #f0f5ff;
}