/* 集群智慧云科服国际在职硕士平台 - 统一CSS文件 */
/* 包含首页、产品列表页、产品详情页、文章列表页的所有样式 */

/* ============================================
   基础样式重置与变量定义
============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #f59e0b;
    --light-color: #f8fafc;
    --dark-color: #1e293b;
    --gray-color: #64748b;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #ffffff;
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.section-title p {
    font-size: 16px;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--dark-color);
}

.btn-accent:hover {
    background-color: #e67e22;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   头部样式
============================================ */

.header-top {
    background-color: var(--dark-color);
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-top-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-top a {
    color: #cbd5e1;
}

.header-top a:hover {
    color: white;
}

.main-header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.logo-text h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.2;
}

.logo-text span {
    font-size: 14px;
    color: var(--gray-color);
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list li {
    position: relative;
}

.nav-list a {
    color: var(--dark-color);
    font-weight: 600;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-list a:hover {
    color: var(--primary-color);
}

.nav-list a.active {
    color: var(--primary-color);
}

.nav-list a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px 3px 0 0;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark-color);
    cursor: pointer;
}

/* ============================================
   页脚样式
============================================ */

.footer {
    background-color: var(--dark-color);
    color: #cbd5e1;
    padding-top: 80px;
}

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

.footer-col h3 {
    color: white;
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col a {
    color: #cbd5e1;
    transition: var(--transition);
}

.footer-col a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact i {
    color: var(--accent-color);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
    color: #94a3b8;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-bottom-links a {
    color: #94a3b8;
}

.footer-bottom-links a:hover {
    color: white;
}

/* ============================================
   首页特有样式
============================================ */

/* 英雄横幅区域 */
.hero {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(30, 64, 175, 0.05) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 18px;
    color: var(--gray-color);
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.stat-item h3 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 14px;
    color: var(--gray-color);
    margin: 0;
}

.hero-visual {
    position: relative;
}

.hero-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-10deg);
    transition: var(--transition);
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-badge {
    position: absolute;
    top: 20px;
    right: -20px;
    background-color: white;
    padding: 15px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.hero-badge-icon {
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

/* 服务项目展示 */
.services-section {
    background-color: var(--light-color);
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.services-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

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

.service-card {
    background-color: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent-color);
    color: var(--dark-color);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.service-image {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.service-content {
    padding: 25px;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.service-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.4;
}

.service-price {
    text-align: right;
}

.service-price .current {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
}

.service-price .original {
    font-size: 16px;
    color: var(--gray-color);
    text-decoration: line-through;
}

.service-description {
    color: var(--gray-color);
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.service-feature {
    background-color: var(--light-color);
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 12px;
    color: var(--gray-color);
}

.service-actions {
    display: flex;
    gap: 10px;
}

.service-actions .btn {
    flex: 1;
    padding: 10px 15px;
    font-size: 14px;
}

/* 文章列表区域 */
.articles-section {
    background-color: white;
}

.articles-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.article-column {
    background-color: var(--light-color);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.article-header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article-header h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.article-header .view-all {
    color: white;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-header .view-all:hover {
    color: var(--accent-color);
}

.article-list {
    padding: 20px;
}

.article-item {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.article-item:hover {
    background-color: white;
    border-radius: var(--radius);
}

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

.article-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 8px;
    line-height: 1.4;
}

.article-item h4 a {
    color: var(--dark-color);
}

.article-item h4 a:hover {
    color: var(--primary-color);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--gray-color);
}

.article-category {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 3px 10px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 12px;
}

.article-excerpt {
    color: var(--gray-color);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.article-item.featured {
    background-color: white;
    border-radius: var(--radius);
    border-left: 4px solid var(--accent-color);
}

/* 平台优势 */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.advantage-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--primary-color);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--primary-color);
}

.advantage-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.advantage-card p {
    color: var(--gray-color);
    font-size: 15px;
    line-height: 1.6;
}

/* 团队展示区域 */
.team-section {
    background-color: var(--light-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-photo {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.team-info {
    padding: 25px 20px;
}

.team-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.team-position {
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 600;
}

.team-desc {
    color: var(--gray-color);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.team-contact {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-contact a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    transition: var(--transition);
}

.team-contact a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* 合作伙伴区域 */
.partners-section {
    background-color: white;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
}

.partner-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-radius: var(--radius);
    background-color: white;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   产品列表页特有样式
============================================ */

/* 页面标题区域 */
.product-page-header {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(30, 64, 175, 0.05) 100%);
    padding: 60px 0 40px;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--gray-color);
}

.page-breadcrumb a {
    color: var(--gray-color);
}

.page-breadcrumb a:hover {
    color: var(--primary-color);
}

.page-breadcrumb .separator {
    color: #cbd5e1;
}

.page-header-content h1 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.page-header-content p {
    font-size: 16px;
    color: var(--gray-color);
    max-width: 700px;
    line-height: 1.6;
}

/* 产品筛选区域 */
.product-filter-section {
    background-color: white;
    border-bottom: 1px solid var(--border-color);
    padding: 30px 0;
}

.filter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-color);
}

.filter-select {
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background-color: white;
    font-size: 14px;
    color: var(--dark-color);
    cursor: pointer;
    min-width: 180px;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.filter-search {
    position: relative;
    min-width: 250px;
}

.filter-search input {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
}

.filter-search i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-color);
}

/* 产品列表区域 */
.product-list-section {
    background-color: var(--light-color);
}

.product-list-container {
    display: flex;
    gap: 40px;
}

.product-list-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.product-list-main {
    flex: 1;
}

/* 侧边栏筛选 */
.sidebar-widget {
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 25px;
    margin-bottom: 30px;
}

.sidebar-widget-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.filter-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.filter-option label {
    font-size: 15px;
    color: var(--dark-color);
    cursor: pointer;
    flex: 1;
}

.filter-count {
    font-size: 13px;
    color: var(--gray-color);
    background-color: var(--light-color);
    padding: 2px 8px;
    border-radius: 10px;
}

.filter-range {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.range-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.range-inputs input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
}

.range-slider {
    width: 100%;
    height: 5px;
    background-color: var(--border-color);
    border-radius: 5px;
    margin-top: 10px;
    position: relative;
}

.range-slider-fill {
    position: absolute;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 5px;
}

/* 产品列表 */
.product-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.product-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-sort-label {
    font-size: 14px;
    color: var(--gray-color);
}

.product-count {
    font-size: 14px;
    color: var(--gray-color);
}

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

.product-card {
    background-color: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.product-badge.hot {
    background-color: #fef3c7;
    color: #92400e;
}

.product-badge.new {
    background-color: #dbeafe;
    color: var(--primary-color);
}

.product-badge.recommend {
    background-color: #f0f9ff;
    color: var(--secondary-color);
}

.product-image {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.product-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.product-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.4;
    margin-right: 10px;
}

.product-price {
    text-align: right;
    flex-shrink: 0;
}

.product-price .current {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
}

.product-price .original {
    font-size: 16px;
    color: var(--gray-color);
    text-decoration: line-through;
}

.product-description {
    color: var(--gray-color);
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
    flex: 1;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.product-feature {
    background-color: var(--light-color);
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 12px;
    color: var(--gray-color);
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--gray-color);
}

.product-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.product-actions .btn {
    flex: 1;
    padding: 12px 15px;
    font-size: 14px;
}

/* 分页 */
.product-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    gap: 10px;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background-color: white;
    color: var(--dark-color);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.pagination-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-ellipsis {
    color: var(--gray-color);
    padding: 0 10px;
}

/* ============================================
   产品详情页特有样式
============================================ */

.product-detail-page-header {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(30, 64, 175, 0.05) 100%);
    padding: 40px 0 30px;
}

/* 产品详情主区域 */
.product-detail-main {
    padding: 40px 0;
}

.product-detail-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* 左侧产品详情 */
.product-detail-left {
    background-color: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.product-detail-header {
    padding: 30px;
    border-bottom: 1px solid var(--border-color);
}

.product-detail-badge {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--dark-color);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.product-detail-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.3;
    margin-bottom: 15px;
}

.product-detail-subtitle {
    font-size: 16px;
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
}

.product-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-color);
}

.product-meta-item i {
    color: var(--primary-color);
}

.product-detail-price {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.product-price-current {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
}

.product-price-original {
    font-size: 20px;
    color: var(--gray-color);
    text-decoration: line-through;
}

.product-price-discount {
    background-color: #fee2e2;
    color: #dc2626;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
}

.product-detail-image {
    width: 100%;
    height: 400px;
    background-color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

/* 产品标签 */
.product-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 30px;
    border-bottom: 1px solid var(--border-color);
}

.product-tag {
    background-color: var(--light-color);
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 12px;
    color: var(--gray-color);
}

/* 产品内容区域 */
.product-detail-content {
    padding: 30px;
}

.product-content-section {
    margin-bottom: 40px;
}

.product-content-section:last-child {
    margin-bottom: 0;
}

.product-section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.product-section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--primary-color);
}

