/* 双全家具美容学校 - 现代化响应式网站样式 */

/* ==================== 全局样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.8;
    color: #333;
    background: #f5f5f5;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== 顶部联系栏 ==================== */
.top-bar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.top-bar .school-name {
    font-weight: bold;
    font-size: 15px;
    letter-spacing: 2px;
}

.top-bar .contact-info {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.top-bar span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.top-bar .phone-highlight {
    font-size: 18px;
    font-weight: bold;
    color: #ffd700;
}

/* ==================== 头部导航 ==================== */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #667eea;
    display: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 3px;
}

nav > ul > li > a {
    display: block;
    padding: 10px 16px;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 15px;
}

nav a:hover,
nav a.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: #667eea;
    cursor: pointer;
    padding: 5px;
}

/* ==================== 下拉菜单 ==================== */
nav ul li.dropdown {
    position: relative;
}

nav ul li.dropdown > a::after {
    content: ' ▼';
    font-size: 10px;
    vertical-align: middle;
}

nav ul li.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 150px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 8px 0;
    z-index: 1001;
    flex-direction: column;
    gap: 0;
}

nav ul li.dropdown:hover .dropdown-menu {
    display: flex;
}

nav ul li.dropdown .dropdown-menu li {
    width: 100%;
}

nav ul li.dropdown .dropdown-menu a {
    padding: 10px 20px;
    border-radius: 0;
    white-space: nowrap;
    font-size: 14px;
}

nav ul li.dropdown .dropdown-menu a:hover {
    background: #f0f0ff;
    color: #667eea;
}

/* 下拉菜单子项分隔线 */
nav ul li.dropdown .dropdown-menu li + li {
    border-top: 1px solid #f0f0f0;
}

/* ==================== 新闻资讯子标签 ==================== */
.news-sub-tabs {
    display: flex;
    gap: 0;
    margin: 30px 0;
    border-bottom: 2px solid #eee;
}

.news-sub-tab {
    padding: 14px 35px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #888;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
}

.news-sub-tab:hover {
    color: #667eea;
}

.news-sub-tab.active {
    color: #667eea;
    border-bottom-color: #667eea;
}

.news-sub-panel {
    display: none;
}

.news-sub-panel.active {
    display: block;
}

/* 维修知识文章卡片 */
.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 25px;
}

.knowledge-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border-left: 4px solid #667eea;
    transition: transform 0.3s, box-shadow 0.3s;
}

.knowledge-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.knowledge-card h4 {
    font-size: 17px;
    color: #333;
    margin-bottom: 10px;
}

.knowledge-card p {
    font-size: 14px;
    color: #888;
    line-height: 1.7;
    margin-bottom: 12px;
}

.knowledge-card .date {
    font-size: 12px;
    color: #bbb;
}

@media (max-width: 768px) {
    .knowledge-grid {
        grid-template-columns: 1fr;
    }
    .news-sub-tab {
        padding: 12px 20px;
        font-size: 14px;
    }
}

.news-list {
    margin-top: 40px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.news-card-thumb {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea20, #764ba220);
}

.news-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-card:hover .news-card-thumb img {
    transform: scale(1.05);
}

.news-card-body {
    padding: 25px;
}

.news-card-body h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.5;
}

.news-card-body h3 a {
    color: #333;
    text-decoration: none;
}

.news-card-body h3 a:hover {
    color: #667eea;
}

