/* java.html 专属样式 */
body {
    background: #181e4b;
    color: #fff;
}

.java-section {
    background: #181e4b;
    padding: 60px 0 40px 0;
    text-align: center;
}
.java-section h2.section-title {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 38px;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}
.java-section h2.section-title::before,
.java-section h2.section-title::after {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><polygon points="16,2 30,10 30,26 16,34 2,26 2,10" fill="%237e8fff"/></svg>') center/contain no-repeat;
    vertical-align: middle;
    margin: 0 12px;
}
.java-section h2.section-title::before { margin-right: 12px; }
.java-section h2.section-title::after { margin-left: 12px; }

.java-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 40px;
    justify-items: center;
}
.java-card {
    width: 100%;
    min-width: 0;
    max-width: 340px;
    background: #fff;
    color: #222b45;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    padding: 24px 20px;
    text-align: left;
    font-size: 1rem;
    transition: transform 0.2s;
}
.java-card:hover {
    transform: translateY(-6px) scale(1.03);
}

/* 知识点流转 六边形分布 */
.hexagon-section {
    background: #181e4b;
    padding: 40px 0 30px 0;
    text-align: center;
}
.hexagon-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 30px;
}
.hexagon-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 18px;
}
.hex-row {
    display: flex;
    justify-content: center;
    gap: 12px;
}
.hex {
    width: 120px;
    height: 104px;
    background: #3a3fff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.08rem;
    margin: 6px 0;
    clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
    box-shadow: 0 2px 12px rgba(58,140,255,0.10);
}
.hex-flow-desc {
    margin-top: 18px;
    font-size: 1.08rem;
    color: #fff;
}

/* 课程安排 */
.arrange-section {
    background: #181e4b;
    padding: 60px 0 40px 0;
    text-align: center;
}
.arrange-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 36px;
    color: #fff;
}
.arrange-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: center;
}
.arrange-item {
    background: none;
    border: 2px solid #7e8fff;
    border-radius: 16px;
    padding: 22px 32px;
    color: #fff;
    font-size: 1.08rem;
    text-align: left;
    max-width: 900px;
    box-shadow: 0 2px 12px rgba(58,140,255,0.10);
    position: relative;
}
.arrange-item strong {
    color: #7e8fff;
    font-size: 1.15rem;
    font-weight: 900;
    margin-right: 8px;
}
.arrange-item::before, .arrange-item::after {
    content: '';
    position: absolute;
    border: 2px solid #7e8fff;
    border-radius: 16px;
    pointer-events: none;
}
.arrange-item::before {
    top: 8px; left: 8px; right: 8px; bottom: 8px;
    border-width: 1px;
}
.arrange-item::after {
    top: 0; left: 0; right: 0; bottom: 0;
    border-width: 2px;
}

/* 架构优势九宫格 */
.advantage-section {
    background: #fff;
    padding: 60px 0 40px 0;
    text-align: center;
}
.advantage-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 36px;
    color: #222b45;
    position: relative;
    display: inline-block;
}
.advantage-title::before,
.advantage-title::after {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><polygon points="16,2 30,10 30,26 16,34 2,26 2,10" fill="%237e8fff"/></svg>') center/contain no-repeat;
    vertical-align: middle;
    margin: 0 12px;
}
.advantage-title::before { margin-right: 12px; }
.advantage-title::after { margin-left: 12px; }
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 28px 18px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}
.advantage-item {
    background: #f5f6fa;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(58,140,255,0.08);
    padding: 24px 0 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #222b45;
    font-size: 1.05rem;
}
.advantage-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
    background: #7e8fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
}
@media (max-width: 1100px) {
    .java-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}
@media (max-width: 800px) {
    .java-cards {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}
@media (max-width: 600px) {
    .java-section, .hexagon-section, .arrange-section, .advantage-section {
        padding: 28px 0 18px 0;
    }
    .java-card {
        width: 96vw;
        min-width: 0;
    }
    .hex {
        width: 80px;
        height: 68px;
        font-size: 0.95rem;
    }
    .arrange-item {
        padding: 10px 4vw;
        font-size: 0.98rem;
    }
    .advantage-grid {
        grid-template-columns: 1fr;
    }
} 