.product-section-content {
    color: var(--dark-color);
    line-height: 1.7;
}

.product-section-content p {
    margin-bottom: 15px;
}

.product-section-content ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.product-section-content li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
}

.product-section-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* 表格样式 */
.product-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.product-table th,
.product-table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid var(--border-color);
}

.product-table th {
    background-color: var(--light-color);
    font-weight: 600;
}

.product-table tr:nth-child(even) {
    background-color: rgba(248, 250, 252, 0.5);
}

/* 右侧侧边栏 */
.product-detail-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

/* 快速联系 */
.quick-contact {
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 25px;
    text-align: center;
    margin-bottom: 30px;
}

.quick-contact-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.quick-contact-phone {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.quick-contact-hours {
    font-size: 14px;
    color: var(--gray-color);
    margin-bottom: 20px;
}

.quick-contact-button {
    width: 100%;
}

/* 项目特色 */
.product-features-sidebar {
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 25px;
}

.product-features-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.product-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.product-feature-item:last-child {
    margin-bottom: 0;
}

.product-feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    flex-shrink: 0;
}

.product-feature-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.product-feature-content p {
    font-size: 14px;
    color: var(--gray-color);
    line-height: 1.5;
}

/* 相关推荐 */
.related-products {
    background-color: var(--light-color);
}

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