.news-card-meta {
    color: #999;
    font-size: 13px;
    margin-bottom: 12px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.news-card-meta .tag {
    display: inline-block;
    padding: 2px 12px;
    background: #eef0ff;
    color: #667eea;
    border-radius: 12px;
    font-size: 12px;
}

.news-card-excerpt {
    color: #666;
    line-height: 1.8;
    font-size: 14px;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 6px;
    font-size: 14px;
    border: 1px solid #ddd;
    color: #555;
    transition: all 0.3s;
}

.pagination a:hover {
    border-color: #667eea;
    color: #667eea;
    background: #eef0ff;
}

.pagination .active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.pagination .disabled {
    color: #ccc;
    border-color: #eee;
    pointer-events: none;
}

/* 新闻详情页 */
.news-detail-header {
    text-align: center;
    padding: 30px 0 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.news-detail-header h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-detail-header .meta {
    color: #999;
    font-size: 14px;
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.news-detail-body {
    font-size: 16px;
    line-height: 2;
    color: #444;
}

.news-detail-body p {
    margin-bottom: 20px;
    text-indent: 2em;
}

.news-detail-body img {
    max-width: 100%;
    border-radius: 8px;
    margin: 20px 0;
}

.news-detail-body blockquote {
    border-left: 4px solid #667eea;
    padding: 15px 25px;
    margin: 25px 0;
    background: #f8f9ff;
    border-radius: 0 8px 8px 0;
    color: #555;
}

.news-nav-bottom {
    display: flex;
    justify-content: space-between;
    padding: 25px 0;
    border-top: 1px solid #eee;
    margin-top: 40px;
    gap: 15px;
    flex-wrap: wrap;
}

.news-nav-bottom a {
    color: #667eea;
    font-size: 15px;
}

.news-nav-bottom a:hover {
    text-decoration: underline;
}

/* ==================== 新闻列表响应式 ==================== */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    .news-card-thumb {
        height: 200px;
    }
    .news-detail-header h2 {
        font-size: 22px;
    }
    .pagination a,
    .pagination span {
        min-width: 35px;
        height: 35px;
        font-size: 13px;
        padding: 0 10px;
    }
}

/* ==================== 主视觉区 ==================== */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: white;
    color: #667eea;
}

.btn-primary:hover {
    background: transparent;
    border-color: white;
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: #667eea;
}

/* ==================== 区块标题 ==================== */
.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 10px;
    color: #333;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
}

/* ==================== 特色优势 ==================== */
.features {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #667eea;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* ==================== 2026促销板块 ==================== */
.promo-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #fff8f0 0%, #fff0e4 100%);
    border-top: 4px solid #e67e22;
    border-bottom: 4px solid #e67e22;
}

.promo-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.promo-title {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 40px;
}

.promo-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

.promo-main h3 {
    font-size: 22px;
    color: #e67e22;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e67e22;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.tech-tag {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: white;
}

