/* ========== 服务器代维页面样式 ========== */

/* Banner */
.dw-banner {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%);
    padding: 60px 0;
    margin-bottom: 0;
    overflow: hidden;
}
.dw-banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.dw-banner-content {
    max-width: 500px;
    flex-shrink: 0;
}
.dw-banner-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 16px;
    line-height: 1.2;
}
.dw-banner-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0 0 30px;
    line-height: 1.6;
}
.dw-banner-btn {
    display: inline-block;
    padding: 12px 32px;
    background: #2b5aed;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all .3s;
}
.dw-banner-btn:hover {
    background: #1e4ad4;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(43,90,237,.35);
    color: #fff;
    text-decoration: none;
}
.dw-banner-img {
    max-width: 360px;
    flex-shrink: 0;
}
.dw-banner-img img {
    width: 100%;
    height: auto;
}

/* 通用标题 */
.dw-section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 40px;
    position: relative;
    padding-bottom: 16px;
}
.dw-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: #2b5aed;
    border-radius: 2px;
}

/* ========== 代维项目卡片 ========== */
.dw-projects {
    padding: 60px 0;
    background: #fff;
}
.dw-project-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.dw-project-card {
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 12px;
    padding: 28px 24px;
    transition: all .3s;
    display: flex;
    flex-direction: column;
}
.dw-project-card:hover {
    box-shadow: 0 8px 30px rgba(43,90,237,.12);
    border-color: #c5d3f7;
    transform: translateY(-4px);
}
.dw-project-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}
.dw-project-name {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 6px;
}
.dw-project-desc {
    font-size: 13px;
    color: #999;
    margin: 0;
}
.dw-project-badge {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #2b5aed;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.dw-project-card:nth-child(2) .dw-project-badge { background: #f59e0b; }
.dw-project-card:nth-child(3) .dw-project-badge { background: #10b981; }
.dw-project-card:nth-child(4) .dw-project-badge { background: #8b5cf6; }
.dw-project-card:nth-child(5) .dw-project-badge { background: #ef4444; }
.dw-project-card:nth-child(6) .dw-project-badge { background: #06b6d4; }

/* 项目功能列表 - 来自后台content字段 */
.dw-project-features {
    flex: 1;
    margin-bottom: 20px;
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}
.dw-project-features .features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dw-project-features .features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    /* 注意：li 本身没有下边框 */
}

/* 蓝色圆圈对号标识（无下边框） */
.dw-project-features .features-list li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

/* 文字部分：加下边框 */
.dw-project-features .feature-text {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 4px;  /* 让下边框与文字之间留一点距离，美观 */
    /* 如果需要下边框紧贴文字，可以去掉 padding-bottom */
    display: inline-block; /* 使边框宽度由文字内容撑开 */
    width: 100%;
}
.dw-project-features p {
    position: relative;
    padding-left: 20px;
    margin: 0 0 8px;
    color: #444;
    font-size: 14px;
}
.dw-project-features p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2b5aed;
}

/* 价格 */
.dw-project-footer {
    padding-top: 16px;
   
    margin-bottom: 16px;
}
.dw-project-price {
    font-size: 24px;
    font-weight: 700;
    color: #e53e3e;
}
.dw-price-unit {
    font-size: 13px;
    font-weight: 400;
    color: #999;
}
.dw-project-note {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

/* 咨询按钮 */
.dw-project-action {
    margin-top: auto;
}
.dw-consult-btn {
    display: inline-block;
    padding: 8px 24px;
    border: 1px solid #191919;
    color: #191919;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    transition: all .3s;
    float: right;
}
.dw-consult-btn:hover {
    background: #2b5aed;
    color: #fff;
    text-decoration: none;
}

/* ========== 服务保障 ========== */
.dw-guarantee {
    padding: 60px 0;
    background: #f7f9fc;
}
.dw-guarantee-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.dw-guarantee-item {
    background: #fff;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: all .3s;
}
.dw-guarantee-item:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    transform: translateY(-3px);
}
.dw-guarantee-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #eef2ff, #dbe4ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #2b5aed;
}
.dw-guarantee-item h4 {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 10px;
}
.dw-guarantee-item p {
    font-size: 13px;
    color: #777;
    line-height: 1.7;
    margin: 0;
}

/* ========== 软件推荐 ========== */
.dw-software {
    padding: 60px 0;
    background: #fff;
}
.dw-software-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.dw-software-card {
    background: #f7f9fc;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all .3s;
}
.dw-software-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    transform: translateY(-3px);
}
.dw-software-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dw-software-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}
.dw-software-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 6px;
}
.dw-software-card p {
    font-size: 13px;
    color: #999;
    margin: 0 0 16px;
}
.dw-software-btn {
    display: inline-block;
    padding: 6px 20px;
    border: 1px solid #d0d5dd;
    color: #555;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all .3s;
}
.dw-software-btn:hover {
    border-color: #2b5aed;
    color: #2b5aed;
    text-decoration: none;
}

/* ========== 技术团队 ========== */
.dw-team {
    padding: 60px 0;
    background: #f7f9fc;
}
.dw-team-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.dw-team-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all .3s;
}
.dw-team-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    transform: translateY(-3px);
}
.dw-team-avatar {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #2b5aed, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.dw-team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.dw-team-tag {
    position: absolute;
    top: 12px;
    left: 0;
    z-index: 2;
    display: flex;
}
.dw-tag-name {
    background: #e53e3e;
    color: #fff;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 0 4px 4px 0;
}
.dw-tag-title {
    background: rgba(0,0,0,.45);
    color: #fff;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 0 4px 4px 0;
}
.dw-team-skills {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 2;
}
.dw-team-skills i {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    backdrop-filter: blur(4px);
}
.dw-team-desc {
    padding: 16px;
    font-size: 13px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* ========== 响应式 ========== */
@media (max-width: 992px) {
    .dw-banner .container { flex-direction: column; text-align: center; }
    .dw-banner-img { max-width: 260px; margin-top: 30px; }
    .dw-banner-title { font-size: 32px; }
    .dw-project-cards { grid-template-columns: repeat(2, 1fr); }
    .dw-guarantee-grid { grid-template-columns: repeat(2, 1fr); }
    .dw-software-cards { grid-template-columns: repeat(2, 1fr); }
    .dw-team-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .dw-banner { padding: 40px 0; }
    .dw-banner-title { font-size: 26px; }
    .dw-section-title { font-size: 22px; }
    .dw-project-cards { grid-template-columns: 1fr; }
    .dw-guarantee-grid { grid-template-columns: 1fr; }
    .dw-software-cards { grid-template-columns: repeat(2, 1fr); }
    .dw-team-cards { grid-template-columns: repeat(2, 1fr); }
    .dw-projects, .dw-guarantee, .dw-software, .dw-team { padding: 40px 0; }
}