.related-card {
    background-color: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.related-image {
    height: 180px;
    width: 100%;
    background-color: #3b82f6;
}

.related-content {
    padding: 20px;
}

.related-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
    line-height: 1.4;
}

.related-description {
    color: var(--gray-color);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.related-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.related-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.related-country {
    background-color: var(--light-color);
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 12px;
    color: var(--gray-color);
}

/* ============================================
   文章列表页特有样式
============================================ */

.article-page-header {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(30, 64, 175, 0.05) 100%);
    padding: 60px 0 40px;
}

/* 文章列表筛选区域 */
.article-filter-section {
    background-color: white;
    border-bottom: 1px solid var(--border-color);
    padding: 30px 0;
}

.article-filter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.article-filter-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.article-filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.article-filter-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-color);
}

.article-filter-select {
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background-color: white;
    font-size: 14px;
    color: var(--dark-color);
    cursor: pointer;
    min-width: 180px;
}

.article-filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.article-filter-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.article-filter-search {
    position: relative;
    min-width: 250px;
}

.article-filter-search input {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
}

.article-filter-search i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-color);
}

/* 文章列表区域 */
.article-list-section {
    background-color: var(--light-color);
}

.article-list-container {
    display: flex;
    gap: 40px;
}

.article-list-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.article-list-main {
    flex: 1;
}

/* 侧边栏 */
.article-sidebar-widget {
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 25px;
    margin-bottom: 30px;
}

.article-sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

/* 分类筛选 */
.article-categories {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.article-category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
}