.tag-paint { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.tag-leather { background: linear-gradient(135deg, #8e44ad, #6c3483); }
.tag-stone { background: linear-gradient(135deg, #3498db, #2980b9); }
.tag-metal { background: linear-gradient(135deg, #95a5a6, #7f8c8d); }
.tag-marble { background: linear-gradient(135deg, #1abc9c, #16a085); }
.tag-film { background: linear-gradient(135deg, #f39c12, #e67e22); }
.tag-ceramic { background: linear-gradient(135deg, #e67e22, #d35400); }
.tag-fabric { background: linear-gradient(135deg, #9b59b6, #8e44ad); }
.tag-leather-goods { background: linear-gradient(135deg, #34495e, #2c3e50); }
.tag-car { background: linear-gradient(135deg, #2ecc71, #27ae60); }
.tag-gold { background: linear-gradient(135deg, #f1c40f, #f39c12); color: #333; }
.tag-antique { background: linear-gradient(135deg, #795548, #5d4037); }
.tag-tech { background: linear-gradient(135deg, #607d8b, #455a64); }
.tag-wood { background: linear-gradient(135deg, #a1887f, #8d6e63); }
.tag-door { background: linear-gradient(135deg, #ff7043, #f4511e); }
.tag-cabinet { background: linear-gradient(135deg, #26a69a, #00897b); }

.tech-detail {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.tech-detail-item {
    padding: 10px 0;
    border-bottom: 1px dashed #ddd;
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

.tech-detail-item:last-child {
    border-bottom: none;
}

.tech-detail-item strong {
    color: #e67e22;
}

.promo-offer {
    position: sticky;
    top: 100px;
}

.offer-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(230, 126, 34, 0.2);
    border: 2px solid #e67e22;
    text-align: center;
}

.offer-price {
    margin-bottom: 15px;
}

.price-old {
    display: block;
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 5px;
}

.price-new {
    font-size: 48px;
    font-weight: bold;
    color: #e74c3c;
    line-height: 1;
}

.price-unit {
    font-size: 16px;
    color: #666;
}

.offer-limited {
    background: #fff3e0;
    color: #e65100;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
}

.offer-benefits {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    text-align: left;
}

.offer-benefits li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #555;
}

.offer-benefits li:last-child {
    border-bottom: none;
}

.btn-promo {
    display: block;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-promo:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    color: white;
}

@media (max-width: 992px) {
    .promo-grid {
        grid-template-columns: 1fr;
    }
    .promo-offer {
        position: static;
    }
    .promo-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .tech-tag {
        font-size: 12px;
        padding: 6px 12px;
    }
    .price-new {
        font-size: 36px;
    }
    .promo-section {
        padding: 40px 0;
    }
}

/* ==================== 课程展示 ==================== */
.courses {
    padding: 80px 0;
    background: white;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.course-card {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.course-content {
    padding: 30px;
}

.course-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.course-price {
    font-size: 28px;
    color: #e74c3c;
    font-weight: bold;
    margin-bottom: 15px;
}

.course-content ul {
    list-style: none;
    padding: 0;
}

.course-content li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

.course-content li:before {
    content: "✓ ";
    color: #667eea;
    font-weight: bold;
}

/* ==================== 面包屑导航 ==================== */
.breadcrumb {
    background: #f8f9fa;
    padding: 15px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #667eea;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ==================== 页面横幅 ==================== */
.page-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.page-banner p {
    font-size: 18px;
    opacity: 0.9;
}

/* ==================== 关于我们页面 ==================== */
.about-section {
    padding: 80px 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    margin-top: 40px;
}

.main-content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.main-content h2 {
    font-size: 28px;
    color: #667eea;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #667eea;
}

.main-content h3 {
    font-size: 22px;
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
}

.main-content p {
    color: #666;
    line-height: 2;
    margin-bottom: 15px;
}

.about-lead {
    font-size: 20px;
    font-weight: bold;
    color: #667eea;
    text-align: center;
    margin-bottom: 25px;
    padding: 15px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    border-radius: 8px;
    letter-spacing: 1px;
}

.about-close {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #fff5f5 0%, #f0f4ff 100%);
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.promise-list {
    list-style: none;
    padding: 0;
}

.promise-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

/* ==================== 侧边栏 ==================== */
.sidebar {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: fit-content;
}

.sidebar h3 {
    font-size: 20px;
    color: #667eea;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar li {
    margin-bottom: 10px;
}

.sidebar a {
    display: block;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 5px;
    color: #333;
    transition: all 0.3s;
}

.sidebar a:hover,
.sidebar a.active {
    background: #667eea;
    color: white;
}

/* ==================== 页脚 ==================== */
footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #667eea;
}

.footer-section p,
.footer-section a {
    color: #bdc3c7;
    margin-bottom: 10px;
    display: block;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #34495e;
    color: #95a5a6;
    font-size: 14px;
}

.footer-bottom p {
    margin-bottom: 5px;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
        font-size: 12px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    nav {
        display: none;
        width: 100%;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
    }
    
    nav a {
        text-align: center;
        padding: 12px;
    }
    
    /* 移动端下拉菜单 */
    nav ul li.dropdown .dropdown-menu {
        position: static;
        box-shadow: none;
        background: #f8f9ff;
        border-radius: 0;
        padding: 0;
    }
    
    nav ul li.dropdown .dropdown-menu a {
        padding-left: 40px;
    }
    
    nav ul li.nav-contact a {
        margin-left: 0;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .features-grid,
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        order: -1;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .logo img {
        height: 50px;
        width: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 24px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .main-content {
        padding: 20px;
    }
}

/* ==================== 动画效果 ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.course-card {
    animation: fadeIn 0.6s ease-out;
}

/* ==================== 课程详情表格 ==================== */
.course-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 15px;
}

.course-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 14px 12px;
    text-align: left;
    font-weight: bold;
}

.course-table td {
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: middle;
}

.course-table tr:nth-child(even) td {
    background: #f8f9fa;
}

.course-table tr:hover td {
    background: #eef0ff;
}

.course-table .price {
    color: #e74c3c;
    font-weight: bold;
    white-space: nowrap;
}

.course-table .days {
    color: #667eea;
    font-weight: bold;
    white-space: nowrap;
}

/* 赠送项目样式 */
.gift-section {
    background: #f0f4ff;
    border-left: 4px solid #667eea;
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 0 10px 10px 0;
}

.gift-section h3 {
    color: #667eea;
    margin-bottom: 15px;
}

.gift-section .gift-item {
    padding: 8px 0;
    border-bottom: 1px dashed #d0d5f0;
    color: #555;
}

.gift-section .gift-item:last-child {
    border-bottom: none;
}

.gift-section .gift-item strong {
    color: #333;
}

/* ==================== 内页内容区域 ==================== */
.inner-page {
    padding: 60px 0;
}

.article-list {
    list-style: none;
    padding: 0;
}

.article-list li {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.article-list li:hover {
    background: #f8f9fa;
}

.article-list a {
    color: #333;
    font-size: 16px;
    flex: 1;
    padding-right: 20px;
}

.article-list a:hover {
    color: #667eea;
}

.article-list .time {
    color: #999;
    font-size: 13px;
    white-space: nowrap;
}

/* ==================== 技术优势卡片 ==================== */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tech-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.tech-card:hover {
    transform: translateY(-5px);
}

.tech-card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.tech-card-icon {
    font-size: 32px;
}

.tech-card-header h3 {
    font-size: 20px;
    margin: 0;
}

.tech-card-body {
    padding: 25px;
    color: #666;
    line-height: 1.8;
}

.tech-card-body ul {
    list-style: none;
    padding: 0;
}

.tech-card-body li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.tech-card-body li:before {
    content: "▸";
    color: #667eea;
    position: absolute;
    left: 0;
}

/* ==================== 产品展示网格 ==================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-card-img {
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-card-img img {
    transform: scale(1.05);
}

.product-card-body {
    padding: 18px;
}

.product-card-body h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-card-body p {
    font-size: 13px;
    color: #888;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==================== 教师展示 ==================== */
.teacher-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.teacher-item {
    display: flex;
    gap: 30px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    align-items: flex-start;
}

.teacher-avatar {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #f0f0f0;
}

.teacher-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher-info h3 {
    font-size: 22px;
    color: #667eea;
    margin-bottom: 15px;
}

.teacher-info p {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
}

/* ==================== 新闻列表（已整合至上方 news-sub-tabs 区域） ==================== */

/* ==================== 荣誉证书展示 ==================== */
.honor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.honor-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
    padding: 20px;
    transition: transform 0.3s;
}

.honor-item:hover {
    transform: translateY(-3px);
}

.honor-item img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 15px;
}

.honor-item h4 {
    font-size: 16px;
    color: #333;
}

/* ==================== banner ==================== */
.banner-img {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* ==================== 响应式补充 ==================== */
@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .top-bar .contact-info {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .teacher-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .teacher-avatar {
        width: 150px;
        height: 150px;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .course-table {
        font-size: 13px;
    }
    
    .course-table th,
    .course-table td {
        padding: 8px 6px;
    }
    
    .article-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .honor-grid {
        grid-template-columns: 1fr;
    }
    
    .gift-section {
        padding: 15px;
    }
}

/* ==================== 学员风采 ==================== */
.student-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.student-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.student-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.student-card-img {
    height: 250px;
    overflow: hidden;
    background: #f0f0f0;
    position: relative;
}

.student-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.student-card:hover .student-card-img img {
    transform: scale(1.08);
}

.student-card-body {
    padding: 20px;
    text-align: center;
}

.student-card-body h3 {
    font-size: 17px;
    color: #333;
    margin-bottom: 8px;
}

.student-card-body p {
    font-size: 13px;
    color: #888;
}

/* 学员感言区域 */
.testimonial-section {
    margin-top: 60px;
    padding: 50px 0;
    background: linear-gradient(135deg, #667eea08 0%, #764ba208 100%);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    position: relative;
    border-left: 4px solid #667eea;
}

.testimonial-card .quote {
    font-size: 50px;
    color: #667eea20;
    position: absolute;
    top: 10px;
    right: 20px;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card .content {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.testimonial-card .author {
    font-weight: bold;
    color: #667eea;
    font-size: 14px;
}

/* ==================== 实际案例 ==================== */
.case-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 30px 0;
    justify-content: center;
}

.case-tab {
    padding: 12px 30px;
    background: #eef0ff;
    color: #667eea;
    border-radius: 30px;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.case-tab:hover,
.case-tab.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.case-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.case-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    height: 220px;
    overflow: hidden;
}

.case-compare .before,
.case-compare .after {
    position: relative;
    overflow: hidden;
}

.case-compare .before img,
.case-compare .after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-compare .label {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    color: white;
}

.case-compare .before .label {
    background: #e74c3c;
}

.case-compare .after .label {
    background: #27ae60;
}

.case-card-body {
    padding: 20px;
}

.case-card-body h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 8px;
}

.case-card-body .case-category {
    display: inline-block;
    padding: 4px 12px;
    background: #eef0ff;
    color: #667eea;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 10px;
}

.case-card-body p {
    font-size: 14px;
    color: #888;
    line-height: 1.6;
}

/* 案例详情页特色列表 */
.case-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.case-feature {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.case-feature:hover {
    transform: translateY(-3px);
}

.case-feature .icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.case-feature h4 {
    font-size: 17px;
    color: #333;
    margin-bottom: 8px;
}

.case-feature p {
    font-size: 13px;
    color: #888;
}

/* ==================== 学员作品展示 ==================== */
.student-work-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

.student-work-item {
    display: flex;
    gap: 30px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    align-items: center;
}

.student-work-item .work-img {
    width: 350px;
    height: 280px;
    flex-shrink: 0;
    overflow: hidden;
    background: #f0f0f0;
}

.student-work-item .work-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.student-work-item:hover .work-img img {
    transform: scale(1.05);
}

.student-work-item .work-info {
    padding: 30px;
    flex: 1;
}

.student-work-item .work-info h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 12px;
}

.student-work-item .work-info p {
    font-size: 14px;
    color: #888;
    line-height: 1.7;
}

/* 案例场景分类 */
.scene-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.scene-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.scene-card:hover {
    transform: translateY(-5px);
}

.scene-card-img {
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
}

.scene-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scene-card-body {
    padding: 20px;
}

.scene-card-body h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 8px;
}

.scene-card-body p {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
}

/* 统计数字 */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 50px 0;
}

.stat-item {
    text-align: center;
    padding: 30px 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
}

.stat-item .stat-number {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 8px;
}

.stat-item .stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* 响应式补充 */
@media (max-width: 768px) {
    .student-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .case-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .student-work-item {
        flex-direction: column;
    }
    
    .student-work-item .work-img {
        width: 100%;
        height: 220px;
    }
    
    .scene-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .case-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .student-gallery {
        grid-template-columns: 1fr;
    }
    
    .case-tabs {
        flex-direction: column;
    }
    
    .case-tab {
        text-align: center;
    }
    
    .stats-bar {
        grid-template-columns: 1fr;
    }
    
    .case-features {
        grid-template-columns: 1fr;
    }
    
    .case-compare {
        height: 160px;
    }
}

/* ==================== 打印样式 ==================== */
@media print {
    .top-bar,
    header,
    .cta-buttons,
    footer {
        display: none;
    }
    
    .page-banner {
        background: white;
        color: black;
        padding: 20px 0;
    }
}