.article-category-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.article-category-name {
    font-size: 15px;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-category-count {
    font-size: 13px;
    color: var(--gray-color);
    background-color: var(--light-color);
    padding: 3px 10px;
    border-radius: 30px;
}

/* 热门文章 */
.article-popular-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-popular-item {
    display: flex;
    gap: 15px;
    cursor: pointer;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.article-popular-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.article-popular-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
    background-color: var(--border-color);
}

.article-popular-content {
    flex: 1;
}

.article-popular-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
    line-height: 1.4;
}

.article-popular-meta {
    font-size: 12px;
    color: var(--gray-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 标签云 */
.article-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.article-tag-item {
    background-color: var(--light-color);
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 13px;
    color: var(--gray-color);
    cursor: pointer;
    transition: var(--transition);
}

.article-tag-item:hover {
    background-color: var(--primary-color);
    color: white;
}

/* 订阅区域 */
.article-subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.article-subscribe-input {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
}

/* 文章列表 */
.article-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.article-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-sort-label {
    font-size: 14px;
    color: var(--gray-color);
}

.article-count {
    font-size: 14px;
    color: var(--gray-color);
}

/* 文章列表项 */
.article-list-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.article-list-item {
    background-color: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.article-list-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.article-item-image {
    height: 220px;
    width: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.article-item-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-item-category {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    align-self: flex-start;
}

.article-item-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-item-title a {
    color: var(--dark-color);
}

.article-item-title a:hover {
    color: var(--primary-color);
}

.article-item-excerpt {
    color: var(--gray-color);
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
    flex: 1;
}

.article-item-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--gray-color);
    flex-wrap: wrap;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.article-tag-small {
    background-color: var(--light-color);
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 12px;
    color: var(--gray-color);
}

.article-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article-read-more {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
}

.article-read-more:hover {
    color: var(--secondary-color);
}

/* 特色文章样式 */
.article-list-item.featured {
    border-left: 4px solid var(--accent-color);
}

/* 分页 */
.article-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    gap: 10px;
}

.article-pagination-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background-color: white;
    color: var(--dark-color);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.article-pagination-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.article-pagination-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.article-pagination-ellipsis {
    color: var(--gray-color);
    padding: 0 10px;
}

/* ============================================
   响应式设计
============================================ */

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content h1 {
        font-size: 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .articles-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-detail-sidebar {
        position: static;
    }
    
    .product-list-container,
    .article-list-container {
        flex-direction: column;
    }
    
    .product-list-sidebar,
    .article-list-sidebar {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 40px 0;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: white;
        box-shadow: var(--shadow-lg);
        z-index: 1001;
        transition: var(--transition);
        padding: 30px;
        flex-direction: column;
        justify-content: flex-start;
        overflow-y: auto;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
        margin-top: 30px;
    }
    
    .nav-list li {
        width: 100%;
    }
    
    .nav-list a {
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color);
        display: block;
    }
    
    .nav-list a.active::after {
        display: none;
    }
    
    .header-actions {
        margin-top: 30px;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .services-grid,
    .product-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .services-header,
    .product-list-header,
    .article-list-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .services-filter {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .filter-container,
    .article-filter-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filter-search,
    .article-filter-search {
        min-width: 100%;
    }
    
    .product-detail-title {
        font-size: 24px;
    }
    
    .product-price-current {
        font-size: 28px;
    }
    
    .product-detail-image {
        height: 250px;
    }
    
    .article-list-item {
        flex-direction: row;
    }
    
    .article-item-image {
        width: 300px;
        height: 100%;
    }
    
    .article-item-title {
        font-size: 18px;
    }
    
    .article-list-item {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .advantages-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .service-actions,
    .product-actions {
        flex-direction: column;
    }
    
    .page-header-content h1 {
        font-size: 24px;
    }
    
    .product-detail-title {
        font-size: 22px;
    }
    
    .product-detail-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .article-item-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .article-item-image {
        width: 100%;
        height: 220px;
    }
    
    .article-list-item {
        flex-direction: column;
    }
}

/* ============================================
   兼容性修复与动画效果
============================================ */

.compatibility-fix {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